this details regarding the API working, shared with the customer ..
Dear Team,
The implementation of the logic for node deletion is now ready for production. The patch has already been applied and tested. Below is the API link that needs to be triggered as required.
http://localhost:8090/NEP_SERVER/services/airtel/deletion/deleteRanNodes?versionName=Test_IPV6&key=y@8j-bZHqp@teHvVB3-@w?K!R5M?YX&duration=1352&nodeSize=500&isByNodeSize=true
All the points mentioned below have been added into the logic. Here is a summary of the API
The deletion process is applicable to all nodes and report types for RAN and MW domains, including - eNodeB, gNodeB, BTS SRANBS,IDU, transmission links, and their sub-elements such as board, inventory, addinfo, IPDATA, interfaces,cells , vlan etc.
Note - The main elements like Nodes and link deleted can also be tracked in the logs.
The deletion criteria can be modified based on requirements. The logic implemented includes-
• Count Condition: The first condition to consider is whether the count limit is set to true or false.
• If Count Condition is set to true, the following cases apply:
Case 1: Data older than X days (X configurable)
o If the deletion is set to remove data older than X days (where the cutoff date is calculated as Today – X days, inclusive of Today) and the node count threshold is Y, deletion will proceed only if the number of nodes older than the cutoff date is less than Y.
o Otherwise, no deletion will occur, and a warning will be logged.
NOTE--_ ( today-X) is where the cutoff date is calculated as Today – X days, inclusive of Today)
Example: If we want to delete data older than 7th August and today’s date is 15th August (inclusive), X will be 9 (i.e., 9 days older data).
Case 2: Delete all data except today’s date (Duration = 0)
o If the deletion is set to remove all data except today’s date and the node count threshold is Y, deletion will proceed only if the number of nodes older than the cutoff date is less than Y.
o Otherwise, no deletion will occur, and a warning will be logged.
• If Count Condition is set to false, deletion will occur according to the configured duration (i.e., older than X days) without checking the node count threshold.
Tracking of deleted element or count for every circle- This can be monitored from the logs provided by the integration team. Keywords such as “Deleted” and “to delete” will help determine the exact number of nodes deleted from the database.
Build 3.7.71.463 is released with 50 node deletion restriction for RAN nodes