Merge "Addition of Nuage as mechanism driver for ML2" into stable/newton
This commit is contained in:
commit
640367a183
|
@ -1,13 +1,13 @@
|
|||
# A Heat environment file which can be used to enable a
|
||||
# a Neutron Nuage backend on the controller, configured via puppet
|
||||
resource_registry:
|
||||
OS::TripleO::Services::NeutronDhcpAgent: OS::Heat::None
|
||||
OS::TripleO::Services::NeutronL3Agent: OS::Heat::None
|
||||
OS::TripleO::Services::NeutronMetadataAgent: OS::Heat::None
|
||||
OS::TripleO::Services::NeutronOvsAgent: OS::Heat::None
|
||||
OS::TripleO::Services::ComputeNeutronOvsAgent: OS::Heat::None
|
||||
# Override the NeutronCorePlugin to use Nuage
|
||||
OS::TripleO::Services::NeutronCorePlugin: OS::TripleO::Services::NeutronCorePluginNuage
|
||||
OS::TripleO::Services::ComputeNeutronCorePlugin: ../puppet/services/neutron-compute-plugin-nuage.yaml
|
||||
OS::TripleO::Services::NeutronCorePlugin: OS::TripleO::Services::NeutronCorePluginML2Nuage
|
||||
|
||||
parameter_defaults:
|
||||
NeutronNuageNetPartitionName: 'default_name'
|
||||
|
@ -18,9 +18,18 @@ parameter_defaults:
|
|||
NeutronNuageBaseURIVersion: 'default_uri_version'
|
||||
NeutronNuageCMSId: ''
|
||||
UseForwardedFor: true
|
||||
NeutronCorePlugin: 'nuage_neutron.plugins.nuage.plugin.NuagePlugin'
|
||||
NeutronEnableDHCPAgent: false
|
||||
NeutronServicePlugins: []
|
||||
NovaOVSBridge: 'alubr0'
|
||||
controllerExtraConfig:
|
||||
NeutronServicePlugins: ''
|
||||
NeutronDBSyncExtraParams: '--config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini'
|
||||
NeutronTypeDrivers: ''
|
||||
NeutronNetworkType: ''
|
||||
NeutronMechanismDrivers: ''
|
||||
NeutronPluginExtensions: ''
|
||||
NeutronFlatNetworks: ''
|
||||
NeutronTunnelIdRanges: ''
|
||||
NeutronNetworkVLANRanges: ''
|
||||
NeutronVniRanges: ''
|
||||
NovaOVSBridge: 'default_bridge'
|
||||
NeutronMetadataProxySharedSecret: 'default'
|
||||
InstanceNameTemplate: 'inst-%08x'
|
||||
ControllerExtraConfig:
|
||||
neutron::api_extensions_path: '/usr/lib/python2.7/site-packages/neutron/plugins/nuage/'
|
||||
|
|
|
@ -2,7 +2,13 @@
|
|||
# Nuage backend on the compute, configured via puppet
|
||||
resource_registry:
|
||||
OS::TripleO::ComputeExtraConfigPre: ../puppet/extraconfig/pre_deploy/compute/nova-nuage.yaml
|
||||
OS::TripleO::Services::ComputeNeutronCorePlugin: ../puppet/services/neutron-compute-plugin-nuage.yaml
|
||||
|
||||
parameter_defaults:
|
||||
NuageActiveController: '0.0.0.0'
|
||||
NuageStandbyController: '0.0.0.0'
|
||||
NovaOVSBridge: 'default_bridge'
|
||||
NovaComputeLibvirtType: 'default_type'
|
||||
NovaIPv6: False
|
||||
NuageMetadataProxySharedSecret: 'default'
|
||||
NuageNovaApiEndpoint: 'default_endpoint'
|
||||
|
|
|
@ -144,6 +144,7 @@ resource_registry:
|
|||
OS::TripleO::Services::NeutronCorePluginML2OVN: puppet/services/neutron-plugin-ml2-ovn.yaml
|
||||
OS::TripleO::Services::NeutronCorePluginPlumgrid: puppet/services/neutron-plugin-plumgrid.yaml
|
||||
OS::TripleO::Services::NeutronCorePluginNuage: puppet/services/neutron-plugin-nuage.yaml
|
||||
OS::TripleO::Services::NeutronCorePluginML2Nuage: puppet/services/neutron-plugin-ml2-nuage.yaml
|
||||
OS::TripleO::Services::NeutronCorePluginOpencontrail: puppet/services/neutron-plugin-opencontrail.yaml
|
||||
OS::TripleO::Services::NeutronCorePluginMidonet: puppet/services/neutron-midonet.yaml
|
||||
OS::TripleO::Services::NeutronOvsAgent: puppet/services/neutron-ovs-agent.yaml
|
||||
|
|
|
@ -60,6 +60,12 @@ parameters:
|
|||
currently in effect to compensate for some additional overhead when
|
||||
deploying with some network configurations (e.g. network isolation over
|
||||
single network interfaces)
|
||||
NeutronDBSyncExtraParams:
|
||||
default: ''
|
||||
description: |
|
||||
String of extra command line parameters to append to the neutron-db-manage
|
||||
upgrade head command.
|
||||
type: string
|
||||
ServiceNetMap:
|
||||
default: {}
|
||||
description: Mapping of service_name -> network name. Typically set
|
||||
|
@ -100,3 +106,4 @@ outputs:
|
|||
neutron::db::database_db_max_retries: -1
|
||||
neutron::db::database_max_retries: -1
|
||||
neutron::global_physnet_mtu: {get_param: NeutronGlobalPhysnetMtu}
|
||||
neutron::db::sync::extra_params: {get_param: NeutronDBSyncExtraParams}
|
||||
|
|
|
@ -0,0 +1,84 @@
|
|||
heat_template_version: 2016-04-08
|
||||
|
||||
description: >
|
||||
OpenStack Neutron ML2/Nuage plugin configured with Puppet
|
||||
|
||||
parameters:
|
||||
ServiceNetMap:
|
||||
default: {}
|
||||
description: Mapping of service_name -> network name. Typically set
|
||||
via parameter_defaults in the resource registry. This
|
||||
mapping overrides those in ServiceNetMapDefaults.
|
||||
type: json
|
||||
DefaultPasswords:
|
||||
default: {}
|
||||
type: json
|
||||
EndpointMap:
|
||||
default: {}
|
||||
description: Mapping of service endpoint -> protocol. Typically set
|
||||
via parameter_defaults in the resource registry.
|
||||
type: json
|
||||
# Config specific parameters, to be provided via parameter_defaults
|
||||
NeutronNuageNetPartitionName:
|
||||
description: Specifies the title that you will see on the VSD
|
||||
type: string
|
||||
default: 'default_name'
|
||||
|
||||
NeutronNuageVSDIp:
|
||||
description: IP address and port of the Virtual Services Directory
|
||||
type: string
|
||||
|
||||
NeutronNuageVSDUsername:
|
||||
description: Username to be used to log into VSD
|
||||
type: string
|
||||
|
||||
NeutronNuageVSDPassword:
|
||||
description: Password to be used to log into VSD
|
||||
type: string
|
||||
|
||||
NeutronNuageVSDOrganization:
|
||||
description: Organization parameter required to log into VSD
|
||||
type: string
|
||||
default: 'organization'
|
||||
|
||||
NeutronNuageBaseURIVersion:
|
||||
description: URI version to be used based on the VSD release
|
||||
type: string
|
||||
default: 'default_uri_version'
|
||||
|
||||
NeutronNuageCMSId:
|
||||
description: Cloud Management System ID (CMS ID) to distinguish between OS instances on the same VSD
|
||||
type: string
|
||||
|
||||
UseForwardedFor:
|
||||
description: Treat X-Forwarded-For as the canonical remote address. Only enable this if you have a sanitizing proxy.
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
resources:
|
||||
|
||||
NeutronML2Base:
|
||||
type: ./neutron-plugin-ml2.yaml
|
||||
properties:
|
||||
ServiceNetMap: {get_param: ServiceNetMap}
|
||||
DefaultPasswords: {get_param: DefaultPasswords}
|
||||
EndpointMap: {get_param: EndpointMap}
|
||||
|
||||
outputs:
|
||||
role_data:
|
||||
description: Role data for the Neutron ML2/Nuage plugin
|
||||
value:
|
||||
service_name: neutron_plugin_ml2_nuage
|
||||
config_settings:
|
||||
map_merge:
|
||||
- get_attr: [NeutronML2Base, role_data, config_settings]
|
||||
- neutron::plugins::ml2::nuage::nuage_net_partition_name: {get_param: NeutronNuageNetPartitionName}
|
||||
neutron::plugins::ml2::nuage::nuage_vsd_ip: {get_param: NeutronNuageVSDIp}
|
||||
neutron::plugins::ml2::nuage::nuage_vsd_username: {get_param: NeutronNuageVSDUsername}
|
||||
neutron::plugins::ml2::nuage::nuage_vsd_password: {get_param: NeutronNuageVSDPassword}
|
||||
neutron::plugins::ml2::nuage::nuage_vsd_organization: {get_param: NeutronNuageVSDOrganization}
|
||||
neutron::plugins::ml2::nuage::nuage_base_uri_version: {get_param: NeutronNuageBaseURIVersion}
|
||||
neutron::plugins::ml2::nuage::nuage_cms_id: {get_param: NeutronNuageCMSId}
|
||||
nova::api::use_forwarded_for: {get_param: UseForwardedFor}
|
||||
step_config: |
|
||||
include tripleo::profile::base::neutron::plugins::ml2
|
|
@ -66,6 +66,11 @@ parameters:
|
|||
By default Intel & Mellanox SR-IOV capable NICs are supported.
|
||||
type: comma_delimited_list
|
||||
default: ['15b3:1004','8086:10ca']
|
||||
NeutronFirewallDriver:
|
||||
description: Firewall driver for realizing neutron security group function
|
||||
type: string
|
||||
default: 'openvswitch'
|
||||
|
||||
resources:
|
||||
|
||||
NeutronBase:
|
||||
|
@ -124,6 +129,7 @@ outputs:
|
|||
params:
|
||||
TYPES: {get_param: NeutronNetworkType}
|
||||
neutron::plugins::ml2::supported_pci_vendor_devs: {get_param: NeutronSupportedPCIVendorDevs}
|
||||
neutron::plugins::ml2::firewall_driver: {get_param: NeutronFirewallDriver}
|
||||
|
||||
step_config: |
|
||||
include ::tripleo::profile::base::neutron::plugins::ml2
|
||||
|
|
Loading…
Reference in New Issue