summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/open-contrail/vars
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/ansible/roles/open-contrail/vars')
-rwxr-xr-xdeploy/adapters/ansible/roles/open-contrail/vars/Debian.yml40
-rwxr-xr-xdeploy/adapters/ansible/roles/open-contrail/vars/RedHat.yml1
-rwxr-xr-xdeploy/adapters/ansible/roles/open-contrail/vars/main.yml56
3 files changed, 97 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/open-contrail/vars/Debian.yml b/deploy/adapters/ansible/roles/open-contrail/vars/Debian.yml
new file mode 100755
index 00000000..c64f238f
--- /dev/null
+++ b/deploy/adapters/ansible/roles/open-contrail/vars/Debian.yml
@@ -0,0 +1,40 @@
+---
+
+package: "contrail-install-packages_2.21-102~juno_all.deb"
+
+common_packages:
+ - contrail-setup
+
+kernel_packages:
+ - linux-headers-3.13.0-40
+ - linux-headers-3.13.0-40-generic
+ - linux-image-3.13.0-40-generic
+ - linux-image-extra-3.13.0-40-generic
+
+kernel_required: "3.13.0-40-generic"
+
+database_packages:
+ - contrail-openstack-database
+
+config_packages:
+ - contrail-openstack-config
+
+control_packages:
+ - contrail-openstack-control
+
+collector_packages:
+ - contrail-openstack-analytics
+
+webui_packages:
+ - contrail-openstack-webui
+
+vrouter_packages:
+ - contrail-vrouter-3.13.0-40-generic
+
+dkms_packages:
+ - contrail-vrouter-dkms
+
+compute_packages:
+ - contrail-vrouter-common
+ - contrail-nova-vif
+
diff --git a/deploy/adapters/ansible/roles/open-contrail/vars/RedHat.yml b/deploy/adapters/ansible/roles/open-contrail/vars/RedHat.yml
new file mode 100755
index 00000000..ed97d539
--- /dev/null
+++ b/deploy/adapters/ansible/roles/open-contrail/vars/RedHat.yml
@@ -0,0 +1 @@
+---
diff --git a/deploy/adapters/ansible/roles/open-contrail/vars/main.yml b/deploy/adapters/ansible/roles/open-contrail/vars/main.yml
new file mode 100755
index 00000000..015c99b7
--- /dev/null
+++ b/deploy/adapters/ansible/roles/open-contrail/vars/main.yml
@@ -0,0 +1,56 @@
+---
+#package: "contrail-install-packages_2.21-102~juno_all.deb" # mv to {os}.yml
+kernel_install: no
+ansible_ssh_user: "root"
+ansible_ssh_pass: "root"
+
+contrail_keystone_address: "{{ internal_vip.ip }}"
+contrail_admin_user: "keystone"
+contrail_admin_password: "{{ keystone_PASS }}"
+
+contrail_keepalived: no
+contrail_haproxy_address: "10.0.0.22" # 10.0.0.80
+contrail_netmask: "255.255.255.0"
+contrail_prefixlen: "24"
+contrail_gateway: "10.0.0.1"
+
+contrail_router_asn: "64512"
+
+### Modify when need openstack provisioning
+keystone_provision: no
+install_nova: no
+rabbit_password: "password"
+
+contrail_tor_agents:
+ - name: "test01"
+ address: "10.0.0.81"
+ ovs_protocol: "pssl"
+ ovs_port: "9991"
+ tunnel_address: "10.0.0.81"
+ http_server_port: "9011"
+ vendor_name: "Juniper"
+ product_name: "QFX5100"
+ tsn_names: [ "system002" ]
+ - name: "test02"
+ address: "10.0.0.82"
+ ovs_protocol: "pssl"
+ ovs_port: "9992"
+ tunnel_address: "10.0.0.82"
+ http_server_port: "9012"
+ vendor_name: "Juniper"
+ product_name: "QFX5100"
+ tsn_names: [ "system002" ]
+
+
+# adapter for compass
+kernel_packages_noarch: []
+
+compute_packages_noarch: []
+
+# network infor adapter for compass
+contrail_device: "mgmt"
+contrail_address: "{{ internal_ip }}"
+contrail_netmask: "255.255.255.0"
+#contrail_gateway: "10.84.50.254"
+contrail_gateway:
+#contrail_mgmt_address: "172.27.113.91"