Hi Hellmich,
Have you read file nox/src/nox/netapps/flow_fetcher/pyflow_fetcher.i? there
is a brief description of flow_fetcher.
I think that is not possible make request with out_port specified, because
the 'request' takes the form of below dictionary:
# ofp_flow_stats_request, e.g.:
# {'table_id': ...table id...,
# 'match': {'in_port': 0,
# 'dl_src': 0x002320ed7e64,
# 'dl_dst': 0x002320ed7e65,
# 'dl_vlan': 0x234,
# 'dl_type': 0x0800,
# 'nw_proto': 17,
# 'nw_src': 0x525400123502,
# 'nw_dst': 0x525400123503,
# 'tp_src': 1234,
# 'tp_dst': 5678}}
regards
On Fri, May 7, 2010 at 1:54 PM, Martin Hellmich <
[email protected]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 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
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkvkU9QACgkQDjfQqnl9snDqjgCgsiHCQIZ2MGRkInDXvlxwSN8Z
> TxIAnAg8vM19zToR4RrRCSrgCXWj7XVv
> =kGbn
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> nox-dev mailing list
> [email protected]
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>
--
Rodrigo de Souza Braga
Mestrando em Ciência da Computação
Universidade Federal do Amazonas - UFAM
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org