aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main
AgeCommit message (Collapse)AuthorFilesLines
2017-11-05Fix tunxconn-assign DGMarcus G K Williams2-269/+1866
This change fixes assignment of IPs mismatches in tunnelxconn assign DG when assigning vgmux-bearer-ip and vgmux-lan-ip Issue-Id: SDNC-164 Change-Id: I89723c3908dde3a5b25a7309f9609287aa3de2c7 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: b6a5de0603c1f51021dc54f9e8da457526fe7f82
2017-11-05Update tunnelxconn delete DGsMarcus G K Williams2-105/+1352
Update tunnelxconn DG to remove tunnelxconnect and vxlan tunnel ports on tunnelxconn delete topo operation. Issue-Id: SDNC-164 Change-Id: Ie06c9ae385bfcb3dfffd0260886bb1748635e6d6 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: 44561f5764b3ee283dde9704e9868c830ccc5c4c
2017-11-05Update tunnelxconn create DGsMarcus G K Williams2-278/+685
Update tunnelxconn DGs to fix bugs found while trying to execute DG and create vxlan tunnel ports and xconnnect for vG and vBRG. Issue-Id: SDNC-164 Change-Id: I9a94d72f08f39be8f35c0f413e517c5c969e7878 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: e211a3aab912e63955b5603aee2171b641a68421
2017-11-05Fix ip address manage DGMarcus G K Williams2-14/+235
Updated DG to use resource='IPADDR' instead of resource='VNI'. Issue-Id: SDNC-164 Change-Id: I4653a335b5ccc11c08edab5d87c88817fd491359 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: d61a8c3b8aa2e3d17b52d9fd5e1d9163a613d595
2017-11-04Revert 20253 changes to tunnelxconn activate DGMarcus G K Williams1-1070/+280
tunnelxconn activate DG json was inadvertantly changed in change 20253. This patch resetores tunnelxconn activate DG. Issue-Id: SDNC-141 Change-Id: I25b76399344267b32f40ddb649a6981851bcc70d Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: 9b02182beee5d7dd59680ea9a6ab38a8366e1af8
2017-11-04Activate 2 missing DGsBrian Freeman1-0/+2
Issue-ID: SDNC-167 Change-Id: I68cc2045b6e8eac8162ff386fe0821a1282cb93d Signed-off-by: Brian Freeman <bf1936@att.com> Former-commit-id: feeddf46c5a465a1978260003ee1cb58c167a8b7
2017-11-04Change Rackspace to CloudOwnerBrian Freeman16-22/+22
Issue-ID: SDNC-170 Change-Id: If64c4f12c503ac2d58b0de7d6750015162545216 Signed-off-by: Brian Freeman <bf1936@att.com> Former-commit-id: 9973bf478f9ffa5a89fc0c8b84e485876324df80
2017-11-03Fix DG to match yang changesDan Timoney6-9/+10
Fix GENERIC-RESOURCE-API BRG and tunnelxconn DGs to expect input containers Change-Id: I8487a63c1b4db1afdd601cec74d0fc4f58bec2ea Issue-ID: SDNC-166 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: 89f844835b3867fa5291b468ff2d5c8739cbf45e
2017-11-03Update brg activate and tunnelxconn create DGsMarcus G K Williams4-129/+1364
This update adds RestApiCallNode calls to tunnelxconn create DG to configure xconnect for vCPE VNFs and fixes order of vxlan tunnel create on brg activate DG and tunnelxconn create DG. It also converts tabs to spaces in brg-allotted-resource.json and tunnelxconn-allotted-resource.json. Issue-Id: SDNC-164 Change-Id: I72c70762df7f778ab9a8aca2040f5c424eb4dc0d Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: 90aab828a230896fa60398c3f66f6fee57c73be5
2017-11-02Update brg topo activate DGMarcus G K Williams2-116/+1125
brg-topology-operation-activate should setup vxlan port/tunnel between vBRG and vgMUX. This patch adds the vcpe-vpp-bridge-domain.json template and edits brg topo activate DG and the generic-resource-api-dg.properties to enable setup of the vxlan tunnel. Issue-Id: SDNC-164 Change-Id: Ic5e473f16e2fb2e90149619accc857a64c3dbbd2 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: 8235f3c0e35d379937e6e12130435aa76a5ac0bf
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