Is it possible to have multiple IPv4 sources and add in single XML file

asked 2016-11-17 05:17:05 -0800

Hi,

I am a hardware head, and have recently been trying to get into using ODl, my question is, how would I add multiple IPv4 source addresses to the below code, I am stumped by this :

<input xmlns="urn:opendaylight:flow:service"> <barrier>false</barrier> <node xmlns:inv="urn:opendaylight:inventory">/inv:nodes/inv:node[inv:id="openflow:345051485876"]</node> <cookie>101</cookie> <table_id>2</table_id> <priority>2</priority> <hard-timeout>1200</hard-timeout> <idle-timeout>3400</idle-timeout> <installhw>false</installhw> <instructions> <instruction> <order>2</order> <apply-actions> <action> <set-dl-dst-action>

01:02:03:04:05:06
</set-dl-dst-action> <order>1</order> </action> <action> <output-action> <max-length>65535</max-length> <output-node-connector>2</output-node-connector> </output-action> <order>2</order> </action> </apply-actions>
</instruction>
</instructions> <match> <ethernet-match> <ethernet-type> <type>2048</type> </ethernet-type> </ethernet-match> <ipv4-source>XXX.XXX.XXX.XXX/32</ipv4-source> <ipv4-destination>XXX.XXX.XXX.0/27</ipv4-destination> </match> </input>

edit retag flag offensive close merge delete