The Microservice for this tutorial is available on GitHub at: https://github.com/openmsa/Workflows-Microservices/blob/master/MICROSERVICES/Tutorials/PALOALTO/VA/SERVICE/Basic/Address/address_ip_range.xml
To understand how to use the Microservice order stack with the portal and how it's related to the use of the REST API.
Documentation on order stack API is available here.
This use case requires a PaloAlto device, provisioned in the MSA and a Microservice to do some simple configuration.
We will use a Microservice to manage Address IP Range on PaloAlto because it's simple and doesn't require anything else to be used.
Case 1: Use the UI to Stack Orders, the REST API to View the Stack and the UI to Apply the Config
Initial state: the device doesn't have any address IP range configured.
The PaloAlto UI shows a consistent view.
Use the Microservice console to add a few addresses.
Let's also perform a modification of the stack and change the value of addr2.
Use the Microservice Order Stack Management API to view the stack.
Then, apply the configuration with the "Apply Configuration" action on the portal. The MSA will build the configuration from the stack and apply it by calling the PaloAlto adapter.
Case 2: Use the UI to Stack Orders, the REST API to View the Stack and Apply the Config
With the same stack as in case 1, the API call below will trigger a configuration update.
And build the same configuration on the PaloAlto.