This commit consists of:
1) Dockerizing the netconf server
2) Update proto2yang to support module imports
3) Provide a set of yang modules derived from the proto files in voltha.
These files as well as the slight mmodifications to the proto files are
provided in the experiments/netconf/proto2yang directory
4) Code to automatically pull proto files from voltha into the netconf server,
compiles them and produce the yang equivalent files.
5) Add a getvoltha netconf API to provide voltha state information (basic at
this time). There is potential to make this generic once we experiment
with additional APIs
Change-Id: I94f3a1f871b8025ad675d5f9b9b626d1be8b8d36
diff --git a/Makefile b/Makefile
index 00fecd9..76bee5e 100644
--- a/Makefile
+++ b/Makefile
@@ -75,12 +75,14 @@
@echo
build: protos docker-base
- docker build -t cord/voltha -f docker/Dockerfile.voltha .
- docker build -t cord/chameleon -f docker/Dockerfile.chameleon .
- docker build -t cord/ofagent -f docker/Dockerfile.ofagent .
- docker build -t cord/podder -f docker/Dockerfile.podder .
+ docker build -t cord/voltha -f Dockerfile.voltha .
+ docker build -t cord/chameleon -f Dockerfile.chameleon .
+ docker build -t cord/ofagent -f Dockerfile.ofagent .
+ docker build -t cord/podder -f Dockerfile.podder .
+ docker build -t cord/netconf -f Dockerfile.netconf .
docker build -t cord/shovel -f docker/Dockerfile.shovel .
+
docker-base:
docker build -t cord/voltha-base -f docker/Dockerfile.base .
@@ -88,6 +90,7 @@
make -C voltha/protos
make -C chameleon/protos
make -C ofagent/protos
+ make -C netconf/protos
install-protoc:
make -C voltha/protos install-protoc