├── .dockerignore ├── .gitignore ├── Dockerfile ├── Makefile ├── PROJECT ├── Readme.md ├── api └── v1 │ ├── groupversion_info.go │ ├── ocswitches_types.go │ └── zz_generated.deepcopy.go ├── config ├── crd │ ├── bases │ │ └── oc.ocoperator.com_ocswitches.yaml │ ├── kustomization.yaml │ ├── kustomizeconfig.yaml │ └── patches │ │ ├── cainjection_in_ocswitches.yaml │ │ └── webhook_in_ocswitches.yaml ├── rbac │ ├── auth_proxy_client_clusterrole.yaml │ ├── auth_proxy_role.yaml │ ├── auth_proxy_role_binding.yaml │ ├── auth_proxy_service.yaml │ ├── kustomization.yaml │ ├── leader_election_role.yaml │ ├── leader_election_role_binding.yaml │ ├── ocswitches_editor_role.yaml │ ├── ocswitches_viewer_role.yaml │ ├── role.yaml │ ├── role_binding.yaml │ └── service_account.yaml └── samples │ └── ceos1.yaml ├── controllers ├── ocswitches_controller.go └── suite_test.go ├── go.mod ├── go.sum ├── hack └── boilerplate.go.txt ├── images ├── overall.jpg ├── running.jpg └── schema.jpg ├── main.go ├── notes └── instructions.md ├── pkg ├── bgp │ └── bgp.go └── k8sgnmi │ ├── bgp.go │ ├── config.go │ ├── get.go │ └── set.go └── switchconfig └── ceos1.cfg /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/.dockerignore -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/Dockerfile -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/Makefile -------------------------------------------------------------------------------- /PROJECT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/PROJECT -------------------------------------------------------------------------------- /Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/Readme.md -------------------------------------------------------------------------------- /api/v1/groupversion_info.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/api/v1/groupversion_info.go -------------------------------------------------------------------------------- /api/v1/ocswitches_types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/api/v1/ocswitches_types.go -------------------------------------------------------------------------------- /api/v1/zz_generated.deepcopy.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/api/v1/zz_generated.deepcopy.go -------------------------------------------------------------------------------- /config/crd/bases/oc.ocoperator.com_ocswitches.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/config/crd/bases/oc.ocoperator.com_ocswitches.yaml -------------------------------------------------------------------------------- /config/crd/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/config/crd/kustomization.yaml -------------------------------------------------------------------------------- /config/crd/kustomizeconfig.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/config/crd/kustomizeconfig.yaml -------------------------------------------------------------------------------- /config/crd/patches/cainjection_in_ocswitches.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/config/crd/patches/cainjection_in_ocswitches.yaml -------------------------------------------------------------------------------- /config/crd/patches/webhook_in_ocswitches.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/config/crd/patches/webhook_in_ocswitches.yaml -------------------------------------------------------------------------------- /config/rbac/auth_proxy_client_clusterrole.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/config/rbac/auth_proxy_client_clusterrole.yaml -------------------------------------------------------------------------------- /config/rbac/auth_proxy_role.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/config/rbac/auth_proxy_role.yaml -------------------------------------------------------------------------------- /config/rbac/auth_proxy_role_binding.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/config/rbac/auth_proxy_role_binding.yaml -------------------------------------------------------------------------------- /config/rbac/auth_proxy_service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/config/rbac/auth_proxy_service.yaml -------------------------------------------------------------------------------- /config/rbac/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/config/rbac/kustomization.yaml -------------------------------------------------------------------------------- /config/rbac/leader_election_role.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/config/rbac/leader_election_role.yaml -------------------------------------------------------------------------------- /config/rbac/leader_election_role_binding.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/config/rbac/leader_election_role_binding.yaml -------------------------------------------------------------------------------- /config/rbac/ocswitches_editor_role.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/config/rbac/ocswitches_editor_role.yaml -------------------------------------------------------------------------------- /config/rbac/ocswitches_viewer_role.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/config/rbac/ocswitches_viewer_role.yaml -------------------------------------------------------------------------------- /config/rbac/role.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/config/rbac/role.yaml -------------------------------------------------------------------------------- /config/rbac/role_binding.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/config/rbac/role_binding.yaml -------------------------------------------------------------------------------- /config/rbac/service_account.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/config/rbac/service_account.yaml -------------------------------------------------------------------------------- /config/samples/ceos1.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/config/samples/ceos1.yaml -------------------------------------------------------------------------------- /controllers/ocswitches_controller.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/controllers/ocswitches_controller.go -------------------------------------------------------------------------------- /controllers/suite_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/controllers/suite_test.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/go.sum -------------------------------------------------------------------------------- /hack/boilerplate.go.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/hack/boilerplate.go.txt -------------------------------------------------------------------------------- /images/overall.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/images/overall.jpg -------------------------------------------------------------------------------- /images/running.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/images/running.jpg -------------------------------------------------------------------------------- /images/schema.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/images/schema.jpg -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/main.go -------------------------------------------------------------------------------- /notes/instructions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/notes/instructions.md -------------------------------------------------------------------------------- /pkg/bgp/bgp.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/pkg/bgp/bgp.go -------------------------------------------------------------------------------- /pkg/k8sgnmi/bgp.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/pkg/k8sgnmi/bgp.go -------------------------------------------------------------------------------- /pkg/k8sgnmi/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/pkg/k8sgnmi/config.go -------------------------------------------------------------------------------- /pkg/k8sgnmi/get.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/pkg/k8sgnmi/get.go -------------------------------------------------------------------------------- /pkg/k8sgnmi/set.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/pkg/k8sgnmi/set.go -------------------------------------------------------------------------------- /switchconfig/ceos1.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burnyd/k8sNetworkgNMIOperator/HEAD/switchconfig/ceos1.cfg --------------------------------------------------------------------------------