*/
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
import * as d3 from 'd3';
-import * as $ from 'jquery';
import { MyhttpService } from '../../core/services/myhttp.service';
-import { el } from "@angular/platform-browser/testing/src/browser_util";
@Component({
selector: 'app-ccvpn-creation',
}
getccvpnTemParameters(data) { //Get template parameters
- console.log(this.createParams);
if (typeof data["model"] == 'string') {
data = JSON.parse(data["model"]);
}
- console.log(data);
let inputss = data["inputs"];
let inputs = {};
this.templateParameters.service = {
});
this.showTemParametersSotnVpn();
this.showTemParametersSite();
- console.log(this.bodyTemplateParameter, this.templateParameters)
}
//sotnVpn data, after combining the structure, rendering the template data to the page
this.tabInputShowWanPort[index] = true;
}
});
- console.log(this.siteTableData);
this.drawImage(this.siteTableData);
this.siteModelShow = false;
}
servicebody.service.parameters.requestInputs[item] = [].concat(this.sotnVpnTableData);
}
});
- console.log(servicebody);
this.closeCreate.emit(servicebody);
}
this.networkOption.push(name2);
}
- console.log(this.networkOption);
for (let i = 0; i < data.length; i++) {
let tp_length = data[i]['tps'].length;
for (let h = 0; h < tp_length; h++) {
this.logicalLinks.push(textval);
this.chose(textval);
}
- console.log(this.logicalLinks);
if (this.dataCloudLink.length > 0) {
this.getcloudLine(this.dataCloudLink);
}