diff options
author | Dan Radez <dradez@redhat.com> | 2017-04-19 12:08:41 -0400 |
---|---|---|
committer | Dan Radez <dradez@redhat.com> | 2017-05-10 09:26:31 -0400 |
commit | 95ee731525170e8dd4df813d5ca7e43b0ba2f4eb (patch) | |
tree | b059ff902ed333e12048449c5103d0cc9f0a57ea /config | |
parent | ac3a86983e4c049a3115c7bd77eeacaeb19d0ca3 (diff) |
Adding yamllint to build checks
- making formatting changes to yaml files to meet yamllint checks
Change-Id: Id48a8446512943e908e61dc00bbe6c033af27775
Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'config')
36 files changed, 795 insertions, 447 deletions
diff --git a/config/build/build_settings.yaml b/config/build/build_settings.yaml index 93ac9444..5fd7a4eb 100644 --- a/config/build/build_settings.yaml +++ b/config/build/build_settings.yaml @@ -1,3 +1,4 @@ +--- build_params: opendaylight: true onos: false @@ -7,7 +8,9 @@ build_params: opendaylight_config: name: "OpenDaylight SFC" method: zip - location: https://www.dropbox.com/s/6w76eo7loltvvb5/openstack.net-virt-sfc-karaf-1.2.1-SNAPSHOT.zip + location: >- + https://www.dropbox.com/s/6w76eo7loltvvb5/ + openstack.net-virt-sfc-karaf-1.2.1-SNAPSHOT.zip onos_config: name: "ONOS Base Controller" diff --git a/config/deploy/deploy_settings.yaml b/config/deploy/deploy_settings.yaml index 3186a5da..7406fe6f 100644 --- a/config/deploy/deploy_settings.yaml +++ b/config/deploy/deploy_settings.yaml @@ -1,3 +1,4 @@ +--- # The only global parameter at this time is ha_enabled, which will use # the tripleo ha architecture described here: # https://github.com/beekhof/osp-ha-deploy/blob/master/HA-keepalived.md @@ -16,10 +17,10 @@ deploy_options: # Which version of ODL to use. This is only valid if 'opendaylight' was used # above. Valid options are 'carbon'. If no value # is specified, carbon will be used. - #odl_version: carbon + # odl_version: carbon - # Whether to configure ODL L3 support. This will disable the Neutron L3 Agent and - # use ODL instead. + # Whether to configure ODL L3 support. This will disable the Neutron L3 Agent + # and use ODL instead. sdn_l3: false # Whether to install and configure Tacker (VNF Manager) @@ -29,9 +30,9 @@ deploy_options: # Note: Congress is already installed by default congress: false - # Whether to configure ODL or ONOS with Service Function Chaining support. This - # requires the opnfv-apex-opendaylight-sfc package to be installed, since it - # uses a different overcloud image. + # Whether to configure ODL or ONOS with Service Function Chaining support. + # This requires the opnfv-apex-opendaylight-sfc package to be installed, + # since it uses a different overcloud image. sfc: false # Whether to configure ODL with SDNVPN support. @@ -39,7 +40,7 @@ deploy_options: # Which dataplane to use for overcloud tenant networks. Valid options are # 'ovs', 'ovs_dpdk' and 'fdio'. - dataplane : ovs + dataplane: ovs # Whether to run the kvm real time kernel (rt_kvm) in the compute node(s) to # reduce the network latencies caused by network function virtualization @@ -50,48 +51,50 @@ deploy_options: vpp: false # Whether to run vsperf after the install has completed - #vsperf: false + # vsperf: false # Specify a device for ceph to use for the OSDs. By default a virtual disk # is created for the OSDs. This setting allows you to specify a different # target for the OSDs. The setting must be valid on all overcloud nodes. # The controllers and the compute nodes all have OSDs setup on them and # therefore this device name must be valid on all overcloud nodes. - #ceph_device: /dev/sdb + # ceph_device: /dev/sdb - # Set performance options on specific roles. The valid roles are 'Compute', 'Controller' - # and 'Storage', and the valid sections are 'kernel' and 'nova' - #performance: - # Controller: - # kernel: - # # In this example, these three settings will be passed to the kernel boot line. - # # Any key/value pair can be entered here, so care should be taken to ensure that machines - # # do not fail to boot. - # # - # # isolcpus is generally used to push host processes off a particular core, - # # so that it can be dedicated to a specific process. On control nodes - # # this could be an ovs_dpdk process. - # isolcpus: 1 - # # Hugepages are required for ovs_dpdk support. - # hugepage: 2M - # # intel_iommu is also required for ovs_dpdk support. - # intel_iommu: 'on' - # Compute: - # nova: - # # This is currently the only available option in the nova section. It will - # # add the provided string to vcpu_pin_set in nova.conf. This is used to pin - # # guest VMs to a set of CPU cores, and is decsribed in more detail here: - # # http://docs.openstack.org/ocata/config-reference/compute/config-options.html - # libvirtpin: 1 - # kernel: - # # On compute nodes, isolcpus is usually used to reserve cores for use either by VMs - # # or ovs_dpdk - # isolcpus: 0 - # hugepage: 2M - # intel_iommu: 'on' + # Set performance options on specific roles. The valid roles are 'Compute', + # 'Controller' and 'Storage', and the valid sections are 'kernel' and 'nova' + # performance: + # Controller: + # kernel: + # # In this example, these three settings will be passed to the kernel + # # boot line. Any key/value pair can be entered here, so care should + # # be taken to ensure that machines do not fail to boot. + # # + # # isolcpus is generally used to push host processes off a particular + # # core, so that it can be dedicated to a specific process. On control + # # nodes this could be an ovs_dpdk process. + # isolcpus: 1 + # # Hugepages are required for ovs_dpdk support. + # hugepage: 2M + # # intel_iommu is also required for ovs_dpdk support. + # intel_iommu: 'on' + # Compute: + # nova: + # # This is currently the only available option in the nova section. It + # # will add the provided string to vcpu_pin_set in nova.conf. This is + # # used to pin guest VMs to a set of CPU cores, and is decsribed in + # # more detail here: + # # http://docs.openstack.org + # # /ocata/config-reference/compute/config-options.html + # libvirtpin: 1 + # kernel: + # # On compute nodes, isolcpus is usually used to reserve cores for use + # # either by VMs or ovs_dpdk + # isolcpus: 0 + # hugepage: 2M + # intel_iommu: 'on' # Set yardstick option to install yardstick - #yardstick: false + # yardstick: false # Set dovetail option to install dovetail - #dovetail: false + # dovetail: false diff --git a/config/deploy/os-nosdn-fdio-ha.yaml b/config/deploy/os-nosdn-fdio-ha.yaml index 3f0f8a20..d8af12db 100644 --- a/config/deploy/os-nosdn-fdio-ha.yaml +++ b/config/deploy/os-nosdn-fdio-ha.yaml @@ -1,3 +1,4 @@ +--- global_params: ha_enabled: true diff --git a/config/deploy/os-nosdn-fdio-noha.yaml b/config/deploy/os-nosdn-fdio-noha.yaml index 5f27bed1..446ddfd1 100644 --- a/config/deploy/os-nosdn-fdio-noha.yaml +++ b/config/deploy/os-nosdn-fdio-noha.yaml @@ -1,3 +1,4 @@ +--- global_params: ha_enabled: false diff --git a/config/deploy/os-nosdn-kvm-ha.yaml b/config/deploy/os-nosdn-kvm-ha.yaml index cb68a313..b01a8352 100644 --- a/config/deploy/os-nosdn-kvm-ha.yaml +++ b/config/deploy/os-nosdn-kvm-ha.yaml @@ -1,3 +1,4 @@ +--- global_params: ha_enabled: true diff --git a/config/deploy/os-nosdn-kvm-noha.yaml b/config/deploy/os-nosdn-kvm-noha.yaml index bf737d71..a9c8d976 100644 --- a/config/deploy/os-nosdn-kvm-noha.yaml +++ b/config/deploy/os-nosdn-kvm-noha.yaml @@ -1,3 +1,4 @@ +--- global_params: ha_enabled: false diff --git a/config/deploy/os-nosdn-nofeature-ha.yaml b/config/deploy/os-nosdn-nofeature-ha.yaml index 286b5162..3c26b832 100644 --- a/config/deploy/os-nosdn-nofeature-ha.yaml +++ b/config/deploy/os-nosdn-nofeature-ha.yaml @@ -1,3 +1,4 @@ +--- global_params: ha_enabled: true diff --git a/config/deploy/os-nosdn-nofeature-noha.yaml b/config/deploy/os-nosdn-nofeature-noha.yaml index 2d1b44ad..2cd6633c 100644 --- a/config/deploy/os-nosdn-nofeature-noha.yaml +++ b/config/deploy/os-nosdn-nofeature-noha.yaml @@ -1,3 +1,4 @@ +--- global_params: ha_enabled: false diff --git a/config/deploy/os-nosdn-ovs_dpdk-ha.yaml b/config/deploy/os-nosdn-ovs_dpdk-ha.yaml index c9d58671..8e312216 100644 --- a/config/deploy/os-nosdn-ovs_dpdk-ha.yaml +++ b/config/deploy/os-nosdn-ovs_dpdk-ha.yaml @@ -1,3 +1,4 @@ +--- global_params: ha_enabled: true diff --git a/config/deploy/os-nosdn-ovs_dpdk-noha.yaml b/config/deploy/os-nosdn-ovs_dpdk-noha.yaml index cf9b854d..f28b0c49 100644 --- a/config/deploy/os-nosdn-ovs_dpdk-noha.yaml +++ b/config/deploy/os-nosdn-ovs_dpdk-noha.yaml @@ -1,3 +1,4 @@ +--- global_params: ha_enabled: false diff --git a/config/deploy/os-nosdn-performance-ha.yaml b/config/deploy/os-nosdn-performance-ha.yaml index acbc1d34..f5d0656f 100644 --- a/config/deploy/os-nosdn-performance-ha.yaml +++ b/config/deploy/os-nosdn-performance-ha.yaml @@ -1,3 +1,4 @@ +--- global_params: ha_enabled: true diff --git a/config/deploy/os-ocl-nofeature-ha.yaml b/config/deploy/os-ocl-nofeature-ha.yaml index 4ad1ee2b..bc05fa47 100644 --- a/config/deploy/os-ocl-nofeature-ha.yaml +++ b/config/deploy/os-ocl-nofeature-ha.yaml @@ -1,3 +1,4 @@ +--- global_params: ha_enabled: true diff --git a/config/deploy/os-odl-bgpvpn-ha.yaml b/config/deploy/os-odl-bgpvpn-ha.yaml index 76d051eb..b55c4591 100644 --- a/config/deploy/os-odl-bgpvpn-ha.yaml +++ b/config/deploy/os-odl-bgpvpn-ha.yaml @@ -1,3 +1,4 @@ +--- global_params: ha_enabled: true diff --git a/config/deploy/os-odl-bgpvpn-noha.yaml b/config/deploy/os-odl-bgpvpn-noha.yaml index d569ba6c..babb9314 100644 --- a/config/deploy/os-odl-bgpvpn-noha.yaml +++ b/config/deploy/os-odl-bgpvpn-noha.yaml @@ -1,3 +1,4 @@ +--- global_params: ha_enabled: false diff --git a/config/deploy/os-odl-csit-noha.yaml b/config/deploy/os-odl-csit-noha.yaml index d5e2695e..67bdec1c 100644 --- a/config/deploy/os-odl-csit-noha.yaml +++ b/config/deploy/os-odl-csit-noha.yaml @@ -1,3 +1,4 @@ +--- global_params: ha_enabled: false diff --git a/config/deploy/os-odl-fdio-ha.yaml b/config/deploy/os-odl-fdio-ha.yaml index af81e5a5..cb7643d1 100644 --- a/config/deploy/os-odl-fdio-ha.yaml +++ b/config/deploy/os-odl-fdio-ha.yaml @@ -1,3 +1,4 @@ +--- global_params: ha_enabled: true diff --git a/config/deploy/os-odl-fdio-noha.yaml b/config/deploy/os-odl-fdio-noha.yaml index adb37f3d..12c1fa6d 100644 --- a/config/deploy/os-odl-fdio-noha.yaml +++ b/config/deploy/os-odl-fdio-noha.yaml @@ -1,3 +1,4 @@ +--- global_params: ha_enabled: false diff --git a/config/deploy/os-odl-gluon-noha.yaml b/config/deploy/os-odl-gluon-noha.yaml index 12e5d25f..03ca1034 100644 --- a/config/deploy/os-odl-gluon-noha.yaml +++ b/config/deploy/os-odl-gluon-noha.yaml @@ -1,3 +1,4 @@ +--- global_params: ha_enabled: false @@ -9,4 +10,4 @@ deploy_options: congress: true sfc: false vpn: true - gluon: true
\ No newline at end of file + gluon: true diff --git a/config/deploy/os-odl-nofeature-ha.yaml b/config/deploy/os-odl-nofeature-ha.yaml index 64af606a..c4bce1c7 100644 --- a/config/deploy/os-odl-nofeature-ha.yaml +++ b/config/deploy/os-odl-nofeature-ha.yaml @@ -1,3 +1,4 @@ +--- global_params: ha_enabled: true diff --git a/config/deploy/os-odl-nofeature-noha.yaml b/config/deploy/os-odl-nofeature-noha.yaml index d95ed9c6..0c9b4fb5 100644 --- a/config/deploy/os-odl-nofeature-noha.yaml +++ b/config/deploy/os-odl-nofeature-noha.yaml @@ -1,3 +1,4 @@ +--- global_params: ha_enabled: false diff --git a/config/deploy/os-odl-ovs_dpdk-ha.yaml b/config/deploy/os-odl-ovs_dpdk-ha.yaml index 8e3674a0..8bf38e27 100644 --- a/config/deploy/os-odl-ovs_dpdk-ha.yaml +++ b/config/deploy/os-odl-ovs_dpdk-ha.yaml @@ -1,3 +1,4 @@ +--- global_params: ha_enabled: true diff --git a/config/deploy/os-odl-ovs_dpdk-noha.yaml b/config/deploy/os-odl-ovs_dpdk-noha.yaml index 1711fc63..6d6be985 100644 --- a/config/deploy/os-odl-ovs_dpdk-noha.yaml +++ b/config/deploy/os-odl-ovs_dpdk-noha.yaml @@ -1,3 +1,4 @@ +--- global_params: ha_enabled: false diff --git a/config/deploy/os-odl_l2-fdio-ha.yaml b/config/deploy/os-odl_l2-fdio-ha.yaml index d4a86b0f..68777db0 100644 --- a/config/deploy/os-odl_l2-fdio-ha.yaml +++ b/config/deploy/os-odl_l2-fdio-ha.yaml @@ -1,3 +1,4 @@ +--- global_params: ha_enabled: true diff --git a/config/deploy/os-odl_l2-fdio-noha.yaml b/config/deploy/os-odl_l2-fdio-noha.yaml index b9e0cea6..ab23e975 100644 --- a/config/deploy/os-odl_l2-fdio-noha.yaml +++ b/config/deploy/os-odl_l2-fdio-noha.yaml @@ -1,3 +1,4 @@ +--- global_params: ha_enabled: false diff --git a/config/deploy/os-odl_l2-sfc-noha.yaml b/config/deploy/os-odl_l2-sfc-noha.yaml index 4423b175..8104e7ea 100644 --- a/config/deploy/os-odl_l2-sfc-noha.yaml +++ b/config/deploy/os-odl_l2-sfc-noha.yaml @@ -1,3 +1,4 @@ +--- global_params: ha_enabled: false diff --git a/config/deploy/os-odl_netvirt-fdio-noha.yaml b/config/deploy/os-odl_netvirt-fdio-noha.yaml index fa6ba800..6cf8c1a6 100644 --- a/config/deploy/os-odl_netvirt-fdio-noha.yaml +++ b/config/deploy/os-odl_netvirt-fdio-noha.yaml @@ -1,3 +1,4 @@ +--- global_params: ha_enabled: false diff --git a/config/deploy/os-onos-nofeature-ha.yaml b/config/deploy/os-onos-nofeature-ha.yaml index 0d083dda..542f6df7 100644 --- a/config/deploy/os-onos-nofeature-ha.yaml +++ b/config/deploy/os-onos-nofeature-ha.yaml @@ -1,3 +1,4 @@ +--- global_params: ha_enabled: true diff --git a/config/deploy/os-onos-sfc-ha.yaml b/config/deploy/os-onos-sfc-ha.yaml index f0b78511..2d68573c 100644 --- a/config/deploy/os-onos-sfc-ha.yaml +++ b/config/deploy/os-onos-sfc-ha.yaml @@ -1,3 +1,4 @@ +--- global_params: ha_enabled: true diff --git a/config/deploy/os-ovn-nofeature-noha.yaml b/config/deploy/os-ovn-nofeature-noha.yaml index e03ac0ab..d2702c9c 100644 --- a/config/deploy/os-ovn-nofeature-noha.yaml +++ b/config/deploy/os-ovn-nofeature-noha.yaml @@ -1,3 +1,4 @@ +--- global_params: ha_enabled: false diff --git a/config/inventory/intel_pod2_settings.yaml b/config/inventory/intel_pod2_settings.yaml index 15520410..ff5735f5 100644 --- a/config/inventory/intel_pod2_settings.yaml +++ b/config/inventory/intel_pod2_settings.yaml @@ -1,3 +1,4 @@ +--- nodes: node1: mac_address: "00:1e:67:b2:08:7b" diff --git a/config/inventory/nokia_pod1_settings.yaml b/config/inventory/nokia_pod1_settings.yaml index 7cf1c04d..337b0484 100644 --- a/config/inventory/nokia_pod1_settings.yaml +++ b/config/inventory/nokia_pod1_settings.yaml @@ -1,3 +1,4 @@ +--- nodes: node1: mac_address: "54:AB:3A:24:3B:E1" diff --git a/config/inventory/pod_example_settings.yaml b/config/inventory/pod_example_settings.yaml index c08b30c2..d7e5c84a 100644 --- a/config/inventory/pod_example_settings.yaml +++ b/config/inventory/pod_example_settings.yaml @@ -1,3 +1,4 @@ +--- nodes: node1: mac_address: "10:23:45:67:89:AB" diff --git a/config/network/network_settings.yaml b/config/network/network_settings.yaml index ba784391..88753346 100644 --- a/config/network/network_settings.yaml +++ b/config/network/network_settings.yaml @@ -1,3 +1,4 @@ +--- # This configuration file defines Network Environment for a # Baremetal Deployment of OPNFV. It contains default values # for 5 following networks: @@ -34,7 +35,7 @@ # communication. This should be used for IPv6 deployments. -#Meta data for the network configuration +# Meta data for the network configuration network-config-metadata: title: LF-POD-1 Network config version: 0.1 @@ -57,153 +58,248 @@ syslog: transport: 'tcp' # Common network settings -networks: # Network configurations - admin: # Admin configuration (pxe and jumpstart), +networks: + # Admin configuration (pxe and jumpstart) + admin: enabled: true - installer_vm: # Network settings for the Installer VM on admin network - nic_type: interface # Indicates if this VM will be bridged to an interface, or to a bond + # Network settings for the Installer VM on admin network + installer_vm: + # Indicates if this VM will be bridged to an interface, or to a bond + nic_type: interface + # Interfaces to bridge for installer VM (use multiple values for bond) members: - - em1 # Member Interface to bridge to for installer VM (use multiple values for bond) - vlan: native # VLAN tag to use for this network on Installer VM, native means none - ip: 192.0.2.1 # IP to assign to Installer VM on this network + - em1 + # VLAN tag to use for this network on Installer VM, native means none + vlan: native + # IP to assign to Installer VM on this network + ip: 192.0.2.1 + # Usable ip range for the overcloud node IPs (including VIPs) + # Last IP is used for host bridge (i.e. br-admin). + # If empty entire range is usable. + # Cannot overlap with dhcp_range or introspection_range. overcloud_ip_range: - 192.0.2.11 - - 192.0.2.99 # Usable ip range for the overcloud node IPs (including VIPs) and last IP will be - # used for host bridge (i.e. br-admin). If empty entire range is usable. - # Cannot overlap with dhcp_range or introspection_range. - gateway: 192.0.2.1 # Gateway (only needed when public_network is disabled) - cidr: 192.0.2.0/24 # Subnet in CIDR format 192.168.1.0/24 + - 192.0.2.99 + # Gateway (only needed when public_network is disabled) + gateway: 192.0.2.1 + # Subnet in CIDR format 192.168.1.0/24 + cidr: 192.0.2.0/24 + # DHCP range for the admin network, automatically provisioned if empty dhcp_range: - 192.0.2.2 - - 192.0.2.10 # DHCP range for the admin network, if empty it will be automatically provisioned - nic_mapping: # Mapping of network configuration for Overcloud Nodes - compute: # Mapping for compute profile (nodes that will be used as Compute nodes) - phys_type: interface # Physical interface type (interface or bond) - members: # Physical NIC members of this mapping (Single value allowed for interface phys_type) + - 192.0.2.10 + # Mapping of network configuration for Overcloud Nodes + nic_mapping: + # Mapping for compute profile (nodes assigned as Compute nodes) + compute: + # Physical interface type (interface or bond) + phys_type: interface + # Physical NIC members (Single value allowed for phys_type: interface) + members: - eth0 - controller: # Mapping for controller profile (nodes that will be used as Controller nodes) + # Mapping for controller profile (nodes assigned as Controller nodes) + controller: phys_type: interface members: - eth0 - # - tenant: # Tenant network configuration + + # Tenant network configuration + tenant: enabled: true - cidr: 11.0.0.0/24 # Subnet in CIDR format 192.168.1.0/24 - mtu: 1500 # Tenant network MTU - overlay_id_range: 2,65535 # Tenant network Overlay segmentation ID range: - # VNI, VLAN-ID, etc. - segmentation_type: vxlan # Tenant network segmentation type: - # vlan, vxlan, gre - nic_mapping: # Mapping of network configuration for Overcloud Nodes - compute: # Mapping for compute profile (nodes that will be used as Compute nodes) - phys_type: interface # Physical interface type (interface or bond) - uio_driver: uio_pci_generic # UIO driver to use for DPDK scenarios. The value is ignored for non-DPDK scenarios. - vlan: native # VLAN tag to use with this NIC - members: # Physical NIC members of this mapping (Single value allowed for interface phys_type) - - eth1 # Note, for Apex you may also use the logical nic name (found by nic order), such as "nic1" - controller: # Mapping for controller profile (nodes that will be used as Controller nodes) + # Subnet in CIDR format 192.168.1.0/24 + cidr: 11.0.0.0/24 + # Tenant network MTU + mtu: 1500 + # Tenant network Overlay segmentation ID range: + # VNI, VLAN-ID, etc. + overlay_id_range: 2,65535 + + # Tenant network segmentation type: + # vlan, vxlan, gre + segmentation_type: vxlan + # Mapping of network configuration for Overcloud Nodes + nic_mapping: + # Mapping for compute profile (nodes assigned as Compute nodes) + compute: + # Physical interface type (interface/bond) + phys_type: interface + # UIO driver to use for DPDK scenarios. + # The value is ignored for non-DPDK scenarios. + uio_driver: uio_pci_generic + # VLAN tag to use with this NIC + vlan: native + # Physical NIC members of this mapping + # Single value allowed for phys_type: interface + members: + # Note logical name like nic1 not valid for fdio deployment yet. + - eth1 + # Mapping for controller profile (nodes assigned as Controller nodes) + controller: + # Physical interface type (interface/bond) phys_type: interface vlan: native + # Note: logicial names like nic1 are not valid for fdio deployment yet. members: - - eth1 # Note, for Apex you may also use the logical nic name (found by nic order), such as "nic1" - # - external: # Can contain 1 or more external networks - - public: # "public" network will be the network the installer VM attaches to + - eth1 + + # Can contain 1 or more external networks + external: + - public: enabled: true - mtu: 1500 # Public network MTU - installer_vm: # Network settings for the Installer VM on admin network (note only valid on 'public' external network) - nic_type: interface # Indicates if this VM will be bridged to an interface, or to a bond + # Public network MTU + mtu: 1500 + # Network settings for the Installer VM on external network + # (note only valid on 'public' external network) + installer_vm: + # Indicates if this VM will be bridged to an interface, or to a bond + nic_type: interface vlan: native + # Interfaces to bridge for installer VM (use multiple values for bond) members: - - em1 # Member Interface to bridge to for installer VM (use multiple values for bond) - ip: 192.168.37.1 # IP to assign to Installer VM on this network + - em1 + # IP to assign to Installer VM on this network + ip: 192.168.37.1 cidr: 192.168.37.0/24 gateway: 192.168.37.1 + # Range to allocate to floating IPs for the public network with Neutron floating_ip_range: - 192.168.37.200 - - 192.168.37.220 # Range to allocate to floating IPs for the public network with Neutron + - 192.168.37.220 + # Usable ip range for the overcloud node IPs (including VIPs) + # Last IP will be used for host bridge (i.e. br-public). + # If empty entire range is usable. + # Cannot overlap with dhcp_range or introspection_range. overcloud_ip_range: - 192.168.37.10 - - 192.168.37.199 # Usable ip range for the overcloud node IPs (including VIPs) and last IP will be used for host - # bridge (i.e. br-public). If empty entire range is usable. Cannot overlap with dhcp_range or introspection_range. - nic_mapping: # Mapping of network configuration for Overcloud Nodes - compute: # Mapping for compute profile (nodes that will be used as Compute nodes) - phys_type: interface # Physical interface type (interface or bond) - vlan: native # VLAN tag to use with this NIC - members: # Physical NIC members of this mapping (Single value allowed for interface phys_type) + - 192.168.37.199 + # Mapping of network configuration for Overcloud Nodes + nic_mapping: + # Mapping for compute profile (nodes assigned as Compute nodes) + compute: + # Physical interface type (interface or bond) + phys_type: interface + # VLAN tag to use with this NIC + vlan: native + # Physical NIC members of this mapping + # Single value allowed for phys_type: interface + members: - eth2 - controller: # Mapping for controller profile (nodes that will be used as Controller nodes) + # Mapping for controller profile (nodes assigned as Controller nodes) + controller: phys_type: interface vlan: native members: - eth2 - external_overlay: # External network to be created in OpenStack by Services tenant - name: Public_internet - type: flat - gateway: 192.168.37.1 - - private_cloud: # another external network + # External network to be created in OpenStack by Services tenant + external_overlay: + name: Public_internet + type: flat + gateway: 192.168.37.1 + # another external network + # This is an example and not yet supported + - private_cloud: enabled: false mtu: 1500 - installer_vm: # Network settings for the Installer VM on admin network (note only valid on 'public' external network) - nic_type: interface # Indicates if this VM will be bridged to an interface, or to a bond + # Network settings for the Installer VM on external network + # note only valid on 'public' external network + installer_vm: + # Indicates if this VM will be bridged to an interface, or to a bond + nic_type: interface vlan: 101 + # Interfaces to bridge for installer VM (use multiple values for bond) members: - - em1 # Member Interface to bridge to for installer VM (use multiple values for bond) - ip: 192.168.38.1 # IP to assign to Installer VM on this network + - em1 + # IP to assign to Installer VM on this network + ip: 192.168.38.1 cidr: 192.168.38.0/24 gateway: 192.168.38.1 + # Range to allocate to floating IPs for the public network with Neutron floating_ip_range: - 192.168.38.200 - - 192.168.38.220 # Range to allocate to floating IPs for the public network with Neutron + - 192.168.38.220 + # Usable IP range for overcloud nodes (including VIPs)i + # usually this is a shared subnet. + # Cannot overlap with dhcp_range or introspection_range. overcloud_ip_range: - 192.168.38.10 - - 192.168.38.199 # Usable IP range for overcloud nodes (including VIPs), usually this is a shared subnet. - # Cannot overlap with dhcp_range or introspection_range. - nic_mapping: # Mapping of network configuration for Overcloud Nodes - compute: # Mapping for compute profile (nodes that will be used as Compute nodes) - phys_type: interface # Physical interface type (interface or bond) - vlan: 101 # VLAN tag to use with this NIC - members: # Physical NIC members of this mapping (Single value allowed for interface phys_type) - - eth2 # Note, for Apex you may also use the logical nic name (found by nic order), such as "nic1" - controller: # Mapping for controller profile (nodes that will be used as Controller nodes) + - 192.168.38.199 + # Mapping of network configuration for Overcloud Nodes + nic_mapping: + # Mapping for compute profile (nodes assigned as Compute nodes) + compute: + # Physical interface type (interface or bond) phys_type: interface + # VLAN tag to use with this NIC vlan: 101 + # Physical NIC members of this mappingi + # Single value allowed for phys_type: interface + # Note: logical names like nic1 are not valid for fdio deployment yet. members: - - eth2 - external_overlay: # External network to be created in OpenStack by Services tenant - name: private_cloud - type: vlan - segmentation_id: 101 - gateway: 192.168.38.1 - # - storage: # Storage network configuration + - eth3 + # Mapping for controller profile (nodes assigned as Controller nodes) + controller: + phys_type: interface + vlan: 101 + members: + - eth3 + # External network to be created in OpenStack by Services tenant + external_overlay: + name: private_cloud + type: vlan + segmentation_id: 101 + gateway: 192.168.38.1 + + # Storage network configuration + storage: enabled: true - cidr: 12.0.0.0/24 # Subnet in CIDR format - mtu: 1500 # Storage network MTU - nic_mapping: # Mapping of network configuration for Overcloud Nodes - compute: # Mapping for compute profile (nodes that will be used as Compute nodes) - phys_type: interface # Physical interface type (interface or bond) - vlan: native # VLAN tag to use with this NIC - members: # Physical NIC members of this mapping (Single value allowed for interface phys_type) - - eth3 # Note, for Apex you may also use the logical nic name (found by nic order), such as "nic1" - controller: # Mapping for controller profile (nodes that will be used as Controller nodes) + # Subnet in CIDR format + cidr: 12.0.0.0/24 + # Storage network MTU + mtu: 1500 + # Mapping of network configuration for Overcloud Nodes + nic_mapping: + # Mapping for compute profile (nodes assigned as Compute nodes) + compute: + # Physical interface type (interface or bond) phys_type: interface + # VLAN tag to use with this NIC vlan: native + # Physical NIC members of this mapping + # Single value allowed for phys_type: interface members: + # Note logical names like nic1 not valid for fdio deployment yet. - eth3 - # - api: # API network configuration + # Mapping for controller profile (nodes assigned as Controller nodes) + controller: + phys_type: interface + vlan: native + members: + - eth3 + + api: + # API network configuration enabled: false - cidr: fd00:fd00:fd00:4000::/64 # Subnet in CIDR format - vlan: 13 # VLAN tag to use for Overcloud hosts on this network - mtu: 1500 # Api network MTU - nic_mapping: # Mapping of network configuration for Overcloud Nodes - compute: # Mapping for compute profile (nodes that will be used as Compute nodes) - phys_type: interface # Physical interface type (interface or bond) - vlan: native # VLAN tag to use with this NIC - members: # Physical NIC members of this mapping (Single value allowed for interface phys_type) - - eth4 # Note, for Apex you may also use the logical nic name (found by nic order), such as "nic1" - controller: # Mapping for controller profile (nodes that will be used as Controller nodes) + # Subnet in CIDR format + cidr: fd00:fd00:fd00:4000::/64 + # VLAN tag to use for Overcloud hosts on this network + vlan: 13 + # Api network MTU + mtu: 1500 + # Mapping of network configuration for Overcloud Nodes + nic_mapping: + # Mapping for compute profile (nodes assigned as Compute nodes) + compute: + # Physical interface type (interface or bond) + phys_type: interface + # VLAN tag to use with this NIC + vlan: native + # Physical NIC members of this mapping + # Single value allowed for phys_type: interface + # Note logical names like nic1 not valid for fdio deployment yet. + members: + - eth4 + # Mapping for controller profile (nodes assigned as Controller nodes) + controller: phys_type: interface vlan: native members: @@ -213,8 +309,9 @@ networks: # Network configurations apex: networks: admin: + # Range used for introspection phase (examining nodes). + # This cannot overlap with dhcp_range or overcloud_ip_range. + # for the overcloud default external network introspection_range: - 192.0.2.100 - - 192.0.2.120 # Range used for introspection phase (examining nodes). This cannot overlap with dhcp_range or overcloud_ip_range. - # If the external network 'public' is disabled, then this range will be re-used to configure the floating ip range - # for the overcloud default external network + - 192.0.2.120 diff --git a/config/network/network_settings_v6.yaml b/config/network/network_settings_v6.yaml index 54c4113f..c7e808c3 100644 --- a/config/network/network_settings_v6.yaml +++ b/config/network/network_settings_v6.yaml @@ -1,3 +1,4 @@ +--- # This configuration file defines Network Environment for a # Baremetal Deployment of OPNFV. It contains default values # for 5 following networks: @@ -34,7 +35,7 @@ # communication. This should be used for IPv6 deployments. -#Meta data for the network configuration +# Meta data for the network configuration network-config-metadata: title: LF-POD-1 Network config version: 0.1 @@ -57,115 +58,188 @@ syslog: transport: 'tcp' # Common network settings -networks: # Network configurations - admin: # Admin configuration (pxe and jumpstart), +networks: + # Admin configuration (pxe and jumpstart) + admin: enabled: true - installer_vm: # Network settings for the Installer VM on admin network - nic_type: interface # Indicates if this VM will be bridged to an interface, or to a bond + # Network settings for the Installer VM on admin network + installer_vm: + # Indicates if this VM will be bridged to an interface, or to a bond + nic_type: interface + # Interfaces to bridge for installer VM (use multiple values for bond) members: - - em1 # Member Interface to bridge to for installer VM (use multiple values for bond) - vlan: native # VLAN tag to use for this network on Installer VM, native means none - ip: 192.0.2.1 # IP to assign to Installer VM on this network + - em1 + # VLAN tag to use for this network on Installer VM, native means none + vlan: native + # IP to assign to Installer VM on this network + ip: 192.0.2.1 + # Usable ip range for the overcloud node IPs (including VIPs) + # Last IP is used for host bridge (i.e. br-admin). + # If empty entire range is usable. + # Cannot overlap with dhcp_range or introspection_range. overcloud_ip_range: - 192.0.2.11 - - 192.0.2.99 # Usable ip range for the overcloud node IPs (including VIPs) and last IP will be - # used for host bridge (i.e. br-admin). - # If empty entire range is usable. Cannot overlap with dhcp_range or introspection_range. - gateway: 192.0.2.1 # Gateway (only needed when public_network is disabled) - cidr: 192.0.2.0/24 # Subnet in CIDR format 192.168.1.0/24 + - 192.0.2.99 + # Gateway (only needed when public_network is disabled) + gateway: 192.0.2.1 + # Subnet in CIDR format 192.168.1.0/24 + cidr: 192.0.2.0/24 + # DHCP range for the admin network, automatically provisioned if empty dhcp_range: - 192.0.2.2 - - 192.0.2.10 # DHCP range for the admin network, if empty it will be automatically provisioned. - # Cannot overlap with overcloud_ip_range or introspection_range. - nic_mapping: # Mapping of network configuration for Overcloud Nodes - compute: # Mapping for compute profile (nodes that will be used as Compute nodes) - phys_type: interface # Physical interface type (interface or bond) - members: # Physical NIC members of this mapping (Single value allowed for interface phys_type) + - 192.0.2.10 + # Mapping of network configuration for Overcloud Nodes + nic_mapping: + # Mapping for compute profile (nodes assigned as Compute nodes) + compute: + # Physical interface type (interface or bond) + phys_type: interface + # Physical NIC members (Single value allowed for phys_type: interface) + members: - nic1 - controller: # Mapping for controller profile (nodes that will be used as Controller nodes) + # Mapping for controller profile (nodes assigned as Controller nodes) + controller: phys_type: interface members: - nic1 - # - tenant: # Tenant network configuration + + # Tenant network configuration + tenant: enabled: true - cidr: 11.0.0.0/24 # Subnet in CIDR format 192.168.1.0/24 - mtu: 1500 # Tenant network MTU - overlay_id_range: 2,65535 # Tenant network Overlay segmentation ID range: - # VNI, VLAN-ID, etc. - segmentation_type: vxlan # Tenant network segmentation type: - # vlan, vxlan, gre - nic_mapping: # Mapping of network configuration for Overcloud Nodes - compute: # Mapping for compute profile (nodes that will be used as Compute nodes) - phys_type: interface # Physical interface type (interface or bond) - vlan: native # VLAN tag to use with this NIC - members: # Physical NIC members of this mapping (Single value allowed for interface phys_type) - - nic2 # Note, for Apex you may also use the logical nic name (found by nic order), such as "nic1" - controller: # Mapping for controller profile (nodes that will be used as Controller nodes) + # Subnet in CIDR format 192.168.1.0/24 + cidr: 11.0.0.0/24 + # Tenant network MTU + mtu: 1500 + # Tenant network Overlay segmentation ID range: + # VNI, VLAN-ID, etc. + overlay_id_range: 2,65535 + + # Tenant network segmentation type: + # vlan, vxlan, gre + segmentation_type: vxlan + # Mapping of network configuration for Overcloud Nodes + nic_mapping: + # Mapping for compute profile (nodes assigned as Compute nodes) + compute: + # Physical interface type (interface/bond) phys_type: interface + # UIO driver to use for DPDK scenarios. + # The value is ignored for non-DPDK scenarios. + uio_driver: uio_pci_generic + # VLAN tag to use with this NIC vlan: native + # Physical NIC members of this mapping + # Single value allowed for phys_type: interface members: - - nic2 # Note, for Apex you may also use the logical nic name (found by nic order), such as "nic1" - # - external: # Can contain 1 or more external networks - - public: # "public" network will be the network the installer VM attaches to + # Note logical name like nic1 not valid for fdio deployment yet. + - nic2 + # Mapping for controller profile (nodes assigned as Controller nodes) + controller: + # Physical interface type (interface/bond) + phys_type: interface + vlan: native + # Note: logicial names like nic1 are not valid for fdio deployment yet. + members: + - nic2 + + # Can contain 1 or more external networks + external: + - public: enabled: true - mtu: 1500 # Public network MTU - installer_vm: # Network settings for the Installer VM on admin network (note only valid on 'public' external network) - nic_type: interface # Indicates if this VM will be bridged to an interface, or to a bond + # Public network MTU + mtu: 1500 + # Network settings for the Installer VM on external network + # (note only valid on 'public' external network) + installer_vm: + # Indicates if this VM will be bridged to an interface, or to a bond + nic_type: interface vlan: native + # Interfaces to bridge for installer VM (use multiple values for bond) members: - - em1 # Member Interface to bridge to for installer VM (use multiple values for bond) - ip: 2001:db8::1 # IP to assign to Installer VM on this network + - em1 + # IP to assign to Installer VM on this network + ip: 2001:db8::1 cidr: 2001:db8::0/64 gateway: 2001:db8::1 + # Range to allocate to floating IPs for the public network with Neutron floating_ip_range: - - 2001:db8:0:0:0:0:0:2 - - 2001:db8:0:0:ffff:ffff:ffff:ffff # Floating IPs range to assign to the overcloud (External IPs to be NAT'ed to Tenant IP) - nic_mapping: # Mapping of network configuration for Overcloud Nodes - compute: # Mapping for compute profile (nodes that will be used as Compute nodes) - phys_type: interface # Physical interface type (interface or bond) - vlan: native # VLAN tag to use with this NIC - members: # Physical NIC members of this mapping (Single value allowed for interface phys_type) + - 2001:db8:0:0:0:0:0:2 + - 2001:db8:0:0:ffff:ffff:ffff:ffff + # Mapping of network configuration for Overcloud Nodes + nic_mapping: + # Mapping for compute profile (nodes assigned as Compute nodes) + compute: + # Physical interface type (interface or bond) + phys_type: interface + # VLAN tag to use with this NIC + vlan: native + # Physical NIC members of this mapping + # Single value allowed for phys_type: interface + members: - nic3 - controller: # Mapping for controller profile (nodes that will be used as Controller nodes) + # Mapping for controller profile (nodes assigned as Controller nodes) + controller: phys_type: interface vlan: native members: - nic3 - external_overlay: # External network to be created in OpenStack by Services tenant - name: Public_internet - type: flat - gateway: 2001:db8::1 - # - storage: # Storage network configuration + # External network to be created in OpenStack by Services tenant + external_overlay: + name: Public_internet + type: flat + gateway: 2001:db8::1 + + # Storage network configuration + storage: enabled: true - cidr: fd00:fd00:fd00:2000::/64 # Subnet in CIDR format - mtu: 1500 # Storage network MTU - nic_mapping: # Mapping of network configuration for Overcloud Nodes - compute: # Mapping for compute profile (nodes that will be used as Compute nodes) - phys_type: interface # Physical interface type (interface or bond) - vlan: native # VLAN tag to use with this NIC - members: # Physical NIC members of this mapping (Single value allowed for interface phys_type) - - nic4 # Note, for Apex you may also use the logical nic name (found by nic order), such as "nic1" - controller: # Mapping for controller profile (nodes that will be used as Controller nodes) + # Subnet in CIDR format + cidr: fd00:fd00:fd00:2000::/64 + # Storage network MTU + mtu: 1500 + # Mapping of network configuration for Overcloud Nodes + nic_mapping: + # Mapping for compute profile (nodes assigned as Compute nodes) + compute: + # Physical interface type (interface or bond) + phys_type: interface + # VLAN tag to use with this NIC + vlan: native + # Physical NIC members of this mapping + # Single value allowed for phys_type: interface + members: + # Note logical names like nic1 not valid for fdio deployment yet. + - nic4 + # Mapping for controller profile (nodes assigned as Controller nodes) + controller: phys_type: interface vlan: native members: - nic4 - # - api: # API network configuration + + api: + # API network configuration enabled: true - cidr: fd00:fd00:fd00:4000::/64 # Subnet in CIDR format - vlan: 13 # VLAN tag to use for Overcloud hosts on this network - mtu: 1500 # Api network MTU - nic_mapping: # Mapping of network configuration for Overcloud Nodes - compute: # Mapping for compute profile (nodes that will be used as Compute nodes) - phys_type: interface # Physical interface type (interface or bond) - vlan: native # VLAN tag to use with this NIC - members: # Physical NIC members of this mapping (Single value allowed for interface phys_type) - - nic5 # Note, for Apex you may also use the logical nic name (found by nic order), such as "nic1" - controller: # Mapping for controller profile (nodes that will be used as Controller nodes) + # Subnet in CIDR format + cidr: fd00:fd00:fd00:4000::/64 + # VLAN tag to use for Overcloud hosts on this network + vlan: 13 + # Api network MTU + mtu: 1500 + # Mapping of network configuration for Overcloud Nodes + nic_mapping: + # Mapping for compute profile (nodes assigned as Compute nodes) + compute: + # Physical interface type (interface or bond) + phys_type: interface + # VLAN tag to use with this NIC + vlan: native + # Physical NIC members of this mapping + # Single value allowed for phys_type: interface + # Note logical names like nic1 not valid for fdio deployment yet. + members: + - nic5 + # Mapping for controller profile (nodes assigned as Controller nodes) + controller: phys_type: interface vlan: native members: @@ -175,8 +249,9 @@ networks: # Network configurations apex: networks: admin: + # Range used for introspection phase (examining nodes). + # This cannot overlap with dhcp_range or overcloud_ip_range. + # for the overcloud default external network introspection_range: - 192.0.2.100 - - 192.0.2.120 # Range used for introspection phase (examining nodes). This cannot overlap with dhcp_range or overcloud_ip_range. - # If the external network 'public' is disabled, then this range will be re-used to configure the floating ip range - # for the overcloud default external network + - 192.0.2.120 diff --git a/config/network/network_settings_vlans.yaml b/config/network/network_settings_vlans.yaml index d892289f..be4dc662 100644 --- a/config/network/network_settings_vlans.yaml +++ b/config/network/network_settings_vlans.yaml @@ -1,3 +1,4 @@ +--- # This configuration file defines Network Environment for a # Baremetal Deployment of OPNFV. It contains default values # for 5 following networks: @@ -34,7 +35,7 @@ # communication. This should be used for IPv6 deployments. -#Meta data for the network configuration +# Meta data for the network configuration network-config-metadata: title: LF-POD-1 Network config version: 0.1 @@ -57,154 +58,197 @@ syslog: transport: 'tcp' # Common network settings -networks: # Network configurations - admin: # Admin configuration (pxe and jumpstart), +networks: + # Admin configuration (pxe and jumpstart) + admin: enabled: true - installer_vm: # Network settings for the Installer VM on admin network - nic_type: interface # Indicates if this VM will be bridged to an interface, or to a bond + # Network settings for the Installer VM on admin network + installer_vm: + # Indicates if this VM will be bridged to an interface, or to a bond + nic_type: interface + # Interfaces to bridge for installer VM (use multiple values for bond) members: - - em1 # Member Interface to bridge to for installer VM (use multiple values for bond) - vlan: native # VLAN tag to use for this network on Installer VM, native means none - ip: 192.0.2.1 # IP to assign to Installer VM on this network + - em1 + # VLAN tag to use for this network on Installer VM, native means none + vlan: native + # IP to assign to Installer VM on this network + ip: 192.0.2.1 + # Usable ip range for the overcloud node IPs (including VIPs) + # Last IP is used for host bridge (i.e. br-admin). + # If empty entire range is usable. + # Cannot overlap with dhcp_range or introspection_range. overcloud_ip_range: - 192.0.2.11 - - 192.0.2.99 # Usable ip range for the overcloud node IPs (including VIPs) and last IP will be - # used for host bridge (i.e. br-admin). If empty entire range is usable. - # Cannot overlap with dhcp_range. - gateway: 192.0.2.1 # Gateway (only needed when public_network is disabled) - cidr: 192.0.2.0/24 # Subnet in CIDR format 192.168.1.0/24 + - 192.0.2.99 + # Gateway (only needed when public_network is disabled) + gateway: 192.0.2.1 + # Subnet in CIDR format 192.168.1.0/24 + cidr: 192.0.2.0/24 + # DHCP range for the admin network, automatically provisioned if empty dhcp_range: - 192.0.2.2 - - 192.0.2.10 # DHCP range for the admin network, if empty it will be automatically provisioned. - # Cannot overlap with overcloud_ip_range or introspection_range. - nic_mapping: # Mapping of network configuration for Overcloud Nodes - compute: # Mapping for compute profile (nodes that will be used as Compute nodes) - phys_type: interface # Physical interface type (interface or bond) - members: # Physical NIC members of this mapping (Single value allowed for interface phys_type) + - 192.0.2.10 + # Mapping of network configuration for Overcloud Nodes + nic_mapping: + # Mapping for compute profile (nodes assigned as Compute nodes) + compute: + # Physical interface type (interface or bond) + phys_type: interface + # Physical NIC members (Single value allowed for phys_type: interface) + members: - nic1 - controller: # Mapping for controller profile (nodes that will be used as Controller nodes) + # Mapping for controller profile (nodes assigned as Controller nodes) + controller: phys_type: interface members: - nic1 - # - tenant: # Tenant network configuration + + # Tenant network configuration + tenant: enabled: true - cidr: 11.0.0.0/24 # Subnet in CIDR format 192.168.1.0/24 - mtu: 1500 # Tenant network MTU - overlay_id_range: 2,65535 # Tenant network Overlay segmentation ID range: - # VNI, VLAN-ID, etc. - segmentation_type: vxlan # Tenant network segmentation type: - # vlan, vxlan, gre - nic_mapping: # Mapping of network configuration for Overcloud Nodes - compute: # Mapping for compute profile (nodes that will be used as Compute nodes) - phys_type: interface # Physical interface type (interface or bond) - vlan: 401 # VLAN tag to use with this NIC - members: # Physical NIC members of this mapping (Single value allowed for interface phys_type) - - nic1 # Note, for Apex you may also use the logical nic name (found by nic order), such as "nic1" - controller: # Mapping for controller profile (nodes that will be used as Controller nodes) + # Subnet in CIDR format 192.168.1.0/24 + cidr: 11.0.0.0/24 + # Tenant network MTU + mtu: 1500 + # Tenant network Overlay segmentation ID range: + # VNI, VLAN-ID, etc. + overlay_id_range: 2,65535 + + # Tenant network segmentation type: + # vlan, vxlan, gre + segmentation_type: vxlan + # Mapping of network configuration for Overcloud Nodes + nic_mapping: + # Mapping for compute profile (nodes assigned as Compute nodes) + compute: + # Physical interface type (interface/bond) + phys_type: interface + # UIO driver to use for DPDK scenarios. + # The value is ignored for non-DPDK scenarios. + uio_driver: uio_pci_generic + # VLAN tag to use with this NIC + vlan: 401 + # Physical NIC members of this mapping + # Single value allowed for phys_type: interface + members: + # Note logical name like nic1 not valid for fdio deployment yet. + - nic1 + # Mapping for controller profile (nodes assigned as Controller nodes) + controller: + # Physical interface type (interface/bond) phys_type: interface vlan: 401 + # Note: logicial names like nic1 are not valid for fdio deployment yet. members: - - nic1 # Note, for Apex you may also use the logical nic name (found by nic order), such as "nic1" - # - external: # Can contain 1 or more external networks - - public: # "public" network will be the network the installer VM attaches to + - nic1 + + # Can contain 1 or more external networks + external: + - public: enabled: true - mtu: 1500 # Public network MTU - installer_vm: # Network settings for the Installer VM on admin network (note only valid on 'public' external network) - nic_type: interface # Indicates if this VM will be bridged to an interface, or to a bond + # Public network MTU + mtu: 1500 + # Network settings for the Installer VM on external network + # (note only valid on 'public' external network) + installer_vm: + # Indicates if this VM will be bridged to an interface, or to a bond + nic_type: interface vlan: 501 + # Interfaces to bridge for installer VM (use multiple values for bond) members: - - em1 # Member Interface to bridge to for installer VM (use multiple values for bond) - ip: 192.168.37.12 # IP to assign to Installer VM on this network + - em1 + # IP to assign to Installer VM on this network + ip: 192.168.37.12 cidr: 192.168.37.0/24 gateway: 192.168.37.1 + # Range to allocate to floating IPs for the public network with Neutron floating_ip_range: - 192.168.37.200 - - 192.168.37.220 # Range to allocate to floating IPs for the public network with Neutron + - 192.168.37.220 + # Usable ip range for the overcloud node IPs (including VIPs) + # Last IP will be used for host bridge (i.e. br-public). + # If empty entire range is usable. + # Cannot overlap with dhcp_range or introspection_range. overcloud_ip_range: - 192.168.37.10 - - 192.168.37.199 # Usable IP range on the public network, usually this is a shared subnet - nic_mapping: # Mapping of network configuration for Overcloud Nodes - compute: # Mapping for compute profile (nodes that will be used as Compute nodes) - phys_type: interface # Physical interface type (interface or bond) - vlan: 501 # VLAN tag to use with this NIC - members: # Physical NIC members of this mapping (Single value allowed for interface phys_type) - - nic1 - controller: # Mapping for controller profile (nodes that will be used as Controller nodes) + - 192.168.37.199 + # Mapping of network configuration for Overcloud Nodes + nic_mapping: + # Mapping for compute profile (nodes assigned as Compute nodes) + compute: + # Physical interface type (interface or bond) phys_type: interface + # VLAN tag to use with this NIC vlan: 501 + # Physical NIC members of this mapping + # Single value allowed for phys_type: interface members: - nic1 - external_overlay: # External network to be created in OpenStack by Services tenant - name: Public_internet - type: flat - gateway: 192.168.37.1 - - private_cloud: # another external network - enabled: false - mtu: 1500 - installer_vm: # Network settings for the Installer VM on admin network (note only valid on 'public' external network) - nic_type: interface # Indicates if this VM will be bridged to an interface, or to a bond - vlan: 501 - members: - - em1 # Member Interface to bridge to for installer VM (use multiple values for bond) - ip: 192.168.38.12 # IP to assign to Installer VM on this network - cidr: 192.168.38.0/24 - gateway: 192.168.38.1 - floating_ip_range: - - 192.168.38.200 - - 192.168.38.220 # Range to allocate to floating IPs for the public network with Neutron - overcloud_ip_range: - - 192.168.38.10 - - 192.168.38.199 # Usable ip range for the overcloud node IPs (including VIPs) and last IP will be used for host - # bridge (i.e. br-public). If empty entire range is usable. - # Cannot overlap with dhcp_range or introspection_range. - nic_mapping: # Mapping of network configuration for Overcloud Nodes - compute: # Mapping for compute profile (nodes that will be used as Compute nodes) - phys_type: interface # Physical interface type (interface or bond) - vlan: 502 # VLAN tag to use with this NIC - members: # Physical NIC members of this mapping (Single value allowed for interface phys_type) - - eth1 # Note, for Apex you may also use the logical nic name (found by nic order), such as "nic1" - controller: # Mapping for controller profile (nodes that will be used as Controller nodes) + # Mapping for controller profile (nodes assigned as Controller nodes) + controller: phys_type: interface - vlan: 502 + vlan: 501 members: - - eth1 - external_overlay: # External network to be created in OpenStack by Services tenant - name: private_cloud - type: vlan - segmentation_id: 101 - gateway: 192.168.38.1 - # - storage: # Storage network configuration + - nic1 + # External network to be created in OpenStack by Services tenant + external_overlay: + name: Public_internet + type: flat + gateway: 192.168.37.1 + + # Storage network configuration + storage: enabled: true - cidr: 12.0.0.0/24 # Subnet in CIDR format - mtu: 1500 # Storage network MTU - nic_mapping: # Mapping of network configuration for Overcloud Nodes - compute: # Mapping for compute profile (nodes that will be used as Compute nodes) - phys_type: interface # Physical interface type (interface or bond) - vlan: 201 # VLAN tag to use with this NIC - members: # Physical NIC members of this mapping (Single value allowed for interface phys_type) - - nic4 # Note, for Apex you may also use the logical nic name (found by nic order), such as "nic1" - controller: # Mapping for controller profile (nodes that will be used as Controller nodes) + # Subnet in CIDR format + cidr: 12.0.0.0/24 + # Storage network MTU + mtu: 1500 + # Mapping of network configuration for Overcloud Nodes + nic_mapping: + # Mapping for compute profile (nodes assigned as Compute nodes) + compute: + # Physical interface type (interface or bond) phys_type: interface + # VLAN tag to use with this NIC vlan: 201 + # Physical NIC members of this mapping + # Single value allowed for phys_type: interface members: + # Note logical names like nic1 not valid for fdio deployment yet. - nic4 - # - api: # API network configuration + # Mapping for controller profile (nodes assigned as Controller nodes) + controller: + phys_type: interface + vlan: native + members: + - nic4 + + api: + # API network configuration enabled: false - cidr: fd00:fd00:fd00:4000::/64 # Subnet in CIDR format - mtu: 1500 # Api network MTU - nic_mapping: # Mapping of network configuration for Overcloud Nodes - compute: # Mapping for compute profile (nodes that will be used as Compute nodes) - phys_type: interface # Physical interface type (interface or bond) - vlan: 101 # VLAN tag to use with this NIC - members: # Physical NIC members of this mapping (Single value allowed for interface phys_type) - - nic5 # Note, for Apex you may also use the logical nic name (found by nic order), such as "nic1" - controller: # Mapping for controller profile (nodes that will be used as Controller nodes) + # Subnet in CIDR format + cidr: fd00:fd00:fd00:4000::/64 + # VLAN tag to use for Overcloud hosts on this network + vlan: 13 + # Api network MTU + mtu: 1500 + # Mapping of network configuration for Overcloud Nodes + nic_mapping: + # Mapping for compute profile (nodes assigned as Compute nodes) + compute: + # Physical interface type (interface or bond) phys_type: interface + # VLAN tag to use with this NIC vlan: 101 + # Physical NIC members of this mapping + # Single value allowed for phys_type: interface + # Note logical names like nic1 not valid for fdio deployment yet. + members: + - nic5 + # Mapping for controller profile (nodes assigned as Controller nodes) + controller: + phys_type: interface + vlan: native members: - nic5 @@ -212,8 +256,9 @@ networks: # Network configurations apex: networks: admin: + # Range used for introspection phase (examining nodes). + # This cannot overlap with dhcp_range or overcloud_ip_range. + # for the overcloud default external network introspection_range: - 192.0.2.100 - - 192.0.2.120 # Range used for introspection phase (examining nodes). This cannot overlap with dhcp_range or overcloud_ip_range. - # If the external network 'public' is disabled, then this range will be re-used to configure the floating ip range - # for the overcloud default external network + - 192.0.2.120 diff --git a/config/network/network_settings_vpp.yaml b/config/network/network_settings_vpp.yaml index c6792157..f080af1d 100644 --- a/config/network/network_settings_vpp.yaml +++ b/config/network/network_settings_vpp.yaml @@ -1,3 +1,4 @@ +--- # This configuration file defines Network Environment for a # Baremetal Deployment of OPNFV. It contains default values # for 5 following networks: @@ -34,7 +35,7 @@ # communication. This should be used for IPv6 deployments. -#Meta data for the network configuration +# Meta data for the network configuration network-config-metadata: title: LF-POD-1 Network config version: 0.1 @@ -57,152 +58,245 @@ syslog: transport: 'tcp' # Common network settings -networks: # Network configurations - admin: # Admin configuration (pxe and jumpstart), +networks: + # Admin configuration (pxe and jumpstart) + admin: enabled: true - installer_vm: # Network settings for the Installer VM on admin network - nic_type: interface # Indicates if this VM will be bridged to an interface, or to a bond + # Network settings for the Installer VM on admin network + installer_vm: + # Indicates if this VM will be bridged to an interface, or to a bond + nic_type: interface + # Interfaces to bridge for installer VM (use multiple values for bond) members: - - em1 # Member Interface to bridge to for installer VM (use multiple values for bond) - vlan: native # VLAN tag to use for this network on Installer VM, native means none - ip: 192.0.2.1 # IP to assign to Installer VM on this network + - em1 + # VLAN tag to use for this network on Installer VM, native means none + vlan: native + # IP to assign to Installer VM on this network + ip: 192.0.2.1 + # Usable ip range for the overcloud node IPs (including VIPs) + # Last IP is used for host bridge (i.e. br-admin). + # If empty entire range is usable. + # Cannot overlap with dhcp_range or introspection_range. overcloud_ip_range: - 192.0.2.11 - - 192.0.2.99 # Usable ip range for the overcloud node IPs (including VIPs) and last IP will be - # used for host bridge (i.e. br-admin). If empty entire range is usable. - # Cannot overlap with dhcp_range or introspection_range. - gateway: 192.0.2.1 # Gateway (only needed when public_network is disabled) - cidr: 192.0.2.0/24 # Subnet in CIDR format 192.168.1.0/24 + - 192.0.2.99 + # Gateway (only needed when public_network is disabled) + gateway: 192.0.2.1 + # Subnet in CIDR format 192.168.1.0/24 + cidr: 192.0.2.0/24 + # DHCP range for the admin network, automatically provisioned if empty dhcp_range: - 192.0.2.2 - - 192.0.2.10 # DHCP range for the admin network, if empty it will be automatically provisioned - nic_mapping: # Mapping of network configuration for Overcloud Nodes - compute: # Mapping for compute profile (nodes that will be used as Compute nodes) - phys_type: interface # Physical interface type (interface or bond) - members: # Physical NIC members of this mapping (Single value allowed for interface phys_type) + - 192.0.2.10 + # Mapping of network configuration for Overcloud Nodes + nic_mapping: + # Mapping for compute profile (nodes assigned as Compute nodes) + compute: + # Physical interface type (interface or bond) + phys_type: interface + # Physical NIC members (Single value allowed for phys_type: interface) + members: - eth0 - controller: # Mapping for controller profile (nodes that will be used as Controller nodes) + # Mapping for controller profile (nodes assigned as Controller nodes) + controller: phys_type: interface members: - eth0 - # - tenant: # Tenant network configuration + + # Tenant network configuration + tenant: enabled: true - cidr: 11.0.0.0/24 # Subnet in CIDR format 192.168.1.0/24 - mtu: 1500 # Tenant network MTU - overlay_id_range: 2,65535 # Tenant network Overlay segmentation ID range: - # VNI, VLAN-ID, etc. - segmentation_type: vxlan # Tenant network segmentation type: - # vlan, vxlan, gre - nic_mapping: # Mapping of network configuration for Overcloud Nodes - compute: # Mapping for compute profile (nodes that will be used as Compute nodes) - phys_type: interface # Physical interface type (interface/bond) - vlan: native # VLAN tag to use with this NIC - members: # Physical NIC members of this mapping (Single value allowed for interface phys_type) - - eth1 # Note that logic nic name like nic1 cannot be used for fdio deployment yet. - controller: # Mapping for controller profile (nodes that will be used as Controller nodes) - phys_type: interface # Physical interface type (interface/bond) + # Subnet in CIDR format 192.168.1.0/24 + cidr: 11.0.0.0/24 + # Tenant network MTU + mtu: 1500 + # Tenant network Overlay segmentation ID range: + # VNI, VLAN-ID, etc. + overlay_id_range: 2,65535 + + # Tenant network segmentation type: + # vlan, vxlan, gre + segmentation_type: vxlan + # Mapping of network configuration for Overcloud Nodes + nic_mapping: + # Mapping for compute profile (nodes assigned as Compute nodes) + compute: + # Physical interface type (interface/bond) + phys_type: interface + # VLAN tag to use with this NIC + vlan: native + # Physical NIC members of this mapping + # Single value allowed for phys_type: interface + members: + # Note logical name like nic1 not valid for fdio deployment yet. + - eth1 + # Mapping for controller profile (nodes assigned as Controller nodes) + controller: + # Physical interface type (interface/bond) + phys_type: interface vlan: native + # Note: logicial names like nic1 are not valid for fdio deployment yet. members: - - eth1 # Note that logic nic name like nic1 cannot be used for fdio deployment yet. - # - external: # Can contain 1 or more external networks - - public: # "public" network will be the network the installer VM attaches to + - eth1 + + # Can contain 1 or more external networks + external: + - public: enabled: true - mtu: 1500 # Public network MTU - installer_vm: # Network settings for the Installer VM on admin network (note only valid on 'public' external network) - nic_type: interface # Indicates if this VM will be bridged to an interface, or to a bond + # Public network MTU + mtu: 1500 + # Network settings for the Installer VM on external network + # (note only valid on 'public' external network) + installer_vm: + # Indicates if this VM will be bridged to an interface, or to a bond + nic_type: interface vlan: native + # Interfaces to bridge for installer VM (use multiple values for bond) members: - - em1 # Member Interface to bridge to for installer VM (use multiple values for bond) - ip: 192.168.37.1 # IP to assign to Installer VM on this network + - em1 + # IP to assign to Installer VM on this network + ip: 192.168.37.1 cidr: 192.168.37.0/24 gateway: 192.168.37.1 + # Range to allocate to floating IPs for the public network with Neutron floating_ip_range: - 192.168.37.200 - - 192.168.37.220 # Range to allocate to floating IPs for the public network with Neutron + - 192.168.37.220 + # Usable ip range for the overcloud node IPs (including VIPs) + # Last IP will be used for host bridge (i.e. br-public). + # If empty entire range is usable. + # Cannot overlap with dhcp_range or introspection_range. overcloud_ip_range: - 192.168.37.10 - - 192.168.37.199 # Usable ip range for the overcloud node IPs (including VIPs) and last IP will be used for host - # bridge (i.e. br-public). If empty entire range is usable. Cannot overlap with dhcp_range or introspection_range. - nic_mapping: # Mapping of network configuration for Overcloud Nodes - compute: # Mapping for compute profile (nodes that will be used as Compute nodes) - phys_type: interface # Physical interface type (interface or bond) - vlan: native # VLAN tag to use with this NIC - members: # Physical NIC members of this mapping (Single value allowed for interface phys_type) + - 192.168.37.199 + # Mapping of network configuration for Overcloud Nodes + nic_mapping: + # Mapping for compute profile (nodes assigned as Compute nodes) + compute: + # Physical interface type (interface or bond) + phys_type: interface + # VLAN tag to use with this NIC + vlan: native + # Physical NIC members of this mapping + # Single value allowed for phys_type: interface + members: - eth2 - controller: # Mapping for controller profile (nodes that will be used as Controller nodes) + # Mapping for controller profile (nodes assigned as Controller nodes) + controller: phys_type: interface vlan: native members: - eth2 - external_overlay: # External network to be created in OpenStack by Services tenant - name: Public_internet - type: flat - gateway: 192.168.37.1 - - private_cloud: # another external network + # External network to be created in OpenStack by Services tenant + external_overlay: + name: Public_internet + type: flat + gateway: 192.168.37.1 + # another external network + # This is an example and not yet supported + - private_cloud: enabled: false mtu: 1500 - installer_vm: # Network settings for the Installer VM on admin network (note only valid on 'public' external network) - nic_type: interface # Indicates if this VM will be bridged to an interface, or to a bond + # Network settings for the Installer VM on external network + # note only valid on 'public' external network + installer_vm: + # Indicates if this VM will be bridged to an interface, or to a bond + nic_type: interface vlan: 101 + # Interfaces to bridge for installer VM (use multiple values for bond) members: - - em1 # Member Interface to bridge to for installer VM (use multiple values for bond) - ip: 192.168.38.1 # IP to assign to Installer VM on this network + - em1 + # IP to assign to Installer VM on this network + ip: 192.168.38.1 cidr: 192.168.38.0/24 gateway: 192.168.38.1 + # Range to allocate to floating IPs for the public network with Neutron floating_ip_range: - 192.168.38.200 - - 192.168.38.220 # Range to allocate to floating IPs for the public network with Neutron + - 192.168.38.220 + # Usable IP range for overcloud nodes (including VIPs)i + # usually this is a shared subnet. + # Cannot overlap with dhcp_range or introspection_range. overcloud_ip_range: - 192.168.38.10 - - 192.168.38.199 # Usable IP range for overcloud nodes (including VIPs), usually this is a shared subnet. - # Cannot overlap with dhcp_range or introspection_range. - nic_mapping: # Mapping of network configuration for Overcloud Nodes - compute: # Mapping for compute profile (nodes that will be used as Compute nodes) - phys_type: interface # Physical interface type (interface or bond) - vlan: 101 # VLAN tag to use with this NIC - members: # Physical NIC members of this mapping (Single value allowed for interface phys_type) - - eth3 # Note that logic nic name like nic1 cannot be used for fdio deployment yet. - controller: # Mapping for controller profile (nodes that will be used as Controller nodes) + - 192.168.38.199 + # Mapping of network configuration for Overcloud Nodes + nic_mapping: + # Mapping for compute profile (nodes assigned as Compute nodes) + compute: + # Physical interface type (interface or bond) phys_type: interface + # VLAN tag to use with this NIC vlan: 101 + # Physical NIC members of this mappingi + # Single value allowed for phys_type: interface + # Note: logical names like nic1 are not valid for fdio deployment yet. members: - eth3 - external_overlay: # External network to be created in OpenStack by Services tenant - name: private_cloud - type: vlan - segmentation_id: 101 - gateway: 192.168.38.1 - # - storage: # Storage network configuration + # Mapping for controller profile (nodes assigned as Controller nodes) + controller: + phys_type: interface + vlan: 101 + members: + - eth3 + # External network to be created in OpenStack by Services tenant + external_overlay: + name: private_cloud + type: vlan + segmentation_id: 101 + gateway: 192.168.38.1 + + # Storage network configuration + storage: enabled: true - cidr: 12.0.0.0/24 # Subnet in CIDR format - mtu: 1500 # Storage network MTU - nic_mapping: # Mapping of network configuration for Overcloud Nodes - compute: # Mapping for compute profile (nodes that will be used as Compute nodes) - phys_type: interface # Physical interface type (interface or bond) - vlan: native # VLAN tag to use with this NIC - members: # Physical NIC members of this mapping (Single value allowed for interface phys_type) - - eth3 # Note that logic nic name like nic1 cannot be used for fdio deployment yet. - controller: # Mapping for controller profile (nodes that will be used as Controller nodes) + # Subnet in CIDR format + cidr: 12.0.0.0/24 + # Storage network MTU + mtu: 1500 + # Mapping of network configuration for Overcloud Nodes + nic_mapping: + # Mapping for compute profile (nodes assigned as Compute nodes) + compute: + # Physical interface type (interface or bond) phys_type: interface + # VLAN tag to use with this NIC vlan: native + # Physical NIC members of this mapping + # Single value allowed for phys_type: interface members: + # Note logical names like nic1 not valid for fdio deployment yet. - eth3 - # - api: # API network configuration + # Mapping for controller profile (nodes assigned as Controller nodes) + controller: + phys_type: interface + vlan: native + members: + - eth3 + + api: + # API network configuration enabled: false - cidr: fd00:fd00:fd00:4000::/64 # Subnet in CIDR format - vlan: 13 # VLAN tag to use for Overcloud hosts on this network - mtu: 1500 # Api network MTU - nic_mapping: # Mapping of network configuration for Overcloud Nodes - compute: # Mapping for compute profile (nodes that will be used as Compute nodes) - phys_type: interface # Physical interface type (interface or bond) - vlan: native # VLAN tag to use with this NIC - members: # Physical NIC members of this mapping (Single value allowed for interface phys_type) - - eth4 # Note that logic nic name like nic1 cannot be used for fdio deployment yet. - controller: # Mapping for controller profile (nodes that will be used as Controller nodes) + # Subnet in CIDR format + cidr: fd00:fd00:fd00:4000::/64 + # VLAN tag to use for Overcloud hosts on this network + vlan: 13 + # Api network MTU + mtu: 1500 + # Mapping of network configuration for Overcloud Nodes + nic_mapping: + # Mapping for compute profile (nodes assigned as Compute nodes) + compute: + # Physical interface type (interface or bond) + phys_type: interface + # VLAN tag to use with this NIC + vlan: native + # Physical NIC members of this mapping + # Single value allowed for phys_type: interface + # Note logical names like nic1 not valid for fdio deployment yet. + members: + - eth4 + # Mapping for controller profile (nodes assigned as Controller nodes) + controller: phys_type: interface vlan: native members: @@ -212,8 +306,9 @@ networks: # Network configurations apex: networks: admin: + # Range used for introspection phase (examining nodes). + # This cannot overlap with dhcp_range or overcloud_ip_range. + # for the overcloud default external network introspection_range: - 192.0.2.100 - - 192.0.2.120 # Range used for introspection phase (examining nodes). This cannot overlap with dhcp_range or overcloud_ip_range. - # If the external network 'public' is disabled, then this range will be re-used to configure the floating ip range - # for the overcloud default external network + - 192.0.2.120 |