diff options
author | Dan Timoney <dtimoney@att.com> | 2020-06-24 08:14:17 -0400 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2020-07-02 13:46:57 -0400 |
commit | fc24231f90399ee7c6395dd5b6d6da7b703a695a (patch) | |
tree | 6e303d05918c21701ca29c3c83a1555f1c2c4ddf /ms/generic-resource-api/src/test/resources/preload1-rpc-network.json | |
parent | 8bb4278a79901f23216b61555ab8e6a3830fcd6a (diff) |
Add REST CRUD ops for service data
Add REST Create/Read/Update/Delete for service data
Change-Id: Ie22e8a82afa6b50c4a9fbe80ec792996e377abed
Issue-ID: SDNC-1213
Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'ms/generic-resource-api/src/test/resources/preload1-rpc-network.json')
-rw-r--r-- | ms/generic-resource-api/src/test/resources/preload1-rpc-network.json | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/ms/generic-resource-api/src/test/resources/preload1-rpc-network.json b/ms/generic-resource-api/src/test/resources/preload1-rpc-network.json new file mode 100644 index 0000000..04bea9e --- /dev/null +++ b/ms/generic-resource-api/src/test/resources/preload1-rpc-network.json @@ -0,0 +1,91 @@ +{ + "input": { + "preload-network-topology-information": { + "host-routes": [ + { + "next-hop": "10.1.12.1", + "route-prefix": "12" + } + ], + "is-external-network": true, + "is-provider-network": true, + "is-shared-network": true, + "network-policy": [ + { + "network-policy-fqdn": "policy-sdnc.onap.org", + "network-policy-id": "123" + } + ], + "network-topology-identifier-structure": { + "eipam-v4-address-plan": "plan9", + "eipam-v6-address-plan": "plan9v6", + "is-trunked": true, + "network-id": "preload1", + "network-instance-group-id": "abc123", + "network-name": "syfy", + "network-role": "secret", + "network-technology": "soupcan", + "network-type": "fake", + "related-networks": { + "related-network": [ + { + "network-id": "skynet", + "network-role": "master", + "vlan-tags": { + "is-private": true, + "lower-tag-id": 0, + "upper-tag-id": 0, + "vlan-interface": "le0" + } + } + ] + }, + "segmentation-id": "seg1" + }, + "physical-network-name": "skynet", + "route-table-reference": [ + { + "route-table-reference-fqdn": "sky.net", + "route-table-reference-id": "ref1" + } + ], + "subnets": [ + { + "addr-from-start": "Y", + "cidr-mask": "255.255.0.0", + "dhcp-enabled": "Y", + "dhcp-end-address": "10.1.2.254", + "dhcp-start-address": "10.1.2.1", + "gateway-address": "10.1.2.255", + "ip-version": "ipv4", + "start-address": "10.1.2.1", + "subnet-name": "subnet1", + "subnet-role": "puppies", + "subnet-sequence": 0 + } + ], + "vpn-bindings": [ + { + "aic-zone": "zone1", + "global-route-target": "string", + "route-target-role": "string", + "vpn-binding-id": "string", + "vpn-name": "string" + } + ] + }, + "request-information": { + "notification-url": "http://dev.null.com", + "order-number": "123456", + "order-version": "2010.06", + "request-action": "CreateNetworkInstance", + "request-id": "REQ123456", + "source": "curl" + }, + "sdnc-request-header": { + "svc-action": "reserve", + "svc-notification-url": "http://dev.null.com", + "svc-request-id": "SVCREQ123456" + } + } +} |