blob: 2c355428e0d3866ba754dd2904e032e69ce86b81 [file] [log] [blame]
Wilson Nga5706e62014-04-09 04:11:20 -07001-- binary
204 04 # version, type
300 30 # len
401 02 03 04 # xid
500 5c 16 c7 # experimenter
600 00 00 0f # subtype
700 00 # vport type
800 20 # vport len
900 00 00 01 # vport port no
1000 02 # vport ingress tpid
1100 03 # vport ingress vlan id
1200 04 # vport egress tpid
1300 05 # vport egress vlan id
1466 6f 6f 00 00 00 00 00 00 00 00 00 00 00 00 00 # vport if name
15-- python
16ofp.message.bsn_virtual_port_create_request(
17xid=0x01020304, vport=ofp.bsn_vport_q_in_q(
18port_no=1,
19ingress_tpid=2,
20ingress_vlan_id=3,
21egress_tpid=4,
22egress_vlan_id=5,
23if_name="foo"
24))