Add nginx services control functionality 37/63437/1
authorearrage <eddie.arrage@huawei.com>
Thu, 11 Oct 2018 21:11:31 +0000 (14:11 -0700)
committerEddie Arrage <eddie.arrage@huawei.com>
Fri, 12 Oct 2018 01:07:41 +0000 (01:07 +0000)
commit1a999760f15fdcccffd259b053c517ea8332a408
tree12e706711538298d7b01fbe11a2d4e15276d8f15
parentee2169ee4b8fb3539ad173fbc1557b54b2f2216f
Add nginx services control functionality

- Modify nginx server template to use clover-controller
in clover-system namespace for file upload
- Add ability to set nginx server paths and move uploaded files
in clover-controller and set/get file upload metadata
- Add cloverctl commands to set nginx server and lb configurations
- Add example yaml files to configure nginx server and
lb v1/v2 from cloverctl
- Modify service definition for http-lb versions to distinguish
the two versions for GRPC messaging from clover-controller in SDC
deployment yaml

Change-Id: I5c6866c5ff3de358939c58ea8c0bde64a69c6eca
Signed-off-by: earrage <eddie.arrage@huawei.com>
clover/cloverctl/src/cloverctl/cmd/set_nginx.go [new file with mode: 0644]
clover/cloverctl/src/cloverctl/yaml/lbv1.yaml [new file with mode: 0644]
clover/cloverctl/src/cloverctl/yaml/lbv2.yaml [new file with mode: 0644]
clover/cloverctl/src/cloverctl/yaml/server.yaml [new file with mode: 0644]
clover/controller/__init__.py
clover/controller/control/__init__.py
clover/controller/control/api/file_upload.py
clover/controller/control/api/nginx.py
samples/scenarios/service_delivery_controller.yaml
samples/scenarios/service_delivery_controller_opnfv.yaml
samples/services/nginx/docker/grpc/templates/server.template