aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/services')
-rw-r--r--puppet/services/etcd.yaml2
-rw-r--r--puppet/services/neutron-odl-honeycomb-agent.yaml74
-rw-r--r--puppet/services/neutron-plugin-ml2.yaml7
-rw-r--r--puppet/services/neutron-vpp-agent.yaml48
-rw-r--r--puppet/services/opendaylight-api.yaml9
-rw-r--r--puppet/services/vpp.yaml45
6 files changed, 183 insertions, 2 deletions
diff --git a/puppet/services/etcd.yaml b/puppet/services/etcd.yaml
index d2a0e302..bc9e0f5e 100644
--- a/puppet/services/etcd.yaml
+++ b/puppet/services/etcd.yaml
@@ -36,7 +36,7 @@ outputs:
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
diff --git a/puppet/services/neutron-odl-honeycomb-agent.yaml b/puppet/services/neutron-odl-honeycomb-agent.yaml
new file mode 100644
index 00000000..38308da7
--- /dev/null
+++ b/puppet/services/neutron-odl-honeycomb-agent.yaml
@@ -0,0 +1,74 @@
+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
diff --git a/puppet/services/neutron-plugin-ml2.yaml b/puppet/services/neutron-plugin-ml2.yaml
index 3abd04f3..0046f698 100644
--- a/puppet/services/neutron-plugin-ml2.yaml
+++ b/puppet/services/neutron-plugin-ml2.yaml
@@ -60,6 +60,12 @@ parameters:
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:
@@ -85,6 +91,7 @@ outputs:
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
diff --git a/puppet/services/neutron-vpp-agent.yaml b/puppet/services/neutron-vpp-agent.yaml
new file mode 100644
index 00000000..3c51c90f
--- /dev/null
+++ b/puppet/services/neutron-vpp-agent.yaml
@@ -0,0 +1,48 @@
+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
diff --git a/puppet/services/opendaylight-api.yaml b/puppet/services/opendaylight-api.yaml
index 6882aeff..6bd6b57a 100644
--- a/puppet/services/opendaylight-api.yaml
+++ b/puppet/services/opendaylight-api.yaml
@@ -32,6 +32,10 @@ parameters:
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
@@ -60,13 +64,16 @@ outputs:
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:
diff --git a/puppet/services/vpp.yaml b/puppet/services/vpp.yaml
new file mode 100644
index 00000000..37cb0a81
--- /dev/null
+++ b/puppet/services/vpp.yaml
@@ -0,0 +1,45 @@
+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