Hi Alessandro,
Sorry for the delay.
Please let me confirm what you need, first.
You need to set the controller's address after starting Mininet, right?
e.g.)
Ryu Switch Mininet
|| Start |
||<--|
| Tell IP/Port |
I know how to tell my switches the controller's address but I don't want
it to be 127.0.0.1, I want to change it from the controller side.
On 04/12/2017 22:55, Iwase Yusuke wrote:
> Hi Alessandro,
>
> Well... I might misunderstand your situation...
> You just want to tell your controller's IP/po
Hi Alessandro,
Well... I might misunderstand your situation...
You just want to tell your controller's IP/port to your switches when starting
your topology up, right?
In other words, it is not required to configure the controller address
dynamically after the topology was created.
If so, did you
Hi,
the API you suggested regarding the switch name is not what I need
because it simply returns the datapath object, which I already have
since I'm saving them when a new packet is received. What I need is the
name of the switch, the one I'm using in Mininet to be clear. Is that
simply the id?
Hi again,
> - how do I set the IP address of the controller?
You are using Open vSwitch, right?
If so, you need to configure your switches via OVSDB (like "ovs-vsctl" command),
and Ryu provide some options to use OVSDB.
First, it might be the easiest way I guess, you can use the APIs of
"ryu.li
Hi, I have 2 questions:
- how do I set the IP address of the controller?
- how do I get the list of the connected switches? Is there a simple api
or do I need to explicitly save the various datapath? Also how do I map
a datapath to the switch name?
--