aboutsummaryrefslogtreecommitdiffstats
path: root/sanitycheck/netconf/Makefile
blob: b880202ec2078bc15944b434f6805bc4c67b908b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 #####"