attributes: metadata: restrictions: - condition: cluster:net_provider != 'neutron' or networking_parameters:segmentation_type != 'gre' action: hide mem: value: false label: "Midokura Enterprise MidoNet (MEM)" description: "If selected, Midokura Enterprise MidoNet (MEM) will be installed." weight: 6 type: "checkbox" mem_version: value: "v1.9" label: "MEM release version" description: "Choose the Midokura Enterprise MidoNet (MEM) release version" type: "select" weight: 7 values: - data: "v1.9" label: "v1.9" restrictions: - condition: "settings:midonet-fuel-plugin.mem.value == false" strict: false message: "Midokura Enterprise MidoNet (MEM) must be enabled" mem_repo_user: value: '' label: "MEM repository username" description: "Username for Midokura Enterprise MidoNet (MEM) repository" type: "text" weight: 8 restrictions: - condition: "settings:midonet-fuel-plugin.mem.value == false" strict: false message: "Midokura Enterprise MidoNet (MEM) must be enabled" mem_repo_password: value: '' label: "MEM repository password" description: "Password for Midokura Enterprise MidoNet (MEM) repository" type: "text" weight: 9 restrictions: - condition: "settings:midonet-fuel-plugin.mem.value == false" strict: false message: "Midokura Enterprise MidoNet (MEM) must be enabled" tunnel_type: type: "select" weight: 10 value: "gre" label: "Tunnel Type" description: "Choose which technology MidoNet will use to encapsulate data between hosts" values: - data: "gre" label: "GRE tunnels" - data: "vxlan" label: "VXLAN tunnels" restrictions: - condition: "settings:public_network_assignment.assign_to_all_nodes == false" action: "hide" # Floating IP range # floating_cidr: value: '' label: 'Floating Network CIDR' description: 'CIDR of the Floating Network. Will override the default settings' weight: 30 type: "text" regex: source: '^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])/(3[012]|[12]?[0-9])$' error: 'Floating Network must be a CIDR' gateway: value: '' label: 'Floating Network Gateway IP' description: 'Gateway of the Floating Network. Will override the default settings' weight: 35 type: "text" regex: source: '^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$' error: 'Floating Network gateway must be an IP address' floating_ip_range_start: value: '' label: 'Floating Range start' description: 'First IP address of the Floating Range. Will override the default settings' weight: 36 type: "text" regex: source: '^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$' error: 'Floating range start value must be an IP address' floating_ip_range_end: value: '' label: 'Floating Range end' description: 'Last IP address of the Floating Range. Will override the default settings' weight: 37 type: "text" regex: source: '^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$' error: 'Floating range last value must be an IP address' ## BGP Options ### local_as: value: '' label: 'Local AS' description: 'Autonomous System number' weight: 55 type: "text" regex: source: '^([0-9]){5}$' error: "Local AS must be an integer of 5 digits" remote_as1: value: '' label: 'BGP peer 1 AS' description: 'Autonomous System number of the first BGP peer' weight: 65 type: "text" regex: source: '^([0-9]){5}$' error: "Remote AS must be an integer of 5 digits" remote_ip1: value: '' label: 'BGP peer 1 IP address' description: 'IP address of the first BGP peer' weight: 75 type: "text" regex: source: '^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$' error: 'Remote BGP peer must be an IP address' remote_as2: value: '' label: 'BGP peer 2 AS' description: 'Autonomous System number of the second BGP peer' weight: 85 type: "text" regex: source: '^$|(^([0-9]){5}$)' error: "Remote AS must be an integer of 5 digits or empty" remote_ip2: value: '' label: 'BGP peer 2 IP address' description: 'IP address of the second BGP peer' weight: 95 type: "text" regex: source: '^$|(^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$)' error: 'Remote BGP peer must be an IP address or empty'