aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api
AgeCommit message (Collapse)AuthorFilesLines
2017-10-24Fix DG tunnelxconn-topo-operation-assign validateMarcus G K Williams2-258/+1769
Issue-Id: SDNC-141 Change-Id: I891f9b6f3bbdbbac48b683f4e9c50192a7ea6ac2 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: b2471f9834bec6cce3e3cdae18bab0b9e6b177c4
2017-10-20Fix BRG DGsDan Timoney29-309/+214
Fix cut/paste errors in BRG allotted resource directed graphs and add missing restapi template. Change-Id: Ie5dcea412b79f10e5c3651a0f2177120210cc136 Issue-ID: SDNC-140 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: e8cf6822f4c60748e6cebe548d1c2ecae973e515
2017-10-20Fix tunnelxconn DGsDan Timoney15-210/+145
Tunnelxconn DGs had cut/paste errors (referred to security-zone incorrectly). Also, restapi templates were missing. Change-Id: Ib7aad71796301632e9269aa9e3e5e5fd266d7a94 Issue-ID: SDNC-139 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: 76c06d99c067aa7be038e496753caee30ee01d0b
2017-10-18Fix overlay DG testing issuesramu.n4-1569/+1749
*Fix json template context variable name *Get network-id by querying AAI using network-name *temporarily removed checkRequiredL2Parameters, as it is currently failing Change-Id: I9faa51d601e4df882309872f890696b96f5236ca Issue-Id: SDNC-113 Signed-off-by: Ramu N <ramu.n@huawei.com> Former-commit-id: 653308418e0ef55ee66ae7e57c2203afbff86ece
2017-10-17Fix underlay DG testing issuesramu.n5-351/+682
*Fix json template context variable name *Add customHttpHeaders Change-Id: Ic565716227327db53c8cd65cb5c44b57f2501042 Issue-Id: SDNC-131 Signed-off-by: Ramu N <ramu.n@huawei.com> Former-commit-id: 9ea126b1bfbf0908e45eaf52d61b6b2032fc1b23
2017-10-16Fix underlay DG testing issuesramu.n4-1120/+1120
*Use "network-topology-operation-input.sdnc-request-header.svc-action" instead of service-topology-operation-input.sdnc-request-header.svc-action *Fix indexing of network-topology-operation-input.network-request-input.network-input-parameters *Fix sdnc-request-header.svc-action switch case order Change-Id: Icc91131cfc6dca0baacd1df312bfff653c65cb11 Issue-Id: SDNC-131 Signed-off-by: Ramu N <ramu.n@huawei.com> Former-commit-id: e38045ecf304cb65f348c019ffc859c649e030e8
2017-10-13Merge "Update overlay DGs for VoLTE use case"Dan Timoney4-2436/+2564
Former-commit-id: 283621bcb52205e44bf830adba0a985ddd63ca64
2017-10-13Update overlay DGs for VoLTE use caseramu.n4-2436/+2564
*Fetch network-id from network-name *Store network information in AAI Change-Id: I2f1b22d3e609cf24ce3ad853fad87d1e62aca064 Issue-Id: SDNC-113 Signed-off-by: Ramu N <ramu.n@huawei.com> Former-commit-id: 46fb55b26ff1c81b20262a50cda035c643ffafdd
2017-10-13Update underlay DGs for VoLTE use caseramu.n4-21/+81
*save underlay configuration in AAI *update service relationship-data in AAI Change-Id: Iaadabcf0ac734a248d8f0913373d864d44d25c8f Issue-Id: SDNC-111 Signed-off-by: Ramu N <ramu.n@huawei.com> Former-commit-id: ebfe13ddaab026fdbc1864d38fda14c0a637b123
2017-10-12Update underlay DGs for VoLTE use caseramu.n6-312/+573
*query 'pnf' from AAI using pe1_id *get esr-thirdparty-sdnc.thirdparty-sdnc-id from pnf.relationship-data *query 'esr-thirdparty-sdnc' from AAI using thirdparty-sdnc-id Change-Id: Ic80c29f306e17d5c5401f723ee86f3641f833778 Issue-Id: SDNC-111 Signed-off-by: Ramu N <ramu.n@huawei.com> Former-commit-id: 5ec247ae0f98a5c4d732978db5159bdd9273cdfa
2017-10-11Merge "Fix for overlay DGs."Dan Timoney6-1822/+1520
Former-commit-id: 18154037f6256b94ab1c9634e2ae9834a5a58f1c
2017-10-11Fix for overlay DGs.Gaurav Agrawal6-1822/+1520
Changes includes: 1) use `` for expressions. 2) fix loading issue. Change-Id: Iff71b5be7e606b3bc343cf9d5f9e81eba0e51e06 Issue-Id: SDNC-113 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com> Former-commit-id: 0f1278b2a69a5c0ab0acd2693111d56577ed0d90
2017-10-11Fix underlay DG loading errorsramu.n4-1554/+1524
*Remove duplicate parameter names *Update 'error-message' parameter value Change-Id: Ia68fc3d0b5c850aec4776adc83e725fef52c52a3 Issue-Id: SDNC-117 Signed-off-by: Ramu N <ramu.n@huawei.com> Former-commit-id: 04580d7eb6c59fdd613a8fea1d161e0ed7a46a1e
2017-10-10Fix for validate-network-inputGaurav Agrawal4-1036/+3066
Changes includes: 1) Fix an existing bug in validate-network-input because of which DG validation was failing. 2) validate-network-input to do nothing for overlay validation. 3) validate-network-input-parameter to validate network-id for deactivate flow. Change-Id: I424817ab20263633b8dacd3b3d672e63e3960f6d Issue-Id: SDNC-113 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com> Former-commit-id: bf5801eae1015156972164d453dc737d63eeed95
2017-10-08Underlay delete flow DGs modification for VoLTEramu.n6-1657/+1922
*overlay delete operation validate network-id is received in the request and get network-topology-operation-input from this network-id *set oper-status Change-Id: I22291fbb34ca0d2ae51403ea27e5ca413141cb32 Issue-Id: SDNC-111 Signed-off-by: Ramu N <ramu.n@huawei.com> Former-commit-id: a8e7d59abcc55950e76f36cf4c2d280f55a38381
2017-10-05Deactivate flow modification for DCIGaurav Agrawal8-2105/+2455
Changes includes: 1) Save network information SDNC's MD-SAL data store 2) Send network-id & network-object-path in network-topology-operation-output 3) Deactivation based on stored network-id Change-Id: I4498d33e9e7921e047bfe9dff8c9801153f5f5f4 Issue-Id: SDNC-113 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com> Former-commit-id: 4d38cecf0f03e1244ca0c605c5802632b36f3b82
2017-10-04Update underlay DGs for VoLTE use caseramu.n2-635/+791
*save network-topology-operation-input into SDNC's MD-SAL data store *send network-id & network-object-path in network-topology-operation-output Change-Id: I3649e3df0d857f0c8c62bdcb2e503a678f8b1814 Issue-Id: SDNC-111 Signed-off-by: Ramu N <ramu.n@huawei.com> Former-commit-id: 0d34e8c6de21ffc32cd91f3eeaf9c342c7b0b091
2017-10-04Merge "Update plugin references"Dan Timoney2-261/+263
Former-commit-id: 3446c1d0ae16ec1c7aac1c3195ed58604afc568f
2017-10-04Update plugin referencesGaurav Agrawal2-261/+263
Following changes made for overlay deactivate 1) Updated record plugin to latest one. 2) Replace ecomp schema with onap. Change-Id: Ie8519613566b8938af8db8ade0ab70a79207bc07 Issue-Id: SDNC-105 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com> Former-commit-id: fceb8a2083d4c0a52329fb4375874e96c5253715
2017-10-04Patched DCI overlay DG to main DGGaurav Agrawal4-723/+983
Changes includes: 1) Patched DCI overlay DGs with network-topology-operation DG. 2) Prefixed DCI overlay dg with dci-connects to avoid duplication with existing network-topology-operation-activate DG. Change-Id: I3b9f99fb5f1e5be27707aaa7c7b2dc9144c74398 Issue-Id: SDNC-110 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com> Former-commit-id: bd0ebcc0e2f442233845fa6fe631c19173e8ac35
2017-10-03Update overlay DG for VoLTE use caseGaurav Agrawal4-615/+1238
1) Replace openecomp schema with onap 2) Get import/export rts from comma separated string 3) Replace tab with space Change-Id: I7025c6c89e74ab4ffefbab6eaf497c68ac333c9a Issue-Id: SDNC-105 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com> Former-commit-id: 94d275c0b63b7a8d4e88303776edcbd82e681b8d
2017-09-29Update underlay DG for VoLTE use caseramu.n6-1396/+3476
*Replace openecomp schema with onap *fix plugin references *fix svc-action type issue *Add rest call for site & vrf configuration *Get ip-prfix & next-hop from route string Change-Id: I697fb76ab42a7fcb304df19733ac50eef7953f4f Issue-Id: SDNC-105 Signed-off-by: Ramu N <ramu.n@huawei.com> Former-commit-id: 3948576d2ce46e492cfead3efd0aa883c280bd30
2017-09-28Added DG for overlay input validationGaurav Agrawal4-1265/+2743
Following changes are included: 1) Validated presence of mandatory input parameters 2) Validation of values for both sites. 3) Handling of l2 and l3. Change-Id: Ic01604f445b682494157f7358f2f4eed6b720b88 Issue-Id: SDNC-107 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com> Former-commit-id: 39f275c0e95a08a41e9c84c8662288b5af1f36ec
2017-09-28Merge "Update DG network-topology-operation-deactivate"Dan Timoney4-379/+599
Former-commit-id: aa5d0ada80d9854beabbe52f82b16eb2f247aaa5
2017-09-28Update DG network-topology-operation-deactivateGaurav Agrawal4-379/+599
Following changes are included: 1) Handle l2 and l3 dci. 2) Fetch 3rd parth controller information using site-id. 3) Fetch siteId from parameter list. Change-Id: Ibd6b7520f96dbadcb2ffd440fe9687e86d7e558f Issue-Id: SDNC-104 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com> Former-commit-id: 68505f52197cc6d7bbc804c9b9f38f3b8886fe66
2017-09-28Merge "Updated DG for network-topology-operation-activate"Dan Timoney4-765/+1343
Former-commit-id: 2ca3cb4819fb95c052d9ad60cd91a0cd316caa4c
2017-09-28Updated DG for network-topology-operation-activateGaurav Agrawal4-765/+1343
Following changes are included: 1) Handle l2 and l3 dci. 2) Handle 2 sites data keeping rest node template generic. 3) Fetch 3rd parth controller information using site-id. Change-Id: I6d075cab2c7850197d91bd4e707c10c579458d48 Issue-Id: SDNC-104 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com> Former-commit-id: 93b36edae1b14165ebd9c0fc9bbbe916c725790a
2017-09-28Merge "Update DG validate-network-input-parameters"Dan Timoney2-432/+1228
Former-commit-id: 3677f3cdd048c430de6c160517bb89e2f7acc2a0
2017-09-28Update DG validate-network-input-parametersMarcus G K Williams2-432/+1228
Added activate and deactivate svc-action for VoLTE overlay. Issue-Id: SDNC-28 Change-Id: I034658890bec7f19c08e35db2bcbaa20c2dc5a42 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: 05880a04310068ff77a385c691a43cecf9d43738
2017-09-28Modify DG for VoLTE use caseramu.n2-250/+348
Modify network-topology-operation DG to call network-topology-operation-create and network-topology-operation-delete sub DGs Change-Id: I3084d97143e6bb16986c1e1ea33738986c42640c Issue-Id: SDNC-27 Signed-off-by: Ramu N <ramu.n@huawei.com> Former-commit-id: 24eb828a0a9f9506863c11e363bdaa6a58added4
2017-09-27Merge "Add VoLTE l3-dci-connects DGs + xml"Dan Timoney4-0/+1144
Former-commit-id: d5a73e9146c00ca18936a5d9d29668bbae72eeff
2017-09-27Add VoLTE l3-dci-connects DGs + xmlMarcus G K Williams4-0/+1144
Issue-Id: SDNC-28 Change-Id: I1e1eea6dc91d4ec7fd3cb159b557e33ebef13c92 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: 933ae5b147fc5c72aacc40a2255545efc8f2a7cd
2017-09-27Add DGs for VoLTE use caseramu.n4-2/+1329
Add network-topology-operation-delete sub DG for delete underlay L3VPN configuration Change-Id: Iba9380aaf33f48116fa46a416efff34c130cfc52 Issue-Id: SDNC-27 Signed-off-by: Ramu N <ramu.n@huawei.com> Former-commit-id: 6cb45a1f39166566d0229e4dba430223a9877141
2017-09-27Merge "Add DGs for vCPE use case"Dan Timoney32-0/+1988
Former-commit-id: 5d890ae8e13a5a077470ca3cd86055d8a4a87c82
2017-09-27Add DGs for vCPE use caseDan Timoney32-0/+1988
Add new DGs needed to support vCPE use case Change-Id: I1717a3a1c49fedf5ec89667b22fee433429c42ed Issue-ID: SDNC-48 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: 26febb6f008e2cf9dc06a93b87885c8a37acce13
2017-09-27Merge "Add initial DG changes for underlay"Dan Timoney2-0/+115
Former-commit-id: 6b5bcd001e9997e5ce4142c6c5818c767b59a94e
2017-09-26Add sub DG for underlayramu.n2-0/+143
Add network-topology-operation-create sub DG for underlay L3VPN configuration Change-Id: I143fc60142b7da471c2142fc65e224c2712faf5e Issue-Id: SDNC-27 Signed-off-by: Ramu N <ramu.n@huawei.com> Former-commit-id: 1d15c657de5910798e6dd93704ed820bd672a62c
2017-09-26Add initial DG changes for underlayramu.n2-0/+115
Add sub DG to validate underlay L3VPN input params Change-Id: I19d2860e3755528c0455c0f132be3d1872137a1f Issue-Id: SDNC-27 Signed-off-by: Ramu N <ramu.n@huawei.com> Former-commit-id: 55ada56e6632a4bae2dd88f243050c451e10f32d
2017-09-21Renamed ecomp-model-informationDan Timoney26-169/+169
Updated generic-resource-api DGs to reflect name change of ecomp-model-information to onap-model-information. This name change was missed in initial seed code submission, but is consistent with API doc published on ONAP wiki. Change-Id: I5cb95c98ed7c8748fcd2a607bee8b81a6166ae99 Issue-ID: SDNC-98 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: 979076e024b63ea7632c3cd57b8d62525482698d
2017-09-20Fix platform logic installationDan Timoney1-1/+1
Platform logic on SDNC should install the CCSDK platform logic package merged with the graphs for SDNC. Instead, it was overwriting CCSDK package and installing only local SDNC version. Change-Id: Iada6779b942ff608987486bd10fed9f147018f74 Issue-ID: SDNC-96 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: 048b31a4b390ff4a749c4d8e7dcd271f12da177e
2017-09-20Fix dblib propertiesDan Timoney1-1/+1
Added missing property in dblib.properties to specify mariadb JDBC connector. Also, fixed bug in install that was preventing DGs from being added. Change-Id: Ife7df2b7565bbcaf98c9d816158224b4b4a77189 Issue-ID: SDNC-88 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: 43405c2830e03529e9ce17c28a9e302e6fdf69ea
2017-09-18Fixed accessing network-input-parameters.shashikanth2-779/+779
network topology operation assign sub DG access network-input-parameters as network-parameters which is not defined under network-request-input container in GENERIC-RESOURCE-API yang, modified network-topology- operation-assign.json as below Before: network-topology-operation-input.network-request-input. network-parameters After: network-topology-operation-input.network-request-input.network -input-parameters. jira.onap.org/browse/SDNC-87 Issue-Id: SDNC-87 Change-Id: Idd4005fb24365fef990284569dd23685590515b3 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com> Former-commit-id: 89ac5158f33c5358d1a943a482f139e879dbd0a9
2017-09-06Add generic-resource-api DG seed codeDan Timoney104-0/+18228
Add seed code for generic-resource-api directed graphs. Change-Id: I51df937740d54d6f907c79fe322e4ffafe53537c Issue-ID: SDNC-45 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: b014b942536d93f55664b67a36436168e623bcec