summaryrefslogtreecommitdiffstats
path: root/resources/testscripts/ns/msb_get.py
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2019-09-06 11:17:31 +0800
committeryangyan <yangyanyj@chinamobile.com>2019-09-06 11:17:59 +0800
commitc0c46a81b354e49c7ac10377f6b2b98e1039837f (patch)
tree078b65a606ca39ce1c7fac97b8e1d572c33f8e1c /resources/testscripts/ns/msb_get.py
parentd7b47097ce93f7cfd394bafb012ccf8590f5d4a4 (diff)
Update test scripts of vnf msb_create
Change-Id: I229175f5352ddd71fb46cef9c86e39b2df2d79d9 Issue-ID: VFC-1510 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'resources/testscripts/ns/msb_get.py')
-rw-r--r--resources/testscripts/ns/msb_get.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/resources/testscripts/ns/msb_get.py b/resources/testscripts/ns/msb_get.py
index 575bf8ca..4377077b 100644
--- a/resources/testscripts/ns/msb_get.py
+++ b/resources/testscripts/ns/msb_get.py
@@ -1,3 +1,14 @@
+# Copyright (c) 2020, CMCC Technologies Co., Ltd.
+# Licensed under the Apache License, Version 2.0 (the "License")
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
import requests
resp = requests.get('http://10.12.5.131:30280/api/nsd/v1/ns_descriptors')
print(resp.status_code, resp.json())