Thank you so much for the reply.
The curr_speed value is set to 10000000 and the max_speed is set to 0. Is
this correct.
This seems to be the port speed. What I am interested in is the link
bandwidth. How can I get that ?
Along with this,I want to know the link status. How can I do that ?
In page 51 of OpenFlow 1.3.4 ,
https://www.opennetworking.org/images/stories/downloads/sdn-resources/onf-specifications/openflow/openflow-switch-v1.3.4.pdf
it says
/* Current state of the physical port. These are not configurable from *
the controller.
enum ofp_port_state
{
OFPPS_LINK_DOWN = 1 << 0, /* No physical link present. */
OFPPS_BLOCKED = 1 << 1, /* Port is blocked */
OFPPS_LIVE = 1 << 2, /* Live for Fast Failover Group. */
}
How can I get OFPPS_LINK_DOWN in my Ryu app. The OFPPortStatus event as
mentioned there does not have that information.
On Thu, Mar 26, 2015 at 10:00 PM, YAMAMOTO Takashi <[email protected]>
wrote:
> hi,
>
> ofp_port has curr_speed/max_speed fields.
> they might be what you are looking for.
> see OpenFlow 1.3.4 p.49-50.
>
> YAMAMOTO Takashi
>
> > Dear All,
> >
> > How can we get the link bandwidth in Ryu app. Is there any message from
> the
> > switch that gives the link bandwidth.
> >
> >
> > Thanks,
> > Sandesh Shrestha
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel