[Openstack-operators] problem with neutron vlan network_type net-create on Havana

Daneyon Hansen (danehans) danehans at cisco.com
Fri Nov 1 20:22:54 UTC 2013



On 11/1/13 1:50 PM, "Ronald van der Pol" <Ronald.vanderPol at rvdp.org> wrote:

>On Fri, Nov 01, 2013 at 19:29:02 +0000, Daneyon Hansen (danehans) wrote:
>
>> 
>> Do you see the binding in the db:
>> 
>> mysql> select * from ovs_network_bindings;
>> 
>>+--------------------------------------+--------------+------------------
>>+-
>> ----------------+
>> | network_id                           | network_type |
>>physical_network |
>> segmentation_id |
>> 
>>+--------------------------------------+--------------+------------------
>>+-
>> ----------------+
>> | 7c08af87-f564-42ca-adf6-529cd5b9a530 | vlan         | physnet1
>> |
>> 300 |
>> 
>>+--------------------------------------+--------------+------------------
>>+-
>> ----------------+
>> 1 row in set (0.00 sec)
>
>No. Only two networks I created via the horizon dashboard. How do
>I get the correct entries in this table?

The networks should be dynamically created after configuring the
/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini and restarting
neutron-plugin-openvswitch-agent.
>
>mysql> select * from ovs_network_bindings;
>+--------------------------------------+--------------+------------------+
>-----------------+
>| network_id                           | network_type | physical_network
>| segmentation_id |
>+--------------------------------------+--------------+------------------+
>-----------------+
>| 193e77cb-5caf-4aa6-b590-f38bc6267c39 | local        | NULL
>|            NULL |
>| 40fb33fb-dde0-4e56-8616-e2d03f52af49 | local        | NULL
>|            NULL |
>+--------------------------------------+--------------+------------------+
>-----------------+
>2 rows in set (0.00 sec)
>
>mysql>
>
># neutron net-show 193e77cb-5caf-4aa6-b590-f38bc6267c39
>+---------------------------+--------------------------------------+
>| Field                     | Value                                |
>+---------------------------+--------------------------------------+
>| admin_state_up            | True                                 |
>| id                        | 193e77cb-5caf-4aa6-b590-f38bc6267c39 |
>| name                      | testnet                              |
>| provider:network_type     | local                                |
>| provider:physical_network |                                      |
>| provider:segmentation_id  |                                      |
>| router:external           | False                                |
>| shared                    | True                                 |
>| status                    | ACTIVE                               |
>| subnets                   | aa75389d-e281-46a9-bfdc-a5353d5497db |
>| tenant_id                 | a82232109abe4c468423c435564d1b35     |
>+---------------------------+--------------------------------------+




More information about the OpenStack-operators mailing list