Re: [Ryu-devel] Extracting field value

2013-03-25 Thread FUJITA Tomonori
On Mon, 25 Mar 2013 16:56:48 + Bright Dadson wrote: > This is what I thought initially but when I log the values held in > msg.match.fields as shown below; > > match = msg.match.fields > for field in match: > logger.info("++> %s ",field.value) > > I only get data

Re: [Ryu-devel] Extracting field value

2013-03-25 Thread FUJITA Tomonori
On Mon, 25 Mar 2013 15:58:37 + Bright Dadson wrote: > I have created a flow which sets a match field in an action as shown below; > > field = datapath.ofproto_parser.OFPMatchField.make( > datapath.ofproto.OXM_OF_VLAN_VID, vlan_id) > actions = > [datapath.ofpro

[Ryu-devel] Extracting field value

2013-03-25 Thread Bright Dadson
Hi guys, I have created a flow which sets a match field in an action as shown below; field = datapath.ofproto_parser.OFPMatchField.make( datapath.ofproto.OXM_OF_VLAN_VID, vlan_id) actions = [datapath.ofproto_parser.OFPActionPushVlan(VLAN_TAG_802_1Q),