summaryrefslogtreecommitdiffstats
path: root/platform-logic
AgeCommit message (Collapse)AuthorFilesLines
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-05Merge "Fix vcp template errors, remove extra quotes"Dan Timoney3-7/+7
Former-commit-id: 953f7d5dde47206a1519bcdd28137fccd8cd579b
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-04Fix vcp template errors, remove extra quotesMarcus G K Williams3-7/+7
Issue-Id: SDNC-164 Change-Id: Idc8668ee1f3454b9cd95dcc9e3e5551443acc5ff Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: e5bb925a233ef1a063d6513fc7a19f9754fb439c
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 Freeman20-28/+28
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 Williams6-286/+1521
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 Williams3-116/+1132
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 Williams7-45/+56
Former-commit-id: 23a35ef1ce42fba477df0ffa84816e28bb5adbc5
2017-11-01Fix tunnelxconn assign issuesDan Timoney7-45/+56
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 Timoney14-2028/+2673
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.n14-2028/+2673
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-30Merge "GENERIC-RESOURCE-API template fixes"Marcus Williams3-3/+24
Former-commit-id: b762951427de965aac2461d99017714f74b5fa15
2017-10-30GENERIC-RESOURCE-API template fixesDan Timoney3-3/+24
Add missing RESTAPI templates used by vcpe use case and fix error in properties file Change-Id: I008620438529244335eacbd704e355e2de80873d Issue-ID: SDNC-151 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: af90e06e4fbd0f645467bef839ea18dfa6c415ca
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 Timoney2-13/+35
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 Timoney68-172/+172
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-26Fix openecomp references in vnfapiDan Timoney46-164/+164
Fixed incorrect references to openecomp in vnfapi directed graphs Change-Id: Ic58fddba75eb4e01ce2e13914f9e30dae08ae8ef Issue-ID: SDNC-148 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: c0cdcf754db3983f8cbf2ab62ddee9f2663ab0f0
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-25Merge "Replace att-aic with Rackspace"Dan Timoney4-7/+7
Former-commit-id: d68cb2dbea73bad5dff0b35eccaef9f2c5024e6d
2017-10-25Replace att-aic with RackspaceDan Timoney4-7/+7
Cloud-owner in DGs should be Rackspace, not att-aic Change-Id: If60fe1dbb1e345ccd1de5a5696bce62d256be651 Issue-ID: SDNC-147 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: 1e74c800578c12ed8215cac6a6a68cb9a5d18507
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 Timoney30-309/+286
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 Timoney24-236/+514
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-04Merge "Update underlay DGs for VoLTE use case"Dan Timoney2-635/+791
Former-commit-id: fc653f61e98cafa25c94b3b3326e8505ec5bc176
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