>
> You want config=0 mask=1, I believe.
>
Oh, that was it. It worked as expected.
The test was also successful. A snoop extract is below, but basically what
I've done is: send port mod to bring down port 2; create bundle with 2
messages - port mod to bring up port 2 and packet out to port 2; host
connected to port 2 receives the packet out (confirmed with tcpdump on host
xterm).
From Jarno's reply, I think the last problem to address is: "Group and
meter validation is part of the action validation for packet_out. While the
bundles can’t currently include group or meter mods, I’d like to see that
adding packet_out to a bundle does not unnecessarily complicate adding
group and meter mods to bundles."
Not sure what to do about this one...
--
snoop extract:
OFPT_PORT_MOD (OF1.4) (xid=0x46): port: 2: addr:9e:15:f7:8d:6f:df
config: PORT_DOWN
mask: PORT_DOWN
advertise: UNCHANGED
OFPT_PORT_STATUS (OF1.4) (xid=0x0): MOD: 2(s1-eth2): addr:9e:15:f7:8d:6f:df
config: PORT_DOWN
state: LINK_DOWN
current: 10GB-FD COPPER
speed: 10000 Mbps now, 0 Mbps max
OFPT_BUNDLE_CONTROL (OF1.4) (xid=0x57):
bundle_id=0xb type=OPEN_REQUEST flags=ordered
OFPT_BUNDLE_CONTROL (OF1.4) (xid=0x57):
bundle_id=0xb type=OPEN_REPLY flags=0
OFPT_BUNDLE_ADD_MESSAGE (OF1.4) (xid=0x55):
bundle_id=0xb flags=ordered
OFPT_PORT_MOD (OF1.4) (xid=0x55): port: 2: addr:9e:15:f7:8d:6f:df
config: 0
mask: PORT_DOWN
advertise: UNCHANGED
OFPT_BUNDLE_ADD_MESSAGE (OF1.4) (xid=0x56):
bundle_id=0xb flags=ordered
OFPT_PACKET_OUT (OF1.4) (xid=0x56): in_port=1 actions=output:2 data_len=20
vlan_tci=0x0000,dl_src=00:00:00:00:00:01,dl_dst=0a:ae:d4:f6:70:30,dl_type=0xffff
OFPT_BUNDLE_CONTROL (OF1.4) (xid=0x5a):
bundle_id=0xb type=CLOSE_REQUEST flags=ordered
OFPT_BUNDLE_CONTROL (OF1.4) (xid=0x5a):
bundle_id=0xb type=CLOSE_REPLY flags=0
OFPT_BUNDLE_CONTROL (OF1.4) (xid=0x5b):
bundle_id=0xb type=COMMIT_REQUEST flags=ordered
OFPT_BUNDLE_CONTROL (OF1.4) (xid=0x5b):
bundle_id=0xb type=COMMIT_REPLY flags=0
OFPT_PORT_STATUS (OF1.4) (xid=0x0): MOD: 2(s1-eth2): addr:9e:15:f7:8d:6f:df
config: 0
state: 0
current: 10GB-FD COPPER
speed: 10000 Mbps now, 0 Mbps max
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev