Enforce static configuration instead of DHCP 95/56795/21
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sat, 7 Apr 2018 03:27:48 +0000 (05:27 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Tue, 19 Jun 2018 13:47:11 +0000 (15:47 +0200)
commit33c017d388bf0f9cef5199c186bec5b4fd01f767
tree7a90ebe50f00224bb51dce6bc772b9ec9d8c5e8c
parent3dbd313cc111455f8cf88d0d072ec8a2f3c6f705
Enforce static configuration instead of DHCP

- noha: 'accept_policy: open_mode' to align with ha scenarios;
- s/cmp01/cmp001/g to align all scenarios and allow code reuse;
- rename network params: s/dhcp/mcpcontrol/g, cleanup;
- computes XDF data: drop 'opnfv_*' layer of params, cleanup;
- local vPDF: add comments with default roles by node index;
- parameterize all netmasks;
- drop unused address/netmask for 'proto: manual' interfaces;
- virsh_net: cleanup definitions, remove hardcodes, align IP on
  jumpserver and DHCP range with MaaS for pxebr;
- maas: parameterize hardcoded '/24' cidr for PXE/admin, refactor
  maas.region.machines parameterization;
- merge <all-mcp-arch-common/infra/config_*pdf.yaml.j2> templates;
- move reclass.storage definitions of compute nodes to common dir;
- drop 'openstack_compute_*' reclass params in favor of expanding
  them via j2 directly in reclass.storage params;
- adopt `nm.cluster.has_*_nodes` where possible;
- obsolete `runtime.yml` from reclass model;
- refactor arch-specific reclass param selection;
- remove unused defaults in favor of mandatory IDF properties;
- noha: prepare for baremetal node support in cinder_lvm_devices;
- interfaces: add interface_mtu and 'noifupdown: true' everywhere;
- interfaces: use j2 macros to generate eth/vlan config;
- states cleanup: remove DHCP route disable workaround on prx/cmp;
- allow configuring NTP servers via:
  `idf.fuel.network.ntp_strata_host{1,2}`;
- ovs_bridge: Allow setting gateway, dns-nameservers
- apache: Adjust module list for novcp class inheritance;
- glusterfs PPA: pin with same prio of MCP repos for novcp scenario;

JIRA: FUEL-319
JIRA: FUEL-326
JIRA: FUEL-337

Change-Id: Ia6ad64ba8cade85a75fb22c9a2505decc3834360
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
71 files changed:
docs/release/installation/installation.instruction.rst
mcp/config/labs/local/idf-virtual1.yaml
mcp/config/labs/local/virtual1.yaml
mcp/config/scenario/os-nosdn-nofeature-ha.yaml.j2
mcp/config/scenario/os-nosdn-nofeature-noha.yaml
mcp/config/scenario/os-nosdn-ovs-ha.yaml.j2
mcp/config/scenario/os-nosdn-ovs-noha.yaml
mcp/config/scenario/os-odl-nofeature-ha.yaml.j2
mcp/config/scenario/os-odl-nofeature-noha.yaml
mcp/config/scenario/os-ovn-nofeature-ha.yaml.j2
mcp/config/scenario/os-ovn-nofeature-noha.yaml
mcp/config/states/baremetal_init
mcp/config/states/virtual_control_plane
mcp/patches/0015-Set-ovs-bridges-as-L3-interfaces.patch
mcp/patches/reclass-system-salt-model/0003-system.repo-Pin-glusterfs-with-higher-prio.patch [new file with mode: 0644]
mcp/reclass/classes/cluster/.gitignore
mcp/reclass/classes/cluster/all-mcp-arch-common/infra/config_dpdk_pdf.yml.j2 [deleted file]
mcp/reclass/classes/cluster/all-mcp-arch-common/infra/config_pdf.yml.j2
mcp/reclass/classes/cluster/all-mcp-arch-common/init.yml [deleted file]
mcp/reclass/classes/cluster/all-mcp-arch-common/init.yml.j2 [moved from mcp/reclass/classes/cluster/all-mcp-arch-common/aarch64/init.yml with 68% similarity]
mcp/reclass/classes/cluster/all-mcp-arch-common/opnfv/init.yml [deleted file]
mcp/reclass/classes/cluster/all-mcp-arch-common/opnfv/init.yml.j2 [new file with mode: 0644]
mcp/reclass/classes/cluster/all-mcp-arch-common/x86_64/init.yml [deleted file]
mcp/reclass/classes/cluster/mcp-common-ha/include/maas_proxy.yml.j2 [moved from mcp/reclass/classes/cluster/mcp-common-ha/include/maas_proxy.yml with 95% similarity]
mcp/reclass/classes/cluster/mcp-common-ha/infra/config.yml.j2 [moved from mcp/reclass/classes/cluster/mcp-common-ha/infra/config.yml with 66% similarity]
mcp/reclass/classes/cluster/mcp-common-ha/infra/init.yml.j2
mcp/reclass/classes/cluster/mcp-common-ha/infra/kvm_novcp.yml.j2 [moved from mcp/reclass/classes/cluster/all-mcp-arch-common/opnfv/runtime.yml.j2 with 57% similarity]
mcp/reclass/classes/cluster/mcp-common-ha/infra/kvm_pdf.yml.j2
mcp/reclass/classes/cluster/mcp-common-ha/infra/maas.yml [deleted file]
mcp/reclass/classes/cluster/mcp-common-ha/infra/maas.yml.j2 [moved from mcp/reclass/classes/cluster/mcp-common-ha/infra/maas_pdf.yml.j2 with 56% similarity]
mcp/reclass/classes/cluster/mcp-common-ha/openstack_compute.yml
mcp/reclass/classes/cluster/mcp-common-ha/openstack_compute_pdf.yml.j2
mcp/reclass/classes/cluster/mcp-common-ha/openstack_control.yml.j2
mcp/reclass/classes/cluster/mcp-common-ha/openstack_init.yml.j2
mcp/reclass/classes/cluster/mcp-common-ha/openstack_interface_vcp_biport.yml.j2
mcp/reclass/classes/cluster/mcp-common-ha/openstack_interface_vcp_triport.yml.j2
mcp/reclass/classes/cluster/mcp-common-ha/openstack_proxy.yml.j2
mcp/reclass/classes/cluster/mcp-common-ha/openstack_telemetry.yml.j2 [moved from mcp/reclass/classes/cluster/mcp-common-ha/openstack_telemetry.yml with 96% similarity]
mcp/reclass/classes/cluster/mcp-common-noha/infra/config.yml.j2 [moved from mcp/reclass/classes/cluster/mcp-common-noha/infra/config.yml with 53% similarity]
mcp/reclass/classes/cluster/mcp-common-noha/init_options.yml
mcp/reclass/classes/cluster/mcp-common-noha/openstack_compute.yml
mcp/reclass/classes/cluster/mcp-common-noha/openstack_compute_pdf.yml.j2
mcp/reclass/classes/cluster/mcp-common-noha/openstack_control.yml
mcp/reclass/classes/cluster/mcp-common-noha/openstack_control_pdf.yml.j2
mcp/reclass/classes/cluster/mcp-common-noha/openstack_gateway_pdf.yml.j2
mcp/reclass/classes/cluster/mcp-common-noha/openstack_init.yml.j2 [moved from mcp/reclass/classes/cluster/mcp-common-noha/openstack_init.yml with 92% similarity]
mcp/reclass/classes/cluster/mcp-odl-ha/infra/config.yml
mcp/reclass/classes/cluster/mcp-odl-ha/infra/maas.yml.j2
mcp/reclass/classes/cluster/mcp-odl-ha/openstack/compute_pdf.yml.j2
mcp/reclass/classes/cluster/mcp-odl-noha/infra/config.yml.j2
mcp/reclass/classes/cluster/mcp-odl-noha/opendaylight/control_pdf.yml.j2
mcp/reclass/classes/cluster/mcp-odl-noha/openstack/compute.yml.j2
mcp/reclass/classes/cluster/mcp-odl-noha/openstack/gateway.yml
mcp/reclass/classes/cluster/mcp-ovn-ha/openstack/compute_pdf.yml.j2
mcp/reclass/classes/cluster/mcp-ovn-noha/openstack/compute.yml.j2 [moved from mcp/reclass/classes/cluster/mcp-ovn-noha/openstack/compute.yml with 86% similarity]
mcp/reclass/classes/cluster/mcp-ovs-dpdk-ha/infra/config.yml
mcp/reclass/classes/cluster/mcp-ovs-dpdk-noha/infra/config.yml
mcp/reclass/classes/cluster/mcp-ovs-dpdk-noha/openstack/compute.yml.j2 [moved from mcp/reclass/classes/cluster/mcp-ovs-dpdk-noha/openstack/compute.yml with 83% similarity]
mcp/reclass/classes/cluster/mcp-ovs-ha/openstack/compute_pdf.yml.j2
mcp/reclass/classes/cluster/mcp-ovs-noha/infra/config.yml
mcp/reclass/classes/cluster/mcp-ovs-noha/openstack/compute.yml.j2 [moved from mcp/reclass/classes/cluster/mcp-ovs-noha/openstack/compute.yml with 73% similarity]
mcp/reclass/classes/cluster/mcp-ovs-noha/openstack/gateway.yml
mcp/salt-formulas/maas/pxe_nat.sls
mcp/scripts/lib_template.sh
mcp/scripts/pharos
mcp/scripts/salt.sh
mcp/scripts/user-data.admin.sh.j2
mcp/scripts/virsh_net/net_mcpcontrol.xml.j2
mcp/scripts/virsh_net/net_mgmt.xml.j2
mcp/scripts/virsh_net/net_public.xml.j2
mcp/scripts/virsh_net/net_pxebr.xml.j2