[ovs-dev] [PATCH] ovs-ofctl: Document set_mpls_{label,tc} actions

Simon Horman horms at verge.net.au
Wed Nov 13 06:19:17 UTC 2013


Signed-off-by: Simon Horman <horms at verge.net.au>
---
 utilities/ovs-ofctl.8.in | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/utilities/ovs-ofctl.8.in b/utilities/ovs-ofctl.8.in
index f8feb6d..7c31386 100644
--- a/utilities/ovs-ofctl.8.in
+++ b/utilities/ovs-ofctl.8.in
@@ -1257,6 +1257,15 @@ invalid ttl packets.  If controller ids are not specified, the
 ``packet_in'' message will be sent only to the controllers having
 controller id zero which have registered for the invalid ttl packets.
 .
+.IP \fBset_mpls_label\fR:\fIlabel\
+Set the label of the outer MPLS label stack entry of a packet.
+\fIlabel\fR should be a 20-bit value that is decimal by default;
+use a \fB0x\fR prefix to specify them in hexadecimal.
+.
+.IP \fBset_mpls_tc\fR:\fItc\
+Set the traffic-class of the outer MPLS label stack entry of a packet.
+\fItc\fR should be a in the range 0 to 7 inclusive.
+.
 .IP \fBset_mpls_ttl\fR:\fIttl\fR
 Set the TTL of the outer MPLS label stack entry of a packet.
 \fIttl\fR should be in the range 0 to 255 inclusive.
-- 
1.8.4




More information about the dev mailing list