From 3bd58e2051c3731891c4fb3260725ccee02fb89d Mon Sep 17 00:00:00 2001 From: Phu Tran <22720475+phudtran@users.noreply.github.com> Date: Thu, 2 Apr 2020 11:39:17 -0700 Subject: [PATCH 1/2] Added MIT License --- install/create_cluster.sh | 21 ++++++++++++++++++ install/create_crds.sh | 21 ++++++++++++++++++ install/create_service_account.sh | 21 ++++++++++++++++++ install/create_testimage.sh | 21 ++++++++++++++++++ install/deploy_daemon.sh | 21 ++++++++++++++++++ install/deploy_operator.sh | 21 ++++++++++++++++++ install/disable_kubeproxy.sh | 21 ++++++++++++++++++ install/install_cni.sh | 21 ++++++++++++++++++ k8s/kind/Dockerfile | 21 ++++++++++++++++++ k8s/kind/cluster.yaml | 22 ++++++++++++++++++- kind-setup.sh | 21 ++++++++++++++++++ mgmt/cni.py | 21 ++++++++++++++++++ mgmt/cni/mizarcni.bak.py | 22 +++++++++++++++++++ mgmt/cni/mizarcni.py | 21 ++++++++++++++++++ mgmt/cni/test_mizarcni.py | 21 ++++++++++++++++++ mgmt/common/cidr.py | 21 ++++++++++++++++++ mgmt/common/cniparams.py | 21 ++++++++++++++++++ mgmt/common/common.py | 21 ++++++++++++++++++ mgmt/common/constants.py | 20 +++++++++++++++++ mgmt/common/rpc.py | 21 ++++++++++++++++++ mgmt/common/wf_factory.py | 21 ++++++++++++++++++ mgmt/common/wf_param.py | 21 ++++++++++++++++++ mgmt/common/workflow.py | 21 ++++++++++++++++++ mgmt/daemon.py | 21 ++++++++++++++++++ mgmt/daemon/app.py | 22 +++++++++++++++++++ mgmt/daemon/cni_service.py | 21 ++++++++++++++++++ .../operators/bouncers/bouncers_operator.py | 21 ++++++++++++++++++ .../operators/dividers/dividers_operator.py | 21 ++++++++++++++++++ .../operators/droplets/droplets_operator.py | 21 ++++++++++++++++++ .../operators/endpoints/endpoints_operator.py | 21 ++++++++++++++++++ mgmt/dp/mizar/operators/nets/nets_operator.py | 21 ++++++++++++++++++ mgmt/dp/mizar/operators/vpcs/vpcs_operator.py | 21 ++++++++++++++++++ mgmt/dp/mizar/workflows/bouncers/bootstrap.py | 21 ++++++++++++++++++ mgmt/dp/mizar/workflows/bouncers/create.py | 21 ++++++++++++++++++ mgmt/dp/mizar/workflows/bouncers/delete.py | 21 ++++++++++++++++++ .../mizar/workflows/bouncers/provisioned.py | 21 ++++++++++++++++++ mgmt/dp/mizar/workflows/bouncers/triggers.py | 21 ++++++++++++++++++ .../workflows/builtins/services/bootstrap.py | 21 ++++++++++++++++++ .../workflows/builtins/services/create.py | 21 ++++++++++++++++++ .../workflows/builtins/services/delete.py | 21 ++++++++++++++++++ .../builtins/services/provisioned.py | 21 ++++++++++++++++++ .../workflows/builtins/services/triggers.py | 21 ++++++++++++++++++ mgmt/dp/mizar/workflows/dividers/bootstrap.py | 21 ++++++++++++++++++ mgmt/dp/mizar/workflows/dividers/create.py | 21 ++++++++++++++++++ mgmt/dp/mizar/workflows/dividers/delete.py | 21 ++++++++++++++++++ .../mizar/workflows/dividers/provisioned.py | 21 ++++++++++++++++++ mgmt/dp/mizar/workflows/dividers/triggers.py | 21 ++++++++++++++++++ mgmt/dp/mizar/workflows/droplets/bootstrap.py | 21 ++++++++++++++++++ mgmt/dp/mizar/workflows/droplets/create.py | 21 ++++++++++++++++++ mgmt/dp/mizar/workflows/droplets/delete.py | 21 ++++++++++++++++++ .../mizar/workflows/droplets/provisioned.py | 21 ++++++++++++++++++ mgmt/dp/mizar/workflows/droplets/triggers.py | 21 ++++++++++++++++++ .../dp/mizar/workflows/endpoints/bootstrap.py | 21 ++++++++++++++++++ mgmt/dp/mizar/workflows/endpoints/create.py | 21 ++++++++++++++++++ mgmt/dp/mizar/workflows/endpoints/delete.py | 21 ++++++++++++++++++ .../mizar/workflows/endpoints/provisioned.py | 21 ++++++++++++++++++ mgmt/dp/mizar/workflows/endpoints/triggers.py | 21 ++++++++++++++++++ mgmt/dp/mizar/workflows/mizar_wf_factory.py | 21 ++++++++++++++++++ mgmt/dp/mizar/workflows/nets/bootstrap.py | 21 ++++++++++++++++++ mgmt/dp/mizar/workflows/nets/create.py | 21 ++++++++++++++++++ mgmt/dp/mizar/workflows/nets/delete.py | 21 ++++++++++++++++++ mgmt/dp/mizar/workflows/nets/provisioned.py | 21 ++++++++++++++++++ mgmt/dp/mizar/workflows/nets/triggers.py | 21 ++++++++++++++++++ mgmt/dp/mizar/workflows/vpcs/bootstrap.py | 21 ++++++++++++++++++ mgmt/dp/mizar/workflows/vpcs/create.py | 21 ++++++++++++++++++ mgmt/dp/mizar/workflows/vpcs/delete.py | 21 ++++++++++++++++++ mgmt/dp/mizar/workflows/vpcs/provisioned.py | 21 ++++++++++++++++++ mgmt/dp/mizar/workflows/vpcs/triggers.py | 21 ++++++++++++++++++ mgmt/etc/account/binding.yaml | 21 ++++++++++++++++++ mgmt/etc/account/serviceaccount.yaml | 21 ++++++++++++++++++ mgmt/etc/crds/bouncers.crd.yaml | 21 ++++++++++++++++++ mgmt/etc/crds/dividers.crd.yaml | 21 ++++++++++++++++++ mgmt/etc/crds/droplets.crd.yaml | 21 ++++++++++++++++++ mgmt/etc/crds/endpoints.crd.yaml | 21 ++++++++++++++++++ mgmt/etc/crds/nets.crd.yaml | 21 ++++++++++++++++++ mgmt/etc/crds/vpcs.crd.yaml | 21 ++++++++++++++++++ mgmt/etc/deploy/daemon.deploy.yaml | 21 ++++++++++++++++++ mgmt/etc/deploy/dev.daemon.deploy.yaml | 21 ++++++++++++++++++ mgmt/etc/deploy/dev.operator.deploy.yaml | 21 ++++++++++++++++++ mgmt/etc/deploy/operator.deploy.yaml | 21 ++++++++++++++++++ mgmt/etc/docker/daemon.Dockerfile | 21 ++++++++++++++++++ mgmt/etc/docker/operator.Dockerfile | 21 ++++++++++++++++++ mgmt/etc/docker/test.Dockerfile | 21 ++++++++++++++++++ mgmt/obj/bouncer.py | 21 ++++++++++++++++++ mgmt/obj/divider.py | 21 ++++++++++++++++++ mgmt/obj/droplet.py | 21 ++++++++++++++++++ mgmt/obj/endpoint.py | 21 ++++++++++++++++++ mgmt/obj/net.py | 21 ++++++++++++++++++ mgmt/obj/tests/test_net.yaml | 21 ++++++++++++++++++ mgmt/obj/tests/test_service.yaml | 21 ++++++++++++++++++ mgmt/obj/tests/test_vpc.yaml | 21 ++++++++++++++++++ mgmt/obj/vpc.py | 21 ++++++++++++++++++ mgmt/operator.py | 22 +++++++++++++++++++ mgmt/store/operator_store.py | 21 ++++++++++++++++++ .../func_test/basic/yaml/test_deploy.yaml | 21 ++++++++++++++++++ mgmt/test/func_test/basic/yaml/test_net.yaml | 21 ++++++++++++++++++ mgmt/test/func_test/basic/yaml/test_vpc.yaml | 21 ++++++++++++++++++ 97 files changed, 2039 insertions(+), 1 deletion(-) diff --git a/install/create_cluster.sh b/install/create_cluster.sh index 18d6ff15..e62d0672 100644 --- a/install/create_cluster.sh +++ b/install/create_cluster.sh @@ -1,5 +1,26 @@ #!/bin/bash +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + KINDCONF=${1:-"${HOME}/mizar/build/tests/kind/config"} USER=${2:-dev} diff --git a/install/create_crds.sh b/install/create_crds.sh index e623bf3a..4b55121a 100755 --- a/install/create_crds.sh +++ b/install/create_crds.sh @@ -1,5 +1,26 @@ #!/bin/bash +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + DIR=${1:-.} USER=${2:-dev} diff --git a/install/create_service_account.sh b/install/create_service_account.sh index 276157d6..c4d75ab5 100755 --- a/install/create_service_account.sh +++ b/install/create_service_account.sh @@ -1,5 +1,26 @@ #!/bin/bash +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + DIR=${1:-.} USER=${2:-dev} diff --git a/install/create_testimage.sh b/install/create_testimage.sh index 39578f8b..0ae14dd2 100755 --- a/install/create_testimage.sh +++ b/install/create_testimage.sh @@ -1,5 +1,26 @@ #!/bin/bash +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + DIR=${1:-.} USER=${2:-dev} DOCKER_ACC=${3:-"localhost:5000"} diff --git a/install/deploy_daemon.sh b/install/deploy_daemon.sh index 069ccad0..bb1ebd0b 100755 --- a/install/deploy_daemon.sh +++ b/install/deploy_daemon.sh @@ -1,5 +1,26 @@ #!/bin/bash +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + DIR=${1:-.} USER=${2:-dev} DOCKER_ACC=${3:-"localhost:5000"} diff --git a/install/deploy_operator.sh b/install/deploy_operator.sh index ab95559d..2369cce3 100755 --- a/install/deploy_operator.sh +++ b/install/deploy_operator.sh @@ -1,5 +1,26 @@ #!/bin/bash +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + DIR=${1:-.} USER=${2:-dev} DOCKER_ACC=${3:-"localhost:5000"} diff --git a/install/disable_kubeproxy.sh b/install/disable_kubeproxy.sh index 88e61dc7..f3619a88 100755 --- a/install/disable_kubeproxy.sh +++ b/install/disable_kubeproxy.sh @@ -1,5 +1,26 @@ #!/bin/bash +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + DIR=${1:-.} USER=${2:-dev} diff --git a/install/install_cni.sh b/install/install_cni.sh index 54850050..a7e4c5d7 100755 --- a/install/install_cni.sh +++ b/install/install_cni.sh @@ -1,5 +1,26 @@ #!/bin/bash +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + DIR=${1:-.} DIR="${DIR}/mizar-k8s" diff --git a/k8s/kind/Dockerfile b/k8s/kind/Dockerfile index 0f492daa..4d17b267 100644 --- a/k8s/kind/Dockerfile +++ b/k8s/kind/Dockerfile @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + FROM kindest/node:v1.17.2 RUN apt-get update -y RUN apt-get install -y apt-utils diff --git a/k8s/kind/cluster.yaml b/k8s/kind/cluster.yaml index 97ab1b88..ccf78738 100644 --- a/k8s/kind/cluster.yaml +++ b/k8s/kind/cluster.yaml @@ -1,4 +1,24 @@ -# three node (two workers) cluster config +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 nodes: diff --git a/kind-setup.sh b/kind-setup.sh index 1a71790d..9bb493fe 100755 --- a/kind-setup.sh +++ b/kind-setup.sh @@ -1,5 +1,26 @@ #!/bin/bash +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + CWD=$(pwd) KINDCONF="${HOME}/mizar/build/tests/kind/config" MIZARCONF="${HOME}/mizar/build/tests/mizarcni.config" diff --git a/mgmt/cni.py b/mgmt/cni.py index 87499343..8e00fdd1 100755 --- a/mgmt/cni.py +++ b/mgmt/cni.py @@ -1,3 +1,24 @@ #!/usr/bin/python3 +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + from cni.mizarcni import * \ No newline at end of file diff --git a/mgmt/cni/mizarcni.bak.py b/mgmt/cni/mizarcni.bak.py index 0f14c229..b3c3a06d 100755 --- a/mgmt/cni/mizarcni.bak.py +++ b/mgmt/cni/mizarcni.bak.py @@ -1,4 +1,26 @@ #!/usr/bin/python3 + +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import os import sys import json diff --git a/mgmt/cni/mizarcni.py b/mgmt/cni/mizarcni.py index 09121177..b7eff180 100644 --- a/mgmt/cni/mizarcni.py +++ b/mgmt/cni/mizarcni.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import sys import logging import rpyc diff --git a/mgmt/cni/test_mizarcni.py b/mgmt/cni/test_mizarcni.py index 3c7591e2..1805ee42 100755 --- a/mgmt/cni/test_mizarcni.py +++ b/mgmt/cni/test_mizarcni.py @@ -1,5 +1,26 @@ #!/usr/bin/python3 +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import os import subprocess import sys diff --git a/mgmt/common/cidr.py b/mgmt/common/cidr.py index 7a079ba8..7eccc44f 100644 --- a/mgmt/common/cidr.py +++ b/mgmt/common/cidr.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import ipaddress class Cidr: diff --git a/mgmt/common/cniparams.py b/mgmt/common/cniparams.py index 4bb0c846..9d32197e 100644 --- a/mgmt/common/cniparams.py +++ b/mgmt/common/cniparams.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import os import json import subprocess diff --git a/mgmt/common/common.py b/mgmt/common/common.py index f180a008..6f81daa4 100644 --- a/mgmt/common/common.py +++ b/mgmt/common/common.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import subprocess import ctypes import logging diff --git a/mgmt/common/constants.py b/mgmt/common/constants.py index 3f9ec58e..62d94c61 100644 --- a/mgmt/common/constants.py +++ b/mgmt/common/constants.py @@ -1,3 +1,23 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. # Constants group = 'mizar.com' diff --git a/mgmt/common/rpc.py b/mgmt/common/rpc.py index c7bba56e..1dcbd31e 100644 --- a/mgmt/common/rpc.py +++ b/mgmt/common/rpc.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging import json from common.common import run_cmd diff --git a/mgmt/common/wf_factory.py b/mgmt/common/wf_factory.py index 60041693..fefee8ab 100644 --- a/mgmt/common/wf_factory.py +++ b/mgmt/common/wf_factory.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + from dp.mizar.workflows.mizar_wf_factory import MizarWorkflowFactory def wffactory(): diff --git a/mgmt/common/wf_param.py b/mgmt/common/wf_param.py index 9a31bea6..c3753793 100644 --- a/mgmt/common/wf_param.py +++ b/mgmt/common/wf_param.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import luigi class HandlerParam(luigi.Parameter): diff --git a/mgmt/common/workflow.py b/mgmt/common/workflow.py index 44753c20..55130313 100644 --- a/mgmt/common/workflow.py +++ b/mgmt/common/workflow.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + from __future__ import annotations import luigi from abc import ABC, abstractmethod diff --git a/mgmt/daemon.py b/mgmt/daemon.py index b73e6f19..0538e253 100755 --- a/mgmt/daemon.py +++ b/mgmt/daemon.py @@ -1,3 +1,24 @@ #!/usr/bin/python3 +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + from daemon.app import * \ No newline at end of file diff --git a/mgmt/daemon/app.py b/mgmt/daemon/app.py index ffd63fc0..a2d65df7 100644 --- a/mgmt/daemon/app.py +++ b/mgmt/daemon/app.py @@ -1,4 +1,26 @@ #!/usr/bin/python3 + +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging import subprocess import rpyc diff --git a/mgmt/daemon/cni_service.py b/mgmt/daemon/cni_service.py index 5a91b73a..a0690c36 100644 --- a/mgmt/daemon/cni_service.py +++ b/mgmt/daemon/cni_service.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import os import sys import json diff --git a/mgmt/dp/mizar/operators/bouncers/bouncers_operator.py b/mgmt/dp/mizar/operators/bouncers/bouncers_operator.py index 852d8979..1eaff5c8 100644 --- a/mgmt/dp/mizar/operators/bouncers/bouncers_operator.py +++ b/mgmt/dp/mizar/operators/bouncers/bouncers_operator.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import random import logging from kubernetes import client, config diff --git a/mgmt/dp/mizar/operators/dividers/dividers_operator.py b/mgmt/dp/mizar/operators/dividers/dividers_operator.py index 095cd0b8..491da1c2 100644 --- a/mgmt/dp/mizar/operators/dividers/dividers_operator.py +++ b/mgmt/dp/mizar/operators/dividers/dividers_operator.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import random import uuid from kubernetes import client, config diff --git a/mgmt/dp/mizar/operators/droplets/droplets_operator.py b/mgmt/dp/mizar/operators/droplets/droplets_operator.py index c41e4200..2b7e35ce 100644 --- a/mgmt/dp/mizar/operators/droplets/droplets_operator.py +++ b/mgmt/dp/mizar/operators/droplets/droplets_operator.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging import random from common.constants import * diff --git a/mgmt/dp/mizar/operators/endpoints/endpoints_operator.py b/mgmt/dp/mizar/operators/endpoints/endpoints_operator.py index 91fb6db5..4134b2ac 100644 --- a/mgmt/dp/mizar/operators/endpoints/endpoints_operator.py +++ b/mgmt/dp/mizar/operators/endpoints/endpoints_operator.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging import random from kubernetes import client, config diff --git a/mgmt/dp/mizar/operators/nets/nets_operator.py b/mgmt/dp/mizar/operators/nets/nets_operator.py index 7e120107..90a7f545 100644 --- a/mgmt/dp/mizar/operators/nets/nets_operator.py +++ b/mgmt/dp/mizar/operators/nets/nets_operator.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import random import logging from kubernetes import client, config diff --git a/mgmt/dp/mizar/operators/vpcs/vpcs_operator.py b/mgmt/dp/mizar/operators/vpcs/vpcs_operator.py index 7a6cac0e..85ff1b78 100644 --- a/mgmt/dp/mizar/operators/vpcs/vpcs_operator.py +++ b/mgmt/dp/mizar/operators/vpcs/vpcs_operator.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import random import uuid import logging diff --git a/mgmt/dp/mizar/workflows/bouncers/bootstrap.py b/mgmt/dp/mizar/workflows/bouncers/bootstrap.py index 47ca92b5..df496252 100644 --- a/mgmt/dp/mizar/workflows/bouncers/bootstrap.py +++ b/mgmt/dp/mizar/workflows/bouncers/bootstrap.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging from common.workflow import * from dp.mizar.operators.bouncers.bouncers_operator import * diff --git a/mgmt/dp/mizar/workflows/bouncers/create.py b/mgmt/dp/mizar/workflows/bouncers/create.py index 80f093c9..4d2fcf8a 100644 --- a/mgmt/dp/mizar/workflows/bouncers/create.py +++ b/mgmt/dp/mizar/workflows/bouncers/create.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging from common.workflow import * from dp.mizar.operators.dividers.dividers_operator import * diff --git a/mgmt/dp/mizar/workflows/bouncers/delete.py b/mgmt/dp/mizar/workflows/bouncers/delete.py index a3206fdf..b9c9cdd3 100644 --- a/mgmt/dp/mizar/workflows/bouncers/delete.py +++ b/mgmt/dp/mizar/workflows/bouncers/delete.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging from common.workflow import * from dp.mizar.operators.dividers.dividers_operator import * diff --git a/mgmt/dp/mizar/workflows/bouncers/provisioned.py b/mgmt/dp/mizar/workflows/bouncers/provisioned.py index 56d555ab..9dc89133 100644 --- a/mgmt/dp/mizar/workflows/bouncers/provisioned.py +++ b/mgmt/dp/mizar/workflows/bouncers/provisioned.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging from common.workflow import * from dp.mizar.operators.bouncers.bouncers_operator import * diff --git a/mgmt/dp/mizar/workflows/bouncers/triggers.py b/mgmt/dp/mizar/workflows/bouncers/triggers.py index 037fa0e9..ab05713e 100644 --- a/mgmt/dp/mizar/workflows/bouncers/triggers.py +++ b/mgmt/dp/mizar/workflows/bouncers/triggers.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import kopf import logging import luigi diff --git a/mgmt/dp/mizar/workflows/builtins/services/bootstrap.py b/mgmt/dp/mizar/workflows/builtins/services/bootstrap.py index 6eaa7a7e..9b9c47d4 100644 --- a/mgmt/dp/mizar/workflows/builtins/services/bootstrap.py +++ b/mgmt/dp/mizar/workflows/builtins/services/bootstrap.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging from common.workflow import * logger = logging.getLogger() \ No newline at end of file diff --git a/mgmt/dp/mizar/workflows/builtins/services/create.py b/mgmt/dp/mizar/workflows/builtins/services/create.py index e766bb51..570c6b3d 100644 --- a/mgmt/dp/mizar/workflows/builtins/services/create.py +++ b/mgmt/dp/mizar/workflows/builtins/services/create.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging from common.workflow import * from dp.mizar.operators.bouncers.bouncers_operator import * diff --git a/mgmt/dp/mizar/workflows/builtins/services/delete.py b/mgmt/dp/mizar/workflows/builtins/services/delete.py index 6eaa7a7e..9b9c47d4 100644 --- a/mgmt/dp/mizar/workflows/builtins/services/delete.py +++ b/mgmt/dp/mizar/workflows/builtins/services/delete.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging from common.workflow import * logger = logging.getLogger() \ No newline at end of file diff --git a/mgmt/dp/mizar/workflows/builtins/services/provisioned.py b/mgmt/dp/mizar/workflows/builtins/services/provisioned.py index c351eb95..e9f90e1f 100644 --- a/mgmt/dp/mizar/workflows/builtins/services/provisioned.py +++ b/mgmt/dp/mizar/workflows/builtins/services/provisioned.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging from common.workflow import * logger = logging.getLogger() diff --git a/mgmt/dp/mizar/workflows/builtins/services/triggers.py b/mgmt/dp/mizar/workflows/builtins/services/triggers.py index 1835043e..a1ee4352 100644 --- a/mgmt/dp/mizar/workflows/builtins/services/triggers.py +++ b/mgmt/dp/mizar/workflows/builtins/services/triggers.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import kopf import logging import luigi diff --git a/mgmt/dp/mizar/workflows/dividers/bootstrap.py b/mgmt/dp/mizar/workflows/dividers/bootstrap.py index bc88764b..46d3d4bf 100644 --- a/mgmt/dp/mizar/workflows/dividers/bootstrap.py +++ b/mgmt/dp/mizar/workflows/dividers/bootstrap.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging from common.workflow import * from dp.mizar.operators.dividers.dividers_operator import * diff --git a/mgmt/dp/mizar/workflows/dividers/create.py b/mgmt/dp/mizar/workflows/dividers/create.py index 8b1fb105..074235f0 100644 --- a/mgmt/dp/mizar/workflows/dividers/create.py +++ b/mgmt/dp/mizar/workflows/dividers/create.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging from common.workflow import * from dp.mizar.operators.dividers.dividers_operator import * diff --git a/mgmt/dp/mizar/workflows/dividers/delete.py b/mgmt/dp/mizar/workflows/dividers/delete.py index 8ff6cc90..0d75d2a4 100644 --- a/mgmt/dp/mizar/workflows/dividers/delete.py +++ b/mgmt/dp/mizar/workflows/dividers/delete.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging from common.workflow import * from dp.mizar.operators.dividers.dividers_operator import * diff --git a/mgmt/dp/mizar/workflows/dividers/provisioned.py b/mgmt/dp/mizar/workflows/dividers/provisioned.py index 3f538e40..62d64967 100644 --- a/mgmt/dp/mizar/workflows/dividers/provisioned.py +++ b/mgmt/dp/mizar/workflows/dividers/provisioned.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging from common.workflow import * from dp.mizar.operators.dividers.dividers_operator import * diff --git a/mgmt/dp/mizar/workflows/dividers/triggers.py b/mgmt/dp/mizar/workflows/dividers/triggers.py index 55c17885..92c4542e 100644 --- a/mgmt/dp/mizar/workflows/dividers/triggers.py +++ b/mgmt/dp/mizar/workflows/dividers/triggers.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import kopf import logging import luigi diff --git a/mgmt/dp/mizar/workflows/droplets/bootstrap.py b/mgmt/dp/mizar/workflows/droplets/bootstrap.py index 90419238..2dd8d6ca 100644 --- a/mgmt/dp/mizar/workflows/droplets/bootstrap.py +++ b/mgmt/dp/mizar/workflows/droplets/bootstrap.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging from common.workflow import * from dp.mizar.operators.droplets.droplets_operator import * diff --git a/mgmt/dp/mizar/workflows/droplets/create.py b/mgmt/dp/mizar/workflows/droplets/create.py index 35e8a6a2..e857a578 100644 --- a/mgmt/dp/mizar/workflows/droplets/create.py +++ b/mgmt/dp/mizar/workflows/droplets/create.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging from common.workflow import * from dp.mizar.operators.droplets.droplets_operator import * diff --git a/mgmt/dp/mizar/workflows/droplets/delete.py b/mgmt/dp/mizar/workflows/droplets/delete.py index 1906f4e2..92b80e04 100644 --- a/mgmt/dp/mizar/workflows/droplets/delete.py +++ b/mgmt/dp/mizar/workflows/droplets/delete.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging from common.workflow import * from dp.mizar.operators.vpcs.vpcs_operator import * diff --git a/mgmt/dp/mizar/workflows/droplets/provisioned.py b/mgmt/dp/mizar/workflows/droplets/provisioned.py index 66d4d1eb..acbfbd6b 100644 --- a/mgmt/dp/mizar/workflows/droplets/provisioned.py +++ b/mgmt/dp/mizar/workflows/droplets/provisioned.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging from common.workflow import * from dp.mizar.operators.droplets.droplets_operator import * diff --git a/mgmt/dp/mizar/workflows/droplets/triggers.py b/mgmt/dp/mizar/workflows/droplets/triggers.py index 2b485eab..152b25da 100644 --- a/mgmt/dp/mizar/workflows/droplets/triggers.py +++ b/mgmt/dp/mizar/workflows/droplets/triggers.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import kopf import logging import asyncio diff --git a/mgmt/dp/mizar/workflows/endpoints/bootstrap.py b/mgmt/dp/mizar/workflows/endpoints/bootstrap.py index 5c66cc6e..d6821d09 100644 --- a/mgmt/dp/mizar/workflows/endpoints/bootstrap.py +++ b/mgmt/dp/mizar/workflows/endpoints/bootstrap.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging from common.workflow import * from dp.mizar.operators.endpoints.endpoints_operator import * diff --git a/mgmt/dp/mizar/workflows/endpoints/create.py b/mgmt/dp/mizar/workflows/endpoints/create.py index 7d99fd94..aef4f0fa 100644 --- a/mgmt/dp/mizar/workflows/endpoints/create.py +++ b/mgmt/dp/mizar/workflows/endpoints/create.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging from common.workflow import * from dp.mizar.operators.bouncers.bouncers_operator import * diff --git a/mgmt/dp/mizar/workflows/endpoints/delete.py b/mgmt/dp/mizar/workflows/endpoints/delete.py index 54755d91..5bac8c45 100644 --- a/mgmt/dp/mizar/workflows/endpoints/delete.py +++ b/mgmt/dp/mizar/workflows/endpoints/delete.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging from common.workflow import * diff --git a/mgmt/dp/mizar/workflows/endpoints/provisioned.py b/mgmt/dp/mizar/workflows/endpoints/provisioned.py index 1d447879..fe8a9d1b 100644 --- a/mgmt/dp/mizar/workflows/endpoints/provisioned.py +++ b/mgmt/dp/mizar/workflows/endpoints/provisioned.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging from common.workflow import * from dp.mizar.operators.endpoints.endpoints_operator import * diff --git a/mgmt/dp/mizar/workflows/endpoints/triggers.py b/mgmt/dp/mizar/workflows/endpoints/triggers.py index 31b3c13e..99bf923c 100644 --- a/mgmt/dp/mizar/workflows/endpoints/triggers.py +++ b/mgmt/dp/mizar/workflows/endpoints/triggers.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import kopf import logging import asyncio diff --git a/mgmt/dp/mizar/workflows/mizar_wf_factory.py b/mgmt/dp/mizar/workflows/mizar_wf_factory.py index 7a3f70fa..b8a8a2c3 100644 --- a/mgmt/dp/mizar/workflows/mizar_wf_factory.py +++ b/mgmt/dp/mizar/workflows/mizar_wf_factory.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import luigi from common.workflow import * from dp.mizar.workflows.vpcs.bootstrap import * diff --git a/mgmt/dp/mizar/workflows/nets/bootstrap.py b/mgmt/dp/mizar/workflows/nets/bootstrap.py index 8a37e095..1d804ffb 100644 --- a/mgmt/dp/mizar/workflows/nets/bootstrap.py +++ b/mgmt/dp/mizar/workflows/nets/bootstrap.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging from common.workflow import * from dp.mizar.operators.nets.nets_operator import * diff --git a/mgmt/dp/mizar/workflows/nets/create.py b/mgmt/dp/mizar/workflows/nets/create.py index 9cd950e7..341798f8 100644 --- a/mgmt/dp/mizar/workflows/nets/create.py +++ b/mgmt/dp/mizar/workflows/nets/create.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging from common.workflow import * from dp.mizar.operators.nets.nets_operator import * diff --git a/mgmt/dp/mizar/workflows/nets/delete.py b/mgmt/dp/mizar/workflows/nets/delete.py index 5dab157e..e9387f93 100644 --- a/mgmt/dp/mizar/workflows/nets/delete.py +++ b/mgmt/dp/mizar/workflows/nets/delete.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging from common.workflow import * from dp.mizar.operators.nets.nets_operator import * diff --git a/mgmt/dp/mizar/workflows/nets/provisioned.py b/mgmt/dp/mizar/workflows/nets/provisioned.py index 35efe887..54b12136 100644 --- a/mgmt/dp/mizar/workflows/nets/provisioned.py +++ b/mgmt/dp/mizar/workflows/nets/provisioned.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging from common.workflow import * from dp.mizar.operators.nets.nets_operator import * diff --git a/mgmt/dp/mizar/workflows/nets/triggers.py b/mgmt/dp/mizar/workflows/nets/triggers.py index f55fd617..2d4ad092 100644 --- a/mgmt/dp/mizar/workflows/nets/triggers.py +++ b/mgmt/dp/mizar/workflows/nets/triggers.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import kopf import logging import luigi diff --git a/mgmt/dp/mizar/workflows/vpcs/bootstrap.py b/mgmt/dp/mizar/workflows/vpcs/bootstrap.py index 92af5179..b19553fa 100644 --- a/mgmt/dp/mizar/workflows/vpcs/bootstrap.py +++ b/mgmt/dp/mizar/workflows/vpcs/bootstrap.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging from common.workflow import * from dp.mizar.operators.vpcs.vpcs_operator import * diff --git a/mgmt/dp/mizar/workflows/vpcs/create.py b/mgmt/dp/mizar/workflows/vpcs/create.py index 7b92333c..739433f4 100644 --- a/mgmt/dp/mizar/workflows/vpcs/create.py +++ b/mgmt/dp/mizar/workflows/vpcs/create.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging from common.workflow import * from dp.mizar.operators.vpcs.vpcs_operator import * diff --git a/mgmt/dp/mizar/workflows/vpcs/delete.py b/mgmt/dp/mizar/workflows/vpcs/delete.py index 7e7ea314..cb55192e 100644 --- a/mgmt/dp/mizar/workflows/vpcs/delete.py +++ b/mgmt/dp/mizar/workflows/vpcs/delete.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging from common.workflow import * from dp.mizar.operators.vpcs.vpcs_operator import * diff --git a/mgmt/dp/mizar/workflows/vpcs/provisioned.py b/mgmt/dp/mizar/workflows/vpcs/provisioned.py index 6ae2784f..74dc3c54 100644 --- a/mgmt/dp/mizar/workflows/vpcs/provisioned.py +++ b/mgmt/dp/mizar/workflows/vpcs/provisioned.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging from common.workflow import * from dp.mizar.operators.vpcs.vpcs_operator import * diff --git a/mgmt/dp/mizar/workflows/vpcs/triggers.py b/mgmt/dp/mizar/workflows/vpcs/triggers.py index 49f08978..a3047dcb 100644 --- a/mgmt/dp/mizar/workflows/vpcs/triggers.py +++ b/mgmt/dp/mizar/workflows/vpcs/triggers.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import kopf import logging import luigi diff --git a/mgmt/etc/account/binding.yaml b/mgmt/etc/account/binding.yaml index 189b083b..88283c08 100644 --- a/mgmt/etc/account/binding.yaml +++ b/mgmt/etc/account/binding.yaml @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: diff --git a/mgmt/etc/account/serviceaccount.yaml b/mgmt/etc/account/serviceaccount.yaml index 825f35d9..4d107394 100644 --- a/mgmt/etc/account/serviceaccount.yaml +++ b/mgmt/etc/account/serviceaccount.yaml @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + apiVersion: v1 kind: ServiceAccount metadata: diff --git a/mgmt/etc/crds/bouncers.crd.yaml b/mgmt/etc/crds/bouncers.crd.yaml index cbe6edf9..1fd74adc 100644 --- a/mgmt/etc/crds/bouncers.crd.yaml +++ b/mgmt/etc/crds/bouncers.crd.yaml @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: diff --git a/mgmt/etc/crds/dividers.crd.yaml b/mgmt/etc/crds/dividers.crd.yaml index c432f0cd..c2063022 100644 --- a/mgmt/etc/crds/dividers.crd.yaml +++ b/mgmt/etc/crds/dividers.crd.yaml @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: diff --git a/mgmt/etc/crds/droplets.crd.yaml b/mgmt/etc/crds/droplets.crd.yaml index d8ac5028..e47bc400 100644 --- a/mgmt/etc/crds/droplets.crd.yaml +++ b/mgmt/etc/crds/droplets.crd.yaml @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: diff --git a/mgmt/etc/crds/endpoints.crd.yaml b/mgmt/etc/crds/endpoints.crd.yaml index 969540d6..55b71380 100644 --- a/mgmt/etc/crds/endpoints.crd.yaml +++ b/mgmt/etc/crds/endpoints.crd.yaml @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: diff --git a/mgmt/etc/crds/nets.crd.yaml b/mgmt/etc/crds/nets.crd.yaml index a7fb2aa7..53fb485d 100644 --- a/mgmt/etc/crds/nets.crd.yaml +++ b/mgmt/etc/crds/nets.crd.yaml @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: diff --git a/mgmt/etc/crds/vpcs.crd.yaml b/mgmt/etc/crds/vpcs.crd.yaml index 5fa1a865..26f8d401 100644 --- a/mgmt/etc/crds/vpcs.crd.yaml +++ b/mgmt/etc/crds/vpcs.crd.yaml @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: diff --git a/mgmt/etc/deploy/daemon.deploy.yaml b/mgmt/etc/deploy/daemon.deploy.yaml index 2efded09..0eb00c21 100644 --- a/mgmt/etc/deploy/daemon.deploy.yaml +++ b/mgmt/etc/deploy/daemon.deploy.yaml @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + --- apiVersion: apps/v1 kind: DaemonSet diff --git a/mgmt/etc/deploy/dev.daemon.deploy.yaml b/mgmt/etc/deploy/dev.daemon.deploy.yaml index 5fcf40d8..33e7a606 100644 --- a/mgmt/etc/deploy/dev.daemon.deploy.yaml +++ b/mgmt/etc/deploy/dev.daemon.deploy.yaml @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + --- apiVersion: apps/v1 kind: DaemonSet diff --git a/mgmt/etc/deploy/dev.operator.deploy.yaml b/mgmt/etc/deploy/dev.operator.deploy.yaml index 25f8deab..5e9e3784 100644 --- a/mgmt/etc/deploy/dev.operator.deploy.yaml +++ b/mgmt/etc/deploy/dev.operator.deploy.yaml @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/mgmt/etc/deploy/operator.deploy.yaml b/mgmt/etc/deploy/operator.deploy.yaml index 08be2890..c91be53a 100644 --- a/mgmt/etc/deploy/operator.deploy.yaml +++ b/mgmt/etc/deploy/operator.deploy.yaml @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/mgmt/etc/docker/daemon.Dockerfile b/mgmt/etc/docker/daemon.Dockerfile index cb9fbf12..f8f5a961 100644 --- a/mgmt/etc/docker/daemon.Dockerfile +++ b/mgmt/etc/docker/daemon.Dockerfile @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + FROM python:3.7 RUN pip install kopf RUN pip install kubernetes diff --git a/mgmt/etc/docker/operator.Dockerfile b/mgmt/etc/docker/operator.Dockerfile index 5cb49e37..70f70ca2 100644 --- a/mgmt/etc/docker/operator.Dockerfile +++ b/mgmt/etc/docker/operator.Dockerfile @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + FROM python:3.7 RUN pip install kopf RUN pip install kubernetes diff --git a/mgmt/etc/docker/test.Dockerfile b/mgmt/etc/docker/test.Dockerfile index 4cb0c9ec..f9ff45da 100644 --- a/mgmt/etc/docker/test.Dockerfile +++ b/mgmt/etc/docker/test.Dockerfile @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + FROM python:3.7 RUN apt-get update -y RUN apt-get install iputils-ping diff --git a/mgmt/obj/bouncer.py b/mgmt/obj/bouncer.py index b1f8c1d8..3b9724f0 100644 --- a/mgmt/obj/bouncer.py +++ b/mgmt/obj/bouncer.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging from common.rpc import TrnRpc from common.constants import * diff --git a/mgmt/obj/divider.py b/mgmt/obj/divider.py index 8fbd7104..515a9509 100644 --- a/mgmt/obj/divider.py +++ b/mgmt/obj/divider.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging import luigi from common.rpc import TrnRpc diff --git a/mgmt/obj/droplet.py b/mgmt/obj/droplet.py index 8a88fd16..bd8590bd 100644 --- a/mgmt/obj/droplet.py +++ b/mgmt/obj/droplet.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging import json from common.rpc import TrnRpc diff --git a/mgmt/obj/endpoint.py b/mgmt/obj/endpoint.py index 827b64ab..5acd5461 100644 --- a/mgmt/obj/endpoint.py +++ b/mgmt/obj/endpoint.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging import ipaddress from common.rpc import TrnRpc diff --git a/mgmt/obj/net.py b/mgmt/obj/net.py index b323f0c5..45a7611b 100644 --- a/mgmt/obj/net.py +++ b/mgmt/obj/net.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import uuid import logging import random diff --git a/mgmt/obj/tests/test_net.yaml b/mgmt/obj/tests/test_net.yaml index 74744bd2..7cdfd2bc 100644 --- a/mgmt/obj/tests/test_net.yaml +++ b/mgmt/obj/tests/test_net.yaml @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + apiVersion: "mizar.com/v1" kind: Net metadata: diff --git a/mgmt/obj/tests/test_service.yaml b/mgmt/obj/tests/test_service.yaml index a9993fcd..7766cba1 100644 --- a/mgmt/obj/tests/test_service.yaml +++ b/mgmt/obj/tests/test_service.yaml @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + apiVersion: v1 kind: Service metadata: diff --git a/mgmt/obj/tests/test_vpc.yaml b/mgmt/obj/tests/test_vpc.yaml index 776668e0..c91f5dae 100644 --- a/mgmt/obj/tests/test_vpc.yaml +++ b/mgmt/obj/tests/test_vpc.yaml @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + apiVersion: "mizar.com/v1" kind: Vpc metadata: diff --git a/mgmt/obj/vpc.py b/mgmt/obj/vpc.py index 5b13ee5b..0d2cd397 100644 --- a/mgmt/obj/vpc.py +++ b/mgmt/obj/vpc.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging import random import uuid diff --git a/mgmt/operator.py b/mgmt/operator.py index df209eb9..4d25b745 100755 --- a/mgmt/operator.py +++ b/mgmt/operator.py @@ -1,4 +1,26 @@ #!/usr/bin/python3 + +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import subprocess import logging import time diff --git a/mgmt/store/operator_store.py b/mgmt/store/operator_store.py index 97bd8382..98e81388 100644 --- a/mgmt/store/operator_store.py +++ b/mgmt/store/operator_store.py @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + import logging logger = logging.getLogger() diff --git a/mgmt/test/func_test/basic/yaml/test_deploy.yaml b/mgmt/test/func_test/basic/yaml/test_deploy.yaml index 63138c0f..70fabcee 100644 --- a/mgmt/test/func_test/basic/yaml/test_deploy.yaml +++ b/mgmt/test/func_test/basic/yaml/test_deploy.yaml @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2 kind: Deployment metadata: diff --git a/mgmt/test/func_test/basic/yaml/test_net.yaml b/mgmt/test/func_test/basic/yaml/test_net.yaml index d675c64f..4edefa20 100644 --- a/mgmt/test/func_test/basic/yaml/test_net.yaml +++ b/mgmt/test/func_test/basic/yaml/test_net.yaml @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + apiVersion: mizar.com/v1 kind: Net metadata: diff --git a/mgmt/test/func_test/basic/yaml/test_vpc.yaml b/mgmt/test/func_test/basic/yaml/test_vpc.yaml index 453b3798..068643ef 100644 --- a/mgmt/test/func_test/basic/yaml/test_vpc.yaml +++ b/mgmt/test/func_test/basic/yaml/test_vpc.yaml @@ -1,3 +1,24 @@ +# SPDX-License-Identifier: MIT +# Copyright (c) 2020 The Authors. + +# Authors: Sherif Abdelwahab <@zasherif> +# Phu Tran <@phudtran> + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions:The above copyright +# notice and this permission notice shall be included in all copies or +# substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +# WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +# TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +# THE USE OR OTHER DEALINGS IN THE SOFTWARE. + apiVersion: mizar.com/v1 kind: Vpc metadata: From 6d6170481839d080cfd297a9563849bb47d4c95a Mon Sep 17 00:00:00 2001 From: Phu Tran <22720475+phudtran@users.noreply.github.com> Date: Sat, 4 Apr 2020 14:35:01 -0700 Subject: [PATCH 2/2] Added MIT License to documentation files --- docs/design/dp_datamodel.md | 23 ++++++++++++++++++- docs/design/dp_direct_path.md | 23 +++++++++++++++++++ docs/design/dp_extensibility.md | 23 +++++++++++++++++++ docs/design/dp_overview.md | 23 +++++++++++++++++++ docs/design/dp_programability.md | 23 +++++++++++++++++++ docs/design/dp_scaled_endpoint.md | 22 ++++++++++++++++++ docs/design/dp_tunneling_protocols.md | 22 ++++++++++++++++++ docs/design/mp_datamodel.md | 23 +++++++++++++++++++ docs/design/mp_dpsupport.md | 23 +++++++++++++++++++ docs/design/mp_ipam.md | 23 +++++++++++++++++++ docs/design/mp_overview.md | 23 +++++++++++++++++++ docs/design/mp_workflows.md | 23 +++++++++++++++++++ docs/design/puml/create_bouncer_workflow.puml | 21 +++++++++++++++++ docs/design/puml/create_divider_workflow.puml | 21 +++++++++++++++++ docs/design/puml/create_droplet_workflow.puml | 21 +++++++++++++++++ .../design/puml/create_endpoint_workflow.puml | 21 +++++++++++++++++ docs/design/puml/create_network_workflow.puml | 21 +++++++++++++++++ .../puml/create_scaled_endpoint_workflow.puml | 21 +++++++++++++++++ docs/design/puml/create_vpc_workflow.puml | 21 +++++++++++++++++ docs/design/puml/delete_bouncer_workflow.puml | 21 +++++++++++++++++ docs/design/puml/delete_divider_workflow.puml | 21 +++++++++++++++++ .../design/puml/delete_endpoint_workflow.puml | 21 +++++++++++++++++ docs/design/puml/delete_network_workflow.puml | 20 ++++++++++++++++ .../puml/delete_scaled_endpoint_workflow.puml | 21 +++++++++++++++++ docs/design/puml/delete_vpc_workflow.puml | 21 +++++++++++++++++ docs/design/puml/direct_path.puml | 22 ++++++++++++++++++ .../puml/direct_path_endpoint_deleted.puml | 22 ++++++++++++++++++ .../design/puml/direct_path_host_failure.puml | 21 +++++++++++++++++ .../puml/direct_path_inter_network.puml | 22 ++++++++++++++++++ .../puml/update_scaled_endpoint_workflow.puml | 21 +++++++++++++++++ docs/dev/contributing.md | 23 +++++++++++++++++++ docs/index.md | 23 +++++++++++++++++++ docs/releases/release-notes.md | 23 +++++++++++++++++++ docs/releases/roadmap.md | 23 +++++++++++++++++++ docs/releases/use_cases.md | 23 +++++++++++++++++++ docs/user/faq.md | 23 +++++++++++++++++++ docs/user/getting_started.md | 23 +++++++++++++++++++ 37 files changed, 814 insertions(+), 1 deletion(-) diff --git a/docs/design/dp_datamodel.md b/docs/design/dp_datamodel.md index da261285..bae1eed4 100644 --- a/docs/design/dp_datamodel.md +++ b/docs/design/dp_datamodel.md @@ -1,4 +1,25 @@ - + Mizar's data-plane adopts a simple data model that is essential to extend its functionality. The data-model is independant of the API definitions of the diff --git a/docs/design/dp_direct_path.md b/docs/design/dp_direct_path.md index eb1219c4..d71417a7 100644 --- a/docs/design/dp_direct_path.md +++ b/docs/design/dp_direct_path.md @@ -1,3 +1,26 @@ + + # Direct Path The direct path feature allows a flexible data-plane fast path that avoids diff --git a/docs/design/dp_extensibility.md b/docs/design/dp_extensibility.md index 960020b5..7a4dca47 100644 --- a/docs/design/dp_extensibility.md +++ b/docs/design/dp_extensibility.md @@ -1,3 +1,26 @@ + + Mizar facilitates the development of **Multi-tenant** networking functions at various levels of the stack. The multi-tenant features mainly include reuse of address space, traffic processing by the same functions, and traffic isolation diff --git a/docs/design/dp_overview.md b/docs/design/dp_overview.md index 5974d710..08264b15 100644 --- a/docs/design/dp_overview.md +++ b/docs/design/dp_overview.md @@ -1,3 +1,26 @@ + + Mizar's data-plane is the core engine behind its scalability, performance, and programmability. The data-plane is primarily a group of XDP programs. Before diving deep into how the data-plane works, we need to introduce the essential diff --git a/docs/design/dp_programability.md b/docs/design/dp_programability.md index d5c8c932..3f41d788 100644 --- a/docs/design/dp_programability.md +++ b/docs/design/dp_programability.md @@ -1,3 +1,26 @@ + + The data-plane supports an internal protocol to facilitate data-plane programming through remote RPC. Any management plane that would incorporate Mizar's data-plane shall use these programming interface. [Mizar diff --git a/docs/design/dp_scaled_endpoint.md b/docs/design/dp_scaled_endpoint.md index e69de29b..3821d39d 100644 --- a/docs/design/dp_scaled_endpoint.md +++ b/docs/design/dp_scaled_endpoint.md @@ -0,0 +1,22 @@ + \ No newline at end of file diff --git a/docs/design/dp_tunneling_protocols.md b/docs/design/dp_tunneling_protocols.md index e4b3863c..2c0db7d1 100644 --- a/docs/design/dp_tunneling_protocols.md +++ b/docs/design/dp_tunneling_protocols.md @@ -1,3 +1,25 @@ + Several tunneling protocols can be used to implement an overlay network. We choose Geneve as the main tunneling protocol at the moment and more tunneling diff --git a/docs/design/mp_datamodel.md b/docs/design/mp_datamodel.md index de7627b4..3e12812c 100644 --- a/docs/design/mp_datamodel.md +++ b/docs/design/mp_datamodel.md @@ -1,3 +1,26 @@ + + We categorize network objects and operators as generic, and data-plane specific. Generic network object primarily extends [Kubernetes Network Model](https://kubernetes.io/docs/concepts/cluster-administration/networking/#the-kubernetes-network-model). diff --git a/docs/design/mp_dpsupport.md b/docs/design/mp_dpsupport.md index 6f786a3d..9a1e99bd 100644 --- a/docs/design/mp_dpsupport.md +++ b/docs/design/mp_dpsupport.md @@ -1,3 +1,26 @@ + + This architecture is extensible to derive other data-plane systems and is compatible with existing cloud networking solutions (particularly neutron). For example, if we would like to introduce a L2 ovs that is responsible for managing diff --git a/docs/design/mp_ipam.md b/docs/design/mp_ipam.md index 61631ffa..faecfe26 100644 --- a/docs/design/mp_ipam.md +++ b/docs/design/mp_ipam.md @@ -1,3 +1,26 @@ + + The management-plane assigns IP addresses to endpoints using a simple IP address management (IPAM) service. The service is multi-tenant aware. In the first version, the IPAM service is local to the operator and provides very elementary diff --git a/docs/design/mp_overview.md b/docs/design/mp_overview.md index f4f28dea..a942fbd1 100644 --- a/docs/design/mp_overview.md +++ b/docs/design/mp_overview.md @@ -1,3 +1,26 @@ + + Mizar's management plane is based on Kubernetes based operators. The management-plane a fully distributed, elasticaly scaling, and kubernetes-native design. Several existing components allows this design to happen, which we diff --git a/docs/design/mp_workflows.md b/docs/design/mp_workflows.md index b403c68f..153c983d 100644 --- a/docs/design/mp_workflows.md +++ b/docs/design/mp_workflows.md @@ -1,3 +1,26 @@ + + When creating any object, there are **two states** that must persist to the API Server. These states are **Object Init** and **Object Provisioned**. Any other state may be communicated between operators by the Inter-Operators Communication diff --git a/docs/design/puml/create_bouncer_workflow.puml b/docs/design/puml/create_bouncer_workflow.puml index 8aa6906a..95f9e1a0 100644 --- a/docs/design/puml/create_bouncer_workflow.puml +++ b/docs/design/puml/create_bouncer_workflow.puml @@ -1,5 +1,26 @@ @startuml +' SPDX-License-Identifier: MIT +' Copyright (c) 2020 The Authors. + +' Authors: Sherif Abdelwahab <@zasherif> +' Phu Tran <@phudtran> + +' Permission is hereby granted, free of charge, to any person obtaining a copy +' of this software and associated documentation files (the "Software"), to deal +' in the Software without restriction, including without limitation the rights +' to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +' copies of the Software, and to permit persons to whom the Software is +' furnished to do so, subject to the following conditions:The above copyright +' notice and this permission notice shall be included in all copies or +' substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +' WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +' NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +' FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +' TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +' THE USE OR OTHER DEALINGS IN THE SOFTWARE. + skinparam monochrome true autonumber diff --git a/docs/design/puml/create_divider_workflow.puml b/docs/design/puml/create_divider_workflow.puml index e4fd2784..4c337429 100644 --- a/docs/design/puml/create_divider_workflow.puml +++ b/docs/design/puml/create_divider_workflow.puml @@ -1,5 +1,26 @@ @startuml +' SPDX-License-Identifier: MIT +' Copyright (c) 2020 The Authors. + +' Authors: Sherif Abdelwahab <@zasherif> +' Phu Tran <@phudtran> + +' Permission is hereby granted, free of charge, to any person obtaining a copy +' of this software and associated documentation files (the "Software"), to deal +' in the Software without restriction, including without limitation the rights +' to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +' copies of the Software, and to permit persons to whom the Software is +' furnished to do so, subject to the following conditions:The above copyright +' notice and this permission notice shall be included in all copies or +' substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +' WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +' NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +' FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +' TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +' THE USE OR OTHER DEALINGS IN THE SOFTWARE. + skinparam monochrome true autonumber diff --git a/docs/design/puml/create_droplet_workflow.puml b/docs/design/puml/create_droplet_workflow.puml index 8d14cd19..89eea78e 100644 --- a/docs/design/puml/create_droplet_workflow.puml +++ b/docs/design/puml/create_droplet_workflow.puml @@ -1,5 +1,26 @@ @startuml +' SPDX-License-Identifier: MIT +' Copyright (c) 2020 The Authors. + +' Authors: Sherif Abdelwahab <@zasherif> +' Phu Tran <@phudtran> + +' Permission is hereby granted, free of charge, to any person obtaining a copy +' of this software and associated documentation files (the "Software"), to deal +' in the Software without restriction, including without limitation the rights +' to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +' copies of the Software, and to permit persons to whom the Software is +' furnished to do so, subject to the following conditions:The above copyright +' notice and this permission notice shall be included in all copies or +' substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +' WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +' NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +' FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +' TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +' THE USE OR OTHER DEALINGS IN THE SOFTWARE. + skinparam monochrome true autonumber diff --git a/docs/design/puml/create_endpoint_workflow.puml b/docs/design/puml/create_endpoint_workflow.puml index b7bdeb85..81b6363a 100644 --- a/docs/design/puml/create_endpoint_workflow.puml +++ b/docs/design/puml/create_endpoint_workflow.puml @@ -1,5 +1,26 @@ @startuml +' SPDX-License-Identifier: MIT +' Copyright (c) 2020 The Authors. + +' Authors: Sherif Abdelwahab <@zasherif> +' Phu Tran <@phudtran> + +' Permission is hereby granted, free of charge, to any person obtaining a copy +' of this software and associated documentation files (the "Software"), to deal +' in the Software without restriction, including without limitation the rights +' to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +' copies of the Software, and to permit persons to whom the Software is +' furnished to do so, subject to the following conditions:The above copyright +' notice and this permission notice shall be included in all copies or +' substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +' WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +' NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +' FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +' TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +' THE USE OR OTHER DEALINGS IN THE SOFTWARE. + skinparam monochrome true autonumber diff --git a/docs/design/puml/create_network_workflow.puml b/docs/design/puml/create_network_workflow.puml index 765ccb14..b4c99fea 100644 --- a/docs/design/puml/create_network_workflow.puml +++ b/docs/design/puml/create_network_workflow.puml @@ -1,5 +1,26 @@ @startuml +' SPDX-License-Identifier: MIT +' Copyright (c) 2020 The Authors. + +' Authors: Sherif Abdelwahab <@zasherif> +' Phu Tran <@phudtran> + +' Permission is hereby granted, free of charge, to any person obtaining a copy +' of this software and associated documentation files (the "Software"), to deal +' in the Software without restriction, including without limitation the rights +' to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +' copies of the Software, and to permit persons to whom the Software is +' furnished to do so, subject to the following conditions:The above copyright +' notice and this permission notice shall be included in all copies or +' substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +' WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +' NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +' FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +' TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +' THE USE OR OTHER DEALINGS IN THE SOFTWARE. + skinparam monochrome true autonumber diff --git a/docs/design/puml/create_scaled_endpoint_workflow.puml b/docs/design/puml/create_scaled_endpoint_workflow.puml index 71f3e21a..fb6ee4bb 100644 --- a/docs/design/puml/create_scaled_endpoint_workflow.puml +++ b/docs/design/puml/create_scaled_endpoint_workflow.puml @@ -1,5 +1,26 @@ @startuml +' SPDX-License-Identifier: MIT +' Copyright (c) 2020 The Authors. + +' Authors: Sherif Abdelwahab <@zasherif> +' Phu Tran <@phudtran> + +' Permission is hereby granted, free of charge, to any person obtaining a copy +' of this software and associated documentation files (the "Software"), to deal +' in the Software without restriction, including without limitation the rights +' to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +' copies of the Software, and to permit persons to whom the Software is +' furnished to do so, subject to the following conditions:The above copyright +' notice and this permission notice shall be included in all copies or +' substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +' WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +' NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +' FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +' TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +' THE USE OR OTHER DEALINGS IN THE SOFTWARE. + skinparam monochrome true autonumber diff --git a/docs/design/puml/create_vpc_workflow.puml b/docs/design/puml/create_vpc_workflow.puml index 8a3b49e7..11c52d78 100644 --- a/docs/design/puml/create_vpc_workflow.puml +++ b/docs/design/puml/create_vpc_workflow.puml @@ -1,5 +1,26 @@ @startuml +' SPDX-License-Identifier: MIT +' Copyright (c) 2020 The Authors. + +' Authors: Sherif Abdelwahab <@zasherif> +' Phu Tran <@phudtran> + +' Permission is hereby granted, free of charge, to any person obtaining a copy +' of this software and associated documentation files (the "Software"), to deal +' in the Software without restriction, including without limitation the rights +' to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +' copies of the Software, and to permit persons to whom the Software is +' furnished to do so, subject to the following conditions:The above copyright +' notice and this permission notice shall be included in all copies or +' substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +' WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +' NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +' FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +' TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +' THE USE OR OTHER DEALINGS IN THE SOFTWARE. + skinparam monochrome true autonumber database API_Server diff --git a/docs/design/puml/delete_bouncer_workflow.puml b/docs/design/puml/delete_bouncer_workflow.puml index 8a32c209..c8e20a88 100644 --- a/docs/design/puml/delete_bouncer_workflow.puml +++ b/docs/design/puml/delete_bouncer_workflow.puml @@ -1,5 +1,26 @@ @startuml +' SPDX-License-Identifier: MIT +' Copyright (c) 2020 The Authors. + +' Authors: Sherif Abdelwahab <@zasherif> +' Phu Tran <@phudtran> + +' Permission is hereby granted, free of charge, to any person obtaining a copy +' of this software and associated documentation files (the "Software"), to deal +' in the Software without restriction, including without limitation the rights +' to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +' copies of the Software, and to permit persons to whom the Software is +' furnished to do so, subject to the following conditions:The above copyright +' notice and this permission notice shall be included in all copies or +' substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +' WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +' NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +' FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +' TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +' THE USE OR OTHER DEALINGS IN THE SOFTWARE. + skinparam monochrome true autonumber diff --git a/docs/design/puml/delete_divider_workflow.puml b/docs/design/puml/delete_divider_workflow.puml index 014cd2c1..0670f9f0 100644 --- a/docs/design/puml/delete_divider_workflow.puml +++ b/docs/design/puml/delete_divider_workflow.puml @@ -1,5 +1,26 @@ @startuml +' SPDX-License-Identifier: MIT +' Copyright (c) 2020 The Authors. + +' Authors: Sherif Abdelwahab <@zasherif> +' Phu Tran <@phudtran> + +' Permission is hereby granted, free of charge, to any person obtaining a copy +' of this software and associated documentation files (the "Software"), to deal +' in the Software without restriction, including without limitation the rights +' to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +' copies of the Software, and to permit persons to whom the Software is +' furnished to do so, subject to the following conditions:The above copyright +' notice and this permission notice shall be included in all copies or +' substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +' WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +' NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +' FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +' TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +' THE USE OR OTHER DEALINGS IN THE SOFTWARE. + skinparam monochrome true autonumber diff --git a/docs/design/puml/delete_endpoint_workflow.puml b/docs/design/puml/delete_endpoint_workflow.puml index 07468756..53115e48 100644 --- a/docs/design/puml/delete_endpoint_workflow.puml +++ b/docs/design/puml/delete_endpoint_workflow.puml @@ -1,5 +1,26 @@ @startuml +' SPDX-License-Identifier: MIT +' Copyright (c) 2020 The Authors. + +' Authors: Sherif Abdelwahab <@zasherif> +' Phu Tran <@phudtran> + +' Permission is hereby granted, free of charge, to any person obtaining a copy +' of this software and associated documentation files (the "Software"), to deal +' in the Software without restriction, including without limitation the rights +' to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +' copies of the Software, and to permit persons to whom the Software is +' furnished to do so, subject to the following conditions:The above copyright +' notice and this permission notice shall be included in all copies or +' substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +' WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +' NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +' FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +' TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +' THE USE OR OTHER DEALINGS IN THE SOFTWARE. + skinparam monochrome true autonumber diff --git a/docs/design/puml/delete_network_workflow.puml b/docs/design/puml/delete_network_workflow.puml index 6afd51f3..10e27e69 100644 --- a/docs/design/puml/delete_network_workflow.puml +++ b/docs/design/puml/delete_network_workflow.puml @@ -1,5 +1,25 @@ @startuml +' SPDX-License-Identifier: MIT +' Copyright (c) 2020 The Authors. + +' Authors: Sherif Abdelwahab <@zasherif> +' Phu Tran <@phudtran> + +' Permission is hereby granted, free of charge, to any person obtaining a copy +' of this software and associated documentation files (the "Software"), to deal +' in the Software without restriction, including without limitation the rights +' to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +' copies of the Software, and to permit persons to whom the Software is +' furnished to do so, subject to the following conditions:The above copyright +' notice and this permission notice shall be included in all copies or +' substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +' WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +' NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +' FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +' TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +' THE USE OR OTHER DEALINGS IN THE SOFTWARE. skinparam monochrome true autonumber diff --git a/docs/design/puml/delete_scaled_endpoint_workflow.puml b/docs/design/puml/delete_scaled_endpoint_workflow.puml index b5495165..1939f59b 100644 --- a/docs/design/puml/delete_scaled_endpoint_workflow.puml +++ b/docs/design/puml/delete_scaled_endpoint_workflow.puml @@ -1,5 +1,26 @@ @startuml +' SPDX-License-Identifier: MIT +' Copyright (c) 2020 The Authors. + +' Authors: Sherif Abdelwahab <@zasherif> +' Phu Tran <@phudtran> + +' Permission is hereby granted, free of charge, to any person obtaining a copy +' of this software and associated documentation files (the "Software"), to deal +' in the Software without restriction, including without limitation the rights +' to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +' copies of the Software, and to permit persons to whom the Software is +' furnished to do so, subject to the following conditions:The above copyright +' notice and this permission notice shall be included in all copies or +' substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +' WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +' NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +' FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +' TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +' THE USE OR OTHER DEALINGS IN THE SOFTWARE. + skinparam monochrome true autonumber diff --git a/docs/design/puml/delete_vpc_workflow.puml b/docs/design/puml/delete_vpc_workflow.puml index 354045d6..a6a6c0c9 100644 --- a/docs/design/puml/delete_vpc_workflow.puml +++ b/docs/design/puml/delete_vpc_workflow.puml @@ -1,5 +1,26 @@ @startuml +' SPDX-License-Identifier: MIT +' Copyright (c) 2020 The Authors. + +' Authors: Sherif Abdelwahab <@zasherif> +' Phu Tran <@phudtran> + +' Permission is hereby granted, free of charge, to any person obtaining a copy +' of this software and associated documentation files (the "Software"), to deal +' in the Software without restriction, including without limitation the rights +' to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +' copies of the Software, and to permit persons to whom the Software is +' furnished to do so, subject to the following conditions:The above copyright +' notice and this permission notice shall be included in all copies or +' substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +' WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +' NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +' FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +' TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +' THE USE OR OTHER DEALINGS IN THE SOFTWARE. + skinparam monochrome true skinparam group 10 diff --git a/docs/design/puml/direct_path.puml b/docs/design/puml/direct_path.puml index 7f0a157d..f358524f 100644 --- a/docs/design/puml/direct_path.puml +++ b/docs/design/puml/direct_path.puml @@ -1,4 +1,26 @@ @startuml + +' SPDX-License-Identifier: MIT +' Copyright (c) 2020 The Authors. + +' Authors: Sherif Abdelwahab <@zasherif> +' Phu Tran <@phudtran> + +' Permission is hereby granted, free of charge, to any person obtaining a copy +' of this software and associated documentation files (the "Software"), to deal +' in the Software without restriction, including without limitation the rights +' to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +' copies of the Software, and to permit persons to whom the Software is +' furnished to do so, subject to the following conditions:The above copyright +' notice and this permission notice shall be included in all copies or +' substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +' WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +' NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +' FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +' TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +' THE USE OR OTHER DEALINGS IN THE SOFTWARE. + autonumber participant "EP_A at Host A" as a participant "EP_B at Host B" as b diff --git a/docs/design/puml/direct_path_endpoint_deleted.puml b/docs/design/puml/direct_path_endpoint_deleted.puml index a563cc74..7f23888e 100644 --- a/docs/design/puml/direct_path_endpoint_deleted.puml +++ b/docs/design/puml/direct_path_endpoint_deleted.puml @@ -1,4 +1,26 @@ @startuml + +' SPDX-License-Identifier: MIT +' Copyright (c) 2020 The Authors. + +' Authors: Sherif Abdelwahab <@zasherif> +' Phu Tran <@phudtran> + +' Permission is hereby granted, free of charge, to any person obtaining a copy +' of this software and associated documentation files (the "Software"), to deal +' in the Software without restriction, including without limitation the rights +' to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +' copies of the Software, and to permit persons to whom the Software is +' furnished to do so, subject to the following conditions:The above copyright +' notice and this permission notice shall be included in all copies or +' substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +' WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +' NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +' FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +' TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +' THE USE OR OTHER DEALINGS IN THE SOFTWARE. + autonumber participant "EP_A at Host A" as a participant "Old host of b" as old diff --git a/docs/design/puml/direct_path_host_failure.puml b/docs/design/puml/direct_path_host_failure.puml index b0170f19..8a7a918c 100644 --- a/docs/design/puml/direct_path_host_failure.puml +++ b/docs/design/puml/direct_path_host_failure.puml @@ -1,4 +1,25 @@ @startuml + +' SPDX-License-Identifier: MIT +' Copyright (c) 2020 The Authors. + +' Authors: Sherif Abdelwahab <@zasherif> +' Phu Tran <@phudtran> + +' Permission is hereby granted, free of charge, to any person obtaining a copy +' of this software and associated documentation files (the "Software"), to deal +' in the Software without restriction, including without limitation the rights +' to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +' copies of the Software, and to permit persons to whom the Software is +' furnished to do so, subject to the following conditions:The above copyright +' notice and this permission notice shall be included in all copies or +' substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +' WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +' NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +' FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +' TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +' THE USE OR OTHER DEALINGS IN THE SOFTWARE. autonumber participant "EP_A at Host A" as a participant "Failed host B" as b diff --git a/docs/design/puml/direct_path_inter_network.puml b/docs/design/puml/direct_path_inter_network.puml index 8b0de60e..051221a5 100644 --- a/docs/design/puml/direct_path_inter_network.puml +++ b/docs/design/puml/direct_path_inter_network.puml @@ -1,4 +1,26 @@ @startuml + +' SPDX-License-Identifier: MIT +' Copyright (c) 2020 The Authors. + +' Authors: Sherif Abdelwahab <@zasherif> +' Phu Tran <@phudtran> + +' Permission is hereby granted, free of charge, to any person obtaining a copy +' of this software and associated documentation files (the "Software"), to deal +' in the Software without restriction, including without limitation the rights +' to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +' copies of the Software, and to permit persons to whom the Software is +' furnished to do so, subject to the following conditions:The above copyright +' notice and this permission notice shall be included in all copies or +' substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +' WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +' NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +' FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +' TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +' THE USE OR OTHER DEALINGS IN THE SOFTWARE. + autonumber participant "EP_A at Host A" as a participant "EP_B at Host B" as b diff --git a/docs/design/puml/update_scaled_endpoint_workflow.puml b/docs/design/puml/update_scaled_endpoint_workflow.puml index 3bc4b2a8..18c167be 100644 --- a/docs/design/puml/update_scaled_endpoint_workflow.puml +++ b/docs/design/puml/update_scaled_endpoint_workflow.puml @@ -1,5 +1,26 @@ @startuml +' SPDX-License-Identifier: MIT +' Copyright (c) 2020 The Authors. + +' Authors: Sherif Abdelwahab <@zasherif> +' Phu Tran <@phudtran> + +' Permission is hereby granted, free of charge, to any person obtaining a copy +' of this software and associated documentation files (the "Software"), to deal +' in the Software without restriction, including without limitation the rights +' to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +' copies of the Software, and to permit persons to whom the Software is +' furnished to do so, subject to the following conditions:The above copyright +' notice and this permission notice shall be included in all copies or +' substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", +' WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +' NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +' FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +' TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +' THE USE OR OTHER DEALINGS IN THE SOFTWARE. + skinparam monochrome true autonumber diff --git a/docs/dev/contributing.md b/docs/dev/contributing.md index 10959652..4ab59044 100644 --- a/docs/dev/contributing.md +++ b/docs/dev/contributing.md @@ -1,3 +1,26 @@ + + ### Contributor Workflow Please do not ever hesitate to ask a question or send a pull request. diff --git a/docs/index.md b/docs/index.md index 81368422..4bb21171 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,3 +1,26 @@ + + Welcome to Mizar - the open-source high-performance cloud-network powered by [ eXpress Data Path (XDP)](https://prototype-kernel.readthedocs.io/en/latest/networking/XDP/) and [Geneve protocol](https://tools.ietf.org/html/draft-ietf-nvo3-geneve-08) for high scale cloud. Mizar is a simple and efficient solution that lets you create a multi-tenant overlay network of a massive number of endpoints with extensible network functions that: diff --git a/docs/releases/release-notes.md b/docs/releases/release-notes.md index 54eb9bef..42b08623 100644 --- a/docs/releases/release-notes.md +++ b/docs/releases/release-notes.md @@ -1,3 +1,26 @@ + + ## Release 0.1 (09/30/2019) * A basic implementation of the data plane and a mini controller; diff --git a/docs/releases/roadmap.md b/docs/releases/roadmap.md index a6044ac5..1f9fecec 100644 --- a/docs/releases/roadmap.md +++ b/docs/releases/roadmap.md @@ -1,3 +1,26 @@ + + ## Release 0.1 (09/30/2019) This release includes: diff --git a/docs/releases/use_cases.md b/docs/releases/use_cases.md index 224da017..a2095419 100644 --- a/docs/releases/use_cases.md +++ b/docs/releases/use_cases.md @@ -1,3 +1,26 @@ + + Mizar shall support the following usage scenarios ## 1. VPC service of public cloud diff --git a/docs/user/faq.md b/docs/user/faq.md index 40d9c059..87b57ee8 100644 --- a/docs/user/faq.md +++ b/docs/user/faq.md @@ -1,3 +1,26 @@ + + ### What is the primary use cases of Mizar? Mizar provides a unified solution for computing runtimes (e.g., VM/Containers) networking in Cloud Computing. It is a step towards empowering super-scale cloud computing. diff --git a/docs/user/getting_started.md b/docs/user/getting_started.md index 0599def3..9b1e3643 100644 --- a/docs/user/getting_started.md +++ b/docs/user/getting_started.md @@ -1,3 +1,26 @@ + + # Basic Usage To start running Mizar, first you will need a Kubernetes cluster. Running Mizar will install experimental features on your cluster. **It is recommended that you use a test cluster to run Mizar.**