191 | | * a switch tag corresponds to a |
192 | | |
| 192 | * a switch tag corresponds to an <openflow:datapath> with no <openflow:port> tags. Just like in v1-2, an <openflow:datapath> tag with no ports implies the whole datapath. |
| 193 | {{{ |
| 194 | #!xml |
| 195 | OPENFLOW v1-2 |
| 196 | <switch urn="urn:publicid:IDN+Example:expedient:openflow+switch:06:d6:00:26:f1:3f:e4:80" /> |
| 197 | |
| 198 | OPENFLOW v3 |
| 199 | <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:smyrna.example.net+datapath:06:d6:00:26:f1:3f:e4:80 |
| 200 | component_manager_id="urn:publicid:IDN+openflow:foam:smyrna.example.net+authority+am /> |
| 201 | }}} |
| 202 | * a port tag corresponds to an <openflow:datapath> tag with <openflow:ports> |
| 203 | {{{ |
| 204 | #!xml |
| 205 | OPENFLOW v1-2 |
| 206 | <port urn="urn:publicid:IDN+Example:expedient:openflow+switch:06:d6:00:26:f1:3f:e4:80+port:16"/> |
| 207 | <port urn="urn:publicid:IDN+Example:expedient:openflow+switch:06:d6:00:26:f1:3f:e4:80+port:18"/> |
| 208 | <port urn="urn:publicid:IDN+Example:expedient:openflow+switch:06:d6:00:26:f1:3f:e4:80+port:36"/> |
| 209 | |
| 210 | OPENFLOW v3 |
| 211 | <openflow:datapath component_id="urn:publicid:IDN+openflow:foam:smyrna.example.net+datapath:06:d6:00:26:f1:3f:e4:80 |
| 212 | component_manager_id="urn:publicid:IDN+openflow:foam:smyrna.example.net+authority+am > |
| 213 | <openflow:port num="16"/> |
| 214 | <openflow:port num="18"/> |
| 215 | <openflow:port num="36"/> |
| 216 | </openflow:datapath> |
| 217 | }}} |