Added BGP_PORT and BGP_TOOL_PORT
[integration/test.git] / csit / variables / Variables.py
index ef89eecbd1bd477b630c515f29784647dc75681c..6c136016cb76a7eb9734019201bc04aaa95f8dfb 100644 (file)
@@ -20,6 +20,7 @@ SCOPE = 'sdn'
 HEADERS = {'Content-Type': 'application/json'}
 HEADERS_XML = {'Content-Type': 'application/xml'}
 ACCEPT_XML = {'Accept': 'application/xml'}
+ACCEPT_JSON = {'Accept': 'application/json'}
 ODL_CONTROLLER_SESSION = None
 TOPO_TREE_LEVEL = 2
 TOPO_TREE_DEPTH = 3
@@ -29,6 +30,7 @@ CONTROLLER_PASSWORD = ''  # empty means use keys
 MININET_PASSWORD = ''  # empty means use keys
 KEYFILE_PASS = 'any'
 SSH_KEY = 'id_rsa'
+CONTROLLER_STOP_TIMEOUT = 120  # Max number of seconds test will wait for a controller to stop
 
 # KARAF Variaable
 KARAF_SHELL_PORT = '8101'
@@ -36,6 +38,10 @@ KARAF_PROMPT = 'opendaylight-user'
 KARAF_USER = 'karaf'
 KARAF_PASSWORD = 'karaf'
 
+# BGP variables
+ODL_BGP_PORT = '1790'
+BGP_TOOL_PORT = '17900'
+
 # VM Environment Variables
 DEFAULT_LINUX_PROMPT = '>'
 
@@ -73,6 +79,20 @@ VLANMAP_CREATE = 'vlanmaps.json'
 # ports URL
 PORTS = 'ports/detail.json'
 
+# flowlist URL
+FLOWLISTS_CREATE = 'flowlists.json'
+
+# flowlistentry_URL
+FLOWLISTENTRIES_CREATE = 'flowlistentries.json'
+FLOWLISTS = 'flowlists'
+
+# flowfilter_URL
+FLOWFILTERS_CREATE = 'flowfilters.json'
+FLOWFILTERENTRIES_CREATE = 'flowfilterentries.json'
+FLOWFILTERS = 'flowfilters/in'
+FLOWFILTERS_UPDATE = 'flowfilterentries'
+
+
 # Common APIs
 CONFIG_NODES_API = '/restconf/config/opendaylight-inventory:nodes'
 OPERATIONAL_NODES_API = '/restconf/operational/opendaylight-inventory:nodes'