[ovs-discuss] visualitation of ovs-ofctl mod-port options
Alessio Giorgetti
alessio.giorgetti at gmail.com
Wed Jun 1 09:14:06 UTC 2016
Dear Ben,
I discovered the issue in visualization of port options. Indeed, "show"
command is working properly, but there is a problem in the application
of some of the options.
As a example, after applying:
> sudo ovs-ofctl mod-port br0 2 down -O OpenFlow13
> sudo ovs-ofctl mod-port br0 2 no-packet-in -O OpenFlow13
> sudo ovs-ofctl show br0 -O OpenFlow13
OFPT_FEATURES_REPLY (OF1.3) (xid=0x2): dpid:0000000000000005
n_tables:254, n_buffers:256 capabilities: FLOW_STATS TABLE_STATS
PORT_STATS GROUP_STATS QUEUE_STATS OFPST_PORT_DESC reply (OF1.3) (xid=0x3):
2(eth4): addr:a0:36:9f:0a:b4:c0
config: PORT_DOWN NO_PACKET_IN
state: LINK_DOWN
current: COPPER AUTO_NEG
advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG
supported: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG
speed: 0 Mbps now, 1000 Mbps max
where PORT_DOWN and NO_PACKET_IN options are correctly configured.
However, when I try to apply no-flood option,no error message is
received, but the option is not applied to the port and (obviously) not
visualized with the show command.
So I guess there is some configuration in the ovs switch for which the
port cannot be configured as no-flood. Any idea ?
Best Regards,
alessio
Il 26/05/2016 17:12, Ben Pfaff ha scritto:
> On Thu, May 26, 2016 at 01:58:52PM +0200, Alessio Giorgetti wrote:
>>
>> I'm using Open vSwitch 2.4.0. Trying to configure some options to the
>> specific ports using the command:
>>
>>> ovs-ofctl mod-port switch port action
>>
>> However, I'm not able to find any command or configuration file to check if
>> the port action has been correctly applied.
>>
>> The man pages says:
>>
>> "The show command displays (among other information) the configuration that
>> mod-port changes."
>>
>> However these information is not reported by the following commands:
>>
>>> sudo ovs-ofctl show br0 -O OpenFlow13
>>> sudo ovs-vsctl list port
>>
>> Following my previous question on STP, I have the suspect that mod-port
>> commands are not correctly applied in the ovs. This would explain the
>> problems that I still have with utilization of STP.
>
> I believe that "show" should report the STP state.
>
> Maybe you should make a specific bug report.
>
More information about the discuss
mailing list