Configuring external physical switch from OVS plugin

Asked by Krishna Kothapalli

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

Question information

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

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

Revision history for this message
Aaron Rosen (arosen) said :
#2

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.

Revision history for this message
yong sheng gong (gongysh) said :
#3

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.

Revision history for this message
Aaron Rosen (arosen) said :
#4

sorry, I don't follow your response.

Revision history for this message
yong sheng gong (gongysh) said :
#5

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

Revision history for this message
Krishna Kothapalli (krishna-sunitha) said :
#6

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.

Revision history for this message
Arvind Somya (asomya) said :
#7

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

Please let me know if you have any other questions.

Thanks
Arvind

On 3/27/13 10:56 AM, "Krishna K" <email address hidden>
wrote:

>Question #225245 on quantum changed:
>https://answers.launchpad.net/quantum/+question/225245
>
>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.

Revision history for this message
Krishna Kothapalli (krishna-sunitha) said :
#8

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

Can you help with this problem?

Provide an answer of your own, or ask Krishna Kothapalli for more information if necessary.

To post a message you must log in.