[ovs-discuss] How to get ovs listen port?

Ben Pfaff blp at nicira.com
Wed Mar 27 01:25:16 UTC 2013


It's common practice to have all the switches connect outward to the
controller, in which case there is no problem.

On Wed, Mar 27, 2013 at 09:08:48AM +0800, can. wrote:
> So what if I can't use the default port number? For example, when more than
> one switches are created, their port numbers are 6634, 6635, etc. How could
> I know that from the controller side?
> 
> 
> 2013/3/26 Ben Pfaff <blp at nicira.com>
> 
> > On Tue, Mar 26, 2013 at 03:08:15PM +0800, Can Zhang wrote:
> > > The command ovs-ofctl could connect to a switch using syntax
> > > tcp:1.2.3.4:1234, but if I don't know this port number, is there any
> > > way to fetch it? I mean like when a switch connects to the controller,
> > > the controller knows the switch's dpid.
> >
> > If you use the default port number, then there is no need to fetch it.
> >
> 
> 
> 
> -- 
> Best regards,
> Can Zhang



More information about the discuss mailing list