aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api
AgeCommit message (Collapse)AuthorFilesLines
2017-11-02Fix underlay DG testing issueshashikanth.vh2-4/+7
Fixed exception which occured while updating A&AI. Few parameters(config-sub-type, operational status) missed while saving underlay configuration to A&AI While saving service relation to A&AI, key formed with invalid service-Id and also missed to include global-customer-id and service-type. https://jira.onap.org/browse/SDNC-162 Issue-Id: SDNC-162 Change-Id: I631e685fa017e82be4666fc2bb9ad601b12cafa7 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com> Former-commit-id: 6bce0d3e205d274e2f5f914f40c142e59e46fa93
2017-11-01Merge "Fix tunnelxconn assign issues"Marcus Williams6-45/+35
Former-commit-id: 23a35ef1ce42fba477df0ffa84816e28bb5adbc5
2017-11-01Fix tunnelxconn assign issuesDan Timoney6-45/+35
Fix typos in tunnelxconn DGs and add new element to restapi template Change-Id: I6ab438dfe451ec7c5e9587b035e4fd5d55598471 Issue-ID: SDNC-160 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: fe42f1f9d96787f60f744a72a5f8e3651c0582d4
2017-11-01Merge "Updates to tunnelxconn assignment"Marcus Williams8-331/+314
Former-commit-id: 4abdaa38e209f176f7253422c3b2ab0097a25507
2017-11-01Updates to tunnelxconn assignmentDan Timoney8-331/+314
Update tunnelxconn assignment logic to assign IP address and VNI from local inventory Change-Id: I1aae9162d1eb7a61d641b620488d52abdfe32357 Issue-ID: SDNC-160 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: a7e7279c379e470c1cf7446099fbc11b66fd2ac8
2017-10-31Merge "Add VoLTE json templates"Dan Timoney8-2028/+2336
Former-commit-id: a0e999bbbcab86b401d5cf0c41be7c64e0718fa4
2017-10-31Merge "Fix underlay DG testing issue"Dan Timoney2-1281/+1238
Former-commit-id: 89707623c338599404210f36b2ed9a46a701ddb7
2017-10-31Add VoLTE json templatesramu.n8-2028/+2336
VoLTE JSON templated need to put in sdnc/oam/platform-logic/restapi-templates module, so that they will copied into sdnc_controller_container Change-Id: I593da4567724b0be5bdd757b01ba6653eab129a2 Issue-Id: SDNC-159 Signed-off-by: Ramu N <ramu.n@huawei.com> Former-commit-id: 3616a2ecd88f9b0d558eaa2208f17c2e9876229d
2017-10-31Fix underlay DG testing issueshashikanth.vh2-1281/+1238
After executing ActivateDCINetworkInstance, CreateNetworkInstance node is executed as atomic block is not present, added new block https://jira.onap.org/browse/SDNC-158 Issue-Id: SDNC-158 Change-Id: Ie6c13834237bc2f5aca3009d50ab9cd1236271a1 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com> Former-commit-id: d9bacf82d866501025bdac2957dc43ab51c65777
2017-10-31Fix underlay DG testing issueshashikanth.vh2-37/+70
Log record format is invalid, instead of using field1, field2, field3... actual name is used in parameter. changed names to field in parameter SDNC-157" target="_blank">https://jira.onap.org/browse/SDNC-157 Issue-Id: SDNC-157 Change-Id: Ibd9341e5f1bf48f8e08334bab86a53b31afb734a Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com> Former-commit-id: 4733411f591bb39f431b1135828b13d3f967e263
2017-10-30Fix Overlay DG testing issueshashikanth.vh2-4/+4
While getting record from AAI for l3-network, key used is esr-thirdparty-sdnc.thirdparty-sdnc-id instead of l3-network.network-name https://jira.onap.org/browse/SDNC-155 Issue-Id: SDNC-155 Change-Id: I47fcd19111f5fa4c32d464409c28b52599116e7c Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com> Former-commit-id: ab65c8a4bdaaa59a7bcf2b587839fc95f720f0ad
2017-10-26Add missing DGs to graph.versionsDan Timoney1-3/+25
Corrected graph.versions file - which controls activation - to include all DGs which contain XML. Change-Id: I98656cb9027d80ecad6ae87e68c57f5c57b552ac Issue-ID: SDNC-150 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: cd6b0ed9450470cdcf5df3001b201a7b0f80d79a
2017-10-26Fix error in SqlResource nameDan Timoney62-159/+159
Fix error in SqlResource package name Change-Id: Id88305c345fefa7f0d5ed7aa1d7acb5ec45ecd71 Issue-ID: SDNC-151 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: f514c5cd6b4e5071b8f0340d83f9870eba273939
2017-10-25Fix newline typo in tunnelxconn-topo-op-assign DGMarcus G K Williams1-3/+1
Issue-Id: SDNC-149 Change-Id: I6d1193630ea9f9838b335454f5cdbca6205ecf8d Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: 99b946e6ce29f58833a766d406475f071bad9985
2017-10-25Fix break tag in brg-topo-operation-assignMarcus G K Williams2-3/+2
Issue-Id: SDNC-149 Change-Id: I89af8c2df9933f272492c3bc63574fc1b5b3200c Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: da7c341108b59dd398dc887c1e7ed0143e848211
2017-10-25Fix typos in tunnelxconn-topo-operation-assign DGMarcus G K Williams2-329/+328
Issue-Id: SDNC-149 Change-Id: I51051f36d925077d649b2d95a4a719bbd0446c6d Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: 3fdc4f6e447348bbc470e8f180e907f6d5a200b8
2017-10-25Merge "Replace att-aic with Rackspace"Marcus Williams16-22/+22
Former-commit-id: 412e0e8b705ebb762cee8225c676b2d2f987d393
2017-10-25Replace att-aic with RackspaceDan Timoney16-22/+22
Cloud-owner in DGs should be Rackspace, not att-aic Change-Id: Ibd0a440aa01b69651909931192b43e1d995c295a Issue-ID: SDNC-147 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: ee1e879e47048dd21477d6992fff3694b99631f7
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