Thank you for link.

Last question.
If openvswitch thinks that interface is bad (but its, working - we have a lot of interfaces looking like this on XenServer), how to get ofport number provided by "ovs-ofctl show (bridge name)" using python?

Regards
Krzysztof


W dniu 2017-07-13 o 11:37, Kavanagh, Mark B pisze:
From: [email protected] [mailto:[email protected]]
On Behalf Of Krzysztof Wojciechowski
Sent: Thursday, July 13, 2017 9:36 AM
To: Ben Pfaff <[email protected]>
Cc: [email protected]
Subject: Re: [ovs-dev] ofport = -1?

Thanks for that! Can you give me link to that doc?
http://openvswitch.org/support/dist-docs/ovs-vswitchd.conf.db.5.html, or simply 
'man vswitchd/ovs-vswitchd.conf.db.5', from the OvS top-level directory.

Cheers,
Mark


all in all. Those ports "works" and they are created like that by
XenServer... Is there any workaround for that?


W dniu 2017-07-12 o 16:56, Ben Pfaff pisze:
On Wed, Jul 12, 2017 at 02:05:58PM +0200, Krzysztof Wojciechowski wrote:
I am writing some kind of SDN driver at this moment. I have problem with
ofports. Sometimes they have value "-1". I am not sure if its wrong. But i
cant add flow with ACTION=output:-1
I think We didn't have this problem with Xen Cloud Platform or Xen
installed
on Xen on Debian. But it exist in XenServer6.5 (not sure if in newer).
Did you read the documentation?

         ofport: optional integer
                OpenFlow  port number for this interface. Open vSwitch sets
this
                column’s value, so other clients should treat it as read-
only.
                The OpenFlow ``local’’ port (OFPP_LOCAL) is  65,534.  The
other
                valid  port  numbers  are  in  the range 1 to 65,279,
inclusive.
                Value -1 indicates an error adding the interface.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to