...
Code Block |
---|
curl –X POST –H "content-type:application/json" http://${SERVER_IP:SERVER_PORT}/pncsimu/v1/reload-data -d @INITIAL_DATA_FILE |
In our case, we use 18181 as SERVER_PORT is 18181for domain1 and 28181 for domain2.
Here, INITIAL_DATA_FILE is a JSON representation describing the status of operational datastore.
...
For demonstration purposes, A sample INITIAL_DATA_FILE is attached.two domain controllers need to be properly launched and initialized. The respective initialization payloads are attached below.
View file | ||||
---|---|---|---|---|
|
View file | ||||
---|---|---|---|---|
|