diff --git a/defaults/main.yml b/defaults/main.yml index cb7e5511..e84460d1 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -323,6 +323,8 @@ octavia_neutron_management_network_name: lbaas-mgmt octavia_provider_network_name: lbaas # Network type octavia_provider_network_type: flat +# Network segmentation ID if vlan, gre... +#octavia_provider_segmentation_id: # Network CIDR octavia_management_net_subnet_cidr: 172.29.232.0/22 # Example allocation range: diff --git a/tasks/octavia_mgmt_network.yml b/tasks/octavia_mgmt_network.yml index 9a3c2620..3c8c7478 100644 --- a/tasks/octavia_mgmt_network.yml +++ b/tasks/octavia_mgmt_network.yml @@ -30,6 +30,7 @@ name: "{{ octavia_neutron_management_network_name }}" provider_network_type: "{{ octavia_provider_network_type }}" provider_physical_network: "{{ octavia_provider_network_name }}" + provider_segmentation_id: "{{ octavia_provider_segmentation_id | default(omit) }}" when: octavia_service_net_setup - name: Ensure mgmt subnet exists