diff options
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile')
15 files changed, 780 insertions, 0 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/cli_config_content.txt b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/cli_config_content.txt new file mode 100644 index 000000000..90f301a4f --- /dev/null +++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/cli_config_content.txt @@ -0,0 +1,5 @@ +config
+system
+service-interface serv1
+ipv4
+gateway-ip-address 192.168.30.44
\ No newline at end of file diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/config_chef.txt b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/config_chef.txt new file mode 100644 index 000000000..6fbe5e762 --- /dev/null +++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/config_chef.txt @@ -0,0 +1,5 @@ +config
+system
+service-interface serv1
+ipv4
+gateway-ip-address 192.168.30.1
\ No newline at end of file diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/download_cli_config_template.txt b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/download_cli_config_template.txt new file mode 100644 index 000000000..41a5fa612 --- /dev/null +++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/download_cli_config_template.txt @@ -0,0 +1,18 @@ +Login_Prompt: Matches "Login as:"
+ Password_Prompt: Matches "Password:"
+ Request_Prompt: Ends_With "~#"
+ Request: "sdc"
+ Response: Ends_With ":"
+ Request: "1"
+ Response: Ends_With ":"
+ Request: "1"
+ Response: Ends_With "#"
+ Request: "paging-options disable"
+ Response: Ends_With "#"
+ Request: "show config"
+ Response: Ends_With "#"
+ Request: "exit"
+ Response: Ends_With ":"
+ Request: "0"
+ Response: Ends_With "#"
+ Request: "exit"
\ No newline at end of file diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/instar_values.json b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/instar_values.json new file mode 100644 index 000000000..6d053cf7d --- /dev/null +++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/instar_values.json @@ -0,0 +1,25 @@ +/*- + * ============LICENSE_START======================================================= + * ONAP : APP-C + * ================================================================================ + * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * ================================================================================ + * 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. + * ============LICENSE_END========================================================= + */ + +{ + "LOCAL_CORE_ALT_IP_ADDR": "DummyInstarIP1", + "REMOTE_ACCESS_IP_ADDR": "DummyInstarIP2" + +} diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/isbc_config_parameters.json b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/isbc_config_parameters.json new file mode 100644 index 000000000..217f9d67c --- /dev/null +++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/isbc_config_parameters.json @@ -0,0 +1,60 @@ +/*- + * ============LICENSE_START======================================================= + * ONAP : APP-C + * ================================================================================ + * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * ================================================================================ + * 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. + * ============LICENSE_END========================================================= + */ + +{ + "request-parameters": { + "vnf-type": "ISBC", + "vnf-host-ip-address": "135.21.166.39", + "service-instance-id": "ibcx0001vm001", + "site-location": "Middletown", + "vnf-name": "ibcx0001v", + "vm": [ + { + "vm-name": "ibcx0001vm001", + "vnfc": [ + { + "vnfc-name": "ibcx0001vm001ssc001", + "vnfc-function-code": "ssc", + "vnfc-type": "vISBC – ssc", + "ipaddress-v4-oam-vip": "12.1.1.1", + "pair-number": "ibcx0001vm001ssc001pair" + } + ] + }, + { + "vm-name": "ibcx0001vm002", + "vnfc": [ + { + "vnfc-name": "ibcx0001vm002ssc001", + "vnfc-function-code": "ssc", + "vnfc-type": "vISBC – ssc", + "pair-number": "ibcx0001vm002ssc001pair" + } + ] + } + ] + }, + "configuration-parameters": { + "node0_hostname" : "appc-host", + "node0_backup_router_address": "2001:1890:1253::192:168:100:1", + "node0_tacplus_server_name1": "servername1", + "node0_tacplus_server_name2": "servername2" + } +} diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/noinstarparams_pd.yaml b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/noinstarparams_pd.yaml new file mode 100644 index 000000000..5cf518101 --- /dev/null +++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/noinstarparams_pd.yaml @@ -0,0 +1,92 @@ +---
+kind: "Property Definition"
+version: "V1"
+parameters:
+- name: "LOCAL_ACCESS_IP_ADDR"
+ description: null
+ type: null
+ list: false
+ required: false
+ source: null
+ class-type: "interface-ip-address"
+ default-value: "192.168.30.1"
+ assigned-value: "192.168.30.1"
+ path: null
+ request-keys:
+ - key-id: "address_fqdn"
+ key-value: "m001dbj001p1n004v006"
+ - key-id: "address_type"
+ key-value: "v4"
+ response-keys: null
+- name: "LOCAL_CORE_ALT_IP_ADDR"
+ description: null
+ type: null
+ list: false
+ required: false
+ source: null
+ class-type: null
+ default-value: "fd00:f4d5:ea06:1:0:110:136:254"
+ assigned-value: "fd00:f4d5:ea06:1:0:110:136:254"
+ path: null
+ request-keys: null
+ response-keys: null
+- name: "LOCAL_BILLING_IP_ADDR"
+ description: null
+ type: null
+ list: false
+ required: false
+ source: null
+ class-type: null
+ default-value: "192.168.30.1"
+ assigned-value: "192.168.30.1"
+ path: null
+ request-keys: null
+ response-keys: null
+- name: "REMOTE_ACCESS_IP_ADDR"
+ description: null
+ type: null
+ list: false
+ required: false
+ source: null
+ class-type: null
+ default-value: "192.168.30.1"
+ assigned-value: "192.168.30.1"
+ path: null
+ request-keys: null
+ response-keys: null
+- name: "REMOTE_CORE_ALT_IP_ADDR"
+ description: null
+ type: null
+ list: false
+ required: false
+ source: null
+ class-type: null
+ default-value: "fd00:f4d5:ea06:1:0:110:136:254"
+ assigned-value: "fd00:f4d5:ea06:1:0:110:136:254"
+ path: null
+ request-keys: null
+ response-keys: null
+- name: "REMOTE_BILLING_IP_ADDR"
+ description: null
+ type: null
+ list: false
+ required: false
+ source: null
+ class-type: null
+ default-value: "192.168.30.1"
+ assigned-value: "192.168.30.1"
+ path: null
+ request-keys: null
+ response-keys: null
+- name: "CORE_NETWORK_PLEN"
+ description: null
+ type: null
+ list: false
+ required: false
+ source: null
+ class-type: null
+ default-value: "32"
+ assigned-value: "32"
+ path: null
+ request-keys: null
+ response-keys: null
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_cli_config.json b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_cli_config.json new file mode 100644 index 000000000..8d872e173 --- /dev/null +++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_cli_config.json @@ -0,0 +1,98 @@ +/*- + * ============LICENSE_START======================================================= + * ONAP : APP-C + * ================================================================================ + * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * ================================================================================ + * 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. + * ============LICENSE_END========================================================= + */ + +{ + "request-parameters": { + "vnf-type": "ISBC", + "vnf-host-ip-address": "135.21.166.39", + "service-instance-id": "ibcx0001vm001", + "site-location": "Middletown", + "vnf-name": "ibcx0001v", + "vm": [ + { + "vm-name": "ibcx0001vm001", + "vnfc": [ + { + "vnfc-name": "ibcx0001vm001ssc001", + "vnfc-function-code": "ssc", + "vnfc-type": "vISBC – ssc", + "ipaddress-v4-oam-vip": "12.1.1.1", + "group-notation": "ibcx0001vm001ssc001pair" + } + ] + }, + { + "vm-name": "ibcx0001vm002", + "vnfc": [ + { + "vnfc-name": "ibcx0001vm002ssc001", + "vnfc-function-code": "ssc", + "vnfc-type": "vISBC – ssc", + "group-notation": "ibcx0001vm002ssc001pair" + } + ] + } + ] + }, + "configuration": { + "configuration-string": "config\r\nsystem\r\nservice-interface serv1\r\nipv4\r\ngateway-ip-address 12.12.12.12\r\n" + }, + "configuration-parameters": { + "LOCAL_ACCESS_IP_ADDR": "192.168.30.1", + "LOCAL_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254", + "LOCAL_BILLING_IP_ADDR": "192.168.30.1", + "REMOTE_ACCESS_IP_ADDR": "192.168.30.1", + "REMOTE_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254", + "REMOTE_BILLING_IP_ADDR": "192.168.30.1", + "CORE_NETWORK_PLEN": "32", + "CORE_NETWORK_ALT_PLEN": "126", + "CORE_NETWORK_DEFAULT_GATEWAY": "192.168.30.1", + "CORE_NETWORK_ALT_DEFAULT_GATEWAY": "fd00:f4d5:ea06:1:0:110:136:254", + "ACCESS_NETWORK_PLEN": "32", + "ACCESS_NETWORK_ALT_PLEN": "126", + "ACCESS_NETWORK_DEFAULT_GATEWAY": "135.25.69.147", + "ACCESS_NETWORK_ALT_DEFAULT_GATEWAY": "fd00:f4d5:ea06:1:0:110:136:254", + "BILLING_NETWORK_PLEN": "32", + "BILLING_NETWORK_DEFAULT_GATEWAY": "135.25.69.147", + "VIRT_CORE_IP_ADDR": "135.25.69.147", + "VIRT_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254", + "VIRT_ACCESS_IP_ADDR": "135.25.69.147", + "VIRT_ACCESS_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254", + "VIRT_BILLING_IP_ADDR": "135.25.69.147", + "DNS_SERVERS": "135.25.69.147", + "SNMP_CLIENT_1": "135.25.69.147", + "SNMP_CLIENT_2": "135.25.69.147", + "SNMP_COMMUNITY_STRING_CLIENT1": "135.25.69.147", + "SNMP_COMMUNITY_STRING_CLIENT2": "135.25.69.147", + "BILLING_SERVER_1": "135.25.69.147", + "BILLING_SERVER_2": "135.25.69.147", + "IMS_CORE_ALT_IP_ADDR1": "135.25.69.147", + "IMS_CORE_ALT_IP_ADDR2": "135.25.69.147", + "IMS_CORE_ALT_IP_ADDR3": "135.25.69.147", + "IMS_CORE_ALT_IP_ADDR4": "135.25.69.147", + "OAM_VIP_HOSTNAME": "135.25.69.147", + "DG_APP_SERVER1": "135.25.69.147", + "DG_APP_SERVER2": "135.25.69.147", + "CTS_IP_RANGE": "135.25.69.147", + "CTS_PREFIX_LENGTH": "26", + "LICENSE_KEY": "AQGpAQA/AQAEAAANBAIAGY1mwTCGq0adcFTpiuwgDxAFwlmxPP8TYmQDAAEBBAAABQAEVwMAAAYABFhR3QAHAARXAwAAAgFkAQAoAQABBAIAB0MwMjc1MTgDAAL//wYAB0wwMTEwMDEHAAQAAAABCQABAAIBNgEBMwEAAQECAAEAAwAEAAGGoAQABP////8FAASAADTfBgAE/////wcAFAEABkcuNzI5QQIABAAAE4gDAAEBBwARAQADQU1SAgAEAAATiAMAAQEHABQBAAZBTVItV0ICAAQAABOIAwABAQsABAABhqAMAB4BABBJTlNUX0lTQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX0lTQ19IQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX1NTQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX1NTQ19IQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX01TQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX01TQ19IQV9WSVJUAgAEAAAAZAMAAQG8N/Kba2f53+Rj7bN0En1MmpFrvPo+QBSk0smG9XCVZ8lmwYTCggTSLdHDG8kR1/AsSz7nr3v87H+4GIuY+Ktjw7Ug1a8xhBRUabSjz5pOm34ZZwG8uC38sbgVfIXEZJd+jukvAijyRqnrud5MX24vozW/tVMYj4GHCmrdc176tA==", + "LIC_SERVER_BYPASS_URI": "file:///var/opt/MetaSwitch/craft/ftp/META-L011001-20170316.byp" + } +} diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_json_config.json b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_json_config.json new file mode 100644 index 000000000..e29080aab --- /dev/null +++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_json_config.json @@ -0,0 +1,104 @@ +/*- + * ============LICENSE_START======================================================= + * ONAP : APP-C + * ================================================================================ + * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * ================================================================================ + * 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. + * ============LICENSE_END========================================================= + */ + +{ + "request-parameters": { + "vnf-type": "ISBC", + "vnf-host-ip-address": "135.21.166.39", + "service-instance-id": "ibcx0001vm001", + "site-location": "Middletown", + "vnf-name": "ibcx0001v", + "vm": [ + { + "vm-name": "ibcx0001vm001", + "vnfc": [ + { + "vnfc-name": "ibcx0001vm001ssc001", + "vnfc-function-code": "ssc", + "vnfc-type": "vISBC – ssc", + "ipaddress-v4-oam-vip": "12.1.1.1", + "group-notation": "ibcx0001vm001ssc001pair" + } + ] + }, + { + "vm-name": "ibcx0001vm002", + "vnfc": [ + { + "vnfc-name": "ibcx0001vm002ssc001", + "vnfc-function-code": "ssc", + "vnfc-type": "vISBC – ssc", + "group-notation": "ibcx0001vm002ssc001pair" + } + ] + } + ] + }, + "configuration": { + "configuration-json": { + "config": { + "group": { + "interface": "interface1" + } + } + } + }, + "configuration-parameters": { + "LOCAL_ACCESS_IP_ADDR": "192.168.30.1", + "LOCAL_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254", + "LOCAL_BILLING_IP_ADDR": "192.168.30.1", + "REMOTE_ACCESS_IP_ADDR": "192.168.30.1", + "REMOTE_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254", + "REMOTE_BILLING_IP_ADDR": "192.168.30.1", + "CORE_NETWORK_PLEN": "32", + "CORE_NETWORK_ALT_PLEN": "126", + "CORE_NETWORK_DEFAULT_GATEWAY": "192.168.30.1", + "CORE_NETWORK_ALT_DEFAULT_GATEWAY": "fd00:f4d5:ea06:1:0:110:136:254", + "ACCESS_NETWORK_PLEN": "32", + "ACCESS_NETWORK_ALT_PLEN": "126", + "ACCESS_NETWORK_DEFAULT_GATEWAY": "135.25.69.147", + "ACCESS_NETWORK_ALT_DEFAULT_GATEWAY": "fd00:f4d5:ea06:1:0:110:136:254", + "BILLING_NETWORK_PLEN": "32", + "BILLING_NETWORK_DEFAULT_GATEWAY": "135.25.69.147", + "VIRT_CORE_IP_ADDR": "135.25.69.147", + "VIRT_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254", + "VIRT_ACCESS_IP_ADDR": "135.25.69.147", + "VIRT_ACCESS_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254", + "VIRT_BILLING_IP_ADDR": "135.25.69.147", + "DNS_SERVERS": "135.25.69.147", + "SNMP_CLIENT_1": "135.25.69.147", + "SNMP_CLIENT_2": "135.25.69.147", + "SNMP_COMMUNITY_STRING_CLIENT1": "135.25.69.147", + "SNMP_COMMUNITY_STRING_CLIENT2": "135.25.69.147", + "BILLING_SERVER_1": "135.25.69.147", + "BILLING_SERVER_2": "135.25.69.147", + "IMS_CORE_ALT_IP_ADDR1": "135.25.69.147", + "IMS_CORE_ALT_IP_ADDR2": "135.25.69.147", + "IMS_CORE_ALT_IP_ADDR3": "135.25.69.147", + "IMS_CORE_ALT_IP_ADDR4": "135.25.69.147", + "OAM_VIP_HOSTNAME": "135.25.69.147", + "DG_APP_SERVER1": "135.25.69.147", + "DG_APP_SERVER2": "135.25.69.147", + "CTS_IP_RANGE": "135.25.69.147", + "CTS_PREFIX_LENGTH": "26", + "LICENSE_KEY": "AQGpAQA/AQAEAAANBAIAGY1mwTCGq0adcFTpiuwgDxAFwlmxPP8TYmQDAAEBBAAABQAEVwMAAAYABFhR3QAHAARXAwAAAgFkAQAoAQABBAIAB0MwMjc1MTgDAAL//wYAB0wwMTEwMDEHAAQAAAABCQABAAIBNgEBMwEAAQECAAEAAwAEAAGGoAQABP////8FAASAADTfBgAE/////wcAFAEABkcuNzI5QQIABAAAE4gDAAEBBwARAQADQU1SAgAEAAATiAMAAQEHABQBAAZBTVItV0ICAAQAABOIAwABAQsABAABhqAMAB4BABBJTlNUX0lTQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX0lTQ19IQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX1NTQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX1NTQ19IQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX01TQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX01TQ19IQV9WSVJUAgAEAAAAZAMAAQG8N/Kba2f53+Rj7bN0En1MmpFrvPo+QBSk0smG9XCVZ8lmwYTCggTSLdHDG8kR1/AsSz7nr3v87H+4GIuY+Ktjw7Ug1a8xhBRUabSjz5pOm34ZZwG8uC38sbgVfIXEZJd+jukvAijyRqnrud5MX24vozW/tVMYj4GHCmrdc176tA==", + "LIC_SERVER_BYPASS_URI": "file:///var/opt/MetaSwitch/craft/ftp/META-L011001-20170316.byp" + } +} diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_parameters_config.json b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_parameters_config.json new file mode 100644 index 000000000..968db23e3 --- /dev/null +++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_parameters_config.json @@ -0,0 +1,95 @@ +/*- + * ============LICENSE_START======================================================= + * ONAP : APP-C + * ================================================================================ + * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * ================================================================================ + * 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. + * ============LICENSE_END========================================================= + */ + +{ + "request-parameters": { + "vnf-type": "ISBC", + "vnf-host-ip-address": "135.21.166.39", + "service-instance-id": "ibcx0001vm001", + "site-location": "Middletown", + "vnf-name": "ibcx0001v", + "vm": [ + { + "vm-name": "ibcx0001vm001", + "vnfc": [ + { + "vnfc-name": "ibcx0001vm001ssc001", + "vnfc-function-code": "ssc", + "vnfc-type": "vISBC – ssc", + "ipaddress-v4-oam-vip": "12.1.1.1", + "pair-number": "ibcx0001vm001ssc001pair" + } + ] + }, + { + "vm-name": "ibcx0001vm002", + "vnfc": [ + { + "vnfc-name": "ibcx0001vm002ssc001", + "vnfc-function-code": "ssc", + "vnfc-type": "vISBC – ssc", + "pair-number": "ibcx0001vm002ssc001pair" + } + ] + } + ] + }, + "configuration-parameters": { + "LOCAL_ACCESS_IP_ADDR": "192.168.30.1", + "LOCAL_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254", + "LOCAL_BILLING_IP_ADDR": "192.168.30.1", + "REMOTE_ACCESS_IP_ADDR": "192.168.30.1", + "REMOTE_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254", + "REMOTE_BILLING_IP_ADDR": "192.168.30.1", + "CORE_NETWORK_PLEN": "32", + "CORE_NETWORK_ALT_PLEN": "126", + "CORE_NETWORK_DEFAULT_GATEWAY": "192.168.30.1", + "CORE_NETWORK_ALT_DEFAULT_GATEWAY": "fd00:f4d5:ea06:1:0:110:136:254", + "ACCESS_NETWORK_PLEN": "32", + "ACCESS_NETWORK_ALT_PLEN": "126", + "ACCESS_NETWORK_DEFAULT_GATEWAY": "135.25.69.147", + "ACCESS_NETWORK_ALT_DEFAULT_GATEWAY": "fd00:f4d5:ea06:1:0:110:136:254", + "BILLING_NETWORK_PLEN": "32", + "BILLING_NETWORK_DEFAULT_GATEWAY": "135.25.69.147", + "VIRT_CORE_IP_ADDR": "135.25.69.147", + "VIRT_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254", + "VIRT_ACCESS_IP_ADDR": "135.25.69.147", + "VIRT_ACCESS_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254", + "VIRT_BILLING_IP_ADDR": "135.25.69.147", + "DNS_SERVERS": "135.25.69.147", + "SNMP_CLIENT_1": "135.25.69.147", + "SNMP_CLIENT_2": "135.25.69.147", + "SNMP_COMMUNITY_STRING_CLIENT1": "135.25.69.147", + "SNMP_COMMUNITY_STRING_CLIENT2": "135.25.69.147", + "BILLING_SERVER_1": "135.25.69.147", + "BILLING_SERVER_2": "135.25.69.147", + "IMS_CORE_ALT_IP_ADDR1": "135.25.69.147", + "IMS_CORE_ALT_IP_ADDR2": "135.25.69.147", + "IMS_CORE_ALT_IP_ADDR3": "135.25.69.147", + "IMS_CORE_ALT_IP_ADDR4": "135.25.69.147", + "OAM_VIP_HOSTNAME": "135.25.69.147", + "DG_APP_SERVER1": "135.25.69.147", + "DG_APP_SERVER2": "135.25.69.147", + "CTS_IP_RANGE": "135.25.69.147", + "CTS_PREFIX_LENGTH": "26", + "LICENSE_KEY": "AQGpAQA/AQAEAAANBAIAGY1mwTCGq0adcFTpiuwgDxAFwlmxPP8TYmQDAAEBBAAABQAEVwMAAAYABFhR3QAHAARXAwAAAgFkAQAoAQABBAIAB0MwMjc1MTgDAAL//wYAB0wwMTEwMDEHAAQAAAABCQABAAIBNgEBMwEAAQECAAEAAwAEAAGGoAQABP////8FAASAADTfBgAE/////wcAFAEABkcuNzI5QQIABAAAE4gDAAEBBwARAQADQU1SAgAEAAATiAMAAQEHABQBAAZBTVItV0ICAAQAABOIAwABAQsABAABhqAMAB4BABBJTlNUX0lTQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX0lTQ19IQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX1NTQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX1NTQ19IQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX01TQ19TQV9WSVJUAgAEAAAAZAMAAQEMAB4BABBJTlNUX01TQ19IQV9WSVJUAgAEAAAAZAMAAQG8N/Kba2f53+Rj7bN0En1MmpFrvPo+QBSk0smG9XCVZ8lmwYTCggTSLdHDG8kR1/AsSz7nr3v87H+4GIuY+Ktjw7Ug1a8xhBRUabSjz5pOm34ZZwG8uC38sbgVfIXEZJd+jukvAijyRqnrud5MX24vozW/tVMYj4GHCmrdc176tA==", + "LIC_SERVER_BYPASS_URI": "file:///var/opt/MetaSwitch/craft/ftp/META-L011001-20170316.byp" + } +} diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_restore_config.json b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_restore_config.json new file mode 100644 index 000000000..4f282963b --- /dev/null +++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_restore_config.json @@ -0,0 +1,54 @@ +/*- + * ============LICENSE_START======================================================= + * ONAP : APP-C + * ================================================================================ + * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * ================================================================================ + * 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. + * ============LICENSE_END========================================================= + */ + +{ + "request-parameters": { + "vnf-type": "ISBC", + "vnf-host-ip-address": "135.21.166.39", + "service-instance-id": "ibcx0001vm001", + "site-location": "Middletown", + "vnf-name": "ibcx0001v", + "vm": [ + { + "vm-name": "ibcx0001vm001", + "vnfc": [ + { + "vnfc-name": "ibcx0001vm001ssc001", + "vnfc-function-code": "ssc", + "vnfc-type": "vISBC – ssc", + "ipaddress-v4-oam-vip": "12.1.1.1", + "pair-number": "ibcx0001vm001ssc001pair" + } + ] + }, + { + "vm-name": "ibcx0001vm002", + "vnfc": [ + { + "vnfc-name": "ibcx0001vm002ssc001", + "vnfc-function-code": "ssc", + "vnfc-type": "vISBC – ssc", + "pair-number": "ibcx0001vm002ssc001pair" + } + ] + } + ] + } +} diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_template_config.json b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_template_config.json new file mode 100644 index 000000000..edd5be344 --- /dev/null +++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/payload_template_config.json @@ -0,0 +1,56 @@ +/*- + * ============LICENSE_START======================================================= + * ONAP : APP-C + * ================================================================================ + * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * ================================================================================ + * 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. + * ============LICENSE_END========================================================= + */ + +{ + "request-parameters": { + "vnf-type": "ISBC", + "vnf-host-ip-address": "135.21.166.39", + "service-instance-id": "ibcx0001vm001", + "site-location": "Middletown", + "vnf-name": "ibcx0001v", + "vm": [ + { + "vm-name": "ibcx0001vm001", + "vnfc": [ + { + "vnfc-name": "ibcx0001vm001ssc001", + "vnfc-function-code": "ssc", + "vnfc-type": "vISBC – ssc", + "ipaddress-v4-oam-vip": "12.1.1.1", + "group-notation": "ibcx0001vm001ssc001pair" + } + ] + }, + { + "vm-name": "ibcx0001vm002", + "vnfc": [ + { + "vnfc-name": "ibcx0001vm002ssc001", + "vnfc-function-code": "ssc", + "vnfc-type": "vISBC – ssc", + "group-notation": "ibcx0001vm002ssc001pair" + } + ] + } + ], + "template-name": "vISBC-ssc-change_template1" + + } +} diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/pd.yaml b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/pd.yaml new file mode 100644 index 000000000..3eb302eb3 --- /dev/null +++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/pd.yaml @@ -0,0 +1,75 @@ +---
+kind: "Property Definition"
+version: "V1"
+vnf-parameter-list:
+- name: "LOCAL_ACCESS_IP_ADDR"
+ description: null
+ type: null
+ required: false
+ source: "INSTAR"
+ rule-type: "interface-ip-address"
+ default: "192.168.30.1"
+ request-keys:
+ - key-name: "address_fqdn"
+ key-value: "m001dbj001p1n004v006"
+ - key-name: "address_type"
+ key-value: "v4"
+ response-keys: null
+- name: "LOCAL_CORE_ALT_IP_ADDR"
+ description: null
+ type: null
+ required: false
+ source: "INSTAR"
+ rule-type: null
+ default: "fd00:f4d5:ea06:1:0:110:136:254"
+ request-keys:
+ - key-name: "address_fqdn"
+ key-value: "m001dbj001p1n004v006"
+ - key-name: "address_type"
+ key-value: "v4"
+ response-keys: null
+- name: "LOCAL_BILLING_IP_ADDR"
+ description: null
+ type: null
+ required: false
+ source: null
+ rule-type: null
+ default: "192.168.30.1"
+ request-keys: null
+ response-keys: null
+- name: "REMOTE_ACCESS_IP_ADDR"
+ description: null
+ type: null
+ required: false
+ source: "INSTAR"
+ rule-type: null
+ default: "192.168.30.1"
+ request-keys: null
+ response-keys: null
+- name: "REMOTE_CORE_ALT_IP_ADDR"
+ description: null
+ type: null
+ required: false
+ source: null
+ rule-type: null
+ default: "fd00:f4d5:ea06:1:0:110:136:254"
+ request-keys: null
+ response-keys: null
+- name: "REMOTE_BILLING_IP_ADDR"
+ description: null
+ type: null
+ required: false
+ source: "INSTAR"
+ rule-type: null
+ default: "192.168.30.1"
+ request-keys: null
+ response-keys: null
+- name: "CORE_NETWORK_PLEN"
+ description: null
+ type: null
+ required: false
+ source: null
+ rule-type: null
+ default: "32"
+ request-keys: null
+ response-keys: null
diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/request-param.json b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/request-param.json new file mode 100644 index 000000000..68f9c9fe4 --- /dev/null +++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/request-param.json @@ -0,0 +1,21 @@ +/*- + * ============LICENSE_START======================================================= + * ONAP : APP-C + * ================================================================================ + * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * ================================================================================ + * 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. + * ============LICENSE_END========================================================= + */ + +{ "LOCAL_ACCESS_IP_ADDR": "192.168.30.1", "LOCAL_BILLING_IP_ADDR": "192.168.30.1","REMOTE_CORE_ALT_IP_ADDR": "fd00:f4d5:ea06:1:0:110:136:254","REMOTE_BILLING_IP_ADDR": "192.168.30.1","CORE_NETWORK_PLEN": "32"} diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/vdbe_data.json b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/vdbe_data.json new file mode 100644 index 000000000..c1e17a17a --- /dev/null +++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/vdbe_data.json @@ -0,0 +1,27 @@ +/*- + * ============LICENSE_START======================================================= + * ONAP : APP-C + * ================================================================================ + * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * ================================================================================ + * 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. + * ============LICENSE_END========================================================= + */ + +{ + "node0_hostname" : "appc-host", + "node0_backup_router_address": "2001:1890:1253::192:168:100:1", + "node0_tacplus_server_name1": "servername1", + "node0_tacplus_server_name2": "servername2" + +} diff --git a/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/vdbe_template.xml b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/vdbe_template.xml new file mode 100644 index 000000000..8d8c89cb8 --- /dev/null +++ b/appc-directed-graph/appc-dgraph/provider/src/test/resources/properties/tcfile/vdbe_template.xml @@ -0,0 +1,45 @@ +<!-- + ============LICENSE_START======================================================= + ONAP : APP-C + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + 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. + ============LICENSE_END========================================================= + --> + +<configuration xmlns="http://xml.juniper.net/xnm/1.1/xnm" + xmlns:a="http://xml.juniper.net/junos/15.1X49/junos"> + <version>15.1X49-D50.3</version> + <groups> + <name>node0</name> + <system> + <host-name>$node0_hostname</host-name> + <backup-router> + <address>$node0_backup_router_address</address> + <destination>0.0.0.0/0</destination> + </backup-router> + <tacplus-server> + <name>$node0_tacplus_server_name1</name> + <source-address>$node0_tacplus_server_source_address1 + </source-address> + </tacplus-server> + <tacplus-server> + <name>$node0_tacplus_server_name2</name> + <source-address>$node0_tacplus_server_source_address1 + </source-address> + </tacplus-server> + </system> + </groups> + +</configuration> |