81785633bd
Switch the implemention from a pre_deploy ExtraConfig to an AllNodesExtraConfig, so we can collect the mac->hostname mapping for all nodes, then calculate a NexusConfig based on that and a provided mapping of switch ports to mac address. The same conversion is also done to the NetworkUCSMHostList: The port mappings are provided via parameter_defaults like: parameter_defaults: NetworkNexusConfig: { "bxb-tor-1": { "username": "admin", "ssh_port": 22, "password": "lab", "ip_address": "10.86.7.204", "nve_src_intf": 0, "physnet": "datacentre", "servers": { "fa:16:3e:fa:be:ef": "1/11", "fa:16:3e:fa:5e:cf": "1/23", "fa:16:3e:fa:12:34": "2/34" } } } NetworkUCSMHostList: 'fa:16:3e:fa:be:ef:profile1' This results in an entry like this appended to /etc/puppet/hieradata/neutron_cisco_data.yaml: neutron::plugins::ml2::cisco::nexus::nexus_config:\ {"bxb-tor-1": {"username": "admin", "nve_src_intf": 0, "ssh_port": 22, "servers": {"overcloud-compute02": "2/34", "overcloud-compute01": "1/23", "overcloud-control01": "1/11"}, "password": "lab", "ip_address": "10.86.7.204", "physnet": "datacentre"}} neutron::plugins::ml2::cisco::ucsm::ucsm_host_list: overcloud-control01:profile1 Co-Authored-By: Rob Pothier <rpothier@cisco.com> Co-Authored-By: Tim Swanson <tiswanso@cisco.com> Change-Id: I372c3ffb6bd85b7239fcb9f3fc4fa51cd4a39332 |
||
---|---|---|
.. | ||
cinder-netapp-config.yaml | ||
mongodb-nojournal.yaml | ||
net-bond-with-vlans.yaml | ||
net-single-nic-with-vlans.yaml | ||
network-isolation.yaml | ||
neutron-ml2-bigswitch.yaml | ||
neutron-ml2-cisco-nexus-ucsm.yaml | ||
overcloud-steps.yaml | ||
puppet-ceph-devel.yaml | ||
puppet-ceph-external.yaml | ||
puppet-pacemaker.yaml | ||
puppet-tenant-vlan.yaml | ||
README.md | ||
storage-environment.yaml |
This directory contains Heat environment file snippets which can be used to enable features in the Overcloud.
Configuration
These can be enabled using the -e [path to environment yaml] option with heatclient.
Below is an example of how to enable the Ceph template using devtest_overcloud.sh:
export OVERCLOUD\_CUSTOM\_HEAT\_ENV=$TRIPLEO\_ROOT/tripleo-heat-templates/environments/ceph_devel.yaml