attributes: # Show contrail only in supported network config metadata: restrictions: - condition: "not (cluster:net_provider == 'neutron' and networking_parameters:segmentation_type != 'vlan')" message: "Please use Neutron with tunneling segmentation." contrail_asnum: value: '64512' label: 'AS Number' description: 'AS number for BGP communication' weight: 20 type: "text" regex: source: '^([1-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-4])$' error: "Invalid AS number" contrail_gateways: value: '10.109.4.250' label: 'GW IP' description: 'Comma separated IP addresses of BGP peers.' weight: 40 type: "text" regex: source: '^(?!(?:0(?:\.0){3}|255(?:\.255){3}))(?:\d|1?\d\d|2[0-4]\d|25[0-5])(?:\.(?:\d|1?\d\d|2[0-4]\d|25[0-5])){3}(?:,\s*(?!(?:0(?:\.0){3}|255(?:\.255){3}))(?:\d|1?\d\d|2[0-4]\d|25[0-5])(?:\.(?:\d|1?\d\d|2[0-4]\d|25[0-5])){3})*$' error: "Invalid IP address list" contrail_single_gateway: value: '' label: 'GW IP for Private net' description: 'IP address of gateway in private net, only for single nodegroup deployment.' weight: 40 type: "text" regex: source: '(^$)|(^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$)' error: "Invalid IP address" contrail_external: value: '10.100.1.0/24' label: 'Floating IP CIDR' description: 'The CIDR for floating network' weight: 50 type: "text" regex: source: '^(?!(?:0(?:\.0){3}|255(?:\.255){3})\/([1-9]|[1-2]\d|3[0-2])$)(?:\d|1?\d\d|2[0-4]\d|25[0-5])(?:\.(?:\d|1?\d\d|2[0-4]\d|25[0-5])){3}\/([1-9]|[1-2]\d|3[0-2])$' error: "Invalid CIDR" contrail_route_target: value: '10000' label: 'Route Target' description: 'The route target number for Contrail external network' weight: 60 type: "text" regex: source: '^(429496729[0-5]|42949672[0-8]\d|4294967[01]\d{2}|429496[0-6]\d{3}|42949[0-5]\d{4}|4294[0-8]\d{5}|429[0-3]\d{6}|42[0-8]\d{7}|4[01]\d{8}|[1-3]\d{9}|[1-9][0-9]{0,8})$' error: "Invalid target" contrail_api_public_port: value: "8082" label: "Listen port for Contrail API on Public VIP" description: "The listen port for Contrail API endpoint for Public VIP. Default value 8082 may not be used if Murano is installed, as it uses the same port" weight: 62 type: "text" regex: source: '^(102[4-9]|10[3-9]\d|1[1-9]\d{2}|[2-9]\d{3}|[1-5]\d{4}|6[0-4]\d{3}|65[0-4]\d{2}|655[0-2]\d|6553[0-5])$' error: "Invalid port" contrail_global_dpdk: value: false label: "Enable DPDK feature for this environment." description: "Enable this option to unlock the DPDK feature.\nNOTE: You still have to assign DPDK-role to compute nodes to enable DPDK on them." weight: 70 type: "checkbox" vrouter_core_mask: value: "0xf" label: "CPU pinning" description: "Hexadecimal mask that determines how many and what exactly processors will be used for dpdk vrouter" weight: 131 type: "text" regex: source: '^0[xX][0-9a-fA-F]+$' error: "Invalid hexadecimal value" restrictions: - condition: "not (settings:contrail.metadata.enabled == true and settings:contrail.contrail_global_dpdk.value == true)" action: "hide" patch_nova: value: true label: "Patch Nova" description: "Patch Nova packages for dpdk-vrouter" weight: 140 type: "checkbox" restrictions: - action: hide condition: not (settings:contrail.metadata.enabled == true and settings:contrail.contrail_global_dpdk.value == true) install_contrail_qemu_lv: value: true label: "Install Qemu and Libvirt from Contrail" description: "Install Qemu and Libvirt packages from contrail repository" weight: 150 type: "checkbox" restrictions: - condition: "not (settings:contrail.metadata.enabled == true and settings:contrail.contrail_global_dpdk.value == true)" action: "hide" dpdk_on_vf: value: false label: "DPDK on VF" description: "Configure DPDK vrouter use VF network adapter" weight: 160 type: "checkbox" restrictions: - condition: "not (settings:contrail.metadata.enabled == true and settings:contrail.contrail_global_dpdk.value == true)" action: "hide" dpdk_physnet: value: 'physnet2' label: 'Provide name for physical net' description: > This physical network will be provided for SRIOV capable interfaces used with DPDK on VF. weight: 220 type: 'text' regex: source: '^\w+$' error: "Name has to be alphanumeric" restrictions: - action: hide condition: not (settings:contrail.dpdk_on_vf.value == true) enable_tor_agents: value: false label: "Enable ToR agents" description: "Enable this option to unlock the Tor Agent configuration feature." weight: 230 type: "checkbox" tor_agents_configurations: value: "" label: "Configuration for TOR agents" description: "Provide here configuration data for ToR agents in YAML format" weight: 250 type: "textarea" regex: source: '.' error: "Provide information for ToR agents" restrictions: - condition: "settings:contrail.enable_tor_agents.value == false" action: "hide" provision_networks: value: true label: "Provision ostf networks" description: "Disable this option to disable provisioning ostf networks" weight: 260 type: "checkbox" esxi_datastore_name: value: "nfs" label: "ESXi datastore name" description: "Name of datastore where ContrailVM will be spawned" weight: 270 type: "text" regex: source: '^\w+$' error: "Invalid datastore name" restrictions: - condition: "settings:common.use_vcenter.value == false" action: "hide" esxi_uplink_ext: value: "vmnic1" label: "ESXi uplink admin" description: "Name of interface that provide connection between ESXi node and Fuel admin network" weight: 280 type: "text" regex: source: '^\w+$' error: "Invalid ESXi uplink name" restrictions: - condition: "settings:common.use_vcenter.value == false" action: "hide" esxi_uplink_priv: value: "vmnic2" label: "ESXi uplink private" description: "Name of interface that provide connection between ESXi node and Fuel private network" weight: 290 type: "text" regex: source: '^\w+$' error: "Invalid ESXi uplink name" restrictions: - condition: "settings:common.use_vcenter.value == false" action: "hide" dc_name: value: "Datacenter" label: "vCenter Datacenter name" description: "Name of vCenter Datacenter" weight: 300 type: "text" regex: source: '^[A-Za-z0-9_-]+$' error: "Invalid Datacenter name" restrictions: - condition: "settings:common.use_vcenter.value == false" action: "hide" dvs_external: value: "Contrail-DVS-Ext" label: "External DVS name" description: "Name of DVS that provide connection between ESXi nodes and Fuel admin network" weight: 310 type: "text" regex: source: '^[A-Za-z0-9_-]+$' error: "Invalid DVS name" restrictions: - condition: "settings:common.use_vcenter.value == false" action: "hide" dvs_private: value: "Contrail-DVS-Priv" label: "Private DVS name" description: "Name of DVS that provide connection between ESXi nodes and Fuel private network" weight: 320 type: "text" regex: source: '^[A-Za-z0-9_-]+$' error: "Invalid DVS name" restrictions: - condition: "settings:common.use_vcenter.value == false" action: "hide" dvs_internal: value: "Contrail-DVS-Int" label: "Internal DVS name" description: "Name of DVS that need for internal contrail traffic" weight: 330 type: "text" regex: source: '^[A-Za-z0-9_-]+$' error: "Invalid DVS name" restrictions: - condition: "settings:common.use_vcenter.value == false" action: "hide" aaa_mode: type: "select" weight: 64 value: "cloud-admin" label: "AAA Mode" description: "Authentication mode" values: - data: "rbac" label: "Role Based Access Control" - data: "cloud-admin" label: "Cloud Admin"