Remove External network from Networker role NIC configs
This change removes the External network from the Networker role, since it is not used or needed on that role. The External network appers in the NIC config templates for the Networker role, but this network is not used by the Networker role. This results in deployment errors, since no IP address is created for the External network, and the Networker roles cannot reach an external gateway. Change-Id: I78e0c9b50a7fee8efeea1ab639b44e0c6f2aa922 Closes-bug: 1720257
This commit is contained in:
parent
e1a9638732
commit
d9f640ff94
@ -111,6 +111,9 @@ resources:
|
|||||||
- ip_netmask: 169.254.169.254/32
|
- ip_netmask: 169.254.169.254/32
|
||||||
next_hop:
|
next_hop:
|
||||||
get_param: EC2MetadataIp
|
get_param: EC2MetadataIp
|
||||||
|
- default: true
|
||||||
|
next_hop:
|
||||||
|
get_param: ControlPlaneDefaultRoute
|
||||||
- type: ovs_bridge
|
- type: ovs_bridge
|
||||||
name: bridge_name
|
name: bridge_name
|
||||||
dns_servers:
|
dns_servers:
|
||||||
@ -126,17 +129,6 @@ resources:
|
|||||||
primary: true
|
primary: true
|
||||||
- type: interface
|
- type: interface
|
||||||
name: nic3
|
name: nic3
|
||||||
- type: vlan
|
|
||||||
device: bond1
|
|
||||||
vlan_id:
|
|
||||||
get_param: ExternalNetworkVlanID
|
|
||||||
addresses:
|
|
||||||
- ip_netmask:
|
|
||||||
get_param: ExternalIpSubnet
|
|
||||||
routes:
|
|
||||||
- default: true
|
|
||||||
next_hop:
|
|
||||||
get_param: ExternalInterfaceDefaultRoute
|
|
||||||
- type: vlan
|
- type: vlan
|
||||||
device: bond1
|
device: bond1
|
||||||
vlan_id:
|
vlan_id:
|
||||||
|
@ -103,6 +103,9 @@ resources:
|
|||||||
- ip_netmask: 169.254.169.254/32
|
- ip_netmask: 169.254.169.254/32
|
||||||
next_hop:
|
next_hop:
|
||||||
get_param: EC2MetadataIp
|
get_param: EC2MetadataIp
|
||||||
|
- default: true
|
||||||
|
next_hop:
|
||||||
|
get_param: ControlPlaneDefaultRoute
|
||||||
- type: interface
|
- type: interface
|
||||||
name: nic4
|
name: nic4
|
||||||
use_dhcp: false
|
use_dhcp: false
|
||||||
@ -122,24 +125,14 @@ resources:
|
|||||||
primary: true
|
primary: true
|
||||||
- type: ovs_bridge
|
- type: ovs_bridge
|
||||||
name: bridge_name
|
name: bridge_name
|
||||||
dns_servers:
|
|
||||||
get_param: DnsServers
|
|
||||||
use_dhcp: false
|
use_dhcp: false
|
||||||
addresses:
|
|
||||||
- ip_netmask:
|
|
||||||
get_param: ExternalIpSubnet
|
|
||||||
routes:
|
|
||||||
- default: true
|
|
||||||
next_hop:
|
|
||||||
get_param: ExternalInterfaceDefaultRoute
|
|
||||||
members:
|
members:
|
||||||
- type: interface
|
- type: interface
|
||||||
name: nic6
|
name: nic6
|
||||||
primary: true
|
primary: true
|
||||||
# Uncomment when including environments/network-management.yaml
|
# Uncomment when including environments/network-management.yaml
|
||||||
# If setting default route on the Management interface, comment
|
# If setting default route on the Management interface, comment
|
||||||
# out the default route on the External interface. This will
|
# out the default route on the Control Plane interface.
|
||||||
# make the External API unreachable from remote subnets.
|
|
||||||
#-
|
#-
|
||||||
# type: interface
|
# type: interface
|
||||||
# name: nic7
|
# name: nic7
|
||||||
|
@ -112,17 +112,6 @@ resources:
|
|||||||
# default is "nic1". Set this value via parameter_defaults in an environment file.
|
# default is "nic1". Set this value via parameter_defaults in an environment file.
|
||||||
name: interface_name
|
name: interface_name
|
||||||
primary: true
|
primary: true
|
||||||
- type: vlan
|
|
||||||
vlan_id:
|
|
||||||
get_param: ExternalNetworkVlanID
|
|
||||||
device: bridge_name
|
|
||||||
addresses:
|
|
||||||
- ip_netmask:
|
|
||||||
get_param: ExternalIpSubnet
|
|
||||||
routes:
|
|
||||||
- default: true
|
|
||||||
next_hop:
|
|
||||||
get_param: ExternalInterfaceDefaultRoute
|
|
||||||
- type: vlan
|
- type: vlan
|
||||||
vlan_id:
|
vlan_id:
|
||||||
get_param: InternalApiNetworkVlanID
|
get_param: InternalApiNetworkVlanID
|
||||||
@ -139,8 +128,7 @@ resources:
|
|||||||
get_param: TenantIpSubnet
|
get_param: TenantIpSubnet
|
||||||
# Uncomment when including environments/network-management.yaml
|
# Uncomment when including environments/network-management.yaml
|
||||||
# If setting default route on the Management interface, comment
|
# If setting default route on the Management interface, comment
|
||||||
# out the default route on the External interface. This will
|
# out the default route on the Control Plane interface.
|
||||||
# make the External API unreachable from remote subnets.
|
|
||||||
#-
|
#-
|
||||||
# type: vlan
|
# type: vlan
|
||||||
# vlan_id: {get_param: ManagementNetworkVlanID}
|
# vlan_id: {get_param: ManagementNetworkVlanID}
|
||||||
|
@ -103,21 +103,14 @@ resources:
|
|||||||
- ip_netmask: 169.254.169.254/32
|
- ip_netmask: 169.254.169.254/32
|
||||||
next_hop:
|
next_hop:
|
||||||
get_param: EC2MetadataIp
|
get_param: EC2MetadataIp
|
||||||
|
- default: true
|
||||||
|
next_hop:
|
||||||
|
get_param: ControlPlaneDefaultRoute
|
||||||
members:
|
members:
|
||||||
- type: interface
|
- type: interface
|
||||||
name: nic1
|
name: nic1
|
||||||
# force the MAC address of the bridge to this interface
|
# force the MAC address of the bridge to this interface
|
||||||
primary: true
|
primary: true
|
||||||
- type: vlan
|
|
||||||
vlan_id:
|
|
||||||
get_param: ExternalNetworkVlanID
|
|
||||||
addresses:
|
|
||||||
- ip_netmask:
|
|
||||||
get_param: ExternalIpSubnet
|
|
||||||
routes:
|
|
||||||
- default: true
|
|
||||||
next_hop:
|
|
||||||
get_param: ExternalInterfaceDefaultRoute
|
|
||||||
- type: vlan
|
- type: vlan
|
||||||
vlan_id:
|
vlan_id:
|
||||||
get_param: InternalApiNetworkVlanID
|
get_param: InternalApiNetworkVlanID
|
||||||
@ -132,8 +125,7 @@ resources:
|
|||||||
get_param: TenantIpSubnet
|
get_param: TenantIpSubnet
|
||||||
# Uncomment when including environments/network-management.yaml
|
# Uncomment when including environments/network-management.yaml
|
||||||
# If setting default route on the Management interface, comment
|
# If setting default route on the Management interface, comment
|
||||||
# out the default route on the External interface. This will
|
# out the default route on the Control Plane interface.
|
||||||
# make the External API unreachable from remote subnets.
|
|
||||||
#-
|
#-
|
||||||
# type: vlan
|
# type: vlan
|
||||||
# vlan_id: {get_param: ManagementNetworkVlanID}
|
# vlan_id: {get_param: ManagementNetworkVlanID}
|
||||||
|
Loading…
Reference in New Issue
Block a user