summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfengyuanxing <feng.yuanxing@zte.com.cn>2018-03-02 15:08:47 +0800
committerfengyuanxing <feng.yuanxing@zte.com.cn>2018-03-02 15:08:47 +0800
commitdd009c18bf71e61ad8b44bdecdc7ac8fc4eff2f6 (patch)
tree80ed829c461506afa3f69aaca70fb95a47e200dd
parent0d5d10bb9d4650a265cfaa76e25e260a29e4e715 (diff)
Add code to deal with scaling json
Change-Id: I203065c621dab33c5c61b946c85e22b6ede48d77 Issue-ID: VFC-784 Signed-off-by: fengyuanxing <feng.yuanxing@zte.com.cn>
-rw-r--r--lcm/ns/data/scalemapping.json30
1 files changed, 15 insertions, 15 deletions
diff --git a/lcm/ns/data/scalemapping.json b/lcm/ns/data/scalemapping.json
index 410332c9..59ebc73d 100644
--- a/lcm/ns/data/scalemapping.json
+++ b/lcm/ns/data/scalemapping.json
@@ -1,19 +1,19 @@
{
"scale_options": [
{
- "ns_instanceId":"23",
+ "nsd_id":"23",
"ns_scale_aspect": "TIC_EDGE_IMS",
"ns_scale_info_list": [
{
"step": "1",
"vnf_scale_list":[
{
- "vnfInstanceId":"nf_zte_cscf",
+ "vnfd_id":"nf_zte_cscf",
"vnf_scaleAspectId": "gpu",
"numberOfSteps": "1"
},
{
- "vnfInstanceId":"nf_zte_hss",
+ "vnfd_id":"nf_zte_hss",
"vnf_scaleAspectId": "gpu",
"numberOfSteps": "1"
}
@@ -23,12 +23,12 @@
"step": "2",
"vnf_scale_list":[
{
- "vnfInstanceId":"nf_zte_cscf",
+ "vnfd_id":"nf_zte_cscf",
"vnf_scaleAspectId": "mpu",
"numberOfSteps": "1"
},
{
- "vnfInstanceId":"nf_zte_hss",
+ "vnfd_id":"nf_zte_hss",
"vnf_scaleAspectId": "mpu",
"numberOfSteps": "1"
}
@@ -37,19 +37,19 @@
]
},
{
- "ns_instanceId":"23",
+ "nsd_id":"23",
"ns_scale_aspect": "TIC_EDGE_HW",
"ns_scale_info_list": [
{
"step": "4",
"vnf_scale_list":[
{
- "vnfInstanceId":"nf_hw_cscf",
+ "vnfd_id":"nf_hw_cscf",
"vnf_scaleAspectId": "gpu",
"numberOfSteps": "1"
},
{
- "vnfInstanceId":"nf_hw_hss",
+ "vnfd_id":"nf_hw_hss",
"vnf_scaleAspectId": "gpu",
"numberOfSteps": "1"
}
@@ -59,12 +59,12 @@
"step": "6",
"vnf_scale_list":[
{
- "vnfInstanceId":"nf_HW_cscf",
+ "vnfd_id":"nf_HW_cscf",
"vnf_scaleAspectId": "gpu",
"numberOfSteps": "1"
},
{
- "vnfInstanceId":"nf_HW_hss",
+ "vnfd_id":"nf_HW_hss",
"vnf_scaleAspectId": "gpu",
"numberOfSteps": "1"
}
@@ -73,19 +73,19 @@
]
},
{
- "ns_instanceId":"235",
+ "nsd_id":"235",
"ns_scale_aspect": "TIC_EDGE_HW",
"ns_scale_info_list": [
{
"step": "4",
"vnf_scale_list":[
{
- "vnfInstanceId":"nf_hw_cscf",
+ "vnfd_id":"nf_hw_cscf",
"vnf_scaleAspectId": "gpu",
"numberOfSteps": "123"
},
{
- "vnfInstanceId":"nf_hw_hss",
+ "vnfd_id":"nf_hw_hss",
"vnf_scaleAspectId": "gpu",
"numberOfSteps": "456"
}
@@ -95,12 +95,12 @@
"step": "6",
"vnf_scale_list":[
{
- "vnfInstanceId":"nf_HW_cscf",
+ "vnfd_id":"nf_HW_cscf",
"vnf_scaleAspectId": "gpu",
"numberOfSteps": "1"
},
{
- "vnfInstanceId":"nf_HW_hss",
+ "vnfd_id":"nf_HW_hss",
"vnf_scaleAspectId": "gpu",
"numberOfSteps": "1"
}