Thanks Justin for the clarification.
So is it possible to query the interface and its corresponding openflow port
from /ofproto/ofproto.c some where in add_flow(struct ofconn *ofconn, struct
flow_mod *fm).
I am trying to write a function to achieve this, by copying all the relevant
logic from ov
The confusion on our end is that what you call a hardware port number, we
consider to be just the interface name (e.g., "eth0" on Linux). What platform
is this? I haven't seen that naming convention.
If you want to script it, one option is to query the config database with the
following:
/ # ./openvswitch/utilities/ovs-ofctl show br0 --> gives the following
result
1(p1): addr:00:00:00:00:00:01, config: 0, state:0x1
current:1GB-FD COPPER
advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-HD 1GB-FD
supported: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-HD 1GB-FD
2(p4)
On Wed, Aug 24, 2011 at 10:10:01AM +0500, Bibrak Qamar wrote:
> ovs-ofctl show br0 --- > Shows list of ports with their OVS port number and
> Hardware port number. Is there any simple way (may be a function) to convert
> ovs port number to its corresponding hardware port number and vise versa .
Ca
Hello all,
ovs-ofctl show br0 --- > Shows list of ports with their OVS port number and
Hardware port number. Is there any simple way (may be a function) to convert
ovs port number to its corresponding hardware port number and vise versa .
Bibrak
NUST-School of Electrical Engineering and Computer