Ask Your Question
0

Configuring external physical switch from OVS plugin

asked 2013-03-27 01:27:35 -0600

krishna-sunitha gravatar image

Hi,

Is there any design/model ( provider API extensions??) for configuring external physical switch during OVS plugin network creation ( create_network) ?

Appreciate any guidelines.

Thanks, Krishna

edit retag flag offensive close merge delete

8 answers

Sort by ยป oldest newest most voted
0

answered 2013-03-27 05:35:52 -0600

gongysh gravatar image

currently, we will use br-ex to host qg-xxx tap device created by l3 agent. we need to see how it is useful to change it into provider network.

edit flag offensive delete link more
0

answered 2013-03-27 05:54:52 -0600

gongysh gravatar image

I thought the question is about br-ex and gq-xxx device. the external network already supports the provider network.

edit flag offensive delete link more
0

answered 2013-03-27 05:34:17 -0600

What do you want to configure on the external switch? You can just trunk all the ports on the external switch a head of time and then there is no need for quantum to do anything with the physical switch.

edit flag offensive delete link more
0

answered 2013-03-27 05:27:59 -0600

gongysh gravatar image

not yet. but it seems we have already talked it about. I will file a blueprint for it.

edit flag offensive delete link more
0

answered 2013-03-27 05:48:33 -0600

sorry, I don't follow your response.

edit flag offensive delete link more
0

answered 2013-03-27 14:55:27 -0600

krishna-sunitha gravatar image

Thanks Yong and Aaron for your responses.

What do you want to configure on the external switch? You can just trunk all the ports on the external switch a head of time and then there is no need for quantum to do anything with the physical switch.

Eg., Configure VLANs on Cisco Switch at the time of Quantum network creation (instead of trunking all ports ahead of time)

not yet. but it seems we have already talked it about. I will file a blueprint for it. I'll look for it.

edit flag offensive delete link more
0

answered 2013-03-27 14:59:56 -0600

asomya gravatar image

Hey Krishna

The cisco plugin does support dynamic physical hardware configuration on top of OVS but the VLAn configuration is not done at the network creation time but rather on VM creation for selective trunking of only the VLAn's needed for that instance. Currently only NXOS based switches are supported by the cisco plugin.

It's all documented here: https://wiki.openstack.org/wiki/Cisco-quantum (https://wiki.openstack.org/wiki/Cisco...)

Please let me know if you have any other questions.

Thanks Arvind

On 3/27/13 10:56 AM, "Krishna K" question225245@answers.launchpad.net wrote:

Question #225245 on quantum changed: https://answers.launchpad.net/quantum/+question/225245 (https://answers.launchpad.net/quantum...)

Krishna K posted a new comment: Thanks Yong and Aaron for your responses.

What do you want to configure on the external switch? You can just trunk all the ports on the external switch a head of time and then there is no need for quantum to do anything with the physical switch.

Eg., Configure VLANs on Cisco Switch at the time of Quantum network creation (instead of trunking all ports ahead of time)

not yet. but it seems we have already talked it about. I will file a blueprint for it. I'll look for it.


You received this question notification because you are a member of Netstack Core Developers, which is an answer contact for quantum.

edit flag offensive delete link more
0

answered 2013-03-27 15:16:52 -0600

krishna-sunitha gravatar image

Hi Arvind,

Thanks much for the info.

on VM creation for selective trunking of only the VLAN's needed for that instance.

Trying to locate the code and flow for the above. Could you pls correct below one.

cisco_nexus_plugin_v2.py::create_network - cisco_nexus_network_driver_v2.py::create_vlan // # Create vlan and trunk vlan on the port

cisco_nexus_plugin_v2.py ::create_port(self, tenant_id, net_id, port_state, port_id, **kwargs)

    """                                                                                                                                                                                         
    This is probably not applicable to the Nexus plugin.                                                                                                                                        
    Delete if not required.                                                                                                                                                                     
    """
    LOG.debug(_("NexusPlugin:create_port() called"))

Thanks, Krishna

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-03-27 01:27:35 -0600

Seen: 243 times

Last updated: Mar 27 '13