aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src
AgeCommit message (Collapse)AuthorFilesLines
2022-04-27A few bug fixes for CLL closed-loop operation.Hesam Rahimi11-12509/+12555
Issue-ID: SDNC-1694 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I15d3b7c2720cdeaff69a4c4ee0a8412c02944c03 Former-commit-id: 08db4a2f5bf262ff34061a046ec7afada3ea802c
2022-04-25Bug fixing for CCVPN IBN closed-loop operation.Hesam Rahimi11-10331/+10763
Issue-ID: SDNC-1694 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I050b9d28e173d4331109a6614bd2115f7da7206f Former-commit-id: 3d64bd2c4e31b1673ab7857d9d3449269b9ae1d1
2022-03-02Sending "subscribe" command to a restconf server to receive event notifications.Hesam Rahimi9-5589/+6171
Implementing a callback DG to be called by CCSDK upon receiving event notifications. Also calling VES to send bandwidth information. Issue-ID: SDNC-1669 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I058c405a14d78e264761367dd4b46d6e9a600182 Former-commit-id: 13b89ec32d7d0074117b3f136800bc93f67bf0f8
2022-02-06- Support for the Transport Slicing use-case to work with the updated YANG ↵Hesam Rahimi4-1139/+1205
models and ACTN PNC simulator. - Mark service-instance as "Activated" and "Deactivated" accordingly when a slice is getting activated or deactivated. Issue-ID: SDNC-1665 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I185272d8b9e9c38729e2d687a854b3be9eac3cfd Former-commit-id: b7aecf8c2e75f444d096f950cfdc0844610795aa
2021-12-14Support for 1+1 protection path for a cloud leased-line (CLL) service.Hesam Rahimi17-10764/+28038
Issue-ID: SDNC-1653 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I7839f07fea141cbcb585673744ba06fcc6f63ed6 Former-commit-id: 1f182c0213ea34d45e3255cd63f34a1ff3b1fca9
2021-11-04Adding support for connecting a single ONU port to multiple clouds with ↵Hesam Rahimi17-6696/+8176
different vlan-id's. Also fixing a few bugs in cll creation and deletion. Issue-ID: SDNC-1594 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I5e1b117104ef32f5dbb9b83e2c19ba3727789fe5 Former-commit-id: af17de2185bc8e0d1a7f0cb6f965df157c893412
2021-10-15Support for proper deletion of vpn-bindings when there are multiple CLLs and ↵Hesam Rahimi4-2764/+4238
multiple clouds. Issue-ID: SDNC-1594 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: Iae468575a26b45efa069e87814f41739c9e7563b Former-commit-id: 904f8819208b26f7a6b715540319d076d3819cb7
2021-10-12Support individual CLL deletion, and UNI removal from Ethernet Service, andHesam Rahimi9-4736/+14959
adjusting the bandwidth of OTN tunnels and UNIs accordingly. Issue-ID: SDNC-1594 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I0d5e30a948cf0a9fe10dc9ce0c4c5f5584797469 Former-commit-id: 68c418849f4636b0e960a80fa3604519723167cf
2021-09-21Buf fixing for creation, deletion, and modification of a cloud leased-line ↵Hesam Rahimi11-10115/+17662
(CLL) service. Issue-ID: SDNC-1594 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I4da3a04db97a3e6358cd24cdff540e2e97c208cc Former-commit-id: 0fab18d499c857b08812b099d9e0d88a93102247
2021-09-07New DGs required for deletion and bandwidth modification of a given cloud ↵Hesam Rahimi8-1528/+4793
leased-line (E-TREE) service. Issue-ID: SDNC-1594 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I0b6f2e32ddb103ca7ac053a80461980cfe10aab2 Former-commit-id: 926d912ec35ecd30f5f1c32ca91da2758b018223
2021-08-27New DGs required for creation of a cloud leased-line (E-TREE) service.Hesam Rahimi17-719/+17612
Issue-ID: SDNC-1594 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I23e2008c497289c20415f012a77aa4478e7c0815 Former-commit-id: 748b1c0d2e20f88c327673fe3bc32d3d50e5e12b
2021-08-22New DGs added for CCVPN scenario enhancement.Zhuangyang2-20/+18
Fix DGs URL and add rest-api template Issue-ID: CCSDK-3389 Signed-off-by: zychen <418624178@qq.com> Change-Id: I0d77a0ffe2b20e55a8cb21a2771838b19013515f Former-commit-id: 929ae023c5e20f3a8e95cbef72647184f8ec3c67
2021-08-22New DGs added for CCVPN scenario enhancement.Zhuangyang3-0/+294
Issue-ID: CCSDK-3389 Signed-off-by: zychen <418624178@qq.com> Change-Id: I01ca7d4cfdeb5476c664fe2eb784015f1e55eaac Former-commit-id: 32d0fbff0bfb130b605fa35fdc2465995f6c2ce0
2021-06-17Calculating the maximum tpn for otn tunnels among all domainsHesam Rahimi7-18/+384
Issue-ID: SDNC-1563 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I4a0207d09698d7bd5f9c35160f98b64bb8221e39 Former-commit-id: c53664df29b5fed1c2c413434cefa890f68ec815
2021-04-27Bug fixing required for H release.Hesam Rahimi3-48/+109
1) fixing and issue in the modify operation 2) fixing automatic loading of the delete/deallocate DG 3) fixing ESR registration issue Issue-ID: SDNC-1528 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I2c95d00c400559d8aae57b106bcde3886ed096a6 Former-commit-id: 79ad1bea4f5f5dc831e3d4159b21a3028ef775b3
2021-04-16Bug fixing required for integration testing with PCE.Hesam Rahimi8-6361/+6398
Issue-ID: SDNC-1525 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I10f44c73b8d664ab124eff12f20eb3cc33c68b77 Former-commit-id: fa60f239af143e446fa4227644df5efaf77396b0
2021-03-05Support for "Modify" operation of a given Transport Slice.Hesam Rahimi11-2023/+9421
Issue-ID: SDNC-1501 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I8a145ddac9283baebeec40cc7c6c1fdc0f23a48c Former-commit-id: 4afe227ed1415a0492b34bdeb3ee12855b90bc5f
2021-02-26Bug fixing to support more than two domains for Transport Slicing.Hesam Rahimi3-1267/+270
Issue-ID: SDNC-1487 Change-Id: I472e84b064649eec7c39e3672e487b40d6925b1b Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Former-commit-id: efe3d21392ff65f3b281c1b3ba0b1f492c713d5b
2021-02-22Supporting 3 or more network domains for Transport Slicing use case.Hesam Rahimi10-3542/+6867
Issue-ID: SDNC-1487 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: Ia497741d70eff0f5fba12ad487f0f240709b5cb5 Former-commit-id: c2ff57f8ac2f830bb4709a29dca9644dd8d4c82d
2021-01-29Adding code in oder to supporting multiple E-Line services per each ↵Hesam Rahimi6-1784/+2070
Transport Slice. Issue-ID: SDNC-1458 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I1a503db48020ca2f085f4937638cdcd1764fef2d Former-commit-id: 7189c44abd762ce9459c619e8da16ba46dfc35ff
2020-12-23Passing a correct OTN tunnel ID and a correct Ethernet Service ID for deletion.Hesam Rahimi7-553/+555
Reading VLAN id from northbound. Issue-ID: SDNC-1431 Change-Id: Ic89481230fc91ad45fcc8b0d9f14932575ba9b9a Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Former-commit-id: 9889bd77c51dcabea7b564df80b5a22d9b34839e
2020-12-10Use same name for OTN Tunnels and Ethernet Services in both domains.Hesam Rahimi4-1426/+1472
Issue-ID: SDNC-1431 Change-Id: I5cc4d3c503d3b3e16e1223a50df654d19478b8cc Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Former-commit-id: b89b641bc03235f14409107dea771ae2f6db44d7
2020-12-01DG fixCheung, Pat (kc1472)2-199/+1540
fix vnf-get-resource-request DG to use the correct indexes to retrieve vnf and vf-module param data Issue-ID: SDNC-1423 Signed-off-by: Cheung, Pat (kc1472) <kc1472@att.com> Change-Id: I6fd549f65cc0444d2dc82a406f796b0abca43c6a Former-commit-id: 24de8f4a027dc6d4faa3c0cad38e60bccb65b8d3
2020-11-16Reset a context memory variable (vpn-binding) in a for loop blockHesam Rahimi2-1/+16
Issue-ID: SDNC-1414 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I9582036fbee5f676b12a0b7df4d7d119c020706b Former-commit-id: 14efdd64ace038a131d7aca9e14c057fa5d7a0b0
2020-11-12- Changing POST operation to PATCH for OTN Tunnel creation.Hesam Rahimi10-2932/+2970
- Adding Transport Slicing DGs into graph.versions - Fixing template files for OTN tunnel creation Issue-ID: SDNC-1413 Change-Id: I3ddabd4c0d361a4e0d5e98caf86e9bb361b41b63 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Former-commit-id: 97afd8c7495cf23e8819cb666be9ccbe4f968f68
2020-11-02Completing the logic and the call flow for Transport Slicing operations:Hesam Rahimi10-5609/+8121
- Allocate a Transport Slice - Activate a Transport Slice - DeActivate a Transport Slice - Delete a Transport Slice Bug Fixing and cleaning up the DGs. Issue-ID: SDNC-1202 Issue-ID: SDNC-1404 Change-Id: Ib2eae06c543ae8277ee2014fda87ca2ca3a516af Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Former-commit-id: 37a6361877cd1b9cae35e94f4a0be3a19bd4d088
2020-09-03Adding DGs to support Transport Slicing operations.Hesam Rahimi12-1404/+10141
- Allocate a Transport Slice - Activate a Transport Slice - DeActivate a Transport Slice - Delete a Transport Slice The logic and the required call-flow inside the DGs are not yet completed and are still work-in-progress. Issue-ID: SDNC-1202 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I0c9246063861ac43b645ad198d02ad35bada8e96 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Former-commit-id: a6df651138e1da2668515ee6d23e89670f376186
2020-08-03Support cloud-owner input paramDan Timoney10-6784/+8194
If cloud-owner is passed in input, it should override the value from properties file Change-Id: I67b0e7e0b4fe546dbdfcaa24785ebd1b3b96e7b5 Issue-ID: SDNC-1260 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: 131845c1b3185b5efb8b5bd287747c7086eface8
2020-05-13Using RestApiCallNode instead of RestconfApiCallNode and updating templates ↵Hesam Rahimi4-213/+301
accordingly. - This is also required for F release. Issue-ID: SDNC-1184 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I527253d75dd1e49e87877b17588c1d4c2c3dbed1 Former-commit-id: ca9f45cb92f35a6f0235f0a84e8d7b2f50e0e0de
2020-05-13Adding local-link-connectivity-list (llcl) information to match ttp and tp ↵Hesam Rahimi6-389/+1425
locally (to support NNI-based Service creation use-case). - This is needed for F release Issue-ID: SDNC-1184 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I24f1ef56884b874baed029182a984945080af769 Former-commit-id: 4ff90dd1689d772865399ab5a995119981b127e1
2020-05-07NNI-based Service creation DG bug fixes (uni, l2vpn, and underlay resources).Hesam Rahimi18-3275/+3702
- This is needed for F release Issue-ID: SDNC-1184 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: Ib35d7a70e862c6068d9e3edc10f7d80ba5764e6a Former-commit-id: f515a8831e0036414d69d73030e871dec88180f8
2020-05-01self-serve DG fixCheung, Pat (kc1472)4-12/+44
default value to success when RA returns it as emptystring and object status is success Issue-ID: SDNC-1140 Signed-off-by: Cheung, Pat (kc1472) <kc1472@att.com> Change-Id: I0a38d525d54a83c2863b73d944935defbb02b495 Former-commit-id: 1df36cd2a20f26dfa1c80bc5c3baaa03140f1987
2020-04-23self-serve DG bugfixCheung, Pat (kc1472)4-42/+26
fix cds ra response to yang model mapping Issue-ID: SDNC-1140 Signed-off-by: Cheung, Pat (kc1472) <kc1472@att.com> Change-Id: I54cdb6fec0bd448b99344868e894bf65dc2f26fc Former-commit-id: cfddfad6cdbe087a0b75c5df73cf059dbe2d700f
2020-04-03Merge "Bug fixed related to service-instance metadat"Dan Timoney10-1614/+2233
Former-commit-id: a574019bcd6fd925f1fb2b1faa4c63b7c7e86958
2020-04-03Bug fixed related to service-instance metadatRahul_cool10-1614/+2233
Issue-ID: SDNC-1021 Signed-off-by: Rahul_cool <rahul.tamrkar@huawei.com> Change-Id: I5a48fd7e119ba4a4c32daa33785e637521315838 Former-commit-id: 5a25099f4388a07809b5f5501cbf14035f860d78
2020-04-01self serve DG bugfixCheung, Pat (kc1472)4-22/+46
updated ra-assignment DG to identify ra-response from mapping and mesed-template data Issue-ID: SDNC-1140 Signed-off-by: Cheung, Pat (kc1472) <kc1472@att.com> Change-Id: I80e7316c8d4961520a5d0d41a06f0becbb90807e Former-commit-id: 6959ebe30426c49593c3d4809f8996b9a9f4b8c1
2020-03-30Moved bbs logic from network-topoly-operation to vnfRahul_cool16-471/+6933
Issue-ID: SDNC-1021 Signed-off-by: Rahul_cool <rahul.tamrkar@huawei.com> Change-Id: I720bd21ab355d4d3cad3448d814d9ae5a4da82f3 Former-commit-id: a5e6280beda10b6cc031229dfbe59fcda2ead6f9
2020-03-06Small bug fixes mostly syntax errors in some DGs.Hesam Rahimi4-771/+797
Issue-ID: SDNC-900 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I9952824cfdaab6d9b43cf2e5936f70e74b3ce116 Former-commit-id: c247d4afcf452ff84bc3e748aaa999b161203179
2020-03-04DGs for SOTN NNI based service creationHesam Rahimi27-295/+8541
Issue-ID: SDNC-900 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I3ae8efc39aaa5fc5de48b3323f986531d3c7fa74 Former-commit-id: 84477fc8f92e417f809ffe040ffb12de46a43a77
2020-03-04Merge "SDNC DGs updated for nni usecase"Dan Timoney29-924/+2432
Former-commit-id: 035855121e4b6eed9012809e841b6345a1a11cc3
2020-03-04SDNC DGs updated for nni usecaseRahul_cool29-924/+2432
New Dgs are added for SOTN-NNI usecase Issue-ID: SDNC-899 Signed-off-by: Rahul_cool <rahul.tamrkar@huawei.com> Change-Id: I33ab797c4d0f5b3f11e78843127cd373c478d594 Former-commit-id: 25d232700159699e44822acaa5f1d850292eb501
2020-03-02Mapping based RA ProcessingCheung, Pat (kc1472)13-2425/+415
VNF and vf-module assign DG changes to support mapping based RA processing Issue-ID: SDNC-1036 Signed-off-by: Cheung, Pat (kc1472) <kc1472@att.com> Change-Id: Id8533ef28fdd66912be1f1892465abfda51de401 Former-commit-id: d0da971041814680bcdc8cfc7ed37c76026b8e93
2020-01-23Add missing backticks in test expressionDan Timoney4-142/+142
Backticks were missing from test expression, causing test not to be resolved properly. Change-Id: I1fdc00dbe16c789837d71cc263e262b4167695f3 Issue-ID: SDNC-1022 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: 6b0f198a98a67ecac3b4a8ba9b8b2ab34bac735d
2020-01-22Carry forward GRA async fixesDan Timoney12-16231/+31032
Carry forward fixes to GENERIC-RESOURCE-API async flow made late in El Alto to Frankfurt. It appears that some changes were not cherry picked, so fixing that by submitting the final El Alto version of the impacted directed graphs. Change-Id: I518328669124a393383ef65988a5313632e8634e Issue-ID: SDNC-1017 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: 9b57e7af120f38f716bc5a8526dfd32cec4a87fa
2019-11-08Fix vCPE GRA NetworkBrian Freeman2-83/+2795
Issue-ID: INT-1345 Change-Id: I10dd72b7c3587f8c5cd6ebe35fe786858f420b71 Signed-off-by: Brian Freeman <bf1936@att.com> Former-commit-id: 2d4f6f3ff3c675ab9243efeaa41c3a4822268db0
2019-11-01Fix vnf-topology-assign asyncTimoney, Dan (dt5972)9-1114/+1086
Updated vnf-topology-operation and vf-module-topolopy-operation not to call assign-async directly. Updated vnf-topology-operation-async and vf-module-topology-operation-async to call assign-async instead of assign. Change-Id: I16900ecb2126d2fe7fc3e1dfea351345272c275f Issue-ID: SDNC-961 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: 47c7a904b9a764a2159066bff311f204fd18ce0d
2019-10-23Fix async logicTimoney, Dan (dt5972)4-846/+1206
Fix bug in vnf-topology and vf-module-topology DGs to call correct async DG (right now, not calling async DG). Change-Id: I2a32e9e0755c274cbe235e9f3aabb5547a7d17d3 Issue-ID: SDNC-949 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: bf19b18511c382add95d33526e0706b7858f276f
2019-10-08correct pidx in self-serve-netbox-ip-assign DGAbdelmuhaimen Seaudi2-4/+4
Issue-ID: CCSDK-1817 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com> Change-Id: Iadb8ce8b7602c38a73e7aa20d3ecf7d5da95daa3 Former-commit-id: a634edd152d2fc0c7b237cc5df8cc646da170f9b
2019-10-03Remove quotes in so responseTimoney, Dan (dt5972)4-5/+6
Add 'format=xml' to restapi-call-node to prevent quotes from being added around values in XML content Change-Id: Ic1eacf64fa59002a913d248796fc9247eeeac853 Issue-ID: SDNC-927 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: 328a0562c256b4d3781765506dded054b58c3426
2019-10-02Fixes for async response to SOTimoney, Dan (dt5972)2-62/+63
1) Wrong user name configured for SO interface 2) Accept header needs to be set to 'text/plain' 3) Content-Type needs to be explicitly set to 'application/json' 4) Template is missing outer "input" tag 5) Message needs to be in XML format, not JSON Change-Id: Icd06d12ff8576d2dd560ea452d0a14c3de643a00 Issue-ID: SDNC-927 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: 74ad4c7e51bbfa01caa2e504779b47dd86861428