summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/ccvpn-network
diff options
context:
space:
mode:
authorguochuyicmri <guochuyi@chinamobile.com>2018-11-13 17:27:57 +0800
committerguochuyicmri <guochuyi@chinamobile.com>2018-11-13 17:28:07 +0800
commit3b504729b1dc7a41b5e9e101844fb6f71c5862a7 (patch)
treecf2da0c2d56318f43a1ef450c11c13c8269800d4 /usecaseui-portal/src/app/ccvpn-network
parent5b311d1072f5e093a523d0b2f81d306997ca05aa (diff)
Support OTN Domain Management
Change-Id: I96302fef953e553dae618f0214b0b25eb2fcc589 Issue-ID: USECASEUI-178 Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/ccvpn-network')
-rw-r--r--usecaseui-portal/src/app/ccvpn-network/ccvpn-network.component.ts11
1 files changed, 9 insertions, 2 deletions
diff --git a/usecaseui-portal/src/app/ccvpn-network/ccvpn-network.component.ts b/usecaseui-portal/src/app/ccvpn-network/ccvpn-network.component.ts
index 25562357..0afad53d 100644
--- a/usecaseui-portal/src/app/ccvpn-network/ccvpn-network.component.ts
+++ b/usecaseui-portal/src/app/ccvpn-network/ccvpn-network.component.ts
@@ -1007,6 +1007,7 @@ export class CcvpnNetworkComponent implements OnInit {
let params= {
"network-resource": {
+ "-xmlns": "http://org.onap.aai.inventory/v13",
"network-id":this.cloudNetwork,
"provider-id": "",
"client-id": "",
@@ -1018,7 +1019,7 @@ export class CcvpnNetworkComponent implements OnInit {
}
}
}
- }
+ };
//Do some asynchronous operations
_thiss.myhttp.createNetwrok(params)
@@ -1036,6 +1037,7 @@ export class CcvpnNetworkComponent implements OnInit {
let _thiss = this;
let params= {
"pnf": {
+ "-xmlns": "http://org.onap.aai.inventory/v13",
"pnf-name": this.cloudNode,
"pnf-id": this.cloudNode,
"in-maint": "true",
@@ -1078,6 +1080,7 @@ export class CcvpnNetworkComponent implements OnInit {
let _thiss = this;
let params= {
"p-interface": {
+ "-xmlns": "http://org.onap.aai.inventory/v13",
"interface-name": this.cloudTp,
"speed-value": "1000000",
"in-maint": "true",
@@ -1108,6 +1111,7 @@ export class CcvpnNetworkComponent implements OnInit {
let _thiss = this;
let params={
"logical-link": {
+ "-xmlns": "http://org.onap.aai.inventory/v13",
"link-name": this.linkName,
"link-type": "cross-link",
"operational-status": "up",
@@ -1148,8 +1152,10 @@ export class CcvpnNetworkComponent implements OnInit {
createCloudUrls(time) {
let _thiss = this;
+ console.log(this.cloudNetwork);
let params={
"ext-aai-network": {
+ "-xmlns": "http://org.onap.aai.inventory/v13",
"aai-id":time,
"esr-system-info": {
"esr-system-info-id": "example-esr-system-info-id-val-0",
@@ -1160,7 +1166,8 @@ export class CcvpnNetworkComponent implements OnInit {
}
}
};
-
+ console.log(time);
+ console.log(params["ext-aai-network"]["aai-id"]);
// var pro = new Promise(function (resolve, reject) {
//Do some asynchronous operations
_thiss.myhttp.createCloudUrl(params)