diff options
author | Tim Rozet <trozet@redhat.com> | 2016-06-28 18:58:11 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-06-28 18:58:11 +0000 |
commit | 2840a7db67fdaf58567c195557c6fb8ee38f73bd (patch) | |
tree | 1beb8f677649ca6d1bf670ab4eca175fcdd5b60a /config | |
parent | c5ea99b97d53ddb8451be21ffed5118125457cca (diff) | |
parent | 890ed0bcb03b61c5e5da596f89771d6196cd4231 (diff) |
Merge changes from topics 'fix_dpdk', 'vlan_support'
* changes:
Fixes IP failure during os-collect-config ping check
Adding VLAN support
Diffstat (limited to 'config')
-rw-r--r-- | config/network/network_settings.yaml | 4 | ||||
-rw-r--r-- | config/network/network_settings_vlans.yaml | 102 |
2 files changed, 105 insertions, 1 deletions
diff --git a/config/network/network_settings.yaml b/config/network/network_settings.yaml index 5614c64d..793c10db 100644 --- a/config/network/network_settings.yaml +++ b/config/network/network_settings.yaml @@ -34,7 +34,6 @@ admin_network: network_type: bridged bridged_interface: '' bond_interfaces: '' - vlan: native usable_ip_range: 192.0.2.11,192.0.2.99 gateway: 192.0.2.1 provisioner_ip: 192.0.2.1 @@ -49,6 +48,7 @@ admin_network: # private_network: enabled: true + vlan: native cidr: 11.0.0.0/24 # "public" network is used for external connectivity. @@ -62,6 +62,7 @@ public_network: enabled: true network_type: '' bridged_interface: '' + vlan: native cidr: 192.168.37.0/24 gateway: 192.168.37.1 floating_ip_range: 192.168.37.200,192.168.37.220 @@ -74,6 +75,7 @@ public_network: # storage_network: enabled: true + vlan: native cidr: 12.0.0.0/24 #admin_network: diff --git a/config/network/network_settings_vlans.yaml b/config/network/network_settings_vlans.yaml new file mode 100644 index 00000000..40d6183e --- /dev/null +++ b/config/network/network_settings_vlans.yaml @@ -0,0 +1,102 @@ +# This configuration file defines Network Environment for a +# Baremetal Deployment of OPNFV. It contains default values +# for 4 following networks: +# +# - admin +# - private* +# - public +# - storage* +# +# *) optional networks +# +# Any values missing from this configuration file will be +# auto-detected by deployment script from the existing network +# configuration of the jumphost. +# +# Optional networks will be consolidated with the admin network +# if not explicitely configured. +# +# See short description of the networks in the comments below. +# + +# "admin" is the short name for Control Plane Network. +# During OPNFV deployment it is used for node provisioning so +# PXE boot should be enabled for the related interfaces on all +# the nodes in the OPNFV cluster. After the deployment this +# network is used as the OpenStack management network which +# carries e.g. communication between its internal components. +# +admin_network: + enabled: true + network_type: bridged + bridged_interface: '' + bond_interfaces: '' + usable_ip_range: 192.0.2.11,192.0.2.99 + gateway: 192.0.2.1 + provisioner_ip: 192.0.2.1 + cidr: 192.0.2.0/24 + dhcp_range: 192.0.2.2,192.0.2.10 + introspection_range: 192.0.2.100,192.0.2.120 + +# "private" is an optional network used as underlying physical +# network for virtual provider and tenant networks created by +# users. Traffic between virtual machines is carried by this +# network. +# +private_network: + enabled: true + vlan: 400 + cidr: 11.0.0.0/24 + +# "public" network is used for external connectivity. +# The external network provides Internet access for virtual +# machines. If floating IP range is defined for this network, +# floating IP addresses can be used for accessing virtual +# machines from outside of OPNFV cluster. Also external REST +# API calls use this network. +# +public_network: + enabled: true + network_type: '' + bridged_interface: '' + vlan: 500 + cidr: 192.168.37.0/24 + gateway: 192.168.37.1 + floating_ip_range: 192.168.37.200,192.168.37.220 + usable_ip_range: 192.168.37.10,192.168.37.199 + provisioner_ip: 192.168.37.1 + +# "storage" is an optional network used by storage backends. +# You can configure this network in order to reduce load on +# Control Plane Network. +# +storage_network: + enabled: true + vlan: 200 + cidr: 12.0.0.0/24 + +#admin_network: +# enabled: true +# network_type: bridged #Indicates if this network will be bridged to an interface, or to a bond +# bridged_interface: '' #Interface to bridge to for installer VM +# bond_interfaces: '' #Interfaces to create bond with for installer VM +# vlan: native #VLAN tag to use, native means none +# usable_ip_range: 192.0.2.11,192.0.2.99 #Usable ip range, if empty entire range is usable, ex. 192.168.1.10,192.168.1.20 +# gateway: 192.0.2.1 #Gateway (only needed when public_network is disabled), if empty it is auto-detected +# provisioner_ip: 192.0.2.1 #installer VM IP, if empty it is the next available IP in the admin subnet +# cidr: 192.0.2.0/24 #subnet in CIDR format 192.168.1.0/24, if empty it will be auto-detected +# dhcp_range: 192.0.2.2,192.0.2.10 #dhcp range for the admin network, if empty it will be automatically provisioned +# introspection_range: 192.0.2.100,192.0.2.120 #Range used for introspection phase (examining nodes) +#private_network: +# enabled: false #If disabled, internal api traffic will collapse to admin_network +#public_network: +# enabled: true #If disabled, public_network traffic will collapse to admin network +# network_type: '' +# bridged_interface: '' +# cidr: 192.168.37.0/24 +# gateway: 192.168.37.1 +# floating_ip_range: 192.168.37.200,192.168.37.220 #Range to allocate to floating IPs for the public network with Neutron +# usable_ip_range: 192.168.37.10,192.168.37.199 #Usable IP range on the public network, usually this is a shared subnet +# provisioner_ip: 192.168.37.1 +#storage_network: +# enabled: false #If disabled, storage_network traffic will collapse to admin network |