From 738f6c3b68d1179de1ff790f9e72c25f10874da4 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Mon, 29 Jan 2018 02:46:13 +0100 Subject: [FN VMs] remove graphics Since VCP VMs (created via salt formula) do not have a video controller defined in their domain XMLs, network devices end on different PCI slots and hence have different names assigned (ens2+ vs foundation node VMs, which start with ens3). To align network interface names for VMs on jumpserver vs kvm nodes, and reduce confusion, remove the video controller from FN VMs. This allows some cleanup: - drop extra AArch64 args from virt-install; - unify 'opnfv_vcp_vm_*' and 'opnfv_fn_vm_*' variables; Change-Id: I0d108b00914b3eaaa03b67c652174f8ed4573118 Signed-off-by: Alexandru Avadanii --- .../classes/cluster/baremetal-mcp-pike-common-ha/infra/config.yml | 6 +++--- .../classes/cluster/baremetal-mcp-pike-common-ha/infra/maas.yml | 6 +++--- .../baremetal-mcp-pike-common-ha/openstack_interface_vcp_biport.yml | 4 ++-- .../openstack_interface_vcp_triport.yml | 6 +++--- 4 files changed, 11 insertions(+), 11 deletions(-) (limited to 'mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha') diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/infra/config.yml b/mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/infra/config.yml index 4d7fa1eb1..27424f6b9 100644 --- a/mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/infra/config.yml +++ b/mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/infra/config.yml @@ -38,9 +38,9 @@ parameters: salt_master_host: ${_param:infra_config_deploy_address} # yamllint disable rule:line-length salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1" - dhcp_nic: ${_param:opnfv_fn_vm_primary_interface} - single_nic: ${_param:opnfv_fn_vm_secondary_interface} - pxe_nic: ${_param:opnfv_fn_vm_tertiary_interface} + dhcp_nic: ${_param:opnfv_vm_primary_interface} + single_nic: ${_param:opnfv_vm_secondary_interface} + pxe_nic: ${_param:opnfv_vm_tertiary_interface} linux: network: interface: diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/infra/maas.yml b/mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/infra/maas.yml index da28abf06..3bf87dca4 100644 --- a/mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/infra/maas.yml +++ b/mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/infra/maas.yml @@ -12,9 +12,9 @@ classes: - cluster.baremetal-mcp-pike-common-ha.infra.lab_proxy_pdf parameters: _param: - dhcp_interface: ${_param:opnfv_fn_vm_primary_interface} - primary_interface: ${_param:opnfv_fn_vm_secondary_interface} - pxe_interface: ${_param:opnfv_fn_vm_tertiary_interface} + dhcp_interface: ${_param:opnfv_vm_primary_interface} + primary_interface: ${_param:opnfv_vm_secondary_interface} + pxe_interface: ${_param:opnfv_vm_tertiary_interface} interface_mtu: 1500 # MaaS has issues using MTU > 1500 for PXE interface pxe_interface_mtu: 1500 diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/openstack_interface_vcp_biport.yml b/mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/openstack_interface_vcp_biport.yml index f0fabbafa..9c04ca175 100644 --- a/mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/openstack_interface_vcp_biport.yml +++ b/mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/openstack_interface_vcp_biport.yml @@ -10,8 +10,8 @@ classes: - cluster.baremetal-mcp-pike-common-ha.include.proxy parameters: _param: - dhcp_nic: ${_param:opnfv_vcp_vm_primary_interface} - single_nic: ${_param:opnfv_vcp_vm_secondary_interface} + dhcp_nic: ${_param:opnfv_vm_primary_interface} + single_nic: ${_param:opnfv_vm_secondary_interface} linux: network: interface: diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/openstack_interface_vcp_triport.yml b/mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/openstack_interface_vcp_triport.yml index 47f2f76f4..8c07e9156 100644 --- a/mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/openstack_interface_vcp_triport.yml +++ b/mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/openstack_interface_vcp_triport.yml @@ -10,9 +10,9 @@ classes: - cluster.baremetal-mcp-pike-common-ha.include.proxy parameters: _param: - dhcp_nic: ${_param:opnfv_vcp_vm_primary_interface} - single_nic: ${_param:opnfv_vcp_vm_secondary_interface} - control_nic: ${_param:opnfv_vcp_vm_tertiary_interface} + dhcp_nic: ${_param:opnfv_vm_primary_interface} + single_nic: ${_param:opnfv_vm_secondary_interface} + control_nic: ${_param:opnfv_vm_tertiary_interface} linux: network: interface: -- cgit 1.2.3-korg