Add module execution
This patch adds executions of methods from other OS modules.
Change-Id: I3402a90cad1132db273b7d5d5f25c4e8813e4abc
diff --git a/runtest/salttest/init.sls b/runtest/salttest/init.sls
new file mode 100644
index 0000000..c4a5d4a
--- /dev/null
+++ b/runtest/salttest/init.sls
@@ -0,0 +1,3 @@
+include:
+- runtest.salttest.modules
+- runtest.salttest.states
diff --git a/runtest/salttest/modules/init.sls b/runtest/salttest/modules/init.sls
new file mode 100644
index 0000000..a7c4eca
--- /dev/null
+++ b/runtest/salttest/modules/init.sls
@@ -0,0 +1,2 @@
+include:
+- runtest.salttest.modules.openstack
diff --git a/runtest/salttest/modules/openstack/glance.sls b/runtest/salttest/modules/openstack/glance.sls
new file mode 100644
index 0000000..281b21b
--- /dev/null
+++ b/runtest/salttest/modules/openstack/glance.sls
@@ -0,0 +1,10 @@
+glanceng_task_list:
+ module.run:
+ - name: glanceng.task_list
+ - profile: admin_identity
+
+glanceng_image_schema:
+ module.run:
+ - name: glanceng.image_schema
+ - profile: admin_identity
+
diff --git a/runtest/salttest/modules/openstack/init.sls b/runtest/salttest/modules/openstack/init.sls
new file mode 100644
index 0000000..9e591a9
--- /dev/null
+++ b/runtest/salttest/modules/openstack/init.sls
@@ -0,0 +1,5 @@
+include:
+- runtest.salttest.modules.openstack.glance
+- runtest.salttest.modules.openstack.keystone
+- runtest.salttest.modules.openstack.nova
+- runtest.salttest.modules.openstack.neutron
diff --git a/runtest/salttest/modules/openstack/keystone.sls b/runtest/salttest/modules/openstack/keystone.sls
new file mode 100644
index 0000000..911e4e3
--- /dev/null
+++ b/runtest/salttest/modules/openstack/keystone.sls
@@ -0,0 +1,5 @@
+keystoneng_user_list:
+ module.run:
+ - name: keystoneng.user_list
+ - profile: admin_identity
+
diff --git a/runtest/salttest/modules/openstack/neutron.sls b/runtest/salttest/modules/openstack/neutron.sls
new file mode 100644
index 0000000..931980d
--- /dev/null
+++ b/runtest/salttest/modules/openstack/neutron.sls
@@ -0,0 +1,5 @@
+neutronng_list_networks:
+ module.run:
+ - name: neutronng.list_networks
+ - kwargs:
+ profile: admin_identity
diff --git a/runtest/salttest/modules/openstack/nova.sls b/runtest/salttest/modules/openstack/nova.sls
new file mode 100644
index 0000000..fc77bd4
--- /dev/null
+++ b/runtest/salttest/modules/openstack/nova.sls
@@ -0,0 +1,10 @@
+novang_flavor_list:
+ module.run:
+ - name: novang.flavor_list
+ - profile: admin_identity
+
+novang_server_list:
+ module.run:
+ - name: novang.server_list
+ - profile: admin_identity
+
diff --git a/runtest/salttest/states/init.sls b/runtest/salttest/states/init.sls
new file mode 100644
index 0000000..77b8ac6
--- /dev/null
+++ b/runtest/salttest/states/init.sls
@@ -0,0 +1,2 @@
+include:
+- runtest.salttest.states.openstack
diff --git a/runtest/salttest/states/openstack/init.sls b/runtest/salttest/states/openstack/init.sls
new file mode 100644
index 0000000..c59975c
--- /dev/null
+++ b/runtest/salttest/states/openstack/init.sls
@@ -0,0 +1,2 @@
+include:
+- runtest.salttest.states.openstack.neutron
diff --git a/runtest/salttest/states/openstack/neutron.sls b/runtest/salttest/states/openstack/neutron.sls
new file mode 100644
index 0000000..f3e1d7d
--- /dev/null
+++ b/runtest/salttest/states/openstack/neutron.sls
@@ -0,0 +1,6 @@
+neutron_network_present:
+ neutronng.network_present:
+ - profile: admin_identity
+ - name: runtest
+ - tenant: admin
+