Runable framework with Mwan3Policy implemented 80/3380/6
authorchengli3 <cheng1.li@intel.com>
Wed, 22 Apr 2020 02:50:41 +0000 (02:50 +0000)
committerchengli3 <cheng1.li@intel.com>
Thu, 7 May 2020 03:07:32 +0000 (03:07 +0000)
commit94e1f2607252b93e9491fbc753dee9a892b36977
treeab24fea8e45cba89779791b3bfdf69bf12157dfe
parenta260b92f7ea3ddada5895963fd7ef89505986470
Runable framework with Mwan3Policy implemented

We are going to implement many rule CRDs/controllers. They are
mwan3policy, mwan3rule, firewallzone, firewallrule, etc.

This patch is the first one which constructs the sdewan controller
framework with Mwan3Policy implemented.

The design is located on the wiki page[1]. The develop framework is
described in the README.md under platform/crd-ctrlr.

[1] https://wiki.akraino.org/display/AK/Sdewan+config+Agent

Signed-off-by: chengli3 <cheng1.li@intel.com>
Change-Id: I7cf3b34ece8756c80969c99d9ab8c7383c43ea53
64 files changed:
platform/crd-ctrlr/README.md
platform/crd-ctrlr/diagrams/sdewan_dev.drawio [new file with mode: 0644]
platform/crd-ctrlr/diagrams/sdewan_dev.png [new file with mode: 0644]
platform/crd-ctrlr/examples/README.md
platform/crd-ctrlr/examples/attach-network-ovn.yaml [new file with mode: 0644]
platform/crd-ctrlr/examples/cnf-deployment-older-than-1.16.yaml [new file with mode: 0644]
platform/crd-ctrlr/examples/cnf-deployment.yaml [new file with mode: 0644]
platform/crd-ctrlr/examples/ovn-net1.yaml [new file with mode: 0644]
platform/crd-ctrlr/examples/ovn-net2.yml [new file with mode: 0644]
platform/crd-ctrlr/examples/ovn-provnet.yaml [new file with mode: 0644]
platform/crd-ctrlr/examples/sdewan-controller.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/Dockerfile [new file with mode: 0644]
platform/crd-ctrlr/src/Makefile [new file with mode: 0644]
platform/crd-ctrlr/src/PROJECT [new file with mode: 0644]
platform/crd-ctrlr/src/README.md [deleted file]
platform/crd-ctrlr/src/api/v1alpha1/common_types.go [new file with mode: 0644]
platform/crd-ctrlr/src/api/v1alpha1/groupversion_info.go [new file with mode: 0644]
platform/crd-ctrlr/src/api/v1alpha1/mwan3policy_types.go [new file with mode: 0644]
platform/crd-ctrlr/src/api/v1alpha1/zz_generated.deepcopy.go [new file with mode: 0644]
platform/crd-ctrlr/src/cnfprovider/cnfprovider.go [new file with mode: 0644]
platform/crd-ctrlr/src/cnfprovider/wrtprovider.go [new file with mode: 0644]
platform/crd-ctrlr/src/config/certmanager/certificate.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/certmanager/kustomization.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/certmanager/kustomizeconfig.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/crd/bases/batch.sdewan.akraino.org_mwan3policies.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/crd/kustomization.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/crd/kustomizeconfig.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/crd/patches/cainjection_in_mwan3policies.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/crd/patches/webhook_in_mwan3policies.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/default/kustomization.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/default/manager_auth_proxy_patch.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/default/manager_webhook_patch.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/default/webhookcainjection_patch.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/manager/kustomization.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/manager/manager.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/prometheus/kustomization.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/prometheus/monitor.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/rbac/auth_proxy_role.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/rbac/auth_proxy_role_binding.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/rbac/auth_proxy_service.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/rbac/kustomization.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/rbac/leader_election_role.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/rbac/leader_election_role_binding.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/rbac/mwan3policy_editor_role.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/rbac/mwan3policy_viewer_role.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/rbac/role.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/rbac/role_binding.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/samples/batch_v1alpha1_mwan3policy.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/webhook/kustomization.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/webhook/kustomizeconfig.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/webhook/manifests.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/config/webhook/service.yaml [new file with mode: 0644]
platform/crd-ctrlr/src/controllers/mwan3policy_controller.go [new file with mode: 0644]
platform/crd-ctrlr/src/controllers/suite_test.go [new file with mode: 0644]
platform/crd-ctrlr/src/go.mod [new file with mode: 0644]
platform/crd-ctrlr/src/go.sum [new file with mode: 0644]
platform/crd-ctrlr/src/hack/boilerplate.go.txt [new file with mode: 0644]
platform/crd-ctrlr/src/main.go [new file with mode: 0644]
platform/crd-ctrlr/src/openwrt/firewall.go [new file with mode: 0644]
platform/crd-ctrlr/src/openwrt/ipsec.go [new file with mode: 0644]
platform/crd-ctrlr/src/openwrt/mwan3.go [new file with mode: 0644]
platform/crd-ctrlr/src/openwrt/openwrtclient.go [new file with mode: 0644]
platform/crd-ctrlr/src/openwrt/service.go [new file with mode: 0644]
platform/crd-ctrlr/src/openwrt/utils.go [new file with mode: 0644]