summaryrefslogtreecommitdiffstats
path: root/build/puppet-neutron/manifests/plugins/ml2/networking-vpp.pp
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2016-10-06 18:48:40 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-10-06 18:48:40 +0000
commita498848f5977ed6d1226f2f6b426bc5355c01f68 (patch)
tree4b4cccb69fe17ace1f9966bd5a7b134616c652b0 /build/puppet-neutron/manifests/plugins/ml2/networking-vpp.pp
parent95a344a46144d88cdac35bc02a463b6e3d7eab8c (diff)
parent412b07f4f621dfc4881fbd2105ab82d7dd7a98be (diff)
Merge "VPP version update"
Diffstat (limited to 'build/puppet-neutron/manifests/plugins/ml2/networking-vpp.pp')
-rw-r--r--build/puppet-neutron/manifests/plugins/ml2/networking-vpp.pp28
1 files changed, 23 insertions, 5 deletions
diff --git a/build/puppet-neutron/manifests/plugins/ml2/networking-vpp.pp b/build/puppet-neutron/manifests/plugins/ml2/networking-vpp.pp
index 26548d3a..cf8fe178 100644
--- a/build/puppet-neutron/manifests/plugins/ml2/networking-vpp.pp
+++ b/build/puppet-neutron/manifests/plugins/ml2/networking-vpp.pp
@@ -10,13 +10,28 @@
# property for a package resource type.
# Defaults to 'present'
#
-# [*agents*]
-# Networking-vpp agents's addresses
-# Defaults to $::os_service_default
+# [*etcd_host*]
+# (required) etcd server host name or IP.
+# Defaults to '127.0.0.1'
+#
+# [*etcd_port*]
+# (optional) etcd server listening port.
+# Defaults to 4001.
+#
+# [*etcd_user*]
+# (optional) User name for etcd authentication
+# Defaults to ''.
+#
+# [*etcd_pass*]
+# (optional) Password for etcd authentication
+# Defaults to ''.
#
class neutron::plugins::ml2::networking-vpp (
$package_ensure = 'present',
- $agents = $::os_service_default,
+ $etcd_host = '127.0.0.1',
+ $etcd_port = 4001,
+ $etcd_user = '',
+ $etcd_pass = '',
) {
require ::neutron::plugins::ml2
@@ -28,6 +43,9 @@ class neutron::plugins::ml2::networking-vpp (
)
neutron_plugin_ml2 {
- 'ml2_vpp/agents': value => $agents;
+ 'ml2_vpp/etcd_host': value => $etcd_host;
+ 'ml2_vpp/etcd_port': value => $etcd_port;
+ 'ml2_vpp/etcd_user': value => $etcd_user;
+ 'ml2_vpp/etcd_pass': value => $etcd_pass;
}
}