Allow deleting gateway interfaces on network topology
We didn't allow to delete a router_gateway interface from a router in the network topology due to the checking being done working only on normal interfaces. Change-Id: I35f7fc7c0050e1441a740a110fb6f45ddec9371d Closes-Bug: 1548224
This commit is contained in:
parent
e21885d11f
commit
58b905bf1c
|
@ -942,7 +942,7 @@ horizon.network_topology = {
|
|||
object.ip_address = ipAddress;
|
||||
object.device_owner = deviceOwner;
|
||||
object.network_id = networkId;
|
||||
object.is_interface = (deviceOwner === 'router_interface');
|
||||
object.is_interface = (deviceOwner === 'router_interface' || deviceOwner === 'router_gateway');
|
||||
ports.push(object);
|
||||
});
|
||||
} else if (d.hasOwnProperty('subnets')) {
|
||||
|
|
Loading…
Reference in New Issue