Hi, A general question, if anyone knows the answer or can point me to documentation, I would appreciate it.
I'd like to use ovs-ofctl to experiment with managing LSPs on OVS switches (currently running 1.10 on mininet with the option -O OpenFlow12.) I would like to execute the OF MPLS pop and push actions along with the set and dec MPLS TTL actions. I have reviewed the ovs-ofctl man page documentation, http://openvswitch.org/cgi-bin/ovsman.cgi?page=utilities%2Fovs-ofctl.8<http://openvswitch.org/cgi-bin/ovsman.cgi?page=utilities/ovs-ofctl.8>, to see how I can match on an incoming MPLS label and set an outgoing label, but I do not see anything there. I have looked around the OVS site to see if it is elsewhere, but cannot find anything. I have pasted below a snippet of dpctl documentation from the CPqD site, https://github.com/CPqD/ofsoftswitch13/wiki/Dpctl-Flow-Mod-Cases#wiki-mpls . It includes a match on mpls_label and mols_tc and supports setting these values and the output port (this last is in a separate sample.) Is this functionality supported with ova-ofctl? If so, could someone point me to the documentation or a simple example if they know of one? Thanks very much, Andy dpctl unix:/tmp/ofd flow-mod cmd=add,table=0 eth_type=0x8847,mpls_label=17,mpls_tc=3 apply:output=2 SENDING: flow_mod{table="0", cmd="add", cookie="0x0", mask="0x0", idle="0", hard="0", prio="32768", buf="none", port="any", group="any", flags="0x0", match=oxm{mpls_label="17", mpls_tc="3", eth_type="0x8847"}, insts=[apply{acts=[out{port="2"}]}]} OK.
_______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
