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] 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: