Merge "Add Management Network For System Administration."
This commit is contained in:
@@ -7,6 +7,8 @@ resource_registry:
|
|||||||
OS::TripleO::Network::StorageMgmt: ../network/storage_mgmt.yaml
|
OS::TripleO::Network::StorageMgmt: ../network/storage_mgmt.yaml
|
||||||
OS::TripleO::Network::Storage: ../network/storage.yaml
|
OS::TripleO::Network::Storage: ../network/storage.yaml
|
||||||
OS::TripleO::Network::Tenant: ../network/tenant.yaml
|
OS::TripleO::Network::Tenant: ../network/tenant.yaml
|
||||||
|
# Management network is optional and disabled by default
|
||||||
|
OS::TripleO::Network::Management: ../network/noop.yaml
|
||||||
|
|
||||||
# Port assignments for the VIPs
|
# Port assignments for the VIPs
|
||||||
OS::TripleO::Network::Ports::ExternalVipPort: ../network/ports/external.yaml
|
OS::TripleO::Network::Ports::ExternalVipPort: ../network/ports/external.yaml
|
||||||
@@ -21,22 +23,30 @@ resource_registry:
|
|||||||
OS::TripleO::Controller::Ports::StoragePort: ../network/ports/storage.yaml
|
OS::TripleO::Controller::Ports::StoragePort: ../network/ports/storage.yaml
|
||||||
OS::TripleO::Controller::Ports::StorageMgmtPort: ../network/ports/storage_mgmt.yaml
|
OS::TripleO::Controller::Ports::StorageMgmtPort: ../network/ports/storage_mgmt.yaml
|
||||||
OS::TripleO::Controller::Ports::TenantPort: ../network/ports/tenant.yaml
|
OS::TripleO::Controller::Ports::TenantPort: ../network/ports/tenant.yaml
|
||||||
|
OS::TripleO::Controller::Ports::ManagementPort: ../network/ports/noop.yaml
|
||||||
|
|
||||||
# Port assignments for the compute role
|
# Port assignments for the compute role
|
||||||
OS::TripleO::Compute::Ports::InternalApiPort: ../network/ports/internal_api.yaml
|
OS::TripleO::Compute::Ports::InternalApiPort: ../network/ports/internal_api.yaml
|
||||||
OS::TripleO::Compute::Ports::StoragePort: ../network/ports/storage.yaml
|
OS::TripleO::Compute::Ports::StoragePort: ../network/ports/storage.yaml
|
||||||
OS::TripleO::Compute::Ports::TenantPort: ../network/ports/tenant.yaml
|
OS::TripleO::Compute::Ports::TenantPort: ../network/ports/tenant.yaml
|
||||||
|
OS::TripleO::Compute::Ports::ManagementPort: ../network/ports/noop.yaml
|
||||||
|
|
||||||
# Port assignments for the ceph storage role
|
# Port assignments for the ceph storage role
|
||||||
OS::TripleO::CephStorage::Ports::StoragePort: ../network/ports/storage.yaml
|
OS::TripleO::CephStorage::Ports::StoragePort: ../network/ports/storage.yaml
|
||||||
OS::TripleO::CephStorage::Ports::StorageMgmtPort: ../network/ports/storage_mgmt.yaml
|
OS::TripleO::CephStorage::Ports::StorageMgmtPort: ../network/ports/storage_mgmt.yaml
|
||||||
|
OS::TripleO::CephStorage::Ports::ManagementPort: ../network/ports/noop.yaml
|
||||||
|
|
||||||
# Port assignments for the swift storage role
|
# Port assignments for the swift storage role
|
||||||
OS::TripleO::SwiftStorage::Ports::InternalApiPort: ../network/ports/internal_api.yaml
|
OS::TripleO::SwiftStorage::Ports::InternalApiPort: ../network/ports/internal_api.yaml
|
||||||
OS::TripleO::SwiftStorage::Ports::StoragePort: ../network/ports/storage.yaml
|
OS::TripleO::SwiftStorage::Ports::StoragePort: ../network/ports/storage.yaml
|
||||||
OS::TripleO::SwiftStorage::Ports::StorageMgmtPort: ../network/ports/storage_mgmt.yaml
|
OS::TripleO::SwiftStorage::Ports::StorageMgmtPort: ../network/ports/storage_mgmt.yaml
|
||||||
|
OS::TripleO::SwiftStorage::Ports::ManagementPort: ../network/ports/noop.yaml
|
||||||
|
|
||||||
# Port assignments for the block storage role
|
# Port assignments for the block storage role
|
||||||
OS::TripleO::BlockStorage::Ports::InternalApiPort: ../network/ports/internal_api.yaml
|
OS::TripleO::BlockStorage::Ports::InternalApiPort: ../network/ports/internal_api.yaml
|
||||||
OS::TripleO::BlockStorage::Ports::StoragePort: ../network/ports/storage.yaml
|
OS::TripleO::BlockStorage::Ports::StoragePort: ../network/ports/storage.yaml
|
||||||
OS::TripleO::BlockStorage::Ports::StorageMgmtPort: ../network/ports/storage_mgmt.yaml
|
OS::TripleO::BlockStorage::Ports::StorageMgmtPort: ../network/ports/storage_mgmt.yaml
|
||||||
|
OS::TripleO::BlockStorage::Ports::ManagementPort: ../network/ports/noop.yaml
|
||||||
|
|
||||||
|
# Port assignments for service virtual IPs for the controller role
|
||||||
|
OS::TripleO::Controller::Ports::RedisVipPort: ../network/ports/vip.yaml
|
||||||
|
24
environments/network-management.yaml
Normal file
24
environments/network-management.yaml
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# Enable the creation of a system management network. This
|
||||||
|
# creates a Neutron network for isolated Overcloud
|
||||||
|
# system management traffic and configures each role to
|
||||||
|
# assign a port (related to that role) on that network.
|
||||||
|
# Note that the basic sample NIC configuration templates
|
||||||
|
# do not include the management network, see the
|
||||||
|
# single-nic-vlans-mgmt templates for an example.
|
||||||
|
resource_registry:
|
||||||
|
OS::TripleO::Network::Management: ../network/management.yaml
|
||||||
|
|
||||||
|
# Port assignments for the controller role
|
||||||
|
OS::TripleO::Controller::Ports::ManagementPort: ../network/ports/management.yaml
|
||||||
|
|
||||||
|
# Port assignments for the compute role
|
||||||
|
OS::TripleO::Compute::Ports::ManagementPort: ../network/ports/management.yaml
|
||||||
|
|
||||||
|
# Port assignments for the ceph storage role
|
||||||
|
OS::TripleO::CephStorage::Ports::ManagementPort: ../network/ports/management.yaml
|
||||||
|
|
||||||
|
# Port assignments for the swift storage role
|
||||||
|
OS::TripleO::SwiftStorage::Ports::ManagementPort: ../network/ports/management.yaml
|
||||||
|
|
||||||
|
# Port assignments for the block storage role
|
||||||
|
OS::TripleO::BlockStorage::Ports::ManagementPort: ../network/ports/management.yaml
|
@@ -28,6 +28,10 @@ parameters:
|
|||||||
default: ''
|
default: ''
|
||||||
description: IP address/subnet on the tenant network
|
description: IP address/subnet on the tenant network
|
||||||
type: string
|
type: string
|
||||||
|
ManagementIpSubnet:
|
||||||
|
default: ''
|
||||||
|
description: IP address/subnet on the management network
|
||||||
|
type: string
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
OsNetConfigImpl:
|
OsNetConfigImpl:
|
||||||
|
@@ -28,6 +28,10 @@ parameters:
|
|||||||
default: ''
|
default: ''
|
||||||
description: IP address/subnet on the tenant network
|
description: IP address/subnet on the tenant network
|
||||||
type: string
|
type: string
|
||||||
|
ManagementIpSubnet:
|
||||||
|
default: ''
|
||||||
|
description: IP address/subnet on the management network
|
||||||
|
type: string
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
OsNetConfigImpl:
|
OsNetConfigImpl:
|
||||||
|
@@ -29,6 +29,10 @@ parameters:
|
|||||||
default: ''
|
default: ''
|
||||||
description: IP address/subnet on the tenant network
|
description: IP address/subnet on the tenant network
|
||||||
type: string
|
type: string
|
||||||
|
ManagementIpSubnet:
|
||||||
|
default: ''
|
||||||
|
description: IP address/subnet on the management network
|
||||||
|
type: string
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
OsNetConfigImpl:
|
OsNetConfigImpl:
|
||||||
|
@@ -3,10 +3,9 @@ Vlans on a bonded pair of NICs for each Overcloud role.
|
|||||||
|
|
||||||
There are two versions of the controller role template, one with
|
There are two versions of the controller role template, one with
|
||||||
an external network interface, and another without. If the
|
an external network interface, and another without. If the
|
||||||
external network interface is not configured the ctlplane address
|
external network interface is not configured, the ctlplane address
|
||||||
ranges will be used for external (public) network traffic.
|
ranges will be used for external (public) network traffic.
|
||||||
|
|
||||||
|
|
||||||
Configuration
|
Configuration
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
@@ -20,8 +19,31 @@ something like this:
|
|||||||
OS::TripleO::ObjectStorage::Net::SoftwareConfig: network/config/bond-with-vlans/swift-storage.yaml
|
OS::TripleO::ObjectStorage::Net::SoftwareConfig: network/config/bond-with-vlans/swift-storage.yaml
|
||||||
OS::TripleO::CephStorage::Net::SoftwareConfig: network/config/bond-with-vlans/ceph-storage.yaml
|
OS::TripleO::CephStorage::Net::SoftwareConfig: network/config/bond-with-vlans/ceph-storage.yaml
|
||||||
|
|
||||||
|
Or use this Heat environment file:
|
||||||
|
|
||||||
|
environments/net-bond-with-vlans.yaml
|
||||||
|
|
||||||
Configuration with no External Network
|
Configuration with no External Network
|
||||||
--------------------------------------
|
--------------------------------------
|
||||||
|
|
||||||
Same as above except set the following value for the controller role:
|
Same as above except set the following value for the controller role:
|
||||||
|
|
||||||
OS::TripleO::Controller::Net::SoftwareConfig: network/config/bond-with-vlans/controller-no-external.yaml
|
OS::TripleO::Controller::Net::SoftwareConfig: network/config/bond-with-vlans/controller-no-external.yaml
|
||||||
|
|
||||||
|
Configuration with System Management Network
|
||||||
|
--------------------------------------------
|
||||||
|
|
||||||
|
To enable the optional System Management network, create a Heat environment
|
||||||
|
that looks something like this:
|
||||||
|
|
||||||
|
resource\_registry:
|
||||||
|
OS::TripleO::Network::Management: ../network/management.yaml
|
||||||
|
OS::TripleO::Controller::Ports::ManagementPort: ../network/ports/management.yaml
|
||||||
|
OS::TripleO::Compute::Ports::ManagementPort: ../network/ports/management.yaml
|
||||||
|
OS::TripleO::CephStorage::Ports::ManagementPort: ../network/ports/management.yaml
|
||||||
|
OS::TripleO::SwiftStorage::Ports::ManagementPort: ../network/ports/management.yaml
|
||||||
|
OS::TripleO::BlockStorage::Ports::ManagementPort: ../network/ports/management.yaml
|
||||||
|
|
||||||
|
Or use this Heat environment file:
|
||||||
|
|
||||||
|
environments/network-management.yaml
|
||||||
|
@@ -29,6 +29,10 @@ parameters:
|
|||||||
default: ''
|
default: ''
|
||||||
description: IP address/subnet on the tenant network
|
description: IP address/subnet on the tenant network
|
||||||
type: string
|
type: string
|
||||||
|
ManagementIpSubnet: # Only populated when including environments/network-management.yaml
|
||||||
|
default: ''
|
||||||
|
description: IP address/subnet on the management network
|
||||||
|
type: string
|
||||||
BondInterfaceOvsOptions:
|
BondInterfaceOvsOptions:
|
||||||
default: ''
|
default: ''
|
||||||
description: The ovs_options string for the bond interface. Set things like
|
description: The ovs_options string for the bond interface. Set things like
|
||||||
@@ -42,6 +46,10 @@ parameters:
|
|||||||
default: 40
|
default: 40
|
||||||
description: Vlan ID for the storage mgmt network traffic.
|
description: Vlan ID for the storage mgmt network traffic.
|
||||||
type: number
|
type: number
|
||||||
|
ManagementNetworkVlanID:
|
||||||
|
default: 60
|
||||||
|
description: Vlan ID for the management network traffic.
|
||||||
|
type: number
|
||||||
ControlPlaneSubnetCidr: # Override this via parameter_defaults
|
ControlPlaneSubnetCidr: # Override this via parameter_defaults
|
||||||
default: '24'
|
default: '24'
|
||||||
description: The subnet CIDR of the control plane network.
|
description: The subnet CIDR of the control plane network.
|
||||||
@@ -114,6 +122,14 @@ resources:
|
|||||||
addresses:
|
addresses:
|
||||||
-
|
-
|
||||||
ip_netmask: {get_param: StorageMgmtIpSubnet}
|
ip_netmask: {get_param: StorageMgmtIpSubnet}
|
||||||
|
# Uncomment when including environments/network-management.yaml
|
||||||
|
#-
|
||||||
|
# type: vlan
|
||||||
|
# device: bond1
|
||||||
|
# vlan_id: {get_param: ManagementNetworkVlanID}
|
||||||
|
# addresses:
|
||||||
|
# -
|
||||||
|
# ip_netmask: {get_param: ManagementIpSubnet}
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
OS::stack_id:
|
OS::stack_id:
|
||||||
|
@@ -29,6 +29,10 @@ parameters:
|
|||||||
default: ''
|
default: ''
|
||||||
description: IP address/subnet on the tenant network
|
description: IP address/subnet on the tenant network
|
||||||
type: string
|
type: string
|
||||||
|
ManagementIpSubnet: # Only populated when including environments/network-management.yaml
|
||||||
|
default: ''
|
||||||
|
description: IP address/subnet on the management network
|
||||||
|
type: string
|
||||||
BondInterfaceOvsOptions:
|
BondInterfaceOvsOptions:
|
||||||
default: ''
|
default: ''
|
||||||
description: The ovs_options string for the bond interface. Set things like
|
description: The ovs_options string for the bond interface. Set things like
|
||||||
@@ -46,6 +50,10 @@ parameters:
|
|||||||
default: 40
|
default: 40
|
||||||
description: Vlan ID for the storage mgmt network traffic.
|
description: Vlan ID for the storage mgmt network traffic.
|
||||||
type: number
|
type: number
|
||||||
|
ManagementNetworkVlanID:
|
||||||
|
default: 60
|
||||||
|
description: Vlan ID for the management network traffic.
|
||||||
|
type: number
|
||||||
ControlPlaneSubnetCidr: # Override this via parameter_defaults
|
ControlPlaneSubnetCidr: # Override this via parameter_defaults
|
||||||
default: '24'
|
default: '24'
|
||||||
description: The subnet CIDR of the control plane network.
|
description: The subnet CIDR of the control plane network.
|
||||||
@@ -125,6 +133,14 @@ resources:
|
|||||||
addresses:
|
addresses:
|
||||||
-
|
-
|
||||||
ip_netmask: {get_param: StorageMgmtIpSubnet}
|
ip_netmask: {get_param: StorageMgmtIpSubnet}
|
||||||
|
# Uncomment when including environments/network-management.yaml
|
||||||
|
#-
|
||||||
|
# type: vlan
|
||||||
|
# device: bond1
|
||||||
|
# vlan_id: {get_param: ManagementNetworkVlanID}
|
||||||
|
# addresses:
|
||||||
|
# -
|
||||||
|
# ip_netmask: {get_param: ManagementIpSubnet}
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
OS::stack_id:
|
OS::stack_id:
|
||||||
|
@@ -29,6 +29,10 @@ parameters:
|
|||||||
default: ''
|
default: ''
|
||||||
description: IP address/subnet on the tenant network
|
description: IP address/subnet on the tenant network
|
||||||
type: string
|
type: string
|
||||||
|
ManagementIpSubnet: # Only populated when including environments/network-management.yaml
|
||||||
|
default: ''
|
||||||
|
description: IP address/subnet on the management network
|
||||||
|
type: string
|
||||||
BondInterfaceOvsOptions:
|
BondInterfaceOvsOptions:
|
||||||
default: ''
|
default: ''
|
||||||
description: The ovs_options string for the bond interface. Set things like
|
description: The ovs_options string for the bond interface. Set things like
|
||||||
@@ -46,6 +50,10 @@ parameters:
|
|||||||
default: 50
|
default: 50
|
||||||
description: Vlan ID for the tenant network traffic.
|
description: Vlan ID for the tenant network traffic.
|
||||||
type: number
|
type: number
|
||||||
|
ManagementNetworkVlanID:
|
||||||
|
default: 60
|
||||||
|
description: Vlan ID for the management network traffic.
|
||||||
|
type: number
|
||||||
ControlPlaneSubnetCidr: # Override this via parameter_defaults
|
ControlPlaneSubnetCidr: # Override this via parameter_defaults
|
||||||
default: '24'
|
default: '24'
|
||||||
description: The subnet CIDR of the control plane network.
|
description: The subnet CIDR of the control plane network.
|
||||||
@@ -125,6 +133,14 @@ resources:
|
|||||||
addresses:
|
addresses:
|
||||||
-
|
-
|
||||||
ip_netmask: {get_param: TenantIpSubnet}
|
ip_netmask: {get_param: TenantIpSubnet}
|
||||||
|
# Uncomment when including environments/network-management.yaml
|
||||||
|
#-
|
||||||
|
# type: vlan
|
||||||
|
# device: bond1
|
||||||
|
# vlan_id: {get_param: ManagementNetworkVlanID}
|
||||||
|
# addresses:
|
||||||
|
# -
|
||||||
|
# ip_netmask: {get_param: ManagementIpSubnet}
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
OS::stack_id:
|
OS::stack_id:
|
||||||
|
@@ -25,6 +25,10 @@ parameters:
|
|||||||
default: ''
|
default: ''
|
||||||
description: IP address/subnet on the tenant network
|
description: IP address/subnet on the tenant network
|
||||||
type: string
|
type: string
|
||||||
|
ManagementIpSubnet: # Only populated when including environments/network-management.yaml
|
||||||
|
default: ''
|
||||||
|
description: IP address/subnet on the management network
|
||||||
|
type: string
|
||||||
BondInterfaceOvsOptions:
|
BondInterfaceOvsOptions:
|
||||||
default: ''
|
default: ''
|
||||||
description: The ovs_options string for the bond interface. Set things like
|
description: The ovs_options string for the bond interface. Set things like
|
||||||
@@ -50,6 +54,10 @@ parameters:
|
|||||||
default: 50
|
default: 50
|
||||||
description: Vlan ID for the tenant network traffic.
|
description: Vlan ID for the tenant network traffic.
|
||||||
type: number
|
type: number
|
||||||
|
ManagementNetworkVlanID:
|
||||||
|
default: 60
|
||||||
|
description: Vlan ID for the management network traffic.
|
||||||
|
type: number
|
||||||
ExternalInterfaceDefaultRoute:
|
ExternalInterfaceDefaultRoute:
|
||||||
default: '10.0.0.1'
|
default: '10.0.0.1'
|
||||||
description: default route for the external network
|
description: default route for the external network
|
||||||
@@ -66,6 +74,7 @@ resources:
|
|||||||
-
|
-
|
||||||
type: ovs_bridge
|
type: ovs_bridge
|
||||||
name: {get_input: bridge_name}
|
name: {get_input: bridge_name}
|
||||||
|
use_dhcp: true
|
||||||
members:
|
members:
|
||||||
-
|
-
|
||||||
type: ovs_bond
|
type: ovs_bond
|
||||||
@@ -107,6 +116,14 @@ resources:
|
|||||||
addresses:
|
addresses:
|
||||||
-
|
-
|
||||||
ip_netmask: {get_param: TenantIpSubnet}
|
ip_netmask: {get_param: TenantIpSubnet}
|
||||||
|
# Uncomment when including environments/network-management.yaml
|
||||||
|
#-
|
||||||
|
# type: vlan
|
||||||
|
# device: bond1
|
||||||
|
# vlan_id: {get_param: ManagementNetworkVlanID}
|
||||||
|
# addresses:
|
||||||
|
# -
|
||||||
|
# ip_netmask: {get_param: ManagementIpSubnet}
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
OS::stack_id:
|
OS::stack_id:
|
||||||
|
@@ -29,6 +29,10 @@ parameters:
|
|||||||
default: ''
|
default: ''
|
||||||
description: IP address/subnet on the tenant network
|
description: IP address/subnet on the tenant network
|
||||||
type: string
|
type: string
|
||||||
|
ManagementIpSubnet: # Only populated when including environments/network-management.yaml
|
||||||
|
default: ''
|
||||||
|
description: IP address/subnet on the management network
|
||||||
|
type: string
|
||||||
BondInterfaceOvsOptions:
|
BondInterfaceOvsOptions:
|
||||||
default: 'bond_mode=active-backup'
|
default: 'bond_mode=active-backup'
|
||||||
description: The ovs_options string for the bond interface. Set things like
|
description: The ovs_options string for the bond interface. Set things like
|
||||||
@@ -54,6 +58,10 @@ parameters:
|
|||||||
default: 50
|
default: 50
|
||||||
description: Vlan ID for the tenant network traffic.
|
description: Vlan ID for the tenant network traffic.
|
||||||
type: number
|
type: number
|
||||||
|
ManagementNetworkVlanID:
|
||||||
|
default: 60
|
||||||
|
description: Vlan ID for the management network traffic.
|
||||||
|
type: number
|
||||||
ExternalInterfaceDefaultRoute:
|
ExternalInterfaceDefaultRoute:
|
||||||
default: '10.0.0.1'
|
default: '10.0.0.1'
|
||||||
description: default route for the external network
|
description: default route for the external network
|
||||||
@@ -119,7 +127,7 @@ resources:
|
|||||||
ip_netmask: {get_param: ExternalIpSubnet}
|
ip_netmask: {get_param: ExternalIpSubnet}
|
||||||
routes:
|
routes:
|
||||||
-
|
-
|
||||||
ip_netmask: 0.0.0.0/0
|
default: true
|
||||||
next_hop: {get_param: ExternalInterfaceDefaultRoute}
|
next_hop: {get_param: ExternalInterfaceDefaultRoute}
|
||||||
-
|
-
|
||||||
type: vlan
|
type: vlan
|
||||||
@@ -149,6 +157,14 @@ resources:
|
|||||||
addresses:
|
addresses:
|
||||||
-
|
-
|
||||||
ip_netmask: {get_param: TenantIpSubnet}
|
ip_netmask: {get_param: TenantIpSubnet}
|
||||||
|
# Uncomment when including environments/network-management.yaml
|
||||||
|
#-
|
||||||
|
# type: vlan
|
||||||
|
# device: bond1
|
||||||
|
# vlan_id: {get_param: ManagementNetworkVlanID}
|
||||||
|
# addresses:
|
||||||
|
# -
|
||||||
|
# ip_netmask: {get_param: ManagementIpSubnet}
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
OS::stack_id:
|
OS::stack_id:
|
||||||
|
@@ -29,6 +29,10 @@ parameters:
|
|||||||
default: ''
|
default: ''
|
||||||
description: IP address/subnet on the tenant network
|
description: IP address/subnet on the tenant network
|
||||||
type: string
|
type: string
|
||||||
|
ManagementIpSubnet: # Only populated when including environments/network-management.yaml
|
||||||
|
default: ''
|
||||||
|
description: IP address/subnet on the management network
|
||||||
|
type: string
|
||||||
BondInterfaceOvsOptions:
|
BondInterfaceOvsOptions:
|
||||||
default: ''
|
default: ''
|
||||||
description: The ovs_options string for the bond interface. Set things like
|
description: The ovs_options string for the bond interface. Set things like
|
||||||
@@ -46,6 +50,10 @@ parameters:
|
|||||||
default: 40
|
default: 40
|
||||||
description: Vlan ID for the storage mgmt network traffic.
|
description: Vlan ID for the storage mgmt network traffic.
|
||||||
type: number
|
type: number
|
||||||
|
ManagementNetworkVlanID:
|
||||||
|
default: 60
|
||||||
|
description: Vlan ID for the management network traffic.
|
||||||
|
type: number
|
||||||
ControlPlaneSubnetCidr: # Override this via parameter_defaults
|
ControlPlaneSubnetCidr: # Override this via parameter_defaults
|
||||||
default: '24'
|
default: '24'
|
||||||
description: The subnet CIDR of the control plane network.
|
description: The subnet CIDR of the control plane network.
|
||||||
@@ -125,6 +133,14 @@ resources:
|
|||||||
addresses:
|
addresses:
|
||||||
-
|
-
|
||||||
ip_netmask: {get_param: StorageMgmtIpSubnet}
|
ip_netmask: {get_param: StorageMgmtIpSubnet}
|
||||||
|
# Uncomment when including environments/network-management.yaml
|
||||||
|
#-
|
||||||
|
# type: vlan
|
||||||
|
# device: bond1
|
||||||
|
# vlan_id: {get_param: ManagementNetworkVlanID}
|
||||||
|
# addresses:
|
||||||
|
# -
|
||||||
|
# ip_netmask: {get_param: ManagementIpSubnet}
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
OS::stack_id:
|
OS::stack_id:
|
||||||
|
@@ -19,3 +19,21 @@ something like this:
|
|||||||
Or use this Heat environment file:
|
Or use this Heat environment file:
|
||||||
|
|
||||||
environments/net-multiple-nics.yaml
|
environments/net-multiple-nics.yaml
|
||||||
|
|
||||||
|
Configuration with System Management Network
|
||||||
|
--------------------------------------------
|
||||||
|
|
||||||
|
To enable the optional System Management network, create a Heat environment
|
||||||
|
that looks something like this:
|
||||||
|
|
||||||
|
resource\_registry:
|
||||||
|
OS::TripleO::Network::Management: ../network/management.yaml
|
||||||
|
OS::TripleO::Controller::Ports::ManagementPort: ../network/ports/management.yaml
|
||||||
|
OS::TripleO::Compute::Ports::ManagementPort: ../network/ports/management.yaml
|
||||||
|
OS::TripleO::CephStorage::Ports::ManagementPort: ../network/ports/management.yaml
|
||||||
|
OS::TripleO::SwiftStorage::Ports::ManagementPort: ../network/ports/management.yaml
|
||||||
|
OS::TripleO::BlockStorage::Ports::ManagementPort: ../network/ports/management.yaml
|
||||||
|
|
||||||
|
Or use this Heat environment file:
|
||||||
|
|
||||||
|
environments/network-management.yaml
|
||||||
|
@@ -29,6 +29,10 @@ parameters:
|
|||||||
default: ''
|
default: ''
|
||||||
description: IP address/subnet on the tenant network
|
description: IP address/subnet on the tenant network
|
||||||
type: string
|
type: string
|
||||||
|
ManagementIpSubnet: # Only populated when including environments/network-management.yaml
|
||||||
|
default: ''
|
||||||
|
description: IP address/subnet on the management network
|
||||||
|
type: string
|
||||||
ExternalNetworkVlanID:
|
ExternalNetworkVlanID:
|
||||||
default: 10
|
default: 10
|
||||||
description: Vlan ID for the external network traffic.
|
description: Vlan ID for the external network traffic.
|
||||||
@@ -49,6 +53,10 @@ parameters:
|
|||||||
default: 50
|
default: 50
|
||||||
description: Vlan ID for the tenant network traffic.
|
description: Vlan ID for the tenant network traffic.
|
||||||
type: number
|
type: number
|
||||||
|
ManagementNetworkVlanID:
|
||||||
|
default: 60
|
||||||
|
description: Vlan ID for the management network traffic.
|
||||||
|
type: number
|
||||||
ExternalInterfaceDefaultRoute:
|
ExternalInterfaceDefaultRoute:
|
||||||
default: '10.0.0.1'
|
default: '10.0.0.1'
|
||||||
description: default route for the external network
|
description: default route for the external network
|
||||||
@@ -63,7 +71,7 @@ parameters:
|
|||||||
DnsServers: # Override this via parameter_defaults
|
DnsServers: # Override this via parameter_defaults
|
||||||
default: []
|
default: []
|
||||||
description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
|
description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
|
||||||
type: json
|
type: comma_delimited_list
|
||||||
EC2MetadataIp: # Override this via parameter_defaults
|
EC2MetadataIp: # Override this via parameter_defaults
|
||||||
description: The IP address of the EC2 metadata server.
|
description: The IP address of the EC2 metadata server.
|
||||||
type: string
|
type: string
|
||||||
@@ -109,6 +117,14 @@ resources:
|
|||||||
addresses:
|
addresses:
|
||||||
-
|
-
|
||||||
ip_netmask: {get_param: StorageMgmtIpSubnet}
|
ip_netmask: {get_param: StorageMgmtIpSubnet}
|
||||||
|
# Uncomment when including environments/network-management.yaml
|
||||||
|
#-
|
||||||
|
# type: interface
|
||||||
|
# name: nic7
|
||||||
|
# use_dhcp: false
|
||||||
|
# addresses:
|
||||||
|
# -
|
||||||
|
# ip_netmask: {get_param: ManagementIpSubnet}
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
OS::stack_id:
|
OS::stack_id:
|
||||||
|
@@ -29,6 +29,10 @@ parameters:
|
|||||||
default: ''
|
default: ''
|
||||||
description: IP address/subnet on the tenant network
|
description: IP address/subnet on the tenant network
|
||||||
type: string
|
type: string
|
||||||
|
ManagementIpSubnet: # Only populated when including environments/network-management.yaml
|
||||||
|
default: ''
|
||||||
|
description: IP address/subnet on the management network
|
||||||
|
type: string
|
||||||
ExternalNetworkVlanID:
|
ExternalNetworkVlanID:
|
||||||
default: 10
|
default: 10
|
||||||
description: Vlan ID for the external network traffic.
|
description: Vlan ID for the external network traffic.
|
||||||
@@ -49,6 +53,10 @@ parameters:
|
|||||||
default: 50
|
default: 50
|
||||||
description: Vlan ID for the tenant network traffic.
|
description: Vlan ID for the tenant network traffic.
|
||||||
type: number
|
type: number
|
||||||
|
ManagementNetworkVlanID:
|
||||||
|
default: 60
|
||||||
|
description: Vlan ID for the management network traffic.
|
||||||
|
type: number
|
||||||
ExternalInterfaceDefaultRoute:
|
ExternalInterfaceDefaultRoute:
|
||||||
default: '10.0.0.1'
|
default: '10.0.0.1'
|
||||||
description: default route for the external network
|
description: default route for the external network
|
||||||
@@ -63,7 +71,7 @@ parameters:
|
|||||||
DnsServers: # Override this via parameter_defaults
|
DnsServers: # Override this via parameter_defaults
|
||||||
default: []
|
default: []
|
||||||
description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
|
description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
|
||||||
type: json
|
type: comma_delimited_list
|
||||||
EC2MetadataIp: # Override this via parameter_defaults
|
EC2MetadataIp: # Override this via parameter_defaults
|
||||||
description: The IP address of the EC2 metadata server.
|
description: The IP address of the EC2 metadata server.
|
||||||
type: string
|
type: string
|
||||||
@@ -116,6 +124,14 @@ resources:
|
|||||||
addresses:
|
addresses:
|
||||||
-
|
-
|
||||||
ip_netmask: {get_param: InternalApiIpSubnet}
|
ip_netmask: {get_param: InternalApiIpSubnet}
|
||||||
|
# Uncomment when including environments/network-management.yaml
|
||||||
|
#-
|
||||||
|
# type: interface
|
||||||
|
# name: nic7
|
||||||
|
# use_dhcp: false
|
||||||
|
# addresses:
|
||||||
|
# -
|
||||||
|
# ip_netmask: {get_param: ManagementIpSubnet}
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
OS::stack_id:
|
OS::stack_id:
|
||||||
|
@@ -29,6 +29,14 @@ parameters:
|
|||||||
default: ''
|
default: ''
|
||||||
description: IP address/subnet on the tenant network
|
description: IP address/subnet on the tenant network
|
||||||
type: string
|
type: string
|
||||||
|
ManagementIpSubnet: # Only populated when including environments/network-management.yaml
|
||||||
|
default: ''
|
||||||
|
description: IP address/subnet on the management network
|
||||||
|
type: string
|
||||||
|
ExternalNetworkVlanID:
|
||||||
|
default: 10
|
||||||
|
description: Vlan ID for the external network traffic.
|
||||||
|
type: number
|
||||||
InternalApiNetworkVlanID:
|
InternalApiNetworkVlanID:
|
||||||
default: 20
|
default: 20
|
||||||
description: Vlan ID for the internal_api network traffic.
|
description: Vlan ID for the internal_api network traffic.
|
||||||
@@ -37,10 +45,22 @@ parameters:
|
|||||||
default: 30
|
default: 30
|
||||||
description: Vlan ID for the storage network traffic.
|
description: Vlan ID for the storage network traffic.
|
||||||
type: number
|
type: number
|
||||||
|
StorageMgmtNetworkVlanID:
|
||||||
|
default: 40
|
||||||
|
description: Vlan ID for the storage mgmt network traffic.
|
||||||
|
type: number
|
||||||
TenantNetworkVlanID:
|
TenantNetworkVlanID:
|
||||||
default: 50
|
default: 50
|
||||||
description: Vlan ID for the tenant network traffic.
|
description: Vlan ID for the tenant network traffic.
|
||||||
type: number
|
type: number
|
||||||
|
ManagementNetworkVlanID:
|
||||||
|
default: 60
|
||||||
|
description: Vlan ID for the management network traffic.
|
||||||
|
type: number
|
||||||
|
ExternalInterfaceDefaultRoute:
|
||||||
|
default: '10.0.0.1'
|
||||||
|
description: default route for the external network
|
||||||
|
type: string
|
||||||
ControlPlaneSubnetCidr: # Override this via parameter_defaults
|
ControlPlaneSubnetCidr: # Override this via parameter_defaults
|
||||||
default: '24'
|
default: '24'
|
||||||
description: The subnet CIDR of the control plane network.
|
description: The subnet CIDR of the control plane network.
|
||||||
@@ -51,7 +71,7 @@ parameters:
|
|||||||
DnsServers: # Override this via parameter_defaults
|
DnsServers: # Override this via parameter_defaults
|
||||||
default: []
|
default: []
|
||||||
description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
|
description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
|
||||||
type: json
|
type: comma_delimited_list
|
||||||
EC2MetadataIp: # Override this via parameter_defaults
|
EC2MetadataIp: # Override this via parameter_defaults
|
||||||
description: The IP address of the EC2 metadata server.
|
description: The IP address of the EC2 metadata server.
|
||||||
type: string
|
type: string
|
||||||
@@ -112,6 +132,14 @@ resources:
|
|||||||
use_dhcp: false
|
use_dhcp: false
|
||||||
# force the MAC address of the bridge to this interface
|
# force the MAC address of the bridge to this interface
|
||||||
primary: true
|
primary: true
|
||||||
|
# Uncomment when including environments/network-management.yaml
|
||||||
|
#-
|
||||||
|
# type: interface
|
||||||
|
# name: nic7
|
||||||
|
# use_dhcp: false
|
||||||
|
# addresses:
|
||||||
|
# -
|
||||||
|
# ip_netmask: {get_param: ManagementIpSubnet}
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
OS::stack_id:
|
OS::stack_id:
|
||||||
|
@@ -29,6 +29,10 @@ parameters:
|
|||||||
default: ''
|
default: ''
|
||||||
description: IP address/subnet on the tenant network
|
description: IP address/subnet on the tenant network
|
||||||
type: string
|
type: string
|
||||||
|
ManagementIpSubnet: # Only populated when including environments/network-management.yaml
|
||||||
|
default: ''
|
||||||
|
description: IP address/subnet on the management network
|
||||||
|
type: string
|
||||||
ExternalNetworkVlanID:
|
ExternalNetworkVlanID:
|
||||||
default: 10
|
default: 10
|
||||||
description: Vlan ID for the external network traffic.
|
description: Vlan ID for the external network traffic.
|
||||||
@@ -49,6 +53,10 @@ parameters:
|
|||||||
default: 50
|
default: 50
|
||||||
description: Vlan ID for the tenant network traffic.
|
description: Vlan ID for the tenant network traffic.
|
||||||
type: number
|
type: number
|
||||||
|
ManagementNetworkVlanID:
|
||||||
|
default: 60
|
||||||
|
description: Vlan ID for the management network traffic.
|
||||||
|
type: number
|
||||||
ExternalInterfaceDefaultRoute:
|
ExternalInterfaceDefaultRoute:
|
||||||
default: '10.0.0.1'
|
default: '10.0.0.1'
|
||||||
description: default route for the external network
|
description: default route for the external network
|
||||||
@@ -63,7 +71,7 @@ parameters:
|
|||||||
DnsServers: # Override this via parameter_defaults
|
DnsServers: # Override this via parameter_defaults
|
||||||
default: []
|
default: []
|
||||||
description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
|
description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
|
||||||
type: json
|
type: comma_delimited_list
|
||||||
EC2MetadataIp: # Override this via parameter_defaults
|
EC2MetadataIp: # Override this via parameter_defaults
|
||||||
description: The IP address of the EC2 metadata server.
|
description: The IP address of the EC2 metadata server.
|
||||||
type: string
|
type: string
|
||||||
@@ -131,13 +139,14 @@ resources:
|
|||||||
-
|
-
|
||||||
type: ovs_bridge
|
type: ovs_bridge
|
||||||
name: {get_input: bridge_name}
|
name: {get_input: bridge_name}
|
||||||
|
dns_servers: {get_param: DnsServers}
|
||||||
use_dhcp: false
|
use_dhcp: false
|
||||||
addresses:
|
addresses:
|
||||||
-
|
-
|
||||||
ip_netmask: {get_param: ExternalIpSubnet}
|
ip_netmask: {get_param: ExternalIpSubnet}
|
||||||
routes:
|
routes:
|
||||||
-
|
-
|
||||||
ip_netmask: 0.0.0.0/0
|
default: true
|
||||||
next_hop: {get_param: ExternalInterfaceDefaultRoute}
|
next_hop: {get_param: ExternalInterfaceDefaultRoute}
|
||||||
members:
|
members:
|
||||||
-
|
-
|
||||||
@@ -145,6 +154,14 @@ resources:
|
|||||||
name: nic6
|
name: nic6
|
||||||
# force the MAC address of the bridge to this interface
|
# force the MAC address of the bridge to this interface
|
||||||
primary: true
|
primary: true
|
||||||
|
# Uncomment when including environments/network-management.yaml
|
||||||
|
#-
|
||||||
|
# type: interface
|
||||||
|
# name: nic7
|
||||||
|
# use_dhcp: false
|
||||||
|
# addresses:
|
||||||
|
# -
|
||||||
|
# ip_netmask: {get_param: ManagementIpSubnet}
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
OS::stack_id:
|
OS::stack_id:
|
||||||
|
@@ -29,6 +29,10 @@ parameters:
|
|||||||
default: ''
|
default: ''
|
||||||
description: IP address/subnet on the tenant network
|
description: IP address/subnet on the tenant network
|
||||||
type: string
|
type: string
|
||||||
|
ManagementIpSubnet: # Only populated when including environments/network-management.yaml
|
||||||
|
default: ''
|
||||||
|
description: IP address/subnet on the management network
|
||||||
|
type: string
|
||||||
ExternalNetworkVlanID:
|
ExternalNetworkVlanID:
|
||||||
default: 10
|
default: 10
|
||||||
description: Vlan ID for the external network traffic.
|
description: Vlan ID for the external network traffic.
|
||||||
@@ -49,6 +53,10 @@ parameters:
|
|||||||
default: 50
|
default: 50
|
||||||
description: Vlan ID for the tenant network traffic.
|
description: Vlan ID for the tenant network traffic.
|
||||||
type: number
|
type: number
|
||||||
|
ManagementNetworkVlanID:
|
||||||
|
default: 60
|
||||||
|
description: Vlan ID for the management network traffic.
|
||||||
|
type: number
|
||||||
ExternalInterfaceDefaultRoute:
|
ExternalInterfaceDefaultRoute:
|
||||||
default: '10.0.0.1'
|
default: '10.0.0.1'
|
||||||
description: default route for the external network
|
description: default route for the external network
|
||||||
@@ -63,7 +71,7 @@ parameters:
|
|||||||
DnsServers: # Override this via parameter_defaults
|
DnsServers: # Override this via parameter_defaults
|
||||||
default: []
|
default: []
|
||||||
description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
|
description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
|
||||||
type: json
|
type: comma_delimited_list
|
||||||
EC2MetadataIp: # Override this via parameter_defaults
|
EC2MetadataIp: # Override this via parameter_defaults
|
||||||
description: The IP address of the EC2 metadata server.
|
description: The IP address of the EC2 metadata server.
|
||||||
type: string
|
type: string
|
||||||
@@ -116,6 +124,14 @@ resources:
|
|||||||
addresses:
|
addresses:
|
||||||
-
|
-
|
||||||
ip_netmask: {get_param: InternalApiIpSubnet}
|
ip_netmask: {get_param: InternalApiIpSubnet}
|
||||||
|
# Uncomment when including environments/network-management.yaml
|
||||||
|
#-
|
||||||
|
# type: interface
|
||||||
|
# name: nic7
|
||||||
|
# use_dhcp: false
|
||||||
|
# addresses:
|
||||||
|
# -
|
||||||
|
# ip_netmask: {get_param: ManagementIpSubnet}
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
OS::stack_id:
|
OS::stack_id:
|
||||||
|
@@ -1,9 +1,9 @@
|
|||||||
This directory contains Heat templates to help configure
|
This directory contains Heat templates to help configure
|
||||||
Vlans on a single NICs for each Overcloud role.
|
Vlans on a single NIC for each Overcloud role.
|
||||||
|
|
||||||
There are two versions of the controller role template, one with
|
There are two versions of the controller role template, one with
|
||||||
an external network interface, and another without. If the
|
an external network interface, and another without. If the
|
||||||
external network interface is not configured the ctlplane address
|
external network interface is not configured, the ctlplane address
|
||||||
ranges will be used for external (public) network traffic.
|
ranges will be used for external (public) network traffic.
|
||||||
|
|
||||||
Configuration
|
Configuration
|
||||||
@@ -23,9 +23,27 @@ Or use this Heat environment file:
|
|||||||
|
|
||||||
environments/net-single-nic-with-vlans.yaml
|
environments/net-single-nic-with-vlans.yaml
|
||||||
|
|
||||||
|
|
||||||
Configuration with no External Network
|
Configuration with no External Network
|
||||||
--------------------------------------
|
--------------------------------------
|
||||||
|
|
||||||
Same as above except set the following value for the controller role:
|
Same as above except set the following value for the controller role:
|
||||||
|
|
||||||
OS::TripleO::Controller::Net::SoftwareConfig: network/config/single-nic-vlans/controller-no-external.yaml
|
OS::TripleO::Controller::Net::SoftwareConfig: network/config/single-nic-vlans/controller-no-external.yaml
|
||||||
|
|
||||||
|
Configuration with System Management Network
|
||||||
|
--------------------------------------------
|
||||||
|
|
||||||
|
To enable the optional System Management network, create a Heat environment
|
||||||
|
that looks something like this:
|
||||||
|
|
||||||
|
resource\_registry:
|
||||||
|
OS::TripleO::Network::Management: ../network/management.yaml
|
||||||
|
OS::TripleO::Controller::Ports::ManagementPort: ../network/ports/management.yaml
|
||||||
|
OS::TripleO::Compute::Ports::ManagementPort: ../network/ports/management.yaml
|
||||||
|
OS::TripleO::CephStorage::Ports::ManagementPort: ../network/ports/management.yaml
|
||||||
|
OS::TripleO::SwiftStorage::Ports::ManagementPort: ../network/ports/management.yaml
|
||||||
|
OS::TripleO::BlockStorage::Ports::ManagementPort: ../network/ports/management.yaml
|
||||||
|
|
||||||
|
Or use this Heat environment file:
|
||||||
|
|
||||||
|
environments/network-management.yaml
|
||||||
|
@@ -29,6 +29,10 @@ parameters:
|
|||||||
default: ''
|
default: ''
|
||||||
description: IP address/subnet on the tenant network
|
description: IP address/subnet on the tenant network
|
||||||
type: string
|
type: string
|
||||||
|
ManagementIpSubnet: # Only populated when including environments/network-management.yaml
|
||||||
|
default: ''
|
||||||
|
description: IP address/subnet on the management network
|
||||||
|
type: string
|
||||||
StorageNetworkVlanID:
|
StorageNetworkVlanID:
|
||||||
default: 30
|
default: 30
|
||||||
description: Vlan ID for the storage network traffic.
|
description: Vlan ID for the storage network traffic.
|
||||||
@@ -37,6 +41,10 @@ parameters:
|
|||||||
default: 40
|
default: 40
|
||||||
description: Vlan ID for the storage mgmt network traffic.
|
description: Vlan ID for the storage mgmt network traffic.
|
||||||
type: number
|
type: number
|
||||||
|
ManagementNetworkVlanID:
|
||||||
|
default: 60
|
||||||
|
description: Vlan ID for the management network traffic.
|
||||||
|
type: number
|
||||||
ControlPlaneSubnetCidr: # Override this via parameter_defaults
|
ControlPlaneSubnetCidr: # Override this via parameter_defaults
|
||||||
default: '24'
|
default: '24'
|
||||||
description: The subnet CIDR of the control plane network.
|
description: The subnet CIDR of the control plane network.
|
||||||
@@ -97,6 +105,13 @@ resources:
|
|||||||
addresses:
|
addresses:
|
||||||
-
|
-
|
||||||
ip_netmask: {get_param: StorageMgmtIpSubnet}
|
ip_netmask: {get_param: StorageMgmtIpSubnet}
|
||||||
|
# Uncomment when including environments/network-management.yaml
|
||||||
|
#-
|
||||||
|
# type: vlan
|
||||||
|
# vlan_id: {get_param: ManagementNetworkVlanID}
|
||||||
|
# addresses:
|
||||||
|
# -
|
||||||
|
# ip_netmask: {get_param: ManagementIpSubnet}
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
OS::stack_id:
|
OS::stack_id:
|
||||||
|
@@ -29,6 +29,10 @@ parameters:
|
|||||||
default: ''
|
default: ''
|
||||||
description: IP address/subnet on the tenant network
|
description: IP address/subnet on the tenant network
|
||||||
type: string
|
type: string
|
||||||
|
ManagementIpSubnet: # Only populated when including environments/network-management.yaml
|
||||||
|
default: ''
|
||||||
|
description: IP address/subnet on the management network
|
||||||
|
type: string
|
||||||
InternalApiNetworkVlanID:
|
InternalApiNetworkVlanID:
|
||||||
default: 20
|
default: 20
|
||||||
description: Vlan ID for the internal_api network traffic.
|
description: Vlan ID for the internal_api network traffic.
|
||||||
@@ -41,6 +45,10 @@ parameters:
|
|||||||
default: 40
|
default: 40
|
||||||
description: Vlan ID for the storage mgmt network traffic.
|
description: Vlan ID for the storage mgmt network traffic.
|
||||||
type: number
|
type: number
|
||||||
|
ManagementNetworkVlanID:
|
||||||
|
default: 60
|
||||||
|
description: Vlan ID for the management network traffic.
|
||||||
|
type: number
|
||||||
ControlPlaneSubnetCidr: # Override this via parameter_defaults
|
ControlPlaneSubnetCidr: # Override this via parameter_defaults
|
||||||
default: '24'
|
default: '24'
|
||||||
description: The subnet CIDR of the control plane network.
|
description: The subnet CIDR of the control plane network.
|
||||||
@@ -107,6 +115,13 @@ resources:
|
|||||||
addresses:
|
addresses:
|
||||||
-
|
-
|
||||||
ip_netmask: {get_param: StorageMgmtIpSubnet}
|
ip_netmask: {get_param: StorageMgmtIpSubnet}
|
||||||
|
# Uncomment when including environments/network-management.yaml
|
||||||
|
#-
|
||||||
|
# type: vlan
|
||||||
|
# vlan_id: {get_param: ManagementNetworkVlanID}
|
||||||
|
# addresses:
|
||||||
|
# -
|
||||||
|
# ip_netmask: {get_param: ManagementIpSubnet}
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
OS::stack_id:
|
OS::stack_id:
|
||||||
|
@@ -29,6 +29,10 @@ parameters:
|
|||||||
default: ''
|
default: ''
|
||||||
description: IP address/subnet on the tenant network
|
description: IP address/subnet on the tenant network
|
||||||
type: string
|
type: string
|
||||||
|
ManagementIpSubnet: # Only populated when including environments/network-management.yaml
|
||||||
|
default: ''
|
||||||
|
description: IP address/subnet on the management network
|
||||||
|
type: string
|
||||||
InternalApiNetworkVlanID:
|
InternalApiNetworkVlanID:
|
||||||
default: 20
|
default: 20
|
||||||
description: Vlan ID for the internal_api network traffic.
|
description: Vlan ID for the internal_api network traffic.
|
||||||
@@ -41,6 +45,10 @@ parameters:
|
|||||||
default: 50
|
default: 50
|
||||||
description: Vlan ID for the tenant network traffic.
|
description: Vlan ID for the tenant network traffic.
|
||||||
type: number
|
type: number
|
||||||
|
ManagementNetworkVlanID:
|
||||||
|
default: 60
|
||||||
|
description: Vlan ID for the management network traffic.
|
||||||
|
type: number
|
||||||
ControlPlaneSubnetCidr: # Override this via parameter_defaults
|
ControlPlaneSubnetCidr: # Override this via parameter_defaults
|
||||||
default: '24'
|
default: '24'
|
||||||
description: The subnet CIDR of the control plane network.
|
description: The subnet CIDR of the control plane network.
|
||||||
@@ -107,6 +115,13 @@ resources:
|
|||||||
addresses:
|
addresses:
|
||||||
-
|
-
|
||||||
ip_netmask: {get_param: TenantIpSubnet}
|
ip_netmask: {get_param: TenantIpSubnet}
|
||||||
|
# Uncomment when including environments/network-management.yaml
|
||||||
|
#-
|
||||||
|
# type: vlan
|
||||||
|
# vlan_id: {get_param: ManagementNetworkVlanID}
|
||||||
|
# addresses:
|
||||||
|
# -
|
||||||
|
# ip_netmask: {get_param: ManagementIpSubnet}
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
OS::stack_id:
|
OS::stack_id:
|
||||||
|
@@ -25,6 +25,10 @@ parameters:
|
|||||||
default: ''
|
default: ''
|
||||||
description: IP address/subnet on the tenant network
|
description: IP address/subnet on the tenant network
|
||||||
type: string
|
type: string
|
||||||
|
ManagementIpSubnet: # Only populated when including environments/network-management.yaml
|
||||||
|
default: ''
|
||||||
|
description: IP address/subnet on the management network
|
||||||
|
type: string
|
||||||
ExternalNetworkVlanID:
|
ExternalNetworkVlanID:
|
||||||
default: 10
|
default: 10
|
||||||
description: Vlan ID for the external network traffic.
|
description: Vlan ID for the external network traffic.
|
||||||
@@ -45,6 +49,10 @@ parameters:
|
|||||||
default: 50
|
default: 50
|
||||||
description: Vlan ID for the tenant network traffic.
|
description: Vlan ID for the tenant network traffic.
|
||||||
type: number
|
type: number
|
||||||
|
ManagementNetworkVlanID:
|
||||||
|
default: 60
|
||||||
|
description: Vlan ID for the management network traffic.
|
||||||
|
type: number
|
||||||
ExternalInterfaceDefaultRoute:
|
ExternalInterfaceDefaultRoute:
|
||||||
default: '10.0.0.1'
|
default: '10.0.0.1'
|
||||||
description: default route for the external network
|
description: default route for the external network
|
||||||
@@ -92,6 +100,13 @@ resources:
|
|||||||
addresses:
|
addresses:
|
||||||
-
|
-
|
||||||
ip_netmask: {get_param: TenantIpSubnet}
|
ip_netmask: {get_param: TenantIpSubnet}
|
||||||
|
# Uncomment when including environments/network-management.yaml
|
||||||
|
#-
|
||||||
|
# type: vlan
|
||||||
|
# vlan_id: {get_param: ManagementNetworkVlanID}
|
||||||
|
# addresses:
|
||||||
|
# -
|
||||||
|
# ip_netmask: {get_param: ManagementIpSubnet}
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
OS::stack_id:
|
OS::stack_id:
|
||||||
|
@@ -29,6 +29,10 @@ parameters:
|
|||||||
default: ''
|
default: ''
|
||||||
description: IP address/subnet on the tenant network
|
description: IP address/subnet on the tenant network
|
||||||
type: string
|
type: string
|
||||||
|
ManagementIpSubnet: # Only populated when including environments/network-management.yaml
|
||||||
|
default: ''
|
||||||
|
description: IP address/subnet on the management network
|
||||||
|
type: string
|
||||||
ExternalNetworkVlanID:
|
ExternalNetworkVlanID:
|
||||||
default: 10
|
default: 10
|
||||||
description: Vlan ID for the external network traffic.
|
description: Vlan ID for the external network traffic.
|
||||||
@@ -49,6 +53,10 @@ parameters:
|
|||||||
default: 50
|
default: 50
|
||||||
description: Vlan ID for the tenant network traffic.
|
description: Vlan ID for the tenant network traffic.
|
||||||
type: number
|
type: number
|
||||||
|
ManagementNetworkVlanID:
|
||||||
|
default: 60
|
||||||
|
description: Vlan ID for the management network traffic.
|
||||||
|
type: number
|
||||||
ExternalInterfaceDefaultRoute:
|
ExternalInterfaceDefaultRoute:
|
||||||
default: '10.0.0.1'
|
default: '10.0.0.1'
|
||||||
description: default route for the external network
|
description: default route for the external network
|
||||||
@@ -129,6 +137,12 @@ resources:
|
|||||||
addresses:
|
addresses:
|
||||||
-
|
-
|
||||||
ip_netmask: {get_param: TenantIpSubnet}
|
ip_netmask: {get_param: TenantIpSubnet}
|
||||||
|
#- # Uncomment when including environments/network-management.yaml
|
||||||
|
# type: vlan
|
||||||
|
# vlan_id: {get_param: ManagementNetworkVlanID}
|
||||||
|
# addresses:
|
||||||
|
# -
|
||||||
|
# ip_netmask: {get_param: ManagementIpSubnet}
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
OS::stack_id:
|
OS::stack_id:
|
||||||
|
@@ -29,6 +29,10 @@ parameters:
|
|||||||
default: ''
|
default: ''
|
||||||
description: IP address/subnet on the tenant network
|
description: IP address/subnet on the tenant network
|
||||||
type: string
|
type: string
|
||||||
|
ManagementIpSubnet: # Only populated when including environments/network-management.yaml
|
||||||
|
default: ''
|
||||||
|
description: IP address/subnet on the management network
|
||||||
|
type: string
|
||||||
InternalApiNetworkVlanID:
|
InternalApiNetworkVlanID:
|
||||||
default: 20
|
default: 20
|
||||||
description: Vlan ID for the internal_api network traffic.
|
description: Vlan ID for the internal_api network traffic.
|
||||||
@@ -41,6 +45,10 @@ parameters:
|
|||||||
default: 40
|
default: 40
|
||||||
description: Vlan ID for the storage mgmt network traffic.
|
description: Vlan ID for the storage mgmt network traffic.
|
||||||
type: number
|
type: number
|
||||||
|
ManagementNetworkVlanID:
|
||||||
|
default: 60
|
||||||
|
description: Vlan ID for the management network traffic.
|
||||||
|
type: number
|
||||||
ControlPlaneSubnetCidr: # Override this via parameter_defaults
|
ControlPlaneSubnetCidr: # Override this via parameter_defaults
|
||||||
default: '24'
|
default: '24'
|
||||||
description: The subnet CIDR of the control plane network.
|
description: The subnet CIDR of the control plane network.
|
||||||
@@ -107,6 +115,13 @@ resources:
|
|||||||
addresses:
|
addresses:
|
||||||
-
|
-
|
||||||
ip_netmask: {get_param: StorageMgmtIpSubnet}
|
ip_netmask: {get_param: StorageMgmtIpSubnet}
|
||||||
|
# Uncomment when including environments/network-management.yaml
|
||||||
|
#-
|
||||||
|
# type: vlan
|
||||||
|
# vlan_id: {get_param: ManagementNetworkVlanID}
|
||||||
|
# addresses:
|
||||||
|
# -
|
||||||
|
# ip_netmask: {get_param: ManagementIpSubnet}
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
OS::stack_id:
|
OS::stack_id:
|
||||||
|
64
network/management.yaml
Normal file
64
network/management.yaml
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
heat_template_version: 2015-04-30
|
||||||
|
|
||||||
|
description: >
|
||||||
|
Management network. System administration, SSH, DNS, NTP, etc. This network
|
||||||
|
would usually be the default gateway for the non-controller nodes.
|
||||||
|
|
||||||
|
parameters:
|
||||||
|
# the defaults here work for static IP assignment (IPAM) only
|
||||||
|
ManagementNetCidr:
|
||||||
|
default: '10.0.1.0/24'
|
||||||
|
description: Cidr for the management network.
|
||||||
|
type: string
|
||||||
|
ManagementNetValueSpecs:
|
||||||
|
default: {'provider:physical_network': 'management', 'provider:network_type': 'flat'}
|
||||||
|
description: Value specs for the management network.
|
||||||
|
type: string
|
||||||
|
ManagementNetAdminStateUp:
|
||||||
|
default: false
|
||||||
|
description: This admin state of of the network.
|
||||||
|
type: boolean
|
||||||
|
ManagementNetEnableDHCP:
|
||||||
|
default: false
|
||||||
|
description: Whether to enable DHCP on the associated subnet.
|
||||||
|
type: boolean
|
||||||
|
ManagementNetShared:
|
||||||
|
default: false
|
||||||
|
description: Whether this network is shared across all tenants.
|
||||||
|
type: boolean
|
||||||
|
ManagementNetName:
|
||||||
|
default: management
|
||||||
|
description: The name of the management network.
|
||||||
|
type: string
|
||||||
|
ManagementSubnetName:
|
||||||
|
default: management_subnet
|
||||||
|
description: The name of the management subnet in Neutron.
|
||||||
|
type: string
|
||||||
|
ManagementAllocationPools:
|
||||||
|
default: [{'start': '10.0.1.4', 'end': '10.0.1.250'}]
|
||||||
|
description: Ip allocation pool range for the management network.
|
||||||
|
type: json
|
||||||
|
|
||||||
|
resources:
|
||||||
|
ManagementNetwork:
|
||||||
|
type: OS::Neutron::Net
|
||||||
|
properties:
|
||||||
|
admin_state_up: {get_param: ManagementNetAdminStateUp}
|
||||||
|
name: {get_param: ManagementNetName}
|
||||||
|
shared: {get_param: ManagementNetShared}
|
||||||
|
value_specs: {get_param: ManagementNetValueSpecs}
|
||||||
|
|
||||||
|
ManagementSubnet:
|
||||||
|
type: OS::Neutron::Subnet
|
||||||
|
properties:
|
||||||
|
cidr: {get_param: ManagementNetCidr}
|
||||||
|
enable_dhcp: {get_param: ManagementNetEnableDHCP}
|
||||||
|
name: {get_param: ManagementSubnetName}
|
||||||
|
network: {get_resource: ManagementNetwork}
|
||||||
|
allocation_pools: {get_param: ManagementAllocationPools}
|
||||||
|
|
||||||
|
outputs:
|
||||||
|
OS::stack_id:
|
||||||
|
description: Neutron management network
|
||||||
|
value: {get_resource: ManagementNetwork}
|
||||||
|
|
@@ -18,3 +18,6 @@ resources:
|
|||||||
|
|
||||||
TenantNetwork:
|
TenantNetwork:
|
||||||
type: OS::TripleO::Network::Tenant
|
type: OS::TripleO::Network::Tenant
|
||||||
|
|
||||||
|
ManagementNetwork:
|
||||||
|
type: OS::TripleO::Network::Management
|
||||||
|
42
network/ports/management.yaml
Normal file
42
network/ports/management.yaml
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
heat_template_version: 2015-04-30
|
||||||
|
|
||||||
|
description: >
|
||||||
|
Creates a port on the management network. The IP address will be chosen
|
||||||
|
automatically if FixedIPs is empty.
|
||||||
|
|
||||||
|
parameters:
|
||||||
|
ManagementNetName:
|
||||||
|
description: Name of the management neutron network
|
||||||
|
default: management
|
||||||
|
type: string
|
||||||
|
PortName:
|
||||||
|
description: Name of the port
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
ControlPlaneIP: # Here for compatibility with noop.yaml
|
||||||
|
description: IP address on the control plane
|
||||||
|
type: string
|
||||||
|
|
||||||
|
resources:
|
||||||
|
|
||||||
|
ManagementPort:
|
||||||
|
type: OS::Neutron::Port
|
||||||
|
properties:
|
||||||
|
network: {get_param: ManagementNetName}
|
||||||
|
name: {get_param: PortName}
|
||||||
|
replacement_policy: AUTO
|
||||||
|
|
||||||
|
outputs:
|
||||||
|
ip_address:
|
||||||
|
description: management network IP
|
||||||
|
value: {get_attr: [ManagementPort, fixed_ips, 0, ip_address]}
|
||||||
|
ip_subnet:
|
||||||
|
# FIXME: this assumes a 2 digit subnet CIDR (need more heat functions?)
|
||||||
|
description: IP/Subnet CIDR for the management network IP
|
||||||
|
value:
|
||||||
|
list_join:
|
||||||
|
- ''
|
||||||
|
- - {get_attr: [ManagementPort, fixed_ips, 0, ip_address]}
|
||||||
|
- '/'
|
||||||
|
- {get_attr: [ManagementPort, subnets, 0, cidr, -2]}
|
||||||
|
- {get_attr: [ManagementPort, subnets, 0, cidr, -1]}
|
@@ -19,6 +19,9 @@ parameters:
|
|||||||
TenantIpList:
|
TenantIpList:
|
||||||
default: []
|
default: []
|
||||||
type: comma_delimited_list
|
type: comma_delimited_list
|
||||||
|
ManagementIpList:
|
||||||
|
default: []
|
||||||
|
type: comma_delimited_list
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
net_ip_map:
|
net_ip_map:
|
||||||
@@ -32,3 +35,4 @@ outputs:
|
|||||||
storage: {get_param: StorageIpList}
|
storage: {get_param: StorageIpList}
|
||||||
storage_mgmt: {get_param: StorageMgmtIpList}
|
storage_mgmt: {get_param: StorageMgmtIpList}
|
||||||
tenant: {get_param: TenantIpList}
|
tenant: {get_param: TenantIpList}
|
||||||
|
management: {get_param: ManagementIpList}
|
||||||
|
@@ -19,6 +19,9 @@ parameters:
|
|||||||
TenantIp:
|
TenantIp:
|
||||||
default: ''
|
default: ''
|
||||||
type: string
|
type: string
|
||||||
|
ManagementIp:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
net_ip_map:
|
net_ip_map:
|
||||||
@@ -32,3 +35,4 @@ outputs:
|
|||||||
storage: {get_param: StorageIp}
|
storage: {get_param: StorageIp}
|
||||||
storage_mgmt: {get_param: StorageMgmtIp}
|
storage_mgmt: {get_param: StorageMgmtIp}
|
||||||
tenant: {get_param: TenantIp}
|
tenant: {get_param: TenantIp}
|
||||||
|
management: {get_param: ManagementIp}
|
||||||
|
@@ -19,6 +19,9 @@ parameters:
|
|||||||
TenantIpSubnet:
|
TenantIpSubnet:
|
||||||
default: ''
|
default: ''
|
||||||
type: string
|
type: string
|
||||||
|
ManagementIpSubnet:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
ControlPlaneSubnetCidr: # Override this via parameter_defaults
|
ControlPlaneSubnetCidr: # Override this via parameter_defaults
|
||||||
default: '24'
|
default: '24'
|
||||||
description: The subnet CIDR of the control plane network.
|
description: The subnet CIDR of the control plane network.
|
||||||
@@ -41,3 +44,4 @@ outputs:
|
|||||||
storage: {get_param: StorageIpSubnet}
|
storage: {get_param: StorageIpSubnet}
|
||||||
storage_mgmt: {get_param: StorageMgmtIpSubnet}
|
storage_mgmt: {get_param: StorageMgmtIpSubnet}
|
||||||
tenant: {get_param: TenantIpSubnet}
|
tenant: {get_param: TenantIpSubnet}
|
||||||
|
management: {get_param: ManagementIpSubnet}
|
||||||
|
@@ -61,6 +61,7 @@ resource_registry:
|
|||||||
OS::TripleO::Network::StorageMgmt: network/noop.yaml
|
OS::TripleO::Network::StorageMgmt: network/noop.yaml
|
||||||
OS::TripleO::Network::Storage: network/noop.yaml
|
OS::TripleO::Network::Storage: network/noop.yaml
|
||||||
OS::TripleO::Network::Tenant: network/noop.yaml
|
OS::TripleO::Network::Tenant: network/noop.yaml
|
||||||
|
OS::TripleO::Network::Management: network/noop.yaml
|
||||||
|
|
||||||
OS::TripleO::Network::Ports::NetVipMap: network/ports/net_ip_map.yaml
|
OS::TripleO::Network::Ports::NetVipMap: network/ports/net_ip_map.yaml
|
||||||
OS::TripleO::Network::Ports::NetIpMap: network/ports/net_ip_map.yaml
|
OS::TripleO::Network::Ports::NetIpMap: network/ports/net_ip_map.yaml
|
||||||
@@ -80,25 +81,30 @@ resource_registry:
|
|||||||
OS::TripleO::Controller::Ports::StoragePort: network/ports/noop.yaml
|
OS::TripleO::Controller::Ports::StoragePort: network/ports/noop.yaml
|
||||||
OS::TripleO::Controller::Ports::StorageMgmtPort: network/ports/noop.yaml
|
OS::TripleO::Controller::Ports::StorageMgmtPort: network/ports/noop.yaml
|
||||||
OS::TripleO::Controller::Ports::TenantPort: network/ports/noop.yaml
|
OS::TripleO::Controller::Ports::TenantPort: network/ports/noop.yaml
|
||||||
|
OS::TripleO::Controller::Ports::ManagementPort: network/ports/noop.yaml
|
||||||
|
|
||||||
# Port assignments for the compute role
|
# Port assignments for the compute role
|
||||||
OS::TripleO::Compute::Ports::InternalApiPort: network/ports/noop.yaml
|
OS::TripleO::Compute::Ports::InternalApiPort: network/ports/noop.yaml
|
||||||
OS::TripleO::Compute::Ports::StoragePort: network/ports/noop.yaml
|
OS::TripleO::Compute::Ports::StoragePort: network/ports/noop.yaml
|
||||||
OS::TripleO::Compute::Ports::TenantPort: network/ports/noop.yaml
|
OS::TripleO::Compute::Ports::TenantPort: network/ports/noop.yaml
|
||||||
|
OS::TripleO::Compute::Ports::ManagementPort: network/ports/noop.yaml
|
||||||
|
|
||||||
# Port assignments for the ceph storage role
|
# Port assignments for the ceph storage role
|
||||||
OS::TripleO::CephStorage::Ports::StoragePort: network/ports/noop.yaml
|
OS::TripleO::CephStorage::Ports::StoragePort: network/ports/noop.yaml
|
||||||
OS::TripleO::CephStorage::Ports::StorageMgmtPort: network/ports/noop.yaml
|
OS::TripleO::CephStorage::Ports::StorageMgmtPort: network/ports/noop.yaml
|
||||||
|
OS::TripleO::CephStorage::Ports::ManagementPort: network/ports/noop.yaml
|
||||||
|
|
||||||
# Port assignments for the swift storage role
|
# Port assignments for the swift storage role
|
||||||
OS::TripleO::SwiftStorage::Ports::InternalApiPort: network/ports/noop.yaml
|
OS::TripleO::SwiftStorage::Ports::InternalApiPort: network/ports/noop.yaml
|
||||||
OS::TripleO::SwiftStorage::Ports::StoragePort: network/ports/noop.yaml
|
OS::TripleO::SwiftStorage::Ports::StoragePort: network/ports/noop.yaml
|
||||||
OS::TripleO::SwiftStorage::Ports::StorageMgmtPort: network/ports/noop.yaml
|
OS::TripleO::SwiftStorage::Ports::StorageMgmtPort: network/ports/noop.yaml
|
||||||
|
OS::TripleO::SwiftStorage::Ports::ManagementPort: network/ports/noop.yaml
|
||||||
|
|
||||||
# Port assignments for the block storage role
|
# Port assignments for the block storage role
|
||||||
OS::TripleO::BlockStorage::Ports::InternalApiPort: network/ports/noop.yaml
|
OS::TripleO::BlockStorage::Ports::InternalApiPort: network/ports/noop.yaml
|
||||||
OS::TripleO::BlockStorage::Ports::StoragePort: network/ports/noop.yaml
|
OS::TripleO::BlockStorage::Ports::StoragePort: network/ports/noop.yaml
|
||||||
OS::TripleO::BlockStorage::Ports::StorageMgmtPort: network/ports/noop.yaml
|
OS::TripleO::BlockStorage::Ports::StorageMgmtPort: network/ports/noop.yaml
|
||||||
|
OS::TripleO::BlockStorage::Ports::ManagementPort: network/ports/noop.yaml
|
||||||
|
|
||||||
# Service Endpoint Mappings
|
# Service Endpoint Mappings
|
||||||
OS::TripleO::Endpoint: network/endpoints/endpoint.yaml
|
OS::TripleO::Endpoint: network/endpoints/endpoint.yaml
|
||||||
|
@@ -1125,6 +1125,7 @@ resources:
|
|||||||
StorageIpList: {get_attr: [Controller, storage_ip_address]}
|
StorageIpList: {get_attr: [Controller, storage_ip_address]}
|
||||||
StorageMgmtIpList: {get_attr: [Controller, storage_mgmt_ip_address]}
|
StorageMgmtIpList: {get_attr: [Controller, storage_mgmt_ip_address]}
|
||||||
TenantIpList: {get_attr: [Controller, tenant_ip_address]}
|
TenantIpList: {get_attr: [Controller, tenant_ip_address]}
|
||||||
|
ManagementIpList: {get_attr: [Controller, management_ip_address]}
|
||||||
|
|
||||||
allNodesConfig:
|
allNodesConfig:
|
||||||
type: OS::TripleO::AllNodes::SoftwareConfig
|
type: OS::TripleO::AllNodes::SoftwareConfig
|
||||||
@@ -1234,7 +1235,7 @@ resources:
|
|||||||
InternalApiIp: {get_attr: [InternalApiVirtualIP, ip_address]}
|
InternalApiIp: {get_attr: [InternalApiVirtualIP, ip_address]}
|
||||||
StorageIp: {get_attr: [StorageVirtualIP, ip_address]}
|
StorageIp: {get_attr: [StorageVirtualIP, ip_address]}
|
||||||
StorageMgmtIp: {get_attr: [StorageMgmtVirtualIP, ip_address]}
|
StorageMgmtIp: {get_attr: [StorageMgmtVirtualIP, ip_address]}
|
||||||
# No tenant VIP required
|
# No tenant or management VIP required
|
||||||
|
|
||||||
VipConfig:
|
VipConfig:
|
||||||
type: OS::TripleO::VipConfig
|
type: OS::TripleO::VipConfig
|
||||||
|
@@ -130,12 +130,18 @@ resources:
|
|||||||
properties:
|
properties:
|
||||||
ControlPlaneIP: {get_attr: [CephStorage, networks, ctlplane, 0]}
|
ControlPlaneIP: {get_attr: [CephStorage, networks, ctlplane, 0]}
|
||||||
|
|
||||||
|
ManagementPort:
|
||||||
|
type: OS::TripleO::CephStorage::Ports::ManagementPort
|
||||||
|
properties:
|
||||||
|
ControlPlaneIP: {get_attr: [CephStorage, networks, ctlplane, 0]}
|
||||||
|
|
||||||
NetworkConfig:
|
NetworkConfig:
|
||||||
type: OS::TripleO::CephStorage::Net::SoftwareConfig
|
type: OS::TripleO::CephStorage::Net::SoftwareConfig
|
||||||
properties:
|
properties:
|
||||||
ControlPlaneIp: {get_attr: [CephStorage, networks, ctlplane, 0]}
|
ControlPlaneIp: {get_attr: [CephStorage, networks, ctlplane, 0]}
|
||||||
StorageIpSubnet: {get_attr: [StoragePort, ip_subnet]}
|
StorageIpSubnet: {get_attr: [StoragePort, ip_subnet]}
|
||||||
StorageMgmtIpSubnet: {get_attr: [StorageMgmtPort, ip_subnet]}
|
StorageMgmtIpSubnet: {get_attr: [StorageMgmtPort, ip_subnet]}
|
||||||
|
ManagementIpSubnet: {get_attr: [ManagementPort, ip_subnet]}
|
||||||
|
|
||||||
NetIpMap:
|
NetIpMap:
|
||||||
type: OS::TripleO::Network::Ports::NetIpMap
|
type: OS::TripleO::Network::Ports::NetIpMap
|
||||||
@@ -143,6 +149,7 @@ resources:
|
|||||||
ControlPlaneIp: {get_attr: [CephStorage, networks, ctlplane, 0]}
|
ControlPlaneIp: {get_attr: [CephStorage, networks, ctlplane, 0]}
|
||||||
StorageIp: {get_attr: [StoragePort, ip_address]}
|
StorageIp: {get_attr: [StoragePort, ip_address]}
|
||||||
StorageMgmtIp: {get_attr: [StorageMgmtPort, ip_address]}
|
StorageMgmtIp: {get_attr: [StorageMgmtPort, ip_address]}
|
||||||
|
ManagementIp: {get_attr: [ManagementPort, ip_address]}
|
||||||
|
|
||||||
NetIpSubnetMap:
|
NetIpSubnetMap:
|
||||||
type: OS::TripleO::Network::Ports::NetIpSubnetMap
|
type: OS::TripleO::Network::Ports::NetIpSubnetMap
|
||||||
@@ -150,6 +157,7 @@ resources:
|
|||||||
ControlPlaneIp: {get_attr: [CephStorage, networks, ctlplane, 0]}
|
ControlPlaneIp: {get_attr: [CephStorage, networks, ctlplane, 0]}
|
||||||
StorageIpSubnet: {get_attr: [StoragePort, ip_subnet]}
|
StorageIpSubnet: {get_attr: [StoragePort, ip_subnet]}
|
||||||
StorageMgmtIpSubnet: {get_attr: [StorageMgmtPort, ip_subnet]}
|
StorageMgmtIpSubnet: {get_attr: [StorageMgmtPort, ip_subnet]}
|
||||||
|
ManagementIpSubnet: {get_attr: [ManagementPort, ip_subnet]}
|
||||||
|
|
||||||
NetworkDeployment:
|
NetworkDeployment:
|
||||||
type: OS::TripleO::SoftwareDeployment
|
type: OS::TripleO::SoftwareDeployment
|
||||||
@@ -255,6 +263,9 @@ outputs:
|
|||||||
storage_mgmt_ip_address:
|
storage_mgmt_ip_address:
|
||||||
description: IP address of the server in the storage_mgmt network
|
description: IP address of the server in the storage_mgmt network
|
||||||
value: {get_attr: [StorageMgmtPort, ip_address]}
|
value: {get_attr: [StorageMgmtPort, ip_address]}
|
||||||
|
management_ip_address:
|
||||||
|
description: IP address of the server in the management network
|
||||||
|
value: {get_attr: [ManagementPort, ip_address]}
|
||||||
config_identifier:
|
config_identifier:
|
||||||
description: identifier which changes if the node configuration may need re-applying
|
description: identifier which changes if the node configuration may need re-applying
|
||||||
value:
|
value:
|
||||||
|
@@ -187,6 +187,11 @@ resources:
|
|||||||
properties:
|
properties:
|
||||||
ControlPlaneIP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
|
ControlPlaneIP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
|
||||||
|
|
||||||
|
ManagementPort:
|
||||||
|
type: OS::TripleO::BlockStorage::Ports::ManagementPort
|
||||||
|
properties:
|
||||||
|
ControlPlaneIP: {get_attr: [BlockStorage, networks, ctlplane, 0]}
|
||||||
|
|
||||||
NetworkConfig:
|
NetworkConfig:
|
||||||
type: OS::TripleO::BlockStorage::Net::SoftwareConfig
|
type: OS::TripleO::BlockStorage::Net::SoftwareConfig
|
||||||
properties:
|
properties:
|
||||||
@@ -194,6 +199,7 @@ resources:
|
|||||||
InternalApiIpSubnet: {get_attr: [InternalApiPort, ip_subnet]}
|
InternalApiIpSubnet: {get_attr: [InternalApiPort, ip_subnet]}
|
||||||
StorageIpSubnet: {get_attr: [StoragePort, ip_subnet]}
|
StorageIpSubnet: {get_attr: [StoragePort, ip_subnet]}
|
||||||
StorageMgmtIpSubnet: {get_attr: [StorageMgmtPort, ip_subnet]}
|
StorageMgmtIpSubnet: {get_attr: [StorageMgmtPort, ip_subnet]}
|
||||||
|
ManagementIpSubnet: {get_attr: [ManagementPort, ip_subnet]}
|
||||||
|
|
||||||
NetIpMap:
|
NetIpMap:
|
||||||
type: OS::TripleO::Network::Ports::NetIpMap
|
type: OS::TripleO::Network::Ports::NetIpMap
|
||||||
@@ -202,6 +208,7 @@ resources:
|
|||||||
InternalApiIp: {get_attr: [InternalApiPort, ip_address]}
|
InternalApiIp: {get_attr: [InternalApiPort, ip_address]}
|
||||||
StorageIp: {get_attr: [StoragePort, ip_address]}
|
StorageIp: {get_attr: [StoragePort, ip_address]}
|
||||||
StorageMgmtIp: {get_attr: [StorageMgmtPort, ip_address]}
|
StorageMgmtIp: {get_attr: [StorageMgmtPort, ip_address]}
|
||||||
|
ManagementIp: {get_attr: [ManagementPort, ip_address]}
|
||||||
|
|
||||||
NetworkDeployment:
|
NetworkDeployment:
|
||||||
type: OS::TripleO::SoftwareDeployment
|
type: OS::TripleO::SoftwareDeployment
|
||||||
@@ -331,6 +338,9 @@ outputs:
|
|||||||
storage_mgmt_ip_address:
|
storage_mgmt_ip_address:
|
||||||
description: IP address of the server in the storage_mgmt network
|
description: IP address of the server in the storage_mgmt network
|
||||||
value: {get_attr: [StorageMgmtPort, ip_address]}
|
value: {get_attr: [StorageMgmtPort, ip_address]}
|
||||||
|
management_ip_address:
|
||||||
|
description: IP address of the server in the management network
|
||||||
|
value: {get_attr: [ManagementPort, ip_address]}
|
||||||
config_identifier:
|
config_identifier:
|
||||||
description: identifier which changes if the node configuration may need re-applying
|
description: identifier which changes if the node configuration may need re-applying
|
||||||
value:
|
value:
|
||||||
|
@@ -360,6 +360,11 @@ resources:
|
|||||||
properties:
|
properties:
|
||||||
ControlPlaneIP: {get_attr: [NovaCompute, networks, ctlplane, 0]}
|
ControlPlaneIP: {get_attr: [NovaCompute, networks, ctlplane, 0]}
|
||||||
|
|
||||||
|
ManagementPort:
|
||||||
|
type: OS::TripleO::Compute::Ports::ManagementPort
|
||||||
|
properties:
|
||||||
|
ControlPlaneIP: {get_attr: [NovaCompute, networks, ctlplane, 0]}
|
||||||
|
|
||||||
NetIpMap:
|
NetIpMap:
|
||||||
type: OS::TripleO::Network::Ports::NetIpMap
|
type: OS::TripleO::Network::Ports::NetIpMap
|
||||||
properties:
|
properties:
|
||||||
@@ -367,6 +372,7 @@ resources:
|
|||||||
InternalApiIp: {get_attr: [InternalApiPort, ip_address]}
|
InternalApiIp: {get_attr: [InternalApiPort, ip_address]}
|
||||||
StorageIp: {get_attr: [StoragePort, ip_address]}
|
StorageIp: {get_attr: [StoragePort, ip_address]}
|
||||||
TenantIp: {get_attr: [TenantPort, ip_address]}
|
TenantIp: {get_attr: [TenantPort, ip_address]}
|
||||||
|
ManagementIp: {get_attr: [ManagementPort, ip_address]}
|
||||||
|
|
||||||
NetworkConfig:
|
NetworkConfig:
|
||||||
type: OS::TripleO::Compute::Net::SoftwareConfig
|
type: OS::TripleO::Compute::Net::SoftwareConfig
|
||||||
@@ -375,6 +381,7 @@ resources:
|
|||||||
InternalApiIpSubnet: {get_attr: [InternalApiPort, ip_subnet]}
|
InternalApiIpSubnet: {get_attr: [InternalApiPort, ip_subnet]}
|
||||||
StorageIpSubnet: {get_attr: [StoragePort, ip_subnet]}
|
StorageIpSubnet: {get_attr: [StoragePort, ip_subnet]}
|
||||||
TenantIpSubnet: {get_attr: [TenantPort, ip_subnet]}
|
TenantIpSubnet: {get_attr: [TenantPort, ip_subnet]}
|
||||||
|
ManagementIpSubnet: {get_attr: [ManagementPort, ip_subnet]}
|
||||||
|
|
||||||
NetworkDeployment:
|
NetworkDeployment:
|
||||||
type: OS::TripleO::SoftwareDeployment
|
type: OS::TripleO::SoftwareDeployment
|
||||||
@@ -631,6 +638,9 @@ outputs:
|
|||||||
tenant_ip_address:
|
tenant_ip_address:
|
||||||
description: IP address of the server in the tenant network
|
description: IP address of the server in the tenant network
|
||||||
value: {get_attr: [TenantPort, ip_address]}
|
value: {get_attr: [TenantPort, ip_address]}
|
||||||
|
management_ip_address:
|
||||||
|
description: IP address of the server in the management network
|
||||||
|
value: {get_attr: [ManagementPort, ip_address]}
|
||||||
hostname:
|
hostname:
|
||||||
description: Hostname of the server
|
description: Hostname of the server
|
||||||
value: {get_attr: [NovaCompute, name]}
|
value: {get_attr: [NovaCompute, name]}
|
||||||
|
@@ -754,6 +754,11 @@ resources:
|
|||||||
NodeIndex: {get_param: NodeIndex}
|
NodeIndex: {get_param: NodeIndex}
|
||||||
ControlPlaneIP: {get_attr: [Controller, networks, ctlplane, 0]}
|
ControlPlaneIP: {get_attr: [Controller, networks, ctlplane, 0]}
|
||||||
|
|
||||||
|
ManagementPort:
|
||||||
|
type: OS::TripleO::Controller::Ports::ManagementPort
|
||||||
|
properties:
|
||||||
|
ControlPlaneIP: {get_attr: [Controller, networks, ctlplane, 0]}
|
||||||
|
|
||||||
NetIpMap:
|
NetIpMap:
|
||||||
type: OS::TripleO::Network::Ports::NetIpMap
|
type: OS::TripleO::Network::Ports::NetIpMap
|
||||||
properties:
|
properties:
|
||||||
@@ -763,6 +768,7 @@ resources:
|
|||||||
StorageIp: {get_attr: [StoragePort, ip_address]}
|
StorageIp: {get_attr: [StoragePort, ip_address]}
|
||||||
StorageMgmtIp: {get_attr: [StorageMgmtPort, ip_address]}
|
StorageMgmtIp: {get_attr: [StorageMgmtPort, ip_address]}
|
||||||
TenantIp: {get_attr: [TenantPort, ip_address]}
|
TenantIp: {get_attr: [TenantPort, ip_address]}
|
||||||
|
ManagementIp: {get_attr: [ManagementPort, ip_address]}
|
||||||
|
|
||||||
NetIpSubnetMap:
|
NetIpSubnetMap:
|
||||||
type: OS::TripleO::Network::Ports::NetIpSubnetMap
|
type: OS::TripleO::Network::Ports::NetIpSubnetMap
|
||||||
@@ -773,6 +779,7 @@ resources:
|
|||||||
StorageIpSubnet: {get_attr: [StoragePort, ip_subnet]}
|
StorageIpSubnet: {get_attr: [StoragePort, ip_subnet]}
|
||||||
StorageMgmtIpSubnet: {get_attr: [StorageMgmtPort, ip_subnet]}
|
StorageMgmtIpSubnet: {get_attr: [StorageMgmtPort, ip_subnet]}
|
||||||
TenantIpSubnet: {get_attr: [TenantPort, ip_subnet]}
|
TenantIpSubnet: {get_attr: [TenantPort, ip_subnet]}
|
||||||
|
ManagementIpSubnet: {get_attr: [ManagementPort, ip_subnet]}
|
||||||
|
|
||||||
NetworkConfig:
|
NetworkConfig:
|
||||||
type: OS::TripleO::Controller::Net::SoftwareConfig
|
type: OS::TripleO::Controller::Net::SoftwareConfig
|
||||||
@@ -783,6 +790,7 @@ resources:
|
|||||||
StorageIpSubnet: {get_attr: [StoragePort, ip_subnet]}
|
StorageIpSubnet: {get_attr: [StoragePort, ip_subnet]}
|
||||||
StorageMgmtIpSubnet: {get_attr: [StorageMgmtPort, ip_subnet]}
|
StorageMgmtIpSubnet: {get_attr: [StorageMgmtPort, ip_subnet]}
|
||||||
TenantIpSubnet: {get_attr: [TenantPort, ip_subnet]}
|
TenantIpSubnet: {get_attr: [TenantPort, ip_subnet]}
|
||||||
|
ManagementIpSubnet: {get_attr: [ManagementPort, ip_subnet]}
|
||||||
|
|
||||||
NetworkDeployment:
|
NetworkDeployment:
|
||||||
type: OS::TripleO::SoftwareDeployment
|
type: OS::TripleO::SoftwareDeployment
|
||||||
@@ -1484,6 +1492,9 @@ outputs:
|
|||||||
tenant_ip_address:
|
tenant_ip_address:
|
||||||
description: IP address of the server in the tenant network
|
description: IP address of the server in the tenant network
|
||||||
value: {get_attr: [TenantPort, ip_address]}
|
value: {get_attr: [TenantPort, ip_address]}
|
||||||
|
management_ip_address:
|
||||||
|
description: IP address of the server in the management network
|
||||||
|
value: {get_attr: [ManagementPort, ip_address]}
|
||||||
hostname:
|
hostname:
|
||||||
description: Hostname of the server
|
description: Hostname of the server
|
||||||
value: {get_attr: [Controller, name]}
|
value: {get_attr: [Controller, name]}
|
||||||
|
@@ -156,6 +156,11 @@ resources:
|
|||||||
properties:
|
properties:
|
||||||
ControlPlaneIP: {get_attr: [SwiftStorage, networks, ctlplane, 0]}
|
ControlPlaneIP: {get_attr: [SwiftStorage, networks, ctlplane, 0]}
|
||||||
|
|
||||||
|
ManagementPort:
|
||||||
|
type: OS::TripleO::SwiftStorage::Ports::ManagementPort
|
||||||
|
properties:
|
||||||
|
ControlPlaneIP: {get_attr: [SwiftStorage, networks, ctlplane, 0]}
|
||||||
|
|
||||||
NetworkConfig:
|
NetworkConfig:
|
||||||
type: OS::TripleO::ObjectStorage::Net::SoftwareConfig
|
type: OS::TripleO::ObjectStorage::Net::SoftwareConfig
|
||||||
properties:
|
properties:
|
||||||
@@ -163,6 +168,7 @@ resources:
|
|||||||
InternalApiIpSubnet: {get_attr: [InternalApiPort, ip_subnet]}
|
InternalApiIpSubnet: {get_attr: [InternalApiPort, ip_subnet]}
|
||||||
StorageIpSubnet: {get_attr: [StoragePort, ip_subnet]}
|
StorageIpSubnet: {get_attr: [StoragePort, ip_subnet]}
|
||||||
StorageMgmtIpSubnet: {get_attr: [StorageMgmtPort, ip_subnet]}
|
StorageMgmtIpSubnet: {get_attr: [StorageMgmtPort, ip_subnet]}
|
||||||
|
ManagementIpSubnet: {get_attr: [ManagementPort, ip_subnet]}
|
||||||
|
|
||||||
NetIpMap:
|
NetIpMap:
|
||||||
type: OS::TripleO::Network::Ports::NetIpMap
|
type: OS::TripleO::Network::Ports::NetIpMap
|
||||||
@@ -171,6 +177,7 @@ resources:
|
|||||||
InternalApiIp: {get_attr: [InternalApiPort, ip_address]}
|
InternalApiIp: {get_attr: [InternalApiPort, ip_address]}
|
||||||
StorageIp: {get_attr: [StoragePort, ip_address]}
|
StorageIp: {get_attr: [StoragePort, ip_address]}
|
||||||
StorageMgmtIp: {get_attr: [StorageMgmtPort, ip_address]}
|
StorageMgmtIp: {get_attr: [StorageMgmtPort, ip_address]}
|
||||||
|
ManagementIp: {get_attr: [ManagementPort, ip_address]}
|
||||||
|
|
||||||
NetworkDeployment:
|
NetworkDeployment:
|
||||||
type: OS::TripleO::SoftwareDeployment
|
type: OS::TripleO::SoftwareDeployment
|
||||||
@@ -298,6 +305,9 @@ outputs:
|
|||||||
storage_mgmt_ip_address:
|
storage_mgmt_ip_address:
|
||||||
description: IP address of the server in the storage_mgmt network
|
description: IP address of the server in the storage_mgmt network
|
||||||
value: {get_attr: [StorageMgmtPort, ip_address]}
|
value: {get_attr: [StorageMgmtPort, ip_address]}
|
||||||
|
management_ip_address:
|
||||||
|
description: IP address of the server in the management network
|
||||||
|
value: {get_attr: [ManagementPort, ip_address]}
|
||||||
config_identifier:
|
config_identifier:
|
||||||
description: identifier which changes if the node configuration may need re-applying
|
description: identifier which changes if the node configuration may need re-applying
|
||||||
value:
|
value:
|
||||||
|
Reference in New Issue
Block a user