Overview:
Enhancement/augmentation of ONAP/SDN-C capabilities with the automated and assisted network service and device configuration back up with configurable intervals with version control and Config-comparison features and automated configuration restoration in case of upgrade failures.
Acceptance Criteria:
As a SDN-C user,
1) We will be able to perform automatic Back-up of device-configuration.
- If any new configuration is added into our device so Back-up will take place
- If any changes added in already stored configuration then it will create version and save it into our database.
- Version will help us to use the desired configuration.
- Also, able to schedule backup in every 24 hours. And, we can manually take the backup if required, and update into DB. Also, update the time and date to check the latest backup or the scheduler worked.
2) We should be able to select/choose any device and upload the JSON file containing configurations for selected device and push the configuration to device.
- If we select any device to update its configuration, we should be able to pick a configuration file and should be able to push it to the device.
3) We should be able to perform compare configurations by selecting two or more backed up configuration versions of single device on GUI.
- If we select any device, we should be able to see different configuration versions of that device.
- If we want to check difference between 2 to 4 different configuration versions at a time, we should be able to see comparison between them.
- If we want to view only one version at a time, we should be able to see only one version on GUI.
- We should be able to choose any configuration version and push selected configuration to device from the same GUI.
4) We should be able to view report of all the devices.
- If we select start and end date, it should generate a report of all backed up devices between selected dates.
- We should be able to check report of particular device in selected time period.
Functionality:
We have various API’s to fetch the information like:
- To get details of all VNF.
- To get details of configuration by using Id (Vnf-configuration id).
- To add details of VNF by particular id (Vnf-configuration id)
- To take backup of any new configuration etc.
How it works:
RESTCONF:
It is an interface using in SDNC to communicate various devices.
1-Backup-configuration:-
Need to take backup into Database from the Rest-conf(where the configuration are available, fetched by using api-url).We have two option to take backup of configuration into database, if any new changes found or the new configuration found for new device on :
1- Automatically taking backup in every 24-hrs, if any new changes found in the configuration and create the versioning.
2- Also, we can do it manually, if required.(backup-button)
2-Apply Config
We have to select a VnfId to update new configuration. We need to pick a configuration file using “choose file” button and then need to upload it using “Apply Config” button. It will show success or error message.
3-Compare Config
We have to select any VNF device it will show available different versions of it.
1- We can select at least two and at most four different versions and check comparison between their configurations.
2- We can select a single version and check its configuration.
3- We can select any version and push it to device.
4-Search VNF reports
We have to select start date and end date to view report of all backed up VNF devices during selected period. After clicking on “submit”, it will generate a report.
5-Search VNF report by id
We have to select VNF device, start date and end date to view report of particular VNF device during selected period. After clicking on “submit”, it will generate a report.