Yup, you're right, sorry about that. I guess this just wasn't exposed
in Nox since we've been using the match object which doesn't include
it. Looking further down the thread, I'm glad you got it working.
Hi Martin ( yes, great name )
I thought so, beacuse I guess that matching actions takes some resources.
But, as Rodrigo points out, there is this in the openflow spec:
struct ofp_flow_stats_request {
~ struct ofp_match match; /* Fields to match. */
~ uint8_t table_id; /* ID of table to read (from
ofp_table_stats)
~ or 0xff for all tables. */
~ uint8_t pad; /* Align to 32 bits. */
~ uint16_t out_port; /* Require matching entries to include
this
~ as an output port. A value of
OFPP_NONE
~ indicates no restriction. */
};
That looks to me as if you should specify an ouport to filter.
I thought if this is in the spec, then nox would support it.
Correct me, if I am reading this wrong!
Kind regards
Martin
Martin Casado wrote:
| Hi Martin, (nice name btw ;)
|
| I don't believe that OpenFlow allows matching over actions.
Therefore, you cannot match over an output action.
|
| For future reference, the fields you can define for matching are
defined in src/nox/lib/core.py
| Hello!
|
| I would like to use the method fetch from the module
python_flow_fetcher
| distributed with nox to fetch flows.
|
| It works fine, but I don't know the exact syntax for
flow_stats_requests
| and cannot find find them.
|
| It says in the OpenFlow spec that you can request flows with the output
| port as a restriction.
| I would like to do that?
|
| How do I extend flow_stats_request =
{'dpid':dpid,'match':{'in_port':1}}
| to only get flow that are sent out port number 2?
|
| Thank you very much!
| Martin
|>
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkvnNccACgkQDjfQqnl9snDWIACcDH9lbwIKe0+kgO4MrYioBWZU
Ze0AoLMAM81k6DTZ24aCAuq7o5P+DXzb
=FU80
-----END PGP SIGNATURE-----
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org