aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main
AgeCommit message (Collapse)AuthorFilesLines
2022-09-02Initial submission for supporting E-Line based cloud leased line service for ↵Hesam Rahimi7-0/+222
CCVPN use-case. This is work in-progress. Issue-ID: SDNC-1732 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: Ie4ae1c15199baa07371364524bc4a3b76f2d127f Former-commit-id: aae4789682d86825c24fcdb2ed49176094266415
2022-05-09Making sure not to use the same CLL instance name for all endpoints' ↵Hesam Rahimi2-1/+2
description attribute. Issue-ID: SDNC-1694 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I26fed9419a7ff1d717450498b7dc9c5a3b5bf2ea Former-commit-id: 7e37cf7938d1e11d341fcfa2285132e797a50196
2022-04-25Bug fixing for CCVPN IBN closed-loop operation.Hesam Rahimi1-3/+3
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 Rahimi5-1/+55
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 Rahimi3-72/+131
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 Rahimi2-1/+62
Issue-ID: SDNC-1653 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I7839f07fea141cbcb585673744ba06fcc6f63ed6 Former-commit-id: 1f182c0213ea34d45e3255cd63f34a1ff3b1fca9
2021-09-21Buf fixing for creation, deletion, and modification of a cloud leased-line ↵Hesam Rahimi1-2/+2
(CLL) service. Issue-ID: SDNC-1594 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I4da3a04db97a3e6358cd24cdff540e2e97c208cc Former-commit-id: 0fab18d499c857b08812b099d9e0d88a93102247
2021-08-27New DGs required for creation of a cloud leased-line (E-TREE) service.Hesam Rahimi4-0/+229
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.Zhuangyang1-0/+16
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-02-22Supporting 3 or more network domains for Transport Slicing use case.Hesam Rahimi2-0/+60
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 Rahimi2-0/+44
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 Rahimi1-1/+1
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 Rahimi1-2/+3
Issue-ID: SDNC-1431 Change-Id: I5cc4d3c503d3b3e16e1223a50df654d19478b8cc Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Former-commit-id: b89b641bc03235f14409107dea771ae2f6db44d7
2020-11-12- Changing POST operation to PATCH for OTN Tunnel creation.Hesam Rahimi3-3/+9
- 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 Rahimi5-0/+142
- 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-07-02DG changes for the closed loop and asyncMehreen Kaleem4-3/+41
support in MDONS Change-Id: Ibb16b84cd37d8d41dd0f511fea81ec329a0f8021 Issue-ID: SDNC-1233 Signed-off-by: Mehreen Kaleem <mehreen.kaleem@us.fujitsu.com> Former-commit-id: 225e1b887423a6a5972cf90216156eebc727a41d
2020-05-14Merge "MSA delete services issues fixed for MDONS use case"Dan Timoney2-4/+4
Former-commit-id: a8398eef1ac270ab7a145e812856b62171af8b6f
2020-05-14MSA delete services issues fixed forMehreen Kaleem2-4/+4
MDONS use case Issue-ID: SDNC-1189 Change-Id: I974156a4de10b9962b330abe966b7a95670dd164 Signed-off-by: Mehreen Kaleem <mehreen.kaleem@us.fujitsu.com> Former-commit-id: 1fdf4c6078f561c4b07b069a8fc3e90d0d3d15ec
2020-05-13Using RestApiCallNode instead of RestconfApiCallNode and updating templates ↵Hesam Rahimi2-55/+97
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-03-18DG'S added for MDONS use case to handle cross domainMehreen Kaleem1-0/+57
service creation Change-Id: Ibb50d9c82cc6f62c58c8e85b7f088d40c2a7e30d Issue-ID: SDNC-928 Signed-off-by: Mehreen Kaleem <mehreen.kaleem@us.fujitsu.com> Former-commit-id: ee3ee6e27a76ef2c59da5961f0ec1572081aa0ad
2020-03-04DGs for SOTN NNI based service creationHesam Rahimi1-0/+37
Issue-ID: SDNC-900 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I3ae8efc39aaa5fc5de48b3323f986531d3c7fa74 Former-commit-id: 84477fc8f92e417f809ffe040ffb12de46a43a77
2020-02-20Topology Discovery and optical-service DGsFranklin Dsilva2-0/+69
to support MDONS usecase Change-Id: I1c28e799cc83325e8913d17ee8b718b0a4160cb2 Issue-ID: SDNC-928 Signed-off-by: Franklin Dsilva <franklin.dsilva@us.fujitsu.com> Former-commit-id: 6a42d5eee5d71870527c8a302308f3e49829a496
2020-02-18Merge "Fix missing parameter value in BBS json template"Dan Timoney1-1/+1
Former-commit-id: df853bec2c86a38c9e2d81e499185ead5332bf3c
2020-02-18velocity templates for A1 Adapter DG'sSandeep Shah3-0/+16
New velocity templates to address JSON array response from A1 mediator Issue-ID: SDNC-1074 Signed-off-by: SandeepLinux <Sandeep.Shah@ibm.com> Change-Id: I697b43e90762c5a1c5c7b51a2ae410763a6c61cf Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: 09e4e9963d0214b795fab5bfe0d704945cab553d
2020-02-18Fix missing parameter value in BBS json templatePérez Caparrós David1-1/+1
The access_id(=remote_id) value was missing in the json template used for creating the BBS use case access connectivity resource in the 3rd party controller Issue-ID: SDNC-1021 Signed-off-by: Pérez Caparrós David <David.PerezCaparros@swisscom.com> Change-Id: If2ddc7472f7af9ae9140b76212f41042bcd8daaa Former-commit-id: 0bc82eb176015e5c91c71d9270e0416dd8bc559d
2019-12-19Velocity templates for A1 Adapter DG'sSandeep Shah7-0/+41
Velocity templates used in DG's for A1 policy type and policy instance creation Issue-ID: SDNC-1011 Signed-off-by: SandeepLinux <Sandeep.Shah@ibm.com> Change-Id: Ie16d89271a9ce058e47f879ad107545df8da03c8 Former-commit-id: febc82515ae59dc9247d78914fc1a00066d20568
2019-10-02Fixes for async response to SOTimoney, Dan (dt5972)2-0/+12
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
2019-09-04generic-resource-api DG enhancementCheung, Pat (kc1472)3-0/+539
Add vnf and vf-module async and concurrency support Issue-ID: SDNC-854 Signed-off-by: Cheung, Pat (kc1472) <kc1472@att.com> Change-Id: I2d1ebecca6661ef84d01994a77f5ec2f57c81497 Former-commit-id: 49752d7a66e8edf73e94fd2f7c6191dba1d2d2fc
2019-08-20Templates for SDNR DMAAP payload OOFPCIPOCSandeep Shah2-0/+69
Velocity templates used to create DMAAP payload string that is sent with DMAAP message from SDNR to policy confirming successful configuration of PCI value of a cell or ho flag of neighbors Issue-ID: SDNC-725 Signed-off-by: SandeepLinux <Sandeep.Shah@ibm.com> Change-Id: Ic07b567ebf5c79727c5a0a236ffcd54d89a3c3ed Former-commit-id: 2aa24d0accbf63d528d68aad69d72030a7062084
2019-06-05fix the DG writing log bugVictor Gao1-1/+1
Issue-ID: SDNC-784 Signed-off-by: Victor Gao <victor.gao@huawei.com> Change-Id: I80296f2f9149a32f581a14a9eb091c5cdc6a68fb Former-commit-id: ea9fdaac3e3dcc5dadceb72d4f470b07cd3a1f72
2019-05-29Fix SDNC parameters save in AAI failureprakash.e1-4/+2
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-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-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-01Replace access_id with remote_idSalichos Michail, INI-INO-ECO-HCT2-2/+2
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-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-17Add placeholder for multi part form data filesGaurav Agrawal1-0/+3
Add placeholder for multi part form data files used in RestApiCallNode plugin Change-Id: Ie7a46d3bcd9813c4592ff55fecb0d33294ddc0fd Issue-ID: CCSDK-239 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com> Former-commit-id: 4eeb462a79689788d66248b47735166274d18f00
2019-04-10zte 3rd party controller for sdwanZhuoyao Huang16-0/+254
creating a placeholder for specific templates & DG nodes required to talk to ZTE as 3rd party domain controller. Issue-ID: SDNC-657 Change-Id: Icb774966cd9f4cd15e1beebb2dfb5194f241e4bc Signed-off-by: Zhuoyao Huang <10112215@zte.com.cn> Former-commit-id: 22f440deb271000c1accc7abe679335e3e1916b0
2019-03-29CCVPN extension lan-port templatesprakash.e5-0/+93
lan-port - device-port, bridge-domain and ip-subnets templates Change-Id: I94797ee8f58c8817d578a263a631ca0ac485dd26 Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 30a75914225f313fac7a40b6bc2a2d0d782fc112
2019-03-22Fix bugs in BBS DGsBryan Guo2-2/+2
Issue-ID: SDNC-698,SDNC-699,SDNC-700 Change-Id: I7e3891a25baf3864368a281165da70999313d6ce Signed-off-by: Gxxxx <guofengbei@huawei.com> Former-commit-id: b29c2cdabddc4b982b597fa9cc7d845f0d0b403a
2019-03-21add DGs for BBS usecaseBryan Guo3-0/+55
Issue-ID: SDNC-698,SDNC-699,SDNC-700 Change-Id: Iac71c3ad2a42def4bf1fd0e3464f028dae5a5414 Signed-off-by: Gxxxx <guofengbei@huawei.com> Former-commit-id: 05ccc1879959d01720065f633d08e68ede2c04aa
2019-03-04Dublin releaseCheung, Pat (kc1472)1-0/+112
DGs to support pnf-topology-operation with assign svc-action Change-Id: Ia257c03cd8e3b2dd8f801b67a0d55ab7f7ed1ba6 Issue-ID: SDNC-635 Signed-off-by: Cheung, Pat (kc1472) <kc1472@att.com> Former-commit-id: 6120758d9eaf6d6aae57d94f236ff7ddda3503c7
2018-11-23Fix JSON template for DMaaP messagesMarco Platania1-1/+1
- Change "input" to "output" Change-Id: Ie6fd59a0ecb3721b84a1f063b76f409b790055c7 Issue-ID: SDNC-534 Signed-off-by: Marco Platania <platania@research.att.com> Former-commit-id: 55ec19fbcec3adbf16451ac0c5fb2dc2b45e56b9
2018-11-01self-serve DG bug fixesCheung, Pat1-6/+54
Fixing various bug fixes for self serve logics Change-Id: I9127900df427483ac9bc93c51774d7b1f97ba1c5 Issue-ID: SDNC-509 Signed-off-by: Cheung, Pat <kc1472@att.com> Former-commit-id: 8eb03908d9de95073ec6484a95009a033f324b8a
2018-10-04Merge "self-serve dg patch"Dan Timoney8-0/+338
Former-commit-id: 5473275e2ccf6ed96c0eb1c3e2473b6a8bc1ebb6
2018-10-04self-serve dg patchCheung, Pat8-0/+338
inclues new self-serve forking logic, added silentFailure to for loops, not to set cap name to INPUT for generate-name Change-Id: Idd3deb016533dc70611d60dd289f4c4bc40d3136 Issue-ID: CCSDK-604 Signed-off-by: Cheung, Pat <kc1472@att.com> Former-commit-id: 7209c246e382048781f166c2b3eeab24be7e9815
2018-10-04json body for get zte topology resourcewsx252894-0/+23
Issue-ID: SDNC-354 Change-Id: I63e89d46269e7104fb7a778f06376cc4669f5df6 Signed-off-by: Wsx25289 <10200860@zte.com.cn> Former-commit-id: 1aa2dbad460030e67acf85b56de86226d432b250
2018-09-12self-serve-generate-name DG changesSingh, Ajay (as396y)1-0/+13
Refactor the naming genereation sub dg for assign and un-assign to trigger the name generation rest API directly Change-Id: Ie060bed01f6c694f34e2c2518b69873e4728bd71 Issue-ID: CCSDK-482 Signed-off-by: Singh, Ajay (as396y) <as396y@att.com> Former-commit-id: 582888bc81e55ef4bf11d34c95eb7ac589de51b0
2018-09-07integration test issues fix for sdwan and sotnshashikanth.vh15-96/+118
Change-Id: I406550404f0cfb661d6e480cf1df48d39fad06e7 Issue-ID: SDNC-357 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com> Former-commit-id: 3e4fa46160a5d6d52bb7eccf08dbb790d96a4682
2018-08-31CCVPN RestApi template changesprakash.e18-353/+114
SDWAN and SOTN restapi template fix Change-Id: I2a86398487f65c9b15fb8081f383207ff778a135 Issue-ID: SDNC-357 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: db088b077924366c0d9028b71d490a5b05a1a0c1
2018-08-24SDWAN flow based end-end test and issue fixprakash.e2-2/+5
SDWAN DGs and restapi templates issue fixes Change-Id: I5d1d4e6cb17e9b187ea4f0942ca837472738fe62 Issue-ID: SDNC-357 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: b1da373ad0e08400b4c1f2a8cfbb69524df745a2