Matteo Scandolo | 48d3d2d | 2017-08-08 13:05:27 -0700 | [diff] [blame] | 1 | |
| 2 | # Copyright 2017-present Open Networking Foundation |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
| 16 | |
Suchitra.Vemuri | fdb220a | 2016-10-19 14:09:53 -0700 | [diff] [blame] | 17 | #!/usr/bin/env python |
Suchitra Vemuri | 5f15772 | 2017-05-19 16:08:13 -0700 | [diff] [blame] | 18 | |
Suchitra Vemuri | d489186 | 2018-05-22 11:08:16 -0700 | [diff] [blame] | 19 | SERVER_IP = '' |
Suchitra Vemuri | b73ec6f | 2018-05-10 13:34:00 -0700 | [diff] [blame] | 20 | SERVER_PORT = '30006' |
| 21 | XOS_USER = 'admin@opencord.org' |
Suchitra Vemuri | d489186 | 2018-05-22 11:08:16 -0700 | [diff] [blame] | 22 | XOS_PASSWD = '' |
| 23 | VOLT_SUBSCRIBER = '/xosapi/v1/rcord/rcordsubscribers' |
Matteo Scandolo | 246fae4 | 2018-03-01 17:47:53 -0800 | [diff] [blame] | 24 | VOLT_TENANT = '/xosapi/v1/volt/voltserviceinstances' |
Suchitra Vemuri | 7dbf03c | 2018-04-25 23:06:23 -0700 | [diff] [blame] | 25 | VOLT_DEVICE = '/xosapi/v1/volt/oltdevices' |
Suchitra Vemuri | d489186 | 2018-05-22 11:08:16 -0700 | [diff] [blame] | 26 | ONU_DEVICE = '/xosapi/v1/volt/onudevices' |
Suchitra Vemuri | 7dbf03c | 2018-04-25 23:06:23 -0700 | [diff] [blame] | 27 | VOLT_SERVICE = '/xosapi/v1/volt/voltservices' |
| 28 | PON_PORT = '/xosapi/v1/volt/ponports' |
Suchitra Vemuri | daeb247 | 2017-08-15 11:58:21 -0700 | [diff] [blame] | 29 | CH_CORE_SERVICELINK = '/xosapi/v1/core/serviceinstancelinks' |
You Wang | 2e97a01 | 2016-10-21 16:09:52 -0700 | [diff] [blame] | 30 | TENANT_SUBSCRIBER = '/api/tenant/cord/subscriber/' |
Suchitra.Vemuri | d203534 | 2016-11-22 17:44:40 -0800 | [diff] [blame] | 31 | TENANT_VOLT = '/api/tenant/cord/volt/' |
Suchitra.Vemuri | 32e03c2 | 2016-11-03 11:57:53 -0700 | [diff] [blame] | 32 | UTILS_SYNCHRONIZER = '/api/utility/synchronizer/' |
Suchitra.Vemuri | 8be1880 | 2016-11-16 16:59:54 -0800 | [diff] [blame] | 33 | UTILS_LOGIN = '/api/utility/login/' |
| 34 | CORE_USERS = '/api/core/users/' |
Suchitra Vemuri | f7410a9 | 2017-05-16 17:04:05 -0700 | [diff] [blame] | 35 | CH_CORE_USERS = '/xosapi/v1/core/users' |
You Wang | 0869a32 | 2016-12-05 16:55:51 -0800 | [diff] [blame] | 36 | CORE_SERVICES = '/api/core/services/' |
Suchitra Vemuri | f7410a9 | 2017-05-16 17:04:05 -0700 | [diff] [blame] | 37 | CH_CORE_SERVICES = '/xosapi/v1/core/services' |
Suchitra.Vemuri | 0c8024a | 2016-12-07 16:31:21 -0800 | [diff] [blame] | 38 | CORE_INSTANCES = '/api/core/instances/' |
Suchitra Vemuri | f7410a9 | 2017-05-16 17:04:05 -0700 | [diff] [blame] | 39 | CH_CORE_INSTANCES = '/xosapi/v1/core/instances' |
You Wang | f462ee9 | 2016-12-16 13:11:43 -0800 | [diff] [blame] | 40 | CORE_DEPLOYMENTS = '/api/core/deployments/' |
Suchitra Vemuri | d40db41 | 2017-05-19 15:45:09 -0700 | [diff] [blame] | 41 | CH_CORE_DEPLOYMENTS = '/xosapi/v1/core/deployments' |
Suchitra.Vemuri | 75dffd4 | 2016-12-20 15:35:25 -0800 | [diff] [blame] | 42 | CORE_SANITY_INSTANCES = '/api/core/instances/?no_hyperlinks=1' |
| 43 | CORE_SANITY_SLICES = '/api/core/slices/?no_hyperlinks=1' |
| 44 | CORE_SLICES = '/api/core/slices/' |
Suchitra Vemuri | f7410a9 | 2017-05-16 17:04:05 -0700 | [diff] [blame] | 45 | CH_CORE_SLICES = '/xosapi/v1/core/slices' |
You Wang | 6f0fd1f | 2016-12-21 14:55:56 -0800 | [diff] [blame] | 46 | CORE_SANITY_NODES = '/api/core/nodes/?no_hyperlinks=1' |
| 47 | CORE_NODES = '/api/core/nodes/' |
Suchitra Vemuri | f7410a9 | 2017-05-16 17:04:05 -0700 | [diff] [blame] | 48 | CH_CORE_NODES = '/xosapi/v1/core/nodes' |
Suchitra.Vemuri | 65900f0 | 2016-12-22 15:26:10 -0800 | [diff] [blame] | 49 | CORE_FLAVORS = '/api/core/flavors/' |
Suchitra Vemuri | f7410a9 | 2017-05-16 17:04:05 -0700 | [diff] [blame] | 50 | CH_CORE_FLAVORS = '/xosapi/v1/core/flavors' |
You Wang | 65aa7ef | 2017-01-03 16:23:44 -0800 | [diff] [blame] | 51 | CORE_SITES = '/api/core/sites/' |
Suchitra Vemuri | f7410a9 | 2017-05-16 17:04:05 -0700 | [diff] [blame] | 52 | CH_CORE_SITES = '/xosapi/v1/core/sites' |
Suchitra.Vemuri | fc4a208 | 2017-02-06 11:57:35 -0800 | [diff] [blame] | 53 | CORE_IMAGES = '/api/core/images/' |
Suchitra Vemuri | f7410a9 | 2017-05-16 17:04:05 -0700 | [diff] [blame] | 54 | CH_CORE_IMAGES = '/xosapi/v1/core/images' |
You Wang | 123d694 | 2017-03-01 12:33:02 -0800 | [diff] [blame] | 55 | CORE_SITEDEPLOYMENTS = '/api/core/sitedeployments' |
Kailash Khalasi | 2adbad8 | 2017-05-15 14:53:40 -0700 | [diff] [blame] | 56 | CH_CORE_NETWORKS = '/xosapi/v1/core/networks' |
| 57 | CH_CORE_SLICES = '/xosapi/v1/core/slices' |
| 58 | CH_CORE_NETWORK_SLICES = '/xosapi/v1/core/networkslices' |
| 59 | CH_CORE_PORTS = '/xosapi/v1/core/ports' |
| 60 | CH_CORE_SERVICES = '/xosapi/v1/core/services' |
Suchitra Vemuri | f7410a9 | 2017-05-16 17:04:05 -0700 | [diff] [blame] | 61 | CH_CORE_SITEDEPLOYMENTS = '/xosapi/v1/core/sitedeployments' |
Kailash Khalasi | 2adbad8 | 2017-05-15 14:53:40 -0700 | [diff] [blame] | 62 | CH_CORE_NETWORK_TEMPLATES = '/xosapi/v1/core/networktemplates' |
Suchitra Vemuri | fbe6edc | 2018-01-05 12:50:57 -0800 | [diff] [blame] | 63 | VSG_TENANT = '/xosapi/v1/vsg/vsgserviceinstances' |
Suchitra Vemuri | b73ec6f | 2018-05-10 13:34:00 -0700 | [diff] [blame] | 64 | HWVSG_TENANT = '/xosapi/v1/vsg-hw/vsghwserviceinstances' |
Suchitra Vemuri | cc9c0f3 | 2018-06-15 17:13:29 -0700 | [diff] [blame] | 65 | FABRIC_SWITCH = '/xosapi/v1/fabric/switches' |
| 66 | SWITCH_PORT = '/xosapi/v1/fabric/switchports' |
| 67 | PORT_INTERFACE = '/xosapi/v1/fabric/portinterfaces' |
Suchitra Vemuri | 5ef5ae6 | 2018-07-18 18:16:42 -0700 | [diff] [blame] | 68 | OSS_SERVICE = '/xosapi/v1/hippie-oss/hippieossservices' |
Suchitra Vemuri | 6555676 | 2018-08-22 13:52:38 -0700 | [diff] [blame] | 69 | OSS_SERVICEINSTANCE = '/xosapi/v1/hippie-oss/hippieossserviceinstances' |
Suchitra Vemuri | 5ef5ae6 | 2018-07-18 18:16:42 -0700 | [diff] [blame] | 70 | OSS_VOLT = '/xosapi/v1/core/servicedependencys' |
Suchitra Vemuri | 6555676 | 2018-08-22 13:52:38 -0700 | [diff] [blame] | 71 | BNG_MAP = '/xosapi/v1/fabric-crossconnect/bngportmappings' |
| 72 | ATT_SERVICE = '/xosapi/v1/att-workflow-driver/attworkflowdriverservices' |
| 73 | ATT_WHITELIST = '/xosapi/v1/att-workflow-driver/attworkflowdriverwhitelistentries' |