diff options
author | 2018-08-21 18:36:36 +0800 | |
---|---|---|
committer | 2018-08-21 18:49:35 +0800 | |
commit | 88350d3c9580855053aabc6d83ff8f54919137de (patch) | |
tree | c1389153f936ede90b6cfffb4cc22959aea7dd07 /holmes-actions/src/test/resources/ccvpn.data.json | |
parent | ade8715b85cc4205ba2420cca24e253891a13540 (diff) |
Added AAI Query Tool
Change-Id: I8110ad860ac4fb4e83a864ab7ab9c31d7f84da60
Issue-ID: HOLMES-160
Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'holmes-actions/src/test/resources/ccvpn.data.json')
-rw-r--r-- | holmes-actions/src/test/resources/ccvpn.data.json | 168 |
1 files changed, 168 insertions, 0 deletions
diff --git a/holmes-actions/src/test/resources/ccvpn.data.json b/holmes-actions/src/test/resources/ccvpn.data.json new file mode 100644 index 0000000..6632cc2 --- /dev/null +++ b/holmes-actions/src/test/resources/ccvpn.data.json @@ -0,0 +1,168 @@ +{ + "logic-link": { + "results": [ + { + "p-interface": { + "interface-name": "{ifName}", + "network-ref": "some ref", + "transparent": "some value", + "operational-status ": "{status}", + "speed-value": "some speed", + "relationship-list": { + "relationship": [ + { + "related-to": "logical-link", + "related-link": "url of logical-link", + "relationship-data": { + "relationship-key": "logical-link.link-name", + "relationship-value": "logic-link-1" + } + } + ] + } + } + } + ] + }, + "vpn-binding": { + "results": [ + { + "p-interface": { + "interface-name": "{ifName}", + "network-ref": "some ref", + "transparent": "some value", + "operational-status ": "{status}", + "speed-value": "some speed", + "relationship-list": { + "relationship": [ + { + "related-to": "vpn-binding", + "related-link": "url of vpn-binding", + "relationship-data": { + "relationship-key": "vpn-binding.vpn-id", + "relationship-value": "some id" + } + } + ] + } + } + } + ] + }, + "connectivity": { + "results": [ + { + "vpn-binding": { + "vpn-id": "{vpnId}", + "vpn-name": "some name", + "access-provider-id": "provider id", + "access-client-id": "client id", + "access-topology-id": "topology id", + "src-access-node-id": "src node id", + "src-access-ltp-id": "src ltp id", + "dst-access-node-id": "dst node id", + "dst-access-ltp-id": "dst ltp id", + "operational-status": "some status", + "relationship-list": { + "relationship": [ + { + "related-to": "connectivity", + "related-link": "url of connectivity", + "relationship-data": { + "relationship-key": "connectivity. connectivity-id", + "relationship-value": "some id" + } + } + ] + } + } + } + ] + }, + "service-instance-by-connectivity": { + "results": [ + { + "connectivity": { + "connectivity-id": "{connectivityId}", + "bandwidth-profile-name": "some profile", + "vpn-type": "some type", + "cir": "cir value", + "eir": "eir value", + "cbs": "cbs value", + "ebs": "ebs value", + "color-aware": "color value", + "coupling-flag": "flag value", + "etht-svc-name": "some name", + "access-provider-id": "provider id", + "access-client-id": "client id", + "access-topology-id": "topology id", + "access-node-id": "node id", + "access-ltp-id": "ltp id", + "connectivity-selflink": "some URL", + "cvlan ": "some tag", + "operational-status": "some status", + "relationship-list": { + "relationship": [ + { + "related-to": "service-instance", + "related-link": "/aai/v14/business/customers/customer/{global-customer-id}/service-subscriptions/service-subscription/{service-type}/service-instances?service-instance-id=service-1", + "relationship-data": { + "relationship-key": "service-instance.service-instance-id", + "relationship-value": "some id" + } + } + ] + } + } + } + ] + }, + "service-instances-by-service-type": { + "results": [ + { + "service-subscription": { + "service-type": "{service-type}", + "temp-ub-sub-account-id": "some sub account", + "service-instances": { + "service-instance": [ + { + "service-instance-id": "some id 1", + "service-instance-name": "some name 1", + "environment-context": "some context 1", + "workload-context": "some workload 1", + "relationship-list": { + "relationship": [ + ] + } + }, + { + "service-instance-id": "some id 2", + "service-instance-name": "some name 2", + "environment-context": "some context 2", + "workload-context": "some workload 2", + "relationship-list": { + "relationship": [ + ] + } + }, + { + "service-instance-id": "some id 3", + "service-instance-name": "some name 3", + "environment-context": "some context 3", + "workload-context": "some workload 3", + "relationship-list": { + "relationship": [ + ] + } + } + ] + }, + "relationship-list": { + "relationship": [ + ] + } + } + } + ] + } +}
\ No newline at end of file |