Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
nameinitial-data-file-sample-domain1.txt
height250
View file
nameINITIAL_DATA_FILE.jsoninitial-data-file-sample-domain2.txt
height250