summaryrefslogtreecommitdiffstats
path: root/odl-pipeline/lib/odl_reinstaller/install_odl.pp
diff options
context:
space:
mode:
Diffstat (limited to 'odl-pipeline/lib/odl_reinstaller/install_odl.pp')
-rwxr-xr-xodl-pipeline/lib/odl_reinstaller/install_odl.pp15
1 files changed, 15 insertions, 0 deletions
diff --git a/odl-pipeline/lib/odl_reinstaller/install_odl.pp b/odl-pipeline/lib/odl_reinstaller/install_odl.pp
new file mode 100755
index 0000000..97a00bd
--- /dev/null
+++ b/odl-pipeline/lib/odl_reinstaller/install_odl.pp
@@ -0,0 +1,15 @@
+include ::tripleo::packages
+
+if count(hiera('ntp::servers')) > 0 {
+ include ::ntp
+}
+
+class {"opendaylight":
+ extra_features => any2array(hiera('opendaylight::extra_features', 'odl-netvirt-openstack')),
+ odl_rest_port => hiera('opendaylight::odl_rest_port'),
+ enable_l3 => hiera('opendaylight::enable_l3', 'no'),
+ #tarball_url => 'file:///home/heat-admin/distribution-karaf-0.6.0-SNAPSHOT.tar.gz',
+ #unitfile_url => 'file:///home/heat-admin/opendaylight-unitfile.tar.gz'
+}
+
+