aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic
AgeCommit message (Collapse)AuthorFilesLines
2019-07-31Fix reuse InstanceName when re-creating a serviceliboz6-8/+6509
Add instance id instead of NULL to context_id when creating entry in GENERIC_RESOURCE_NAME table, Delete entry directly if no prefix and name_index involved when rolling back instance name Issue-ID: SDNC-798 Change-Id: I4c6391bf85e289894fd3019eafe76357b9b1c86c Signed-off-by: liboz <libo.zheng@arris.com> Former-commit-id: ae2694d30df3a7f62324ec7e617d23f187debcbb
2019-07-31Added new modules to help prevent Cross Site Request ForgeryRotundo, Al (ar3165)9-9/+9
Made changes to prevent arbitrary code exection on AdmPortal. Issue-ID: OJSI-40 Change-Id: I5ec60e2585413f3948c2540bd502dd1393794267 Signed-off-by: Rotundo, Al (ar3165) <ar3165@att.com> Former-commit-id: 3d54c9ad35ef5e7a4b13948e718a4ad2830cbb04
2019-06-09Add logic to delete resource also from AAIPérez Caparrós David, INI-INO-ECO-HCT4-944/+1667
Delete resources (AccessConnectivity, InternetProfile) from AAI in delete operation Issue-ID: SDNC-791 Signed-off-by: Pérez Caparrós David <David.PerezCaparros@swisscom.com> Change-Id: I4a3eb7880e3736656acf30342ac98aa84cd62afb Former-commit-id: 50cbf91801eed6445d10da5ede3d6177365752b1
2019-06-05Add relationship between BBS resource and ServiceVictor Gao4-614/+786
Issue-ID: SDNC-783 Signed-off-by: Victor Gao <victor.gao@huawei.com> Change-Id: I3ce8c75a44301bfaeec288ec482e22e9f4fad6e1 Former-commit-id: b946de8336944c803ed9c23bd606343fe149e062
2019-06-05fix the DG writing log bugVictor Gao5-510/+489
Issue-ID: SDNC-784 Signed-off-by: Victor Gao <victor.gao@huawei.com> Change-Id: I80296f2f9149a32f581a14a9eb091c5cdc6a68fb Former-commit-id: ea9fdaac3e3dcc5dadceb72d4f470b07cd3a1f72
2019-06-02Correct vf-module-name in self-serve-aai-vf-module-putAbdelmuhaimen Seaudi2-3/+3
Issue-ID: SDNC-781 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com> Change-Id: I74dcb2caff08ed736e7a14746e636638cfb019f4 Former-commit-id: 8321d39510cf198e14a583f24a13e92c4c926f61
2019-05-31Merge "DG enhancement for El Alto"Dan Timoney2-141/+1975
Former-commit-id: 9d188efd67fe81b7e9b190afd8858eb042b813ac
2019-05-31DG enhancement for El AltoCheung, Pat (kc1472)2-141/+1975
enhance unresolved-composite-data to include additional format Issue-ID: SDNC-771 Signed-off-by: Cheung, Pat (kc1472) <kc1472@att.com> Change-Id: Ie7149215489ad81183003e9323d7818e6ed33fd1 Former-commit-id: 08b93b549ef3903e22f19d4734632dcfcfc64904
2019-05-31Fix for sdnc aai relationshipprakash.e2-176/+176
Fix for sdnc aai relationship for generic vnf resource and service instance. Issue-ID: SDNC-780 Signed-off-by: prakash.e <prakash.e@huawei.com> Change-Id: I5db4e0a7f243a1be15e95221250e6e84e91e5509 Former-commit-id: 4a1c826efda07f3bb20f1531ca97c7a4726f4d96
2019-05-30Merge "Fix SDNC parameters save in AAI failure"Dan Timoney13-1253/+1299
Former-commit-id: b0aa3b3bcc3c269bbc62a2e9690830a959e37e59
2019-05-29Fix SDNC parameters save in AAI failureprakash.e13-1253/+1299
1. SDNC is fixed by passing proper UUID and version ID. 2. SDNC is fixed by removing validations for vnf resource creation DG 3. Fixed sdwan-wan-port-static.json template by passing generated wan-portId Issue-ID: SDNC-773 Signed-off-by: prakash.e <prakash.e@huawei.com> Change-Id: I0021983f0721dde6592d86bef602b8b4641215a3 Former-commit-id: 5e6ca08e7b71fa0ba6fc4a9ad9e02739e81e5e07
2019-05-29correct vf-module-label in self-serve-vfmodule-ra-assign DGAbdelmuhaimen Seaudi2-4/+4
Issue-ID: SDNC-777 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com> Change-Id: I9abd2ec5d49a62d7a8fd158df60cb187f14166e6 Former-commit-id: 67a708a5cc97a69d68a59cc80fe98007e99e3505
2019-05-28Bug fix to change leaf-list in yangjanani7-1156/+1156
Yang change for DG Change-Id: I2dd6afebfcc213fcc47992c328422ff32dd76fe2 Issue-ID: CCSDK-1344 Signed-off-by: janani <janani.b@huawei.com> Former-commit-id: d62222b32cb04696dd11917f893397a01c3ba49f
2019-05-23Bug fix to add restconf api node in DGjanani7-1202/+1284
Restconf api node in DG Change-Id: I5bcd79073a442cc8ca532f3c2a1560f2867803c4 Issue-ID: CCSDK-1344 Signed-off-by: janani <janani.b@huawei.com> Former-commit-id: bd8f3c044a690772dc1855a0b8f678d9b56f5142
2019-05-17Fixed SDWAN bandwidth change issueshashikanth.vh4-1238/+1489
1. update svc-action not handle in vf-module-topology-operation DG causing bandwidth change failure. 2.sdwan-bandwidth-policy-change node link to get ESR missing so could not get controller IP 3.Update code to send request based on IPMode Change-Id: I837f98c9199ddb34644e8c5af1679598ac123fc4 Issue-ID: SDNC-767 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com> Former-commit-id: e151fc707c1426e2c8563726a8b396de0e0b65c9
2019-05-13Fix SDWAN restapi templatesprakash.e6-9/+9
SDWAN controller requests is updated with correct parameters and values Change-Id: I36f3309b93a9255a5d94ac060c50f8c3256b1f37 Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 986ea914320fe9bd52cefcb6fc9307e1f302af37
2019-05-13Merge "Fix missing payload for DGs and Playbooks of SW upgrade"Dan Timoney2-362/+764
Former-commit-id: 40a0901a6cd4c668a7c63effe69415b5e6b179a7
2019-05-13Merge "Revert deleted payload in SW upgrade DGs"Dan Timoney4-643/+1447
Former-commit-id: f316d2dd36e9a95c4520bd03498134c8654b888f
2019-05-10Fix missing payload for DGs and Playbooks of SW upgradeEnbo Wang2-362/+764
Change-Id: I89a118ef1e05c76800d6c2fa640dc3dcf2d78fca Issue-ID: SDNC-733 Signed-off-by: Enbo Wang <wangenbo@huawei.com> Former-commit-id: 4ca9a8ea6cebfad2e3f423b90df187bcbc51a67b
2019-05-10Fix SDWAN DG activate in SDNC startupprakash.e5-460/+486
1. SDWAN newly add vf-module-topology-operation DGs are added in graph.versions to activate during SDNC startup 2. Fixed SDWAN site and wan-port delete DGs by calling right DG to get parameters. Change-Id: I34fa321e325d92b2a471bc9cd8ae499990ae37b8 Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: b4f2903673c98cb12c99760c08a072340bfcfc08
2019-05-10Revert deleted payload in SW upgrade DGsEnbo Wang4-643/+1447
Change-Id: Ic951cea8aa91c2c311ccab731eac1f579dccff00 Issue-ID: SDNC-746 Signed-off-by: Enbo Wang <wangenbo@huawei.com> Former-commit-id: 73657078060445739c1a5c05e031a8216f8c87dd
2019-05-06Fix set nodelist in SW upgrade DGsMarco Platania6-1716/+913
Change-Id: Ia789fcb16700f7c49f187b970daa114f8ae0eaf5 Issue-ID: SDNC-746 Signed-off-by: Marco Platania <platania@research.att.com> Former-commit-id: 5431ff62543b099c6f3495454503bba06f03dfad
2019-05-06Fix SDWAN peer wise integration testing issuesprakash.e6-448/+629
SDWAN lan-port-config create,activate DGs are fixed with valid request-action and updated service-data with response-id returned from SDWAN controller Change-Id: Ib4067d4de257c64f81b4e70584bcf26c87bbaa04 Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 08d1ca8e484cab832ce1f54cc36539888d77b08a
2019-05-06Fix SDWAN lan-port deactivate DG with url changeprakash.e2-1032/+1458
SDWAN lan-portdeactivate DG is fixed with correct urls for device-port-delete, lan-port-delete and bride-domain-delete Change-Id: I160f219f40e67cbc153e05084a0c851b40672dae Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: ee72118f757731a3bc4f674705f00dfb49502e2a
2019-05-06Fix SDWAN lan-port-config request action issueprakash.e2-405/+405
Fixed SDWAN lan-port-config-delete DG with correct request-action DeleteSDWANLanPortInstance Change-Id: Icb03e923e3615c130945b7872b5836fd3650e3f4 Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: a132dd2269b619a0ecb436969f2ecc51149dfa36
2019-05-06Fixed SDWAN lan-port-config resource templatesprakash.e3-6/+17
Updated lan-port-config delete templates which is used in lan-port-config-deactivate DG to delete the entry in controller Change-Id: I1e8c6bc16079cd14d6861ee744b9e335aaa1efea Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 368082124703aeaa828d4d49ae7ff3321b33f6e0
2019-05-06Fixed lan-port-deactivate by passing bridgeDomainIdprakash.e2-171/+222
Added bridgeDomainId parameter in lan-port-param DG to pass it in bridgeDomain delete request to controller Change-Id: Ifef40161756256ec57cde1ee1fbf8779edec81fe Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 813277f3100e05ae7580b0cd8712ee97eec7e99c
2019-05-06Fix SDWAN lan-port-delete DG by passing valid indexprakash.e2-260/+260
SDWAN lan-port-config-delete DG, vf-module-id is passed with correct vnf-index. Change-Id: I23e4cb60fcf8c6db5c383fbaf63ddc9123f3210a Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: c4a473250721d08c9eef5170800efa2932bee15c
2019-05-05Merge "fixed WAN port deactivate issue"Dan Timoney2-293/+285
Former-commit-id: 1b1345b80a0dfbc6ea3cf2da221816b9ea0e0d2a
2019-05-05Merge "Replace access_id with remote_id"Dan Timoney6-25/+25
Former-commit-id: d902998d6dfe7f6141c7d6c6dde86e4e43a07afa
2019-05-05Merge "Fix SDWAN lan-portId set in service-data"Dan Timoney2-743/+821
Former-commit-id: 68885623b91e7e4745b53df2393c53b37b00c6bb
2019-05-03Roll to El Alto versionTimoney, Dan (dt5972)9-18/+18
Roll to El Alto version (1.6.0-SNAPSHOT) on master branch Change-Id: I5809a3ba7bd629d16fb679235d0e8a9173fb993a Issue-ID: SDNC-735 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: 8e41096b20a56f91be8df5f5ff200f76e9d7d4c3
2019-05-01Replace access_id with remote_idSalichos Michail, INI-INO-ECO-HCT6-25/+25
Replace all the occurences of access_id with remote_id in the DGs Issue-ID: SDNC-738 Change-Id: I13073f30b9238f566a6df22cdd0d15e7393af5e7 Signed-off-by: Salichos Michail, INI-INO-ECO-HCT <michail.salichos@gmail.com> Former-commit-id: 10d60e05a8c778598cabfc81d4134e9a68bf763b
2019-04-30Merge "Update to use released 1.2.2 parent"1.5.1David Stilwell9-9/+9
Former-commit-id: 7b30b7a2becb47823067526bd8c84af9155ac7a2
2019-04-30Update to use released 1.2.2 parentTimoney, Dan (dt5972)9-9/+9
Update to use released 1.2.2 version of parent poms. Change-Id: If00344c371389515a7f74b8972ae60ebeb0d7253 Issue-ID: SDNC-735 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: e47f341373c63da166deb026015545648b7a64dc
2019-04-29fixed WAN port deactivate issueshashikanth.vh2-293/+285
On delete of WAN port controller returned 500 error code, this issue fixed Change-Id: Iebcd3b44b830bd067f6858230e339b6338964773 Issue-ID: SDNC-653 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com> Former-commit-id: 4db3c5b014e3e5002e2df59ab922268bc0fdce08
2019-04-28Fix SDWAN lan-portId set in service-dataprakash.e2-743/+821
SDWAN lan-portId value is copied and set it to prop.lan.lanPortId. Change-Id: Id01d0f1b22073d273f38b50d62817129e1bfd7ee Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: ca849a89db8c72e5a9278b77dfadb5ba9f62e770
2019-04-27Merge "fixed WAN port create issue"Dan Timoney2-8/+6
Former-commit-id: 5377ee40ada510053ed0beeba9410de6600a6ae2
2019-04-26fixed WAN port create issueshashikanth.vh2-8/+6
Invalid parameter is used to set context memory for ip address Change-Id: I71e33d7d27526fd95a12afc08a669dbeb8768f32 Issue-ID: SDNC-653 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com> Former-commit-id: 7fb0b011a2ebba3757e41f219fdd1b4efc1a6c8a
2019-04-26Fix SDWAN lan-port-config ip-subnets creationprakash.e2-188/+239
SDWAN lan-port ip-subnets creation called after attaching site to VPN to resolve invalid-vpn error from controller Change-Id: Iec9d8a1945e3ddd992aa33e5f96b1ab9ce1dfd88 Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 83413b8058da81bd163b1c4270f4851cbbde0161
2019-04-25Fix SDWAN site role passed to controllerprakash.e2-950/+1007
SDWAN site role dsvpn-hub and sdwan-edge is not fetched and passed to controller. Now it is fetched in for loop and passed to controller. Change-Id: I85b7be5bdc802fa7144631aeaf3cf19bc3fde979 Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 570153b334e64246b2eff459d18d6eac6df70e22
2019-04-25Merge "Fixed vf-module-topology DG with valid request-action"Dan Timoney2-413/+413
Former-commit-id: 8e1a5cefb9b8892854aa11dbf48174adc259835f
2019-04-25Merge "SDWAN port templates"Dan Timoney4-0/+129
Former-commit-id: 3911362969fc1d329cb9fbc07b414be70820a780
2019-04-25Fixed vf-module-topology DG with valid request-actionprakash.e2-413/+413
New request-actions added in GENERIC-RESOURCE-API.yang. CreateSDWANSiteInstance, ActivateSDWANSiteInstance, DeactivateSDWANSiteInstance, DeleteSDWANSiteInstance are added and it is replaced in vf-module-topology DG Change-Id: I0898056cb43763ff04eda0e503bc05706b283f3d Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 4fe4dea73ef2a71b9ba04a9066c82aebafa71ca2
2019-04-25SDWAN port templatesshashikanth.vh4-0/+129
SDWAN port templates added based on the IPMode static or dhcp Change-Id: Ib6d9e2dd13d92d49a1323525646c01bf795346c1 Issue-ID: SDNC-653 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com> Former-commit-id: 6cacb9781777b6f7cd317a60da5556bc4514982d
2019-04-24Merge "Fixed SDWAN lan-port-activate DG with correct AAI resource"Dan Timoney2-656/+845
Former-commit-id: 797f2333a91eb3de6fdbc8260e02f39e6b99e802
2019-04-24Merge "SDWAN vpn-site-res delete DG duplicate removal"Dan Timoney2-231/+178
Former-commit-id: 635497eccd5158a70e310f789a21c68d9150d813
2019-04-24Merge "SDWAN vpn-site-resource DG- failure cases handled"Dan Timoney2-102/+188
Former-commit-id: c5233c49f31447379f0a2a1f6f1033dfcf1a711e
2019-04-24Merge "SDWAN site-resource to generic-vnf relationship failed"Dan Timoney2-181/+204
Former-commit-id: 0e0b0eb721cdf7c2740120ebfb6baee6effeb97a
2019-04-24Fixed SDWAN lan-port-activate DG with correct AAI resourceprakash.e2-656/+845
SDWAN lan-port-activate DG is updated with correct AAI resource name lan-port-config. Earlier resource name sdwan-vpn is used Change-Id: I2ed2d4da0415a57b4cbb02f13a557f5da93ba80b Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 5a05205ebb2299f235e76a2288f7347d29e6cebb