diff options
author | Peter Bandzi <pbandzi@cisco.com> | 2015-04-09 10:39:48 +0200 |
---|---|---|
committer | Peter Bandzi <pbandzi@cisco.com> | 2015-04-09 10:58:07 +0200 |
commit | 07fd31290bbdf30d2fc35ee340f957a0133762d1 (patch) | |
tree | 56100c4aedcf6921f48dad7196100e7b0514f0e0 /testcases/Controllers/ODL/CI/variables | |
parent | 57a74a4a55e1285e601bb4b65aea0095d196bd6d (diff) |
Add ODL tests from ODL integration suites
Tests are from https://github.com/opendaylight/integration
Most of test suites and libs are removed.
As they requires either additioanl features in ODL
or mininet environment atached to ODL.
For neutron test suite there are 3 tests added
which delete created networks, subnets, ports.
JIRA: FUNCTEST-5
Change-Id: I96b41b5df394795bf10aec2bbb0c5de0e63b950c
Signed-off-by: Peter Bandzi <pbandzi@cisco.com>
Diffstat (limited to 'testcases/Controllers/ODL/CI/variables')
-rw-r--r-- | testcases/Controllers/ODL/CI/variables/Variables.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testcases/Controllers/ODL/CI/variables/Variables.py b/testcases/Controllers/ODL/CI/variables/Variables.py new file mode 100644 index 00000000..f406eec3 --- /dev/null +++ b/testcases/Controllers/ODL/CI/variables/Variables.py @@ -0,0 +1,20 @@ +""" +Library for the robot based system test tool of the OpenDaylight project. +""" +import collections + +# Global variables +CONTROLLER = '10.2.91.18' +PORT = '8081' +PREFIX = 'http://' + CONTROLLER + ':' + PORT +USER = 'admin' +PWD = 'admin' +AUTH = [u'admin',u'admin'] +HEADERS={'Content-Type': 'application/json'} +HEADERS_XML={'Content-Type': 'application/xml'} +ACCEPT_XML={'Accept': 'application/xml'} + +#TOKEN +AUTH_TOKEN_API='/oauth2/token' +REVOKE_TOKEN_API='/oauth2/revoke' + |