X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Fvariables%2FVariables.py;h=5ccea6037eae59e548717f4c8c31d312011418ca;hb=31db4aad404a6618a6ec3a0f3f969ce4d3264846;hp=9b3f6593aba9001aae778bf634bafe429999041d;hpb=0b43a2b7b6932bc47259a23d15edfe743acaaee0;p=integration%2Ftest.git diff --git a/csit/variables/Variables.py b/csit/variables/Variables.py index 9b3f6593ab..5ccea6037e 100644 --- a/csit/variables/Variables.py +++ b/csit/variables/Variables.py @@ -43,6 +43,10 @@ PROTOCOL_LOG_LEVEL = BGPCEP_LOG_LEVEL ODL_BGP_PORT = '1790' BGP_TOOL_PORT = '17900' +# Restconf variables +ODL_RESTCONF_USER = 'admin' +ODL_RESTCONF_PASSWORD = 'admin' + # Netconf variables ODL_NETCONF_PORT = '2830' ODL_NETCONF_USER = 'admin' @@ -50,6 +54,9 @@ ODL_NETCONF_PASSWORD = 'admin' ODL_NETCONF_PROMPT = ']]>]]>' ODL_NETCONF_NAMESPACE = 'urn:ietf:params:xml:ns:netconf:base:1.0' +# OpenFlow variables +ODL_OF_PLUGIN = 'lithium' + # VTN Coordinator Variables VTNC = '127.0.0.1' VTNCPORT = '8083' @@ -113,6 +120,14 @@ CONFIG_API = '/restconf/config' OPERATIONAL_API = '/restconf/operational' MODULES_API = '/restconf/modules' +# NEMO Variables +PREDEFINE_ROLE_URI = '/restconf/config/nemo-user:user-roles' +PREDEFINE_NODE_URI = '/restconf/config/nemo-object:node-definitions' +PREDEFINE_CONNECTION_URI = '/restconf/config/nemo-object:connection-definitions' +REGISTER_TENANT_URI = '/restconf/operations/nemo-intent:register-user' +STRUCTURE_INTENT_URI = '/restconf/operations/nemo-intent:structure-style-nemo-update' +GET_INTENTS_URI = '/retconf/config/intent:intents' + # TOKEN AUTH_TOKEN_API = '/oauth2/token' REVOKE_TOKEN_API = '/oauth2/revoke' @@ -165,6 +180,7 @@ HEADERS_YANG_JSON = {'Content-Type': 'application/yang.data+json'} HEADERS_XML = {'Content-Type': 'application/xml'} ACCEPT_XML = {'Accept': 'application/xml'} ACCEPT_JSON = {'Accept': 'application/json'} +ACCEPT_EMPTY = {} # Json should be default, but no-output RPC cannot have Accept header. ODL_CONTROLLER_SESSION = None TOPO_TREE_LEVEL = 2 TOPO_TREE_DEPTH = 3 @@ -175,6 +191,9 @@ CONTROLLER_STOP_TIMEOUT = 120 # Max number of seconds test will wait for a cont TOPOLOGY_URL = 'network-topology:network-topology/topology' SEND_ACCEPT_XML_HEADERS = {'Content-Type': 'application/xml', 'Accept': 'application/xml'} +# Test deadlines global control +ENABLE_GLOBAL_TEST_DEADLINES = True + # Deprecated old variables, to be removed once all tests that need them are # updated to use the new names. CONTROLLER = ODL_SYSTEM_IP