summaryrefslogtreecommitdiffstats
path: root/tests/data
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/common/sim_stderr_file0
-rw-r--r--tests/data/common/sim_stdout_file1
-rw-r--r--tests/data/common/ssh_stream_data1.txt3
-rw-r--r--tests/data/common/ssh_stream_data2.txt3
-rw-r--r--tests/data/common/ssh_stream_data3.txt3
-rw-r--r--tests/data/daisy_conf/daisy.conf2
-rw-r--r--tests/data/lab_conf/deploy_bare_odl-ha.yml43
-rw-r--r--tests/data/lab_conf/deploy_baremetal_invalid_ipmi.yml29
-rw-r--r--tests/data/lab_conf/deploy_vir1_nosdn-ha.yml32
-rw-r--r--tests/data/lab_conf/deploy_virtual_invalid_template.yml31
10 files changed, 146 insertions, 1 deletions
diff --git a/tests/data/common/sim_stderr_file b/tests/data/common/sim_stderr_file
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/tests/data/common/sim_stderr_file
diff --git a/tests/data/common/sim_stdout_file b/tests/data/common/sim_stdout_file
new file mode 100644
index 00000000..e1a1a8d2
--- /dev/null
+++ b/tests/data/common/sim_stdout_file
@@ -0,0 +1 @@
+stdout file data \ No newline at end of file
diff --git a/tests/data/common/ssh_stream_data1.txt b/tests/data/common/ssh_stream_data1.txt
new file mode 100644
index 00000000..0d9da1de
--- /dev/null
+++ b/tests/data/common/ssh_stream_data1.txt
@@ -0,0 +1,3 @@
+test_ssh_cmd1
+test_ssh_cmd2
+test_ssh_cmd3
diff --git a/tests/data/common/ssh_stream_data2.txt b/tests/data/common/ssh_stream_data2.txt
new file mode 100644
index 00000000..00ee55c3
--- /dev/null
+++ b/tests/data/common/ssh_stream_data2.txt
@@ -0,0 +1,3 @@
+test_ssh_cmd1
+test_ssh_cmd2
+test_ssh_cmd3 \ No newline at end of file
diff --git a/tests/data/common/ssh_stream_data3.txt b/tests/data/common/ssh_stream_data3.txt
new file mode 100644
index 00000000..289d65cb
--- /dev/null
+++ b/tests/data/common/ssh_stream_data3.txt
@@ -0,0 +1,3 @@
+test_ssh_cmd1
+test_ssh_cmd2
+test_ssh_cmd3 option1 \ No newline at end of file
diff --git a/tests/data/daisy_conf/daisy.conf b/tests/data/daisy_conf/daisy.conf
index 22e71d59..5435b4c0 100644
--- a/tests/data/daisy_conf/daisy.conf
+++ b/tests/data/daisy_conf/daisy.conf
@@ -1,7 +1,7 @@
[DEFAULT]
#The mangement ip of daisy
#When Daisy will be installed in the virtual machine, this option is required.
-daisy_management_ip=10.20.11.2
+
[BACKEND]
#Default backend types of daisy, including tecs, zenic, proton, kolla.
diff --git a/tests/data/lab_conf/deploy_bare_odl-ha.yml b/tests/data/lab_conf/deploy_bare_odl-ha.yml
new file mode 100644
index 00000000..28e8c195
--- /dev/null
+++ b/tests/data/lab_conf/deploy_bare_odl-ha.yml
@@ -0,0 +1,43 @@
+adapter: 'ipmi'
+hosts:
+- name: 'controller01'
+ roles:
+ - 'CONTROLLER_LB'
+ ipmi_ip: '192.168.1.11'
+ ipmi_user: 'testuser'
+ ipmi_pass: 'testpass'
+- name: 'controller02'
+ roles:
+ - 'CONTROLLER_LB'
+ ipmi_ip: '192.168.1.12'
+ ipmi_user: 'testuser'
+ ipmi_pass: 'testpass'
+- name: 'controller03'
+ roles:
+ - 'CONTROLLER_LB'
+ ipmi_ip: '192.168.1.13'
+ ipmi_user: 'testuser'
+ ipmi_pass: 'testpass'
+- name: 'computer01'
+ roles:
+ - 'COMPUTER'
+ ipmi_ip: '192.168.1.14'
+ ipmi_user: 'testuser'
+ ipmi_pass: 'testpass'
+- name: 'computer02'
+ roles:
+ - 'COMPUTER'
+ ipmi_ip: '192.168.1.15'
+ ipmi_user: 'testuser'
+ ipmi_pass: 'testpass'
+disks:
+ daisy: 50
+daisy_passwd: 'r00tme'
+daisy_ip: '10.20.0.2'
+daisy_gateway: '10.20.0.1'
+ceph_disk_name: '/dev/sdb'
+modules:
+ - module: opendaylight
+ module-config:
+ - enable_l3_odl:
+ value: true
diff --git a/tests/data/lab_conf/deploy_baremetal_invalid_ipmi.yml b/tests/data/lab_conf/deploy_baremetal_invalid_ipmi.yml
new file mode 100644
index 00000000..2e6de5a3
--- /dev/null
+++ b/tests/data/lab_conf/deploy_baremetal_invalid_ipmi.yml
@@ -0,0 +1,29 @@
+adapter: 'ipmi'
+hosts:
+- name: 'controller01'
+ roles:
+ - 'CONTROLLER_LB'
+- name: 'controller02'
+ roles:
+ - 'CONTROLLER_LB'
+- name: 'controller03'
+ roles:
+ - 'CONTROLLER_LB'
+- name: 'computer01'
+ roles:
+ - 'COMPUTER'
+ ipmi_ip: '192.168.1.14'
+ ipmi_user: 'testuser'
+ ipmi_pass: 'testpass'
+- name: 'computer02'
+ roles:
+ - 'COMPUTER'
+ ipmi_ip: '192.168.1.15'
+ ipmi_user: 'testuser'
+ ipmi_pass: 'testpass'
+disks:
+ daisy: 50
+daisy_passwd: 'r00tme'
+daisy_ip: '10.20.0.2'
+daisy_gateway: '10.20.0.1'
+ceph_disk_name: '/dev/sdb' \ No newline at end of file
diff --git a/tests/data/lab_conf/deploy_vir1_nosdn-ha.yml b/tests/data/lab_conf/deploy_vir1_nosdn-ha.yml
new file mode 100644
index 00000000..688b4f4f
--- /dev/null
+++ b/tests/data/lab_conf/deploy_vir1_nosdn-ha.yml
@@ -0,0 +1,32 @@
+adapter: libvirt
+hosts:
+- name: 'controller01'
+ roles:
+ - 'CONTROLLER_LB'
+ template: 'templates/virtual_environment/vms/controller.xml'
+- name: 'controller02'
+ roles:
+ - 'CONTROLLER_LB'
+ template: 'templates/virtual_environment/vms/controller.xml'
+- name: 'controller03'
+ roles:
+ - 'CONTROLLER_LB'
+ template: 'templates/virtual_environment/vms/controller.xml'
+- name: 'computer01'
+ roles:
+ - 'COMPUTER'
+ template: 'templates/virtual_environment/vms/computer.xml'
+- name: 'computer02'
+ roles:
+ - 'COMPUTER'
+ template: 'templates/virtual_environment/vms/computer.xml'
+disks:
+ daisy: 50
+ controller: 110
+ compute: 110
+ ceph: 110
+daisy_passwd: 'r00tme'
+daisy_ip: '10.20.11.2'
+daisy_gateway: '10.20.11.1'
+ceph_disk_name: '/dev/sdb'
+modules:
diff --git a/tests/data/lab_conf/deploy_virtual_invalid_template.yml b/tests/data/lab_conf/deploy_virtual_invalid_template.yml
new file mode 100644
index 00000000..483532cb
--- /dev/null
+++ b/tests/data/lab_conf/deploy_virtual_invalid_template.yml
@@ -0,0 +1,31 @@
+adapter: libvirt
+hosts:
+- name: 'controller01'
+ roles:
+ - 'CONTROLLER_LB'
+ template: 'controller.xml'
+- name: 'controller02'
+ roles:
+ - 'CONTROLLER_LB'
+ template: 'controller.xml'
+- name: 'controller03'
+ roles:
+ - 'CONTROLLER_LB'
+ template: 'controller.xml'
+- name: 'computer01'
+ roles:
+ - 'COMPUTER'
+ template: 'computer.xml'
+- name: 'computer02'
+ roles:
+ - 'COMPUTER'
+ template: 'computer.xml'
+disks:
+ daisy: 50
+ controller: 110
+ compute: 110
+ ceph: 110
+daisy_passwd: 'r00tme'
+daisy_ip: '10.20.11.2'
+daisy_gateway: '10.20.11.1'
+ceph_disk_name: '/dev/sdb' \ No newline at end of file