diff options
Diffstat (limited to 'sanitycheck/netconf/Makefile')
-rw-r--r-- | sanitycheck/netconf/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sanitycheck/netconf/Makefile b/sanitycheck/netconf/Makefile new file mode 100644 index 0000000..b880202 --- /dev/null +++ b/sanitycheck/netconf/Makefile @@ -0,0 +1,22 @@ +all: start + +.PHONY: start + +start: + @echo "##### Start NETCONF server with AVCN manager #####" + docker-compose up -d + @echo "##### DONE #####" + +stop: + @echo "##### Stop NETCONF server with AVCN manager #####" + docker-compose down + @echo "##### DONE #####" + +health-check: + @echo "##### NETCONF simulator Health check #####\n" + curl -i -H "Accept: application/json" -H "Content-Type: application/json" -X GET http://localhost:6555/readiness + +change-config: + @echo "##### Trigger config change for model test-model #####" + curl -X POST http://localhost:6555/change_config/test-model -d @test_models/test-model.data.xml --header "Content-Type: application/xml" + @echo "\n##### DONE #####" |