Hi,

I am using the latest networking-l2gateway. 
I have the following physical switches defined in neutron physical_switches
+--------------------------------------+-------+-------------+------------------+---------------------+
| uuid                                 | name  | tunnel_ip   | ovsdb_identifier 
| switch_fault_status |
+--------------------------------------+-------+-------------+------------------+---------------------+
| 6932481e-8316-40f7-834a-6a6deeb72534 | vtep0 | 99.99.99.99 | ovsdb2           
| NULL                |
| ceb7cadb-28a8-476b-b959-2db253633854 | vtep0 | 1.1.1.1     | ovsdb1           
| NULL                |
+--------------------------------------+-------+-------------+------------------+---------------------+

I want to create L2 gateway on ceb7cadb-28a8-476b-b959-2db253633854

According to the l2-gateway api [1] it seem that in the --device name can be 
name or identifiers, so I tried with the ovsdb_identifier, but when I run the 
l2-gateway-connection-create it complain that the ovsdb1 is not found see [2]. 
I also tried with uuid and got the same result. 
How should I create l2 gateway when I have same names in the physical switches 
tables?


[1] - 
https://github.com/openstack/networking-l2gw/blob/master/specs/kilo/l2-gateway-api.rst
 
[2] - 
(neutron) l2-gateway-create --device name=ovsdb1,interface_names=eth7|8;eth8|8 
SW1
Created a new l2_gateway:
+-----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field     | Value                                                             
                                                                                
                              |
+-----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| devices   | {"interfaces": [{"segmentation_id": ["8"], "name": "eth7"}, 
{"segmentation_id": ["8"], "name": "eth8"}], "id": 
"105d6abf-6257-4818-8451-fa6e0d6c7334", "device_name": "ovsdb1"} |
| id        | 2ea12e77-3409-40b2-8535-6cf320fca4b2                              
                                                                                
                              |
| name      | SW1                                                               
                                                                                
                              |
| tenant_id | 0fa5309dd18a4861a5833e55d8a7f98c                                  
                                                                                
                              |
+-----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
(neutron) l2-gateway-connection-create SW1 private
L2 Gateway Device ovsdb1 could not be found.
Neutron server returns request_ids: ['req-f26351fb-fcf5-4d77-b2fe-8b58ac9057dc']


Thanks,
Moshe Levi



__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to