-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Description
A panorama xml api call to delete a device group is fairly obvious from the documentation. It has been tested and passes consistently with Panorama 8.0.
Use xpath /config/devices/entry[ @name=\"localhost.localdomain\" ]/device-group/entry[ @name="MyDevGroupName"], type=config and action=delete parameters with your API call.
It does not work with Panorama 7.1, however. This may be a bug in panorama.
Expected Behavior
Should be able to delete a device group.
Actual Behavior
With 7.1, the API call returns with status success, yet when you go to Panorama, the device group is still there.
Steps to Reproduce
In PANManagerDeviceApiIntegrationTest under this project, uncomment deleteVSSDevice call and run the test.
Make sure PANORAMA_IP points to a configured Panorama 7.1 installation. (e.g. 240.15)
Go to the web UI and observe that the device group is present.
Worse, you are not able to manually delete it either. As a workaround, it can be deleted manually if you rename it and commit first.
Additional Information
Status
- Reproduced
- In Progress
- Validated => Verified in Version/Build: