summaryrefslogtreecommitdiffstats
path: root/tools/pharos-validator/src/validation_tool/doc/example/network.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pharos-validator/src/validation_tool/doc/example/network.yaml')
-rw-r--r--tools/pharos-validator/src/validation_tool/doc/example/network.yaml66
1 files changed, 33 insertions, 33 deletions
diff --git a/tools/pharos-validator/src/validation_tool/doc/example/network.yaml b/tools/pharos-validator/src/validation_tool/doc/example/network.yaml
index 34329cc..91c1be9 100644
--- a/tools/pharos-validator/src/validation_tool/doc/example/network.yaml
+++ b/tools/pharos-validator/src/validation_tool/doc/example/network.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:
@@ -30,16 +31,14 @@
#
# "api" is an optional network for splitting out OpenStack service API
# communication. This should be used for IPv6 deployments.
-
-network-config-metadata: #Meta data for the network configuration
+
+network-config-metadata: # Meta data for the network configuration
title: LF-POD-1 Network config #
version: 0.1 #
created: Mon Dec 28 2015 #
comment: None #
- #
-
- #
- #
+
+# yamllint disable rule:line-length
networks: # Network configurations
admin: # Admin configuration (pxe and jumpstart),
enabled: true
@@ -48,11 +47,11 @@ networks: # Network configurations
nic_type: interface # Indicates if this VM will be bridged to an interface, or to a bond
members:
- em1 # Member Interface to bridge to for installer VM (use multiple values for bond)
- vlan: 29 # VLAN tag to use for this network on Installer VM, native means none
- ip: 10.10.25.100 # IP to assign to Installer VM on this network
+ vlan: 29 # VLAN tag to use for this network on Installer VM, native means none
+ ip: 10.10.25.100 # IP to assign to Installer VM on this network
usable_ip_range: 10.10.25.0,10.10.25.100 # 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)
- cidr: 10.10.25.0/24 # Subnet in CIDR format 192.168.1.0/24
+ gateway: 192.0.2.1 # Gateway (only needed when public_network is disabled)
+ cidr: 10.10.25.0/24 # Subnet in CIDR format 192.168.1.0/24
dhcp_range: 10.10.25.50,10.10.25.99 # DHCP range for the admin network, if empty it will be automatically provisioned
dns-domain: opnfvlf.org # Admin network dns domain
dns-search: opnfvlf.org # Admin network dns-search domain
@@ -74,16 +73,16 @@ networks: # Network configurations
members:
- eth1
- eth2
- #
+
tenant: # Tenant network configuration
enabled: true
cidr: 11.0.0.0/24 # Subnet in CIDR format 192.168.1.0/24
vlan: 10 # VLAN tag to use for Overcloud hosts on this network
mtu: 64000 # 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
+ 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)
@@ -95,7 +94,7 @@ networks: # Network configurations
vlan: 10
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
enabled: true
@@ -108,11 +107,11 @@ networks: # Network configurations
ip: 192.168.37.12 # IP to assign to Installer VM on this network
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
+ 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
dns_nameservers: # External dns servers
- - 8.8.8.8 #
- - 8.8.4.4 #
+ - 8.8.8.8 #
+ - 8.8.4.4 #
ntp: # External upstream NTP servers
- 0.se.pool.ntp.org #
- 1.se.pool.ntp.org #
@@ -131,20 +130,20 @@ networks: # Network configurations
members:
- eth1
external_overlay: # External network to be created in OpenStack by Services tenant
- name: Public_internet
- type: flat
- gateway: 192.168.37.1
+ name: Public_internet
+ type: flat
+ gateway: 192.168.37.1
- private_cloud: # another external network
enabled: false
vlan: 101
mtu: 64000
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
- usable_ip_range: 192.168.38.10,192.168.38.199 #Usable IP range on the public network, usually this is a shared subnet
+ floating_ip_range: 192.168.38.200,192.168.38.220 # Range to allocate to floating IPs for the public network with Neutron
+ usable_ip_range: 192.168.38.10,192.168.38.199 # Usable IP range on the public network, usually this is a shared subnet
dns_nameservers: # External dns servers
- - 8.8.8.8 #
- - 8.8.4.4 #
+ - 8.8.8.8 #
+ - 8.8.4.4 #
ntp: # External upstream NTP servers
- 0.se.pool.ntp.org #
- 1.se.pool.ntp.org #
@@ -163,11 +162,11 @@ networks: # Network configurations
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
- #
+ name: private_cloud
+ type: vlan
+ segmentation_id: 101
+ gateway: 192.168.38.1
+
storage: # Storage network configuration
enabled: true
cidr: 12.0.0.0/24 # Subnet in CIDR format
@@ -186,7 +185,7 @@ networks: # Network configurations
members:
- eth3
- eth4
- #
+
api: # API network configuration
enabled: false
cidr: fd00:fd00:fd00:4000::/64 # Subnet in CIDR format
@@ -205,3 +204,4 @@ networks: # Network configurations
members:
- eth3
- eth4
+# yamllint enable rule:line-length