Porting Quantum+Ryu on Physical openflow switch

Asked by huangichin

Hello,
      We are interesting in Quantum +Physical Openflow SW(e.g Pica8/NEC IP8800). Do anyone have the doc or tutorials to setup the env?
Our environment is running Quantum server and Ryu controller with OVS and is working. But don't know how to add a node or assign a port into an existing network without nova.

Thank you

Question information

Language:
English Edit question
Status:
Solved
For:
neutron Edit question
Assignee:
No assignee Edit question
Solved by:
Isaku Yamahata
Solved:
Last query:
Last reply:
Revision history for this message
yong sheng gong (gongysh) said :
#1

run quantum port-create -h

Revision history for this message
Isaku Yamahata (yamahata) said :
#2

At the moment, Ryu plugin and Ryu application isn't aware of physical Openflow Switch (yet).
So you need to enhance/modify them.

What kind of network do you want to setup?

Revision history for this message
huangichin (winstonhuang) said :
#3

Hi yamahata,

We want to setup an hybird internet with OVS and physical Openflow switch. Both switches are controlled by a well defined platform and interface, e.g. Quantum. Is this workable?

And now everything is in a developing environment with mininet+Quantum+RYU. The purpose of the question is going to setup some host created by mininet to the same network by Quantum. Then they can communicate with each other.

Hi gongysh,
Thank you for your kindly suggestion. port-create has created a port in a network and assign the tenant but still don't know how to associate the port with OVS port.

Is there any way using Quantum to list the switches controlled by controller(e.g. Ryu) and group some port to specific network?

Revision history for this message
Isaku Yamahata (yamahata) said :
#4

Yes in theory.
It sounds like that you already have developed your software with mininet.
If so, all you have to do is just to setup physical OF switch to connect to OF controller.

BTW, can we share your result publicly?

Revision history for this message
huangichin (winstonhuang) said :
#5

Sorry, we are still under study if this kind of network is workable and not implemented yet.

For now the setup and running script is :
Startup services:
#ryu-manager --falgfile /etc/ryu/ryu.conf
#mn --topo single,4 --mac --switch ovsk --controller remote
#service quantum-server start

Step1:
Create a network for a tenant.
#quantum net-create --tenant-id 2aaa173f483d48e7b762a8d173a95a6c sharednet1A --shared -- provider:network_type flat --provider:physical_network physnet1
#quantum subnet-create --tenant-id 2aaa173f483d48e7b762a8d173a95a6c sharednet1A 10.0.0.0/24

The problem is, how can I setup the h1 and h2 of mininet into the same network? And h3 and h4 into another network?

Revision history for this message
Best Isaku Yamahata (yamahata) said :
#6

I'm afraid that you're misunderstanding how quantum and its plugin works.
In your setup, your network does _NOT_ seem under the control of quantum.
Please try Quatum document and understand how quantum works.

Revision history for this message
huangichin (winstonhuang) said :
#7

Thanks Isaku Yamahata, that solved my question.