]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
remove router interface on Arista L3 plugin fails
authorSukhdev Kapur <sukhdev@aristanetworks.com>
Sat, 9 May 2015 00:19:58 +0000 (17:19 -0700)
committerSukhdev Kapur <sukhdev@aristanetworks.com>
Sat, 9 May 2015 07:14:17 +0000 (07:14 +0000)
The failure is because of mismatch of the
parameters to _validate_interface_info(). This patch removes
this code as it can be inherited from upstream

Change-Id: I5a92c6d05876e9ab5201e8fac018433eeb5c89e4
Closes-Bug: #1453323

neutron/services/l3_router/l3_arista.py

index c6913c9ec5cebce44569c323f81bfe41f54e3d08..68353ee3a2bbe5e2e4659e3d90af14397d07dc0e 100644 (file)
@@ -278,8 +278,3 @@ class AristaL3ServicePlugin(db_base_plugin_v2.NeutronDbPluginV2,
                         LOG.error(_LE("Error Adding interface %(subnet_id)s "
                                       "to router %(router_id)s on Arista HW"),
                                   {'subnet_id': subnet_id, 'router_id': r})
-
-    def _validate_interface_info(self, interface_info):
-        port_id_specified = interface_info and 'port_id' in interface_info
-        subnet_id_specified = interface_info and 'subnet_id' in interface_info
-        return port_id_specified, subnet_id_specified