How is the NSH fields sent in the flow mod XML/JSON ?

I managed to get it for the push_nsh as follows:
 <apply-actions>
       <action>
         <order>0</order>
         <nx-push-nsh
xmlns="urn:opendaylight:openflowplugin:extension:nicira:action">
         </nx-push-nsh>
       </action>
...

But how do i encode the other fields such as NSI, NSP etc.
I would like a flow addition from ODL to look something similar to this
flow add command.
ovs-ofctl add-flow br-sfc "table=0, in_port=LOCAL actions=push_nsh,
load:0xff->NXM_NX_NSI[], load:0x1f->NXM_NX_NSP[],
load:0x4->NXM_NX_TUN_GPE_NP[], load:0x1->NXM_NX_NSH_MDTYPE[], output:1"

Could somebody point me to a sample JSON/XML ?

Thanks,
Ramesh
_______________________________________________
sfc-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/sfc-dev

Reply via email to