tripleo-heat-templates/environments
Steven Hardy 81785633bd Port Cisco Nexus/UCSM ExtraConfig to AllNodes
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
2015-09-17 15:50:39 +01:00
..
cinder-netapp-config.yaml Fix Puppet Configuring NetApp Cinder Backend 2015-07-20 11:09:44 -04:00
mongodb-nojournal.yaml Allow a user to disable MongoDB journaling 2015-07-13 10:29:38 +02:00
net-bond-with-vlans.yaml Use parameter_defaults in env files 2015-07-09 11:19:43 -04:00
net-single-nic-with-vlans.yaml Use parameter_defaults in env files 2015-07-09 11:19:43 -04:00
network-isolation.yaml Include Redis VIP in example environment 2015-06-25 12:03:02 -07:00
neutron-ml2-bigswitch.yaml Big Switch Neutron ML2 plugin integration 2015-09-16 14:32:48 +02:00
neutron-ml2-cisco-nexus-ucsm.yaml Port Cisco Nexus/UCSM ExtraConfig to AllNodes 2015-09-17 15:50:39 +01:00
overcloud-steps.yaml overcloud stepped deployment environment 2015-05-22 21:30:57 +01:00
puppet-ceph-devel.yaml Add a directory for overcloud heat environments 2015-05-15 12:28:00 +02:00
puppet-ceph-external.yaml Support for using external Ceph clusters 2015-08-13 16:19:04 +02:00
puppet-pacemaker.yaml Enable loadbalancing of the Redis VIP, defaults to False 2015-06-18 14:31:52 +02:00
puppet-tenant-vlan.yaml Wire Neutron VLAN ranges param as array to puppet 2015-06-05 09:27:42 -04:00
README.md Add a directory for overcloud heat environments 2015-05-15 12:28:00 +02:00
storage-environment.yaml Provide a sample storage environment file 2015-07-30 15:25:25 +02:00

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