--- /dev/null
+# Environment file used to enable networking-vpp ML2 mechanism driver
+
+resource_registry:
+ OS::TripleO::Services::NeutronOvsAgent: OS::Heat::None
+ OS::TripleO::Services::ComputeNeutronOvsAgent: OS::Heat::None
+ OS::TripleO::Services::NeutronVppAgent: ../puppet/services/neutron-vpp-agent.yaml
+ OS::TripleO::Services::Etcd: ../puppet/services/etcd.yaml
+ OS::TripleO::Services::Vpp: ../puppet/services/vpp.yaml
+
+parameter_defaults:
+ #Comma delimited list of <physical_network>:<VPP Interface>.
+ #Example: "datacentre:GigabitEthernet2/2/0"
+ #NeutronVPPAgentPhysnets: ""
+
+ NeutronMechanismDrivers: vpp
+ NeutronNetworkType: vlan
+ NeutronServicePlugins: router
+ NeutronL3HA: false
+ NeutronTypeDrivers: vlan,flat
+ ExtraConfig:
+ # Use Linux Bridge driver for DHCP and L3 agent.
+ neutron::agents::dhcp::interface_driver: "neutron.agent.linux.interface.BridgeInterfaceDriver"
+ neutron::agents::l3::interface_driver: "neutron.agent.linux.interface.BridgeInterfaceDriver"
--- /dev/null
+# A Heat environment that can be used to deploy OpenDaylight with Honeycomb Agent
+resource_registry:
+ OS::TripleO::Services::NeutronOvsAgent: OS::Heat::None
+ OS::TripleO::Services::ComputeNeutronOvsAgent: OS::Heat::None
+ OS::TripleO::Services::ComputeNeutronCorePlugin: OS::Heat::None
+ OS::TripleO::Services::NeutronCorePlugin: ../puppet/services/neutron-plugin-ml2-odl.yaml
+ OS::TripleO::Services::OpenDaylightApi: ../puppet/services/opendaylight-api.yaml
+ OS::TripleO::Services::NeutronHoneycombAgent: ../puppet/services/neutron-odl-honeycomb-agent.yaml
+ OS::TripleO::Services::Vpp: ../puppet/services/vpp.yaml
+ OS::TripleO::Services::NeutronL3Agent: OS::Heat::None
+
+parameter_defaults:
+ NeutronNetworkType: 'vxlan'
+ NeutronL3HA: false
+ #NUMATopologyFilter is required for vhostuser interfaces
+ #NovaSchedulerDefaultFilters: "RamFilter,ComputeFilter,AvailabilityZoneFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,NUMATopologyFilter"
+ OpenDaylightFeatures: "odl-netconf-all,odl-vbd,odl-groupbasedpolicy-neutron-vpp-mapper,odl-restconf"
+ NeutronEnableForceMetadata: true
+ NeutronMechanismDrivers: 'opendaylight_v2'
+ NeutronServicePlugins: 'odl-router_v2'
+ #Opendaylight Port binding controller
+ OpenDaylightPortBindingController: 'pseudo-agentdb-binding'
+ #URI for neutron hostconfig in Opendaylight
+ OpenDaylightHostconfURI: 'restconf/operational/neutron:neutron/hostconfigs'
+ ExtraConfig:
+ neutron::agents::dhcp::interface_driver: "neutron.agent.linux.interface.NSDriver"
--- /dev/null
+# A Heat environment that can be used to deploy OpenDaylight with Honeycomb Agent
+resource_registry:
+ OS::TripleO::Services::NeutronOvsAgent: OS::Heat::None
+ OS::TripleO::Services::ComputeNeutronOvsAgent: OS::Heat::None
+ OS::TripleO::Services::ComputeNeutronCorePlugin: OS::Heat::None
+ OS::TripleO::Services::OpenDaylightApi: ../puppet/services/opendaylight-api.yaml
+ OS::TripleO::Services::NeutronHoneycombAgent: ../puppet/services/neutron-odl-honeycomb-agent.yaml
+ OS::TripleO::Services::Vpp: ../puppet/services/vpp.yaml
+ OS::TripleO::Services::NeutronL3Agent: OS::Heat::None
+
+parameter_defaults:
+ NeutronNetworkType: 'vxlan'
+ NeutronL3HA: false
+ #NUMATopologyFilter is required for vhostuser interfaces
+ #NovaSchedulerDefaultFilters: "RamFilter,ComputeFilter,AvailabilityZoneFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,NUMATopologyFilter"
+ OpenDaylightFeatures: "odl-neutron-hostconfig-vpp,odl-netvirt-openstack"
+ NeutronEnableForceMetadata: true
+ NeutronMechanismDrivers: 'opendaylight_v2'
+ NeutronServicePlugins: 'odl-router_v2'
+ OpenDaylightEnableL3: "'yes'"
+ #Opendaylight Port binding controller
+ OpenDaylightPortBindingController: 'pseudo-agentdb-binding'
+ #URI for neutron hostconfig in Opendaylight
+ OpenDaylightHostconfURI: 'restconf/operational/neutron:neutron/hostconfigs'
+ ExtraConfig:
+ neutron::agents::dhcp::interface_driver: "neutron.agent.linux.interface.NSDriver"
--- /dev/null
+resource_registry:
+ OS::TripleO::Services::Vpp: ../../puppet/services/vpp.yaml
+
+#parameter_defaults:
+ #VPP main thread core pinning
+ #VppCpuMainCore: '1'
+
+ #List of cores for VPP worker thread pinning
+ #VppCpuCorelistWorkers: ['3','4']
MistralApiNetwork: internal_api
ZaqarApiNetwork: internal_api
PacemakerRemoteNetwork: internal_api
+ EtcdNetwork: internal_api
+ GluonNetwork: internal_api
+ HoneycombNetwork: internal_api
# We special-case the default ResolveNetwork for the CephStorage role
# for backwards compatibility, all other roles default to internal_api
CephStorageHostnameResolveNetwork: storage
OS::TripleO::Services::OctaviaHousekeeping: OS::Heat::None
OS::TripleO::Services::OctaviaWorker: OS::Heat::None
OS::TripleO::Services::MySQLClient: puppet/services/database/mysql-client.yaml
+ OS::TripleO::Services::Gluon: OS::Heat::None
+ OS::TripleO::Services::Vpp: OS::Heat::None
+ OS::TripleO::Services::NeutronHoneycombAgent: OS::Heat::None
+ OS::TripleO::Services::NeutronVppAgent: OS::Heat::None
parameter_defaults:
EnablePackageInstall: false
- midonet_data # Optionally provided by AllNodesExtraConfig
- neutron_opencontrail_data # Optionally provided by ComputeExtraConfigPre
- cisco_aci_data # Optionally provided by ComputeExtraConfigPre
+ - common # provided by os-net-config
merge_behavior: deeper
datafiles:
service_names:
nova_server_resource:
description: Heat resource handle for the Nova compute server
value:
- {get_resource: NovaCompute}
\ No newline at end of file
+ {get_resource: NovaCompute}
- cisco_n1kv_data # Optionally provided by ControllerExtraConfigPre
- midonet_data #Optionally provided by AllNodesExtraConfig
- cisco_aci_data # Optionally provided by ControllerExtraConfigPre
+ - common # provided by os-net-config
merge_behavior: deeper
datafiles:
service_names:
etcd::etcd_name:
str_replace:
template:
- '"%{::fqdn_$NETWORK}"'
+ '%{::fqdn_$NETWORK}'
params:
$NETWORK: {get_param: [ServiceNetMap, EtcdNetwork]}
# NOTE: bind IP is found in Heat replacing the network name with the local node IP
--- /dev/null
+heat_template_version: newton
+
+description: >
+ OpenStack Neutron Honeycomb agent 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
+ HoneycombUser:
+ description: Username for Honeycomb agent
+ type: string
+ default: 'admin'
+ HoneycombPassword:
+ description: Password for Honeycomb agent
+ type: string
+ hidden: true
+ default: 'admin'
+ HoneycombRestPort:
+ description: Port for Honeycomb REST interface to listen on.
+ type: number
+ default: 8183
+ HoneycombNetconfSSHPort:
+ description: Honeycomb Netconf SSH binding port.
+ type: number
+ default: 2831
+ OpenDaylightUsername:
+ default: 'admin'
+ description: The username for the opendaylight server.
+ type: string
+ OpenDaylightPassword:
+ default: 'admin'
+ type: string
+ description: The password for the opendaylight server.
+ hidden: true
+ OpenDaylightPort:
+ default: 8081
+ description: OpenDaylight service port
+ type: number
+
+outputs:
+ role_data:
+ description: Role data for Honeycomb agent service.
+ value:
+ service_name: neutron_honeycomb_agent
+ config_settings:
+ fdio::honeycomb::user: {get_param: HoneycombUser}
+ fdio::honeycomb::password: {get_param: HoneycombPassword}
+ fdio::honeycomb::rest_port: {get_param: HoneycombRestPort}
+ fdio::honeycomb::opendaylight_ip: "%{hiera('opendaylight_api_vip')}"
+ fdio::honeycomb::opendaylight_port: {get_param: OpenDaylightPort}
+ fdio::honeycomb::opendaylight_username: {get_param: OpenDaylightUsername}
+ fdio::honeycomb::opendaylight_password: {get_param: OpenDaylightPassword}
+ fdio::honeycomb::bind_ip: {get_param: [ServiceNetMap, HoneycombNetwork]}
+ fdio::honeycomb::node_id: '%{::fqdn}'
+ tripleo.neutron_honeycomb_agent.firewall_rules:
+ '142 neutron honeycomb agent':
+ dport:
+ - {get_param: HoneycombRestPort}
+ - {get_param: HoneycombNetconfSSHPort}
+ step_config: |
+ include ::tripleo::profile::base::neutron::agents::honeycomb
default: 'vxlan'
description: The tenant network type for Neutron.
type: comma_delimited_list
+ NeutronOverlayIPVersion:
+ default: "4"
+ description: IP version used for all overlay network endpoints.
+ type: string
+ constraints:
+ - allowed_values: ["4","6"]
resources:
NeutronBase:
neutron::plugins::ml2::tunnel_id_ranges: {get_param: NeutronTunnelIdRanges}
neutron::plugins::ml2::vni_ranges: {get_param: NeutronVniRanges}
neutron::plugins::ml2::tenant_network_types: {get_param: NeutronNetworkType}
+ neutron::plugins::ml2::overlay_ip_version: {get_param: NeutronOverlayIPVersion}
step_config: |
include ::tripleo::profile::base::neutron::plugins::ml2
--- /dev/null
+heat_template_version: newton
+
+description: >
+ OpenStack Neutron ML2/VPP agent 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
+ NeutronVPPAgentPhysnets:
+ description: >
+ List of <physical_network>:<VPP Interface>
+ Example: "physnet1:GigabitEthernet2/2/0,physnet2:GigabitEthernet2/3/0"
+ type: comma_delimited_list
+ default: ""
+
+resources:
+
+ NeutronBase:
+ type: ./neutron-base.yaml
+ properties:
+ ServiceNetMap: {get_param: ServiceNetMap}
+ DefaultPasswords: {get_param: DefaultPasswords}
+ EndpointMap: {get_param: EndpointMap}
+
+outputs:
+ role_data:
+ description: Role data for the Neutron ML2/VPP agent service.
+ value:
+ service_name: neutron_vpp_agent
+ config_settings:
+ map_merge:
+ - get_attr: [NeutronBase, role_data, config_settings]
+ - tripleo::profile::base::neutron::agents::vpp::physnet_mapping: {get_param: NeutronVPPAgentPhysnets}
+ step_config: |
+ include ::tripleo::profile::base::neutron::agents::vpp
OpenDaylightApiVirtualIP:
type: string
default: ''
+ OpenDaylightHostconfURI:
+ description: URI for neutron hostconfig in OpenDaylight.
+ type: string
+ default: ''
EndpointMap:
default: {}
description: Mapping of service endpoint -> protocol. Typically set
opendaylight::enable_dhcp: {get_param: OpenDaylightEnableDHCP}
opendaylight::odl_bind_ip: {get_param: [ServiceNetMap, OpendaylightApiNetwork]}
opendaylight::nb_connection_protocol: {get_param: OpenDaylightConnectionProtocol}
+ neutron::plugins::ml2::opendaylight::odl_hostconf_uri: {get_param: OpenDaylightHostconfURI}
tripleo.opendaylight_api.firewall_rules:
'137 opendaylight api':
dport:
- {get_param: OpenDaylightPort}
+ - 2550
+ - 6633
- 6640
- 6653
- - 2550
+ - 8101
step_config: |
include tripleo::profile::base::neutron::opendaylight
upgrade_tasks:
--- /dev/null
+heat_template_version: newton
+
+description: >
+ Vpp service 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
+ VppCpuMainCore:
+ default: ''
+ description: VPP main thread core pinning.
+ type: string
+ VppCpuCorelistWorkers:
+ default: ''
+ description: List of cores for VPP worker thread pinning
+ type: string
+ MonitoringSubscriptionVpp:
+ default: 'overcloud-vpp'
+ type: string
+
+outputs:
+ role_data:
+ description: Role data for the Vpp role.
+ value:
+ service_name: vpp
+ monitoring_subscription: {get_param: MonitoringSubscriptionVpp}
+ config_settings:
+ # Core pinning is being set in controller_extraconfig and compute_extraconfig to allow
+ # role specifc settings
+ #fdio::vpp_cpu_main_core: {get_param: VppCpuMainCore}
+ #fdio::vpp_cpu_corelist_workers: {get_param: VppCpuCorelistWorkers}
+ step_config: |
+ include ::tripleo::profile::base::vpp
- OS::TripleO::Services::OctaviaHealthManager
- OS::TripleO::Services::OctaviaHousekeeping
- OS::TripleO::Services::OctaviaWorker
+ - OS::TripleO::Services::Gluon
+ - OS::TripleO::Services::Vpp
+ - OS::TripleO::Services::NeutronHoneycombAgent
+ - OS::TripleO::Services::NeutronVppAgent
- name: Compute
CountDefault: 1
- OS::TripleO::Services::FluentdClient
- OS::TripleO::Services::AuditD
- OS::TripleO::Services::Collectd
+ - OS::TripleO::Services::VipHosts
+ - OS::TripleO::Services::Vpp
+ - OS::TripleO::Services::NeutronHoneycombAgent
+ - OS::TripleO::Services::NeutronVppAgent
- name: BlockStorage
ServicesDefault: