diff options
Diffstat (limited to 'mcp/reclass/classes/cluster/mcp-common-noha/infra')
-rw-r--r-- | mcp/reclass/classes/cluster/mcp-common-noha/infra/config.yml.j2 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mcp/reclass/classes/cluster/mcp-common-noha/infra/config.yml.j2 b/mcp/reclass/classes/cluster/mcp-common-noha/infra/config.yml.j2 index ac53e8225..dc31a93ca 100644 --- a/mcp/reclass/classes/cluster/mcp-common-noha/infra/config.yml.j2 +++ b/mcp/reclass/classes/cluster/mcp-common-noha/infra/config.yml.j2 @@ -29,6 +29,15 @@ parameters: enabled: true name: ${_param:opnfv_fn_vm_secondary_interface} type: eth +{%- if conf.idf.fuel.jumphost.get('trunks', {}).get('mgmt', False) and (nm.vlan_mgmt | int > 0) %} + proto: manual + single_int_vlan: + enabled: true + type: vlan + name: ${_param:opnfv_fn_vm_secondary_interface}.{{ nm.vlan_mgmt }} + use_interfaces: + - ${_param:opnfv_fn_vm_secondary_interface} +{%- endif %} proto: static address: ${_param:single_address} netmask: ${_param:opnfv_net_mgmt_mask} |