Re: [nox-dev] matching fields

2011-05-06 Thread karim torkmen
Hi Murphy, thanks a lot for your answeer. The small problem is that I am using python and the setup_route (self.routing.setup_route(flow,route, inport, outport,FLOW_TIMEOUT, [], False)) method of pyrouting which takes as an entry a flow not an attrs. My aim is to make the switch just decide

Re: [nox-dev] matching fields

2011-05-06 Thread Murphy McCauley
Indeed, that's a problem. routing assumes it's installing exact matches. It seems like one way to do this would just be to install a new rule for every destination MAC you came up against, even though the destination MAC wouldn't actually be used for determining the path. So you'd still do

[nox-dev] matching fields

2011-05-05 Thread karim torkmen
Hi, Is there any function in nox that allows to select the fields to match in a flow table (e.g. order the switch to ignore the destination mac address). Thanks a lot. Karim ___ nox-dev mailing list nox-dev@noxrepo.org

Re: [nox-dev] matching fields

2011-05-05 Thread Murphy McCauley
In general, OpenFlow supports this feature by the wildcards field of ofp_match. So if you're on the C++ side, you may just set bits in there. There are constants that correlate to each of the match fields (e.g., match.wildcards = OFPFW_DL_DST would cause a switch to ignore the destination