2015-09-09 11:08:37 -04:00
|
|
|
# A Heat environment file which can be used to enable a
|
|
|
|
# a Cisco Neutron plugin.
|
|
|
|
resource_registry:
|
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-10 10:17:16 -04:00
|
|
|
OS::TripleO::AllNodesExtraConfig: ../puppet/extraconfig/all_nodes/neutron-ml2-cisco-nexus-ucsm.yaml
|
2017-05-03 09:44:21 +01:00
|
|
|
OS::TripleO::Services::ComputeNeutronCorePlugin: OS::Heat::None
|
2015-09-09 11:08:37 -04:00
|
|
|
|
|
|
|
parameter_defaults:
|
|
|
|
NetworkUCSMIp: '127.0.0.1'
|
|
|
|
NetworkUCSMUsername: 'admin'
|
|
|
|
NetworkUCSMPassword: 'password'
|
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-10 10:17:16 -04:00
|
|
|
NetworkUCSMHostList: '12:34:56:78:9a:bc:profile1, 12:34:56:78:9a:de:profile2'
|
2015-09-09 11:08:37 -04:00
|
|
|
NetworkUCSMSupportedPciDevs: ''
|
2018-01-24 15:23:12 -05:00
|
|
|
NetworkUCSMHttpsVerify: 'true'
|
|
|
|
NetworkUCSMSpTemplateList: 'SP_Template1_path:SP_Template1:Host1,Host2 SP_Template2_path:SP_Template2:Host3,Host4'
|
|
|
|
NetworkUCSMVnicTemplateList: 'physnet1:vnic_template_path1:vt11 physnet2:vnic_template_path2:vt21'
|
2015-09-09 11:08:37 -04:00
|
|
|
NetworkNexusConfig: {}
|
|
|
|
NetworkNexusManagedPhysicalNetwork: ''
|
2017-12-12 15:01:57 -05:00
|
|
|
NetworkNexusSwitchHeartbeatTime: 30
|
2015-09-09 11:08:37 -04:00
|
|
|
NetworkNexusProviderVlanAutoCreate: 'true'
|
|
|
|
NetworkNexusProviderVlanAutoTrunk: 'true'
|
2016-02-18 19:51:11 +03:00
|
|
|
NetworkNexusVxlanGlobalConfig: 'false'
|
2015-09-09 11:08:37 -04:00
|
|
|
NetworkNexusVxlanVniRanges: '0:0'
|
|
|
|
NetworkNexusVxlanMcastRanges: '0.0.0.0:0.0.0.0'
|