summaryrefslogtreecommitdiffstats
path: root/networking-odl/rally-jobs
diff options
context:
space:
mode:
authorWojciech Dec <wdec@cisco.com>2016-08-16 19:27:01 +0200
committerWojciech Dec <wdec@cisco.com>2016-08-16 19:29:27 +0200
commitc3b2c2a9a22bac5cf17813c589444d3abebaa23b (patch)
tree68c2fc0cb8c32cbb8fabf69ac81e1e0ba50cff2a /networking-odl/rally-jobs
parent3285c8e93ea59d98b392591ef6dfa5b1de3bb92d (diff)
Adding Mitaka networking-old module with the ODL topology based port
binding resolution mechanism from https://review.openstack.org/333186 Change-Id: I10d400aac9bb639c146527f0f93e6925cb74d9de Signed-off-by: Wojciech Dec <wdec@cisco.com>
Diffstat (limited to 'networking-odl/rally-jobs')
-rw-r--r--networking-odl/rally-jobs/README.rst31
-rw-r--r--networking-odl/rally-jobs/extra/README.rst6
-rw-r--r--networking-odl/rally-jobs/odl.yaml296
-rw-r--r--networking-odl/rally-jobs/plugins/README.rst9
-rw-r--r--networking-odl/rally-jobs/plugins/__init__.py0
5 files changed, 342 insertions, 0 deletions
diff --git a/networking-odl/rally-jobs/README.rst b/networking-odl/rally-jobs/README.rst
new file mode 100644
index 0000000..4b345ed
--- /dev/null
+++ b/networking-odl/rally-jobs/README.rst
@@ -0,0 +1,31 @@
+Rally job related files
+=======================
+
+This directory contains rally tasks and plugins that are run by OpenStack CI.
+
+Structure
+---------
+
+* plugins - directory where you can add rally plugins. Almost everything in
+ Rally is a plugin. Benchmark context, Benchmark scenario, SLA checks, Generic
+ cleanup resources, ....
+
+* extra - all files from this directory will be copy pasted to gates, so you
+ are able to use absolute paths in rally tasks.
+ Files will be located in ~/.rally/extra/*
+
+* odl.yaml is a task that is run in gates against OpenStack with
+ Neutron service configured with ODL plugin
+
+Useful links
+------------
+
+* More about Rally: https://rally.readthedocs.org/en/latest/
+
+* Rally release notes: https://rally.readthedocs.org/en/latest/release_notes.html
+
+* How to add rally-gates: https://rally.readthedocs.org/en/latest/gates.html
+
+* About plugins: https://rally.readthedocs.org/en/latest/plugins.html
+
+* Plugin samples: https://github.com/openstack/rally/tree/master/samples/plugins
diff --git a/networking-odl/rally-jobs/extra/README.rst b/networking-odl/rally-jobs/extra/README.rst
new file mode 100644
index 0000000..aab343c
--- /dev/null
+++ b/networking-odl/rally-jobs/extra/README.rst
@@ -0,0 +1,6 @@
+Extra files
+===========
+
+All files from this directory will be copy pasted to gates, so you are able to
+use absolute path in rally tasks. Files will be in ~/.rally/extra/*
+
diff --git a/networking-odl/rally-jobs/odl.yaml b/networking-odl/rally-jobs/odl.yaml
new file mode 100644
index 0000000..86852e1
--- /dev/null
+++ b/networking-odl/rally-jobs/odl.yaml
@@ -0,0 +1,296 @@
+---
+ NeutronNetworks.create_and_list_networks:
+ -
+ runner:
+ type: "constant"
+ times: 40
+ concurrency: 20
+ context:
+ users:
+ tenants: 1
+ users_per_tenant: 1
+ quotas:
+ neutron:
+ network: -1
+ sla:
+ failure_rate:
+ max: 0
+
+ NeutronNetworks.create_and_list_subnets:
+ -
+ args:
+ subnets_per_network: 2
+ runner:
+ type: "constant"
+ times: 40
+ concurrency: 20
+ context:
+ users:
+ tenants: 1
+ users_per_tenant: 1
+ quotas:
+ neutron:
+ subnet: -1
+ network: -1
+ sla:
+ failure_rate:
+ max: 0
+
+ NeutronNetworks.create_and_list_routers:
+ -
+ args:
+ network_create_args:
+ subnet_create_args:
+ subnet_cidr_start: "1.1.0.0/30"
+ subnets_per_network: 2
+ router_create_args:
+ runner:
+ type: "constant"
+ times: 40
+ concurrency: 20
+ context:
+ users:
+ tenants: 1
+ users_per_tenant: 1
+ quotas:
+ neutron:
+ network: -1
+ subnet: -1
+ router: -1
+ sla:
+ failure_rate:
+ max: 0
+
+ NeutronNetworks.create_and_list_ports:
+ -
+ args:
+ network_create_args:
+ port_create_args:
+ ports_per_network: 2
+ runner:
+ type: "constant"
+ times: 40
+ concurrency: 20
+ context:
+ users:
+ tenants: 1
+ users_per_tenant: 1
+ quotas:
+ neutron:
+ network: -1
+ subnet: -1
+ router: -1
+ port: -1
+ sla:
+ failure_rate:
+ max: 0
+
+ NeutronNetworks.create_and_update_networks:
+ -
+ args:
+ network_create_args: {}
+ network_update_args:
+ admin_state_up: False
+ name: "_updated"
+ runner:
+ type: "constant"
+ times: 40
+ concurrency: 20
+ context:
+ users:
+ tenants: 1
+ users_per_tenant: 1
+ quotas:
+ neutron:
+ network: -1
+ sla:
+ failure_rate:
+ max: 0
+
+ NeutronNetworks.create_and_update_subnets:
+ -
+ args:
+ network_create_args: {}
+ subnet_create_args: {}
+ subnet_cidr_start: "1.4.0.0/16"
+ subnets_per_network: 2
+ subnet_update_args:
+ enable_dhcp: False
+ name: "_subnet_updated"
+ runner:
+ type: "constant"
+ times: 40
+ concurrency: 20
+ context:
+ users:
+ tenants: 5
+ users_per_tenant: 5
+ quotas:
+ neutron:
+ network: -1
+ subnet: -1
+ sla:
+ failure_rate:
+ max: 0
+
+ NeutronNetworks.create_and_update_routers:
+ -
+ args:
+ network_create_args: {}
+ subnet_create_args: {}
+ subnet_cidr_start: "1.1.0.0/30"
+ subnets_per_network: 2
+ router_create_args: {}
+ router_update_args:
+ admin_state_up: False
+ name: "_router_updated"
+ runner:
+ type: "constant"
+ times: 40
+ concurrency: 20
+ context:
+ users:
+ tenants: 1
+ users_per_tenant: 1
+ quotas:
+ neutron:
+ network: -1
+ subnet: -1
+ router: -1
+ sla:
+ failure_rate:
+ max: 0
+
+ NeutronNetworks.create_and_update_ports:
+ -
+ args:
+ network_create_args: {}
+ port_create_args: {}
+ ports_per_network: 5
+ port_update_args:
+ admin_state_up: False
+ device_id: "dummy_id"
+ device_owner: "dummy_owner"
+ name: "_port_updated"
+ runner:
+ type: "constant"
+ times: 40
+ concurrency: 20
+ context:
+ users:
+ tenants: 1
+ users_per_tenant: 1
+ quotas:
+ neutron:
+ network: -1
+ port: -1
+ sla:
+ failure_rate:
+ max: 0
+
+ NeutronNetworks.create_and_delete_networks:
+ -
+ args:
+ network_create_args: {}
+ runner:
+ type: "constant"
+ times: 40
+ concurrency: 20
+ context:
+ users:
+ tenants: 1
+ users_per_tenant: 1
+ quotas:
+ neutron:
+ network: -1
+ subnet: -1
+ sla:
+ failure_rate:
+ max: 0
+
+ NeutronNetworks.create_and_delete_subnets:
+ -
+ args:
+ network_create_args: {}
+ subnet_create_args: {}
+ subnet_cidr_start: "1.1.0.0/30"
+ subnets_per_network: 2
+ runner:
+ type: "constant"
+ times: 40
+ concurrency: 20
+ context:
+ users:
+ tenants: 1
+ users_per_tenant: 1
+ quotas:
+ neutron:
+ network: -1
+ subnet: -1
+ sla:
+ failure_rate:
+ max: 0
+
+ NeutronNetworks.create_and_delete_routers:
+ -
+ args:
+ network_create_args: {}
+ subnet_create_args: {}
+ subnet_cidr_start: "1.1.0.0/30"
+ subnets_per_network: 2
+ router_create_args: {}
+ runner:
+ type: "constant"
+ times: 40
+ concurrency: 20
+ context:
+ users:
+ tenants: 1
+ users_per_tenant: 1
+ quotas:
+ neutron:
+ network: -1
+ subnet: -1
+ router: -1
+ sla:
+ failure_rate:
+ max: 0
+
+ NeutronNetworks.create_and_delete_ports:
+ -
+ args:
+ network_create_args: {}
+ port_create_args: {}
+ ports_per_network: 5
+ runner:
+ type: "constant"
+ times: 40
+ concurrency: 20
+ context:
+ users:
+ tenants: 1
+ users_per_tenant: 1
+ quotas:
+ neutron:
+ network: -1
+ port: -1
+ sla:
+ failure_rate:
+ max: 0
+
+ Quotas.neutron_update:
+ -
+ args:
+ max_quota: 1024
+ runner:
+ type: "constant"
+ times: 40
+ concurrency: 20
+ context:
+ users:
+ tenants: 20
+ users_per_tenant: 1
+ sla:
+ failure_rate:
+ max: 0
+
diff --git a/networking-odl/rally-jobs/plugins/README.rst b/networking-odl/rally-jobs/plugins/README.rst
new file mode 100644
index 0000000..68ad548
--- /dev/null
+++ b/networking-odl/rally-jobs/plugins/README.rst
@@ -0,0 +1,9 @@
+Rally plugins
+=============
+
+All \*.py modules from this directory will be auto-loaded by Rally and all
+plugins will be discoverable. There is no need of any extra configuration
+and there is no difference between writing them here and in rally code base.
+
+Note that it is better to push all interesting and useful benchmarks to Rally
+code base, this simplifies administration for Operators.
diff --git a/networking-odl/rally-jobs/plugins/__init__.py b/networking-odl/rally-jobs/plugins/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/networking-odl/rally-jobs/plugins/__init__.py