summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/odl_cluster/vars
diff options
context:
space:
mode:
authorchenshuai@huawei.com <chenshuai@huawei.com>2015-08-10 04:52:34 -0400
committerchenshuai@huawei.com <chenshuai@huawei.com>2015-08-21 22:21:35 -0400
commit0597d98b2169ec834bcdb18ea6e11ba59120e529 (patch)
treed935a0839ff821ec60e242025e717160de73c81a /deploy/adapters/ansible/roles/odl_cluster/vars
parentfa0b0bebe9130e71f9b41659a233b61406eab884 (diff)
Write ansible script for ODL Cluster
JIRA: COMPASS-12 Change-Id: I8d795124262564c99da4f738235d9af0221503fe Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/odl_cluster/vars')
-rw-r--r--deploy/adapters/ansible/roles/odl_cluster/vars/Debian.yml4
-rw-r--r--deploy/adapters/ansible/roles/odl_cluster/vars/RedHat.yml4
-rw-r--r--deploy/adapters/ansible/roles/odl_cluster/vars/main.yml14
3 files changed, 22 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/odl_cluster/vars/Debian.yml b/deploy/adapters/ansible/roles/odl_cluster/vars/Debian.yml
new file mode 100644
index 00000000..c0e49019
--- /dev/null
+++ b/deploy/adapters/ansible/roles/odl_cluster/vars/Debian.yml
@@ -0,0 +1,4 @@
+---
+
+packages:
+ - openjdk-7-jdk
diff --git a/deploy/adapters/ansible/roles/odl_cluster/vars/RedHat.yml b/deploy/adapters/ansible/roles/odl_cluster/vars/RedHat.yml
new file mode 100644
index 00000000..9c441d62
--- /dev/null
+++ b/deploy/adapters/ansible/roles/odl_cluster/vars/RedHat.yml
@@ -0,0 +1,4 @@
+---
+
+packages:
+ - java-1.7.0-openjdk
diff --git a/deploy/adapters/ansible/roles/odl_cluster/vars/main.yml b/deploy/adapters/ansible/roles/odl_cluster/vars/main.yml
new file mode 100644
index 00000000..b98810a3
--- /dev/null
+++ b/deploy/adapters/ansible/roles/odl_cluster/vars/main.yml
@@ -0,0 +1,14 @@
+---
+odl_username: admin
+odl_password: admin
+odl_api_port: 8080
+
+odl_pkg_url: https://nexus.opendaylight.org/content/groups/public/org/opendaylight/integration/distribution-karaf/0.3.0-Lithium/distribution-karaf-0.3.0-Lithium.tar.gz
+odl_pkg_name: karaf.tar.gz
+odl_home: "/opt/opendaylight-0.3.0/"
+odl_base_features: ['config', 'standard', 'region', 'package', 'kar', 'ssh', 'management', 'odl-restconf','odl-l2switch-switch','odl-openflowplugin-all','odl-mdsal-apidocs','odl-dlux-all','odl-adsal-northbound','odl-nsf-all','odl-ovsdb-openstack','odl-ovsdb-northbound','odl-dlux-core']
+odl_extra_features: ['odl-restconf-all','odl-mdsal-clustering','odl-openflowplugin-flow-services','http','jolokia-osgi']
+odl_features: "{{ odl_base_features + odl_extra_features }}"
+odl_api_port: 8080
+
+packages_noarch: []