# cp .gitignore-common .gitignore
.tox/
+venv/
+
.coverage
+cover
+coverage.xml
+nosetests.xml
*.pyc
*.pyo
+*.eggs/
+*.egg-info/
+
#auto-ignore
.gitignore
-# Copyright 2018 Telefonica S.A.
-#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-
-# This Dockerfile is intented for devops and deb package generation
+########################################################################################
+# This Dockerfile is intented for devops testing and deb package generation
+#
+# To run stage 2 locally:
+#
+# docker build -t stage2 .
+# docker run -ti -v `pwd`:/work -w /work --entrypoint /bin/bash stage2
+# devops-stages/stage-test.sh
+# devops-stages/stage-build.sh
#
-# Use Dockerfile-local for running osm/RO in a docker container from source
FROM ubuntu:18.04
-RUN apt-get update && \
- DEBIAN_FRONTEND=noninteractive apt-get --yes install git tox make python3 python3-pip debhelper wget \
- python3-all apt-utils libmysqlclient-dev mysql-client && \
- DEBIAN_FRONTEND=noninteractive python3 -m pip install -U setuptools setuptools-version-command stdeb
- # needed for tests: libmysqlclient-dev mysql-client tox
- # TODO remove apt # libssl-dev
-# TODO py3 comment
-# Uncomment this block to generate automatically a debian package and show info
-# # Set the working directory to /app
-# WORKDIR /app
-# # Copy the current directory contents into the container at /app
-# ADD . /app
-# CMD /app/devops-stages/stage-build.sh && find deb_dist -name "*.deb" -exec dpkg -I {} ";"
+RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
+ DEBIAN_FRONTEND=noninteractive apt-get -y install \
+ debhelper \
+ git \
+ python3 \
+ python3-all \
+ python3-dev \
+ python3-setuptools
+
+RUN python3 -m easy_install pip==21.0.1
+RUN pip3 install tox==3.22.0
+++ /dev/null
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-SUBDIRS := $(wildcard */Makefile)
-
-all: clean package
-clean: $(SUBDIRS)
-package: $(SUBDIRS)
-
-$(SUBDIRS):
- $(MAKE) -C $(@:Makefile=) $(MAKECMDGOALS)
-
-.PHONY: all $(SUBDIRS)
-
#
##
-recursive-include osm_ng_ro *.py *.sh *.cfg *.yml
+recursive-include osm_ng_ro *.py *.sh *.cfg *.yml *.txt
recursive-include osm_ng_ro/html_public *
+++ /dev/null
-# Copyright 2020 Telefonica S.A.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-all: clean package
-
-clean:
- rm -rf dist deb_dist osm_ng_ro-*.tar.gz osm_ng_ro.egg-info .eggs .temp-tox
-
-package:
- python3 setup.py --command-packages=stdeb.command sdist_dsc
- cp debian/python3-osm-ng-ro.postinst deb_dist/osm-ng-ro*/debian
- cd deb_dist/osm-ng-ro*/ && dpkg-buildpackage -rfakeroot -uc -us
+++ /dev/null
-#!/bin/bash
-
-##
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-#
-# For those usages not covered by the Apache License, Version 2.0 please
-# contact with: OSM_TECH@list.etsi.org
-##
-
-echo "POST INSTALL OSM-RO-NG"
-echo "Installing python dependencies via pip..."
-
-# python3 -m pip install -U pip
-python3 -m pip install -U "cherrypy==18.1.2" "cryptography>=2.5"
-##
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
+#!/usr/bin/env python3
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
#
-# http://www.apache.org/licenses/LICENSE-2.0
+# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
##
version = "8.0.1.post0"
"dhcp_start_address": ip_profile.get("dhcp-params", {}).get(
"start-address", None
),
- "dhcp_count": ip_profile.get("dhcp-params", {}).get(
- "count", None
- ),
+ "dhcp_count": ip_profile.get("dhcp-params", {}).get("count", None),
}
if ip_profile.get("dns-server"):
extra_dict["depends_on"].append(net_text)
if "port-security-enabled" in interface:
- interface["port_security"] = (
- interface.pop("port-security-enabled")
+ interface["port_security"] = interface.pop(
+ "port-security-enabled"
)
if "port-security-disable-strategy" in interface:
- interface["port_security_disable_strategy"] = (
- interface.pop("port-security-disable-strategy")
+ interface["port_security_disable_strategy"] = interface.pop(
+ "port-security-disable-strategy"
)
net_item = {
--- /dev/null
+#######################################################################################
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#######################################################################################
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-##
-
-PyYAML
-CherryPy==18.1.2
-osm-common @ git+https://osm.etsi.org/gerrit/osm/common.git#egg=osm-common
-requests
-cryptography
-osm-ro-plugin @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin
-logutils
from setuptools import setup, find_packages
_name = "osm_ng_ro"
+_version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full")
+_description = "OSM Resource Orchestrator"
+_author = "OSM Support"
+_author_email = "osmsupport@etsi.org"
+_maintainer = "OSM Support"
+_maintainer_email = "osmsupport@etsi.org"
+_license = "Apache 2.0"
+_url = "https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary"
+
_readme = "osm-ng-ro is the New Generation Resource Orchestrator for OSM"
+
setup(
name=_name,
- description="OSM Resource Orchestrator",
+ description=_description,
long_description=_readme,
- version_command=(
- "git describe --match v* --tags --long --dirty",
- "pep440-git-full",
- ),
- author="ETSI OSM",
- author_email="alfonso.tiernosepulveda@telefonica.com",
- maintainer="Alfonso Tierno",
- maintainer_email="alfonso.tiernosepulveda@telefonica.com",
- url="https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary",
- license="Apache 2.0",
+ version_command=_version_command,
+ author=_author,
+ author_email=_author_email,
+ maintainer=_maintainer,
+ maintainer_email=_maintainer_email,
+ url=_url,
+ license=_license,
packages=find_packages(exclude=["temp", "local"]),
include_package_data=True,
- install_requires=[
- "CherryPy==18.1.2",
- "osm-common @ git+https://osm.etsi.org/gerrit/osm/common.git#egg=osm-common",
- "jsonschema",
- "PyYAML",
- "requests",
- "cryptography", # >=2.5 installed right version with the debian post-install script
- "osm-ro-plugin @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin",
- ],
setup_requires=["setuptools-version-command"],
)
[DEFAULT]
X-Python3-Version : >= 3.5
-Depends3 : python3-osm-common, python3-cherrypy3, python3-yaml, python3-jsonschema,
- python3-pip, python3-requests, python3-osm-ro-plugin
+++ /dev/null
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-[tox]
-envlist = flake8
-toxworkdir={toxinidir}/../.tox
-
-[testenv]
-usedevelop = True
-basepython = python3
-install_command = python3 -m pip install -r requirements.txt -U {opts} {packages}
-
-[testenv:flake8]
-basepython = python3
-deps = flake8
-commands = flake8 osm_ng_ro --max-line-length 120 \
- --exclude .svn,CVS,.gz,.git,__pycache__,.tox,local,temp,osm_im --ignore W291,W293,W503,W605,E123,E125,E203,E226,E241
-
-[testenv:build]
-basepython = python3
-deps = stdeb
- setuptools-version-command
-commands = python3 setup.py --command-packages=stdeb.command bdist_deb
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-all: clean package
-
-clean:
- rm -rf dist deb_dist osm_rosdn_arista_cloudvision-*.tar.gz osm_rosdn_arista_cloudvision.egg-info .eggs
-
-package:
- python3 setup.py --command-packages=stdeb.command sdist_dsc
- cp debian/python3-osm-rosdn-arista-cloudvision.postinst deb_dist/osm-rosdn-arista-cloudvision*/debian/
- cd deb_dist/osm-rosdn-arista-cloudvision*/ && dpkg-buildpackage -rfakeroot -uc -us
-
+++ /dev/null
-#!/bin/bash
-
-##
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-#
-# For those usages not covered by the Apache License, Version 2.0 please
-# contact with: OSM_TECH@list.etsi.org
-##
-
-echo "POST INSTALL OSM-ROSDN-ARISTA"
-
-#Pip packages required for openstack connector
-python3 -m pip install cvprac
--- /dev/null
+#!/usr/bin/env python3
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+##
--- /dev/null
+#######################################################################################
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#######################################################################################
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-requests
-uuid
-cvprac
-git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin
from setuptools import setup
_name = "osm_rosdn_arista_cloudvision"
+_version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full")
+_description = "OSM ro sdn plugin for arista with CloudVision"
+_author = "OSM Support"
+_author_email = "osmsupport@etsi.org"
+_maintainer = "OSM Support"
+_maintainer_email = "osmsupport@etsi.org"
+_license = "Apache 2.0"
+_url = "https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary"
-README = """
+_readme = """
===========
osm-rosdn_arista_cloudvision
===========
setup(
name=_name,
- description="OSM ro sdn plugin for arista with CloudVision",
- long_description=README,
- version_command=(
- "git describe --match v* --tags --long --dirty",
- "pep440-git-full",
- ),
- # version=VERSION,
- # python_requires='>3.5.0',
- author="ETSI OSM",
- author_email="OSM_TECH@LIST.ETSI.ORG",
- maintainer="Oscar Luis Peral",
- maintainer_email="oscarluis.peral@atos.net",
- url="https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary",
- license="Apache 2.0",
+ description=_description,
+ long_description=_readme,
+ version_command=_version_command,
+ author=_author,
+ author_email=_author_email,
+ maintainer=_maintainer,
+ maintainer_email=_maintainer_email,
+ url=_url,
+ license=_license,
packages=[_name],
include_package_data=True,
- install_requires=[
- "requests",
- "uuid",
- "cvprac",
- "osm-ro-plugin @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin",
- ],
setup_requires=["setuptools-version-command"],
entry_points={
"osm_rosdn.plugins": [
[DEFAULT]
X-Python3-Version : >= 3.5
-Depends3: python3-requests, python3-osm-ro-plugin, python3-pip
-
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-[tox]
-envlist = flake8
-toxworkdir={toxinidir}/../.tox
-
-[testenv]
-basepython = python3
-install_command = python3 -m pip install -r requirements.txt -U {opts} {packages}
-# deps = -r{toxinidir}/test-requirements.txt
-# commands=python3 -m unittest discover -v
-
-[testenv:flake8]
-basepython = python3
-deps = flake8
-commands = flake8 osm_rosdn_arista_cloudvision --max-line-length 120 \
- --exclude .svn,CVS,.gz,.git,__pycache__,.tox,local,temp --ignore W291,W293,W503,W605,E123,E125,E203,E226,E241
-
-[testenv:unittest]
-basepython = python3
-commands = python3 -m unittest osm_rosdn_arista_cloudvision.tests
-
-[testenv:build]
-basepython = python3
-deps = stdeb
- setuptools-version-command
-commands = python3 setup.py --command-packages=stdeb.command bdist_deb
-
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-all: clean package
-
-clean:
- rm -rf dist deb_dist osm_rosdn_dpb-*.tar.gz osm_rosdn_dpb.egg-info .eggs
-
-package:
- python3 setup.py --command-packages=stdeb.command sdist_dsc
- cd deb_dist/osm-rosdn-dpb*/ && dpkg-buildpackage -rfakeroot -uc -us
-
--- /dev/null
+#!/usr/bin/env python3
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+##
--- /dev/null
+#######################################################################################
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#######################################################################################
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-paramiko
-requests
-git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin
-
-
from setuptools import setup
_name = "osm_rosdn_dpb"
+_version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full")
+_description = "OSM ro sdn plugin for dpb"
+_author = "OSM Support"
+_author_email = "osmsupport@etsi.org"
+_maintainer = "OSM Support"
+_maintainer_email = "osmsupport@etsi.org"
+_license = "Apache 2.0"
+_url = "https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary"
-README = """
+_readme = """
===========
osm-rosdn_dpb
===========
setup(
name=_name,
- description="OSM ro sdn plugin for dpb",
- long_description=README,
- version_command=(
- "git describe --match v* --tags --long --dirty",
- "pep440-git-full",
- ),
- # version=VERSION,
- # python_requires='>3.5.0',
- author="ETSI OSM",
- author_email="OSM_TECH@LIST.ETSI.ORG'",
- maintainer="ETSI OSM",
- maintainer_email="OSM_TECH@LIST.ETSI.ORG",
- url="https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary",
- license="Apache 2.0",
+ description=_description,
+ long_description=_readme,
+ version_command=_version_command,
+ author=_author,
+ author_email=_author_email,
+ maintainer=_maintainer,
+ maintainer_email=_maintainer_email,
+ url=_url,
+ license=_license,
packages=[_name],
include_package_data=True,
- install_requires=[
- "paramiko",
- "requests",
- "osm-ro-plugin @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin",
- ],
setup_requires=["setuptools-version-command"],
entry_points={
"osm_rosdn.plugins": ["rosdn_dpb = osm_rosdn_dpb.wimconn_dpb:DpbConnector"],
[DEFAULT]
X-Python3-Version : >= 3.5
-Depends3: python3-paramiko, python3-requests, python3-osm-ro-plugin
-
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-[tox]
-envlist = flake8
-toxworkdir={toxinidir}/../.tox
-
-[testenv]
-basepython = python3
-install_command = python3 -m pip install -r requirements.txt -U {opts} {packages}
-# deps = -r{toxinidir}/test-requirements.txt
-commands=python3 -m unittest discover -v
-
-[testenv:flake8]
-basepython = python3
-deps = flake8
-commands = flake8 osm_rosdn_dpb --max-line-length 120 \
- --exclude .svn,CVS,.gz,.git,__pycache__,.tox,local,temp --ignore W291,W293,W503,W605,E123,E125,E203,E226,E241
-
-[testenv:unittest]
-basepython = python3
-commands = python3 -m unittest osm_rosdn_dpb.tests
-
-[testenv:build]
-basepython = python3
-deps = stdeb
- setuptools-version-command
-commands = python3 setup.py --command-packages=stdeb.command bdist_deb
-
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-all: clean package
-
-clean:
- rm -rf dist deb_dist osm_rosdn_dynpac-*.tar.gz osm_rosdn_dynpac.egg-info .eggs
-
-package:
- python3 setup.py --command-packages=stdeb.command sdist_dsc
- cd deb_dist/osm-rosdn-dynpac*/ && dpkg-buildpackage -rfakeroot -uc -us
-
--- /dev/null
+#!/usr/bin/env python3
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+##
--- /dev/null
+#######################################################################################
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#######################################################################################
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-requests
-osm-ro-plugin @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin
from setuptools import setup
_name = "osm_rosdn_dynpac"
+_version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full")
+_description = "OSM ro sdn plugin for dynpac"
+_author = "OSM Support"
+_author_email = "osmsupport@etsi.org"
+_maintainer = "OSM Support"
+_maintainer_email = "osmsupport@etsi.org"
+_license = "Apache 2.0"
+_url = "https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary"
-README = """
+_readme = """
===========
osm-rosdn_dynpac
===========
setup(
name=_name,
- description="OSM ro sdn plugin for dynpac",
- long_description=README,
- version_command=(
- "git describe --match v* --tags --long --dirty",
- "pep440-git-full",
- ),
- # version=VERSION,
- # python_requires='>3.5.0',
- author="ETSI OSM",
- author_email="OSM_TECH@LIST.ETSI.ORG",
- maintainer="ETSI OSM",
- maintainer_email="OSM_TECH@LIST.ETSI.ORG",
- url="https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary",
- license="Apache 2.0",
+ description=_description,
+ long_description=_readme,
+ version_command=_version_command,
+ author=_author,
+ author_email=_author_email,
+ maintainer=_maintainer,
+ maintainer_email=_maintainer_email,
+ url=_url,
+ license=_license,
packages=[_name],
include_package_data=True,
- install_requires=[
- "requests",
- "osm-ro-plugin @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin",
- ],
setup_requires=["setuptools-version-command"],
entry_points={
"osm_rosdn.plugins": [
[DEFAULT]
X-Python3-Version : >= 3.5
-Depends3: python3-requests, python3-osm-ro-plugin
-
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-[tox]
-envlist = flake8
-toxworkdir={toxinidir}/../.tox
-
-[testenv]
-usedevelop = True
-basepython = python3
-install_command = python3 -m pip install -r requirements.txt -U {opts} {packages}
-
-[testenv:flake8]
-basepython = python3
-deps = flake8
-commands = flake8 osm_rosdn_dynpac --max-line-length 120 \
- --exclude .svn,CVS,.gz,.git,__pycache__,.tox,local,temp --ignore W291,W293,W503,W605,E123,E125,E203,E226,E241
-
-[testenv:unittest]
-basepython = python3
-commands = python3 -m unittest osm_rosdn_dynpac.tests
-
-[testenv:build]
-basepython = python3
-deps = stdeb
- setuptools-version-command
-commands = python3 setup.py --command-packages=stdeb.command bdist_deb
-
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-all: clean package
-
-clean:
- rm -rf dist deb_dist osm_rosdn_floodlightof-*.tar.gz osm_rosdn_floodlightof.egg-info .eggs
-
-package:
- python3 setup.py --command-packages=stdeb.command sdist_dsc
- cd deb_dist/osm-rosdn-floodlightof*/ && dpkg-buildpackage -rfakeroot -uc -us
-
--- /dev/null
+#!/usr/bin/env python3
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+##
--- /dev/null
+#######################################################################################
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#######################################################################################
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-requests
-git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin
from setuptools import setup
_name = "osm_rosdn_floodlightof"
+_version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full")
+_description = "OSM RO plugin for SDN with floodlight openflow rules"
+_author = "OSM Support"
+_author_email = "osmsupport@etsi.org"
+_maintainer = "OSM Support"
+_maintainer_email = "osmsupport@etsi.org"
+_license = "Apache 2.0"
+_url = "https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary"
-README = """
+_readme = """
===========
osm-rosdn_floodlightof
===========
setup(
name=_name,
- description="OSM RO plugin for SDN with floodlight openflow rules",
- long_description=README,
- version_command=(
- "git describe --match v* --tags --long --dirty",
- "pep440-git-full",
- ),
- # version=VERSION,
- # python_requires='>3.5.0',
- author="ETSI OSM",
- author_email="alfonso.tiernosepulveda@telefonica.com",
- maintainer="Alfonso Tierno",
- maintainer_email="alfonso.tiernosepulveda@telefonica.com",
- url="https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary",
- license="Apache 2.0",
+ description=_description,
+ long_description=_readme,
+ version_command=_version_command,
+ author=_author,
+ author_email=_author_email,
+ maintainer=_maintainer,
+ maintainer_email=_maintainer_email,
+ url=_url,
+ license=_license,
packages=[_name],
include_package_data=True,
- install_requires=[
- "requests",
- "osm-ro-plugin @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin",
- ],
setup_requires=["setuptools-version-command"],
entry_points={
"osm_rosdn.plugins": [
[DEFAULT]
X-Python3-Version : >= 3.5
-Maintainer: Alfonso Tierno <alfonso.tiernosepulveda@telefonica.com>
-Depends3: python3-requests, python3-osm-ro-plugin
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-[tox]
-envlist = flake8
-toxworkdir={toxinidir}/../.tox
-
-[testenv]
-basepython = python3
-install_command = python3 -m pip install -r requirements.txt -U {opts} {packages}
-# deps = -r{toxinidir}/test-requirements.txt
-commands=python3 -m unittest discover -v
-
-[testenv:flake8]
-basepython = python3
-deps = flake8
-commands = flake8 osm_rosdn_floodlightof --max-line-length 120 \
- --exclude .svn,CVS,.gz,.git,__pycache__,.tox,local,temp --ignore W291,W293,W503,W605,E123,E125,E203,E226,E241
-
-[testenv:unittest]
-basepython = python3
-commands = python3 -m unittest osm_rosdn_floodlightof.tests
-
-[testenv:build]
-basepython = python3
-deps = stdeb
- setuptools-version-command
-commands = python3 setup.py --command-packages=stdeb.command bdist_deb
-
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-all: clean package
-
-clean:
- rm -rf dist deb_dist osm_rosdn_ietfl2vpn-*.tar.gz osm_rosdn_ietfl2vpn.egg-info .eggs
- rm -rf osm_rosdn_tapi-*.tar.gz osm_rosdn_tapi.egg-info
-
-package:
- python3 setup.py --command-packages=stdeb.command sdist_dsc
- cd deb_dist/osm-rosdn-ietfl2vpn*/ && dpkg-buildpackage -rfakeroot -uc -us
- for pkg in deb_dist/python3-osm-rosdn-ietfl2vpn*.deb; do cp $$pkg deb_dist/python3-osm-rosdn-tapi$${pkg#*-osm-rosdn-ietfl2vpn} ; done
-
--- /dev/null
+#!/usr/bin/env python3
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+##
--- /dev/null
+#######################################################################################
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#######################################################################################
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-requests
-git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin
from setuptools import setup
_name = "osm_rosdn_ietfl2vpn"
+_version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full")
+_description = "OSM ro sdn plugin for ietfl2vpn"
+_author = "OSM Support"
+_author_email = "osmsupport@etsi.org"
+_maintainer = "OSM Support"
+_maintainer_email = "osmsupport@etsi.org"
+_license = "Apache 2.0"
+_url = "https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary"
-README = """
+_readme = """
===========
osm-rosdn_ietfl2vpn
===========
setup(
name=_name,
- description="OSM ro sdn plugin for ietfl2vpn",
- long_description=README,
- version_command=(
- "git describe --match v* --tags --long --dirty",
- "pep440-git-full",
- ),
- # version=VERSION,
- # python_requires='>3.5.0',
- author="ETSI OSM",
- author_email="OSM_TECH@LIST.ETSI.ORG",
- maintainer="ETSI OSM",
- maintainer_email="OSM_TECH@LIST.ETSI.ORG",
- url="https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary",
- license="Apache 2.0",
+ description=_description,
+ long_description=_readme,
+ version_command=_version_command,
+ author=_author,
+ author_email=_author_email,
+ maintainer=_maintainer,
+ maintainer_email=_maintainer_email,
+ url=_url,
+ license=_license,
packages=[_name],
include_package_data=True,
- install_requires=[
- "requests",
- "osm-ro-plugin @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin",
- ],
setup_requires=["setuptools-version-command"],
entry_points={
"osm_rosdn.plugins": [
[DEFAULT]
X-Python3-Version : >= 3.5
-Depends3: python3-requests, python3-osm-ro-plugin
-
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-[tox]
-envlist = flake8
-toxworkdir={toxinidir}/../.tox
-
-[testenv]
-basepython = python3
-install_command = python3 -m pip install -r requirements.txt -U {opts} {packages}
-# deps = -r{toxinidir}/test-requirements.txt
-commands=python3 -m unittest discover -v
-
-[testenv:flake8]
-basepython = python3
-deps = flake8
-commands = flake8 osm_rosdn_ietfl2vpn --max-line-length 120 \
- --exclude .svn,CVS,.gz,.git,__pycache__,.tox,local,temp --ignore W291,W293,W503,W605,E123,E125,E203,E226,E241
-
-[testenv:unittest]
-basepython = python3
-commands = python3 -m unittest osm_rosdn_ietfl2vpn.tests
-
-[testenv:build]
-basepython = python3
-deps = stdeb
- setuptools-version-command
-commands = python3 setup.py --command-packages=stdeb.command bdist_deb
-
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-all: clean package
-
-clean:
- rm -rf dist deb_dist osm_rosdn_juniper_contrail-*.tar.gz osm_rosdn_juniper_contrail.egg-info .eggs
-
-package:
- python3 setup.py --command-packages=stdeb.command sdist_dsc
- cd deb_dist/osm-rosdn-juniper-contrail*/ && dpkg-buildpackage -rfakeroot -uc -us
-
--- /dev/null
+#!/usr/bin/env python3
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+##
--- /dev/null
+#######################################################################################
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#######################################################################################
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-requests
-git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin
from setuptools import setup
_name = "osm_rosdn_juniper_contrail"
+_version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full")
+_description = "OSM RO SDN plugin for Juniper Contrail"
+_author = "OSM Support"
+_author_email = "osmsupport@etsi.org"
+_maintainer = "OSM Support"
+_maintainer_email = "osmsupport@etsi.org"
+_license = "Apache 2.0"
+_url = "https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary"
-README = """
+_readme = """
===========
osm-rosdn_juniper_contrail
===========
setup(
name=_name,
- description="OSM RO SDN plugin for Juniper Contrail",
- long_description=README,
- version_command=(
- "git describe --match v* --tags --long --dirty",
- "pep440-git-full",
- ),
- # version=VERSION,
- # python_requires='>3.5.0',
- author="ETSI OSM",
- author_email="OSM_TECH@list.etsi.org",
- maintainer="ETSI OSM",
- maintainer_email="OSM_TECH@list.etsi.org",
- url="https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary",
- license="Apache 2.0",
+ description=_description,
+ long_description=_readme,
+ version_command=_version_command,
+ author=_author,
+ author_email=_author_email,
+ maintainer=_maintainer,
+ maintainer_email=_maintainer_email,
+ url=_url,
+ license=_license,
packages=[_name],
include_package_data=True,
- # dependency_links=["git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro"],
- install_requires=[
- "requests",
- "osm-ro-plugin @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin",
- ],
setup_requires=["setuptools-version-command"],
entry_points={
"osm_rosdn.plugins": [
[DEFAULT]
X-Python3-Version : >= 3.5
-Depends3: python3-requests, python3-osm-ro-plugin
-
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-[tox]
-envlist = flake8
-toxworkdir={toxinidir}/../.tox
-
-[testenv]
-basepython = python3
-install_command = python3 -m pip install -r requirements.txt -U {opts} {packages}
-# deps = -r{toxinidir}/test-requirements.txt
-commands=python3 -m unittest discover -v
-
-[testenv:flake8]
-basepython = python3
-deps = flake8
-commands = flake8 osm_rosdn_juniper_contrail --max-line-length 120 \
- --exclude .svn,CVS,.gz,.git,__pycache__,.tox,local,temp --ignore W291,W293,W503,W605,E123,E125,E203,E226,E241
-
-[testenv:unittest]
-basepython = python3
-commands = python3 -m unittest osm_rosdn_juniper_contrail.tests
-
-[testenv:build]
-basepython = python3
-deps = stdeb
- setuptools-version-command
-commands = python3 setup.py --command-packages=stdeb.command bdist_deb
-
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-all: clean package
-
-clean:
- rm -rf dist deb_dist osm_rosdn_odlof-*.tar.gz osm_rosdn_odlof.egg-info .eggs
-
-package:
- python3 setup.py --command-packages=stdeb.command sdist_dsc
- cd deb_dist/osm-rosdn-odlof*/ && dpkg-buildpackage -rfakeroot -uc -us
-
--- /dev/null
+#!/usr/bin/env python3
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+##
--- /dev/null
+#######################################################################################
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#######################################################################################
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-requests
-git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin
from setuptools import setup
_name = "osm_rosdn_odlof"
+_version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full")
+_description = "OSM RO plugin for SDN with odl openflow rules"
+_author = "OSM Support"
+_author_email = "osmsupport@etsi.org"
+_maintainer = "OSM Support"
+_maintainer_email = "osmsupport@etsi.org"
+_license = "Apache 2.0"
+_url = "https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary"
-README = """
+_readme = """
===========
osm-rosdn_odlof
===========
setup(
name=_name,
- description="OSM RO plugin for SDN with odl openflow rules",
- long_description=README,
- version_command=(
- "git describe --match v* --tags --long --dirty",
- "pep440-git-full",
- ),
- # version=VERSION,
- # python_requires='>3.5.0',
- author="ETSI OSM",
- author_email="alfonso.tiernosepulveda@telefonica.com",
- maintainer="Alfonso Tierno",
- maintainer_email="alfonso.tiernosepulveda@telefonica.com",
- url="https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary",
- license="Apache 2.0",
+ description=_description,
+ long_description=_readme,
+ version_command=_version_command,
+ author=_author,
+ author_email=_author_email,
+ maintainer=_maintainer,
+ maintainer_email=_maintainer_email,
+ url=_url,
+ license=_license,
packages=[_name],
include_package_data=True,
- install_requires=[
- "requests",
- "osm-ro-plugin @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin",
- ],
setup_requires=["setuptools-version-command"],
entry_points={
"osm_rosdn.plugins": [
[DEFAULT]
X-Python3-Version : >= 3.5
-Maintainer: Alfonso Tierno <alfonso.tiernosepulveda@telefonica.com>
-Depends3: python3-requests, python3-osm-ro-plugin
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-[tox]
-envlist = flake8
-toxworkdir={toxinidir}/../.tox
-
-[testenv]
-basepython = python3
-install_command = python3 -m pip install -U {opts} {packages}
-# deps = -r{toxinidir}/test-requirements.txt
-commands=python3 -m unittest discover -v
-
-[testenv:flake8]
-basepython = python3
-deps = flake8
- -r{toxinidir}/requirements.txt
-install_command = python3 -m pip install -U {opts} {packages}
-commands = flake8 osm_rosdn_odlof --max-line-length 120 \
- --exclude .svn,CVS,.gz,.git,__pycache__,.tox,local,temp --ignore W291,W293,W503,W605,E123,E125,E203,E226,E241
-
-[testenv:unittest]
-basepython = python3
-commands = python3 -m unittest osm_rosdn_odlof.tests
-
-[testenv:build]
-basepython = python3
-deps = stdeb
- setuptools-version-command
-commands = python3 setup.py --command-packages=stdeb.command bdist_deb
-
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-all: clean package
-
-clean:
- rm -rf dist deb_dist osm_rosdn_onosof-*.tar.gz osm_rosdn_onosof.egg-info .eggs
-
-package:
- python3 setup.py --command-packages=stdeb.command sdist_dsc
- cd deb_dist/osm-rosdn-onosof*/ && dpkg-buildpackage -rfakeroot -uc -us
-
--- /dev/null
+#!/usr/bin/env python3
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+##
--- /dev/null
+#######################################################################################
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#######################################################################################
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-requests
-git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin
from setuptools import setup
_name = "osm_rosdn_onosof"
+_version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full")
+_description = "OSM RO plugin for SDN with onos openflow rules"
+_author = "OSM Support"
+_author_email = "osmsupport@etsi.org"
+_maintainer = "OSM Support"
+_maintainer_email = "osmsupport@etsi.org"
+_license = "Apache 2.0"
+_url = "https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary"
-README = """
+_readme = """
===========
osm-rosdn_onosof
===========
setup(
name=_name,
- description="OSM RO plugin for SDN with onos openflow rules",
- long_description=README,
- version_command=(
- "git describe --match v* --tags --long --dirty",
- "pep440-git-full",
- ),
- # version=VERSION,
- # python_requires='>3.5.0',
- author="ETSI OSM",
- author_email="alfonso.tiernosepulveda@telefonica.com",
- maintainer="Alfonso Tierno",
- maintainer_email="alfonso.tiernosepulveda@telefonica.com",
- url="https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary",
- license="Apache 2.0",
+ description=_description,
+ long_description=_readme,
+ version_command=_version_command,
+ author=_author,
+ author_email=_author_email,
+ maintainer=_maintainer,
+ maintainer_email=_maintainer_email,
+ url=_url,
+ license=_license,
packages=[_name],
include_package_data=True,
- install_requires=[
- "requests",
- "osm-ro-plugin @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin",
- ],
setup_requires=["setuptools-version-command"],
entry_points={
"osm_rosdn.plugins": [
[DEFAULT]
X-Python3-Version : >= 3.5
-Maintainer: Alfonso Tierno <alfonso.tiernosepulveda@telefonica.com>
-Depends3: python3-requests, python3-osm-ro-plugin
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-[tox]
-envlist = flake8
-toxworkdir={toxinidir}/../.tox
-
-[testenv]
-basepython = python3
-install_command = python3 -m pip install -U {opts} {packages}
-# deps = -r{toxinidir}/test-requirements.txt
-commands=python3 -m unittest discover -v
-
-[testenv:flake8]
-basepython = python3
-deps = flake8
- -r{toxinidir}/requirements.txt
-install_command = python3 -m pip install -U {opts} {packages}
-commands = flake8 osm_rosdn_onosof --max-line-length 120 \
- --exclude .svn,CVS,.gz,.git,__pycache__,.tox,local,temp --ignore W291,W293,W503,W605,E123,E125,E203,E226,E241
-
-[testenv:unittest]
-basepython = python3
-commands = python3 -m unittest osm_rosdn_onosof.tests
-
-[testenv:build]
-basepython = python3
-deps = stdeb
- setuptools-version-command
-commands = python3 setup.py --command-packages=stdeb.command bdist_deb
-
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-all: clean package
-
-clean:
- rm -rf dist deb_dist osm_rosdn_onos_vpls-*.tar.gz osm_rosdn_onos_vpls.egg-info .eggs
-
-package:
- python3 setup.py --command-packages=stdeb.command sdist_dsc
- cd deb_dist/osm-rosdn-onos-vpls*/ && dpkg-buildpackage -rfakeroot -uc -us
-
--- /dev/null
+#!/usr/bin/env python3
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+##
--- /dev/null
+#######################################################################################
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#######################################################################################
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-requests
-git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin
from setuptools import setup
_name = "osm_rosdn_onos_vpls"
+_version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full")
+_description = "OSM ro sdn plugin for ONOS VPLS"
+_author = "OSM Support"
+_author_email = "osmsupport@etsi.org"
+_maintainer = "OSM Support"
+_maintainer_email = "osmsupport@etsi.org"
+_license = "Apache 2.0"
+_url = "https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary"
-README = """
+_readme = """
===========
osm-rosdn_onos_vpls
===========
setup(
name=_name,
- description="OSM ro sdn plugin for ONOS VPLS",
- long_description=README,
- version_command=(
- "git describe --match v* --tags --long --dirty",
- "pep440-git-full",
- ),
- # version=VERSION,
- # python_requires='>3.5.0',
- author="ETSI OSM",
- author_email="OSM_TECH@list.etsi.org",
- maintainer="ETSI OSM",
- maintainer_email="OSM_TECH@list.etsi.org",
- url="https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary",
- license="Apache 2.0",
+ description=_description,
+ long_description=_readme,
+ version_command=_version_command,
+ author=_author,
+ author_email=_author_email,
+ maintainer=_maintainer,
+ maintainer_email=_maintainer_email,
+ url=_url,
+ license=_license,
packages=[_name],
include_package_data=True,
- install_requires=[
- "requests",
- "osm-ro-plugin @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin",
- ],
setup_requires=["setuptools-version-command"],
entry_points={
"osm_rosdn.plugins": [
[DEFAULT]
X-Python3-Version : >= 3.5
-Depends3: python3-requests, python3-osm-ro-plugin
-
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-[tox]
-envlist = flake8
-toxworkdir={toxinidir}/../.tox
-
-[testenv]
-basepython = python3
-install_command = python3 -m pip install -r requirements.txt -U {opts} {packages}
-# deps = -r{toxinidir}/test-requirements.txt
-commands=python3 -m unittest discover -v
-
-[testenv:flake8]
-basepython = python3
-deps = flake8
-commands = flake8 osm_rosdn_onos_vpls --max-line-length 120 \
- --exclude .svn,CVS,.gz,.git,__pycache__,.tox,local,temp --ignore W291,W293,W503,W605,E123,E125,E203,E226,E241
-
-[testenv:unittest]
-basepython = python3
-commands = python3 -m unittest osm_rosdn_onos_vpls.tests
-
-[testenv:build]
-basepython = python3
-deps = stdeb
- setuptools-version-command
-commands = python3 setup.py --command-packages=stdeb.command bdist_deb
-
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-all: clean package
-
-clean:
- rm -rf dist deb_dist osm_rovim_aws-*.tar.gz osm_rovim_aws.egg-info .eggs
-
-package:
- python3 setup.py --command-packages=stdeb.command sdist_dsc
- cd deb_dist/osm-rovim-aws*/ && dpkg-buildpackage -rfakeroot -uc -us
--- /dev/null
+#!/usr/bin/env python3
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+##
--- /dev/null
+#######################################################################################
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#######################################################################################
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-PyYAML
-requests
-netaddr
-boto
-git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin
from setuptools import setup
_name = "osm_rovim_aws"
+_version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full")
+_description = "OSM ro vim plugin for AWS"
+_author = "OSM Support"
+_author_email = "osmsupport@etsi.org"
+_maintainer = "OSM Support"
+_maintainer_email = "osmsupport@etsi.org"
+_license = "Apache 2.0"
+_url = "https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary"
-README = """
+_readme = """
===========
osm-rovim_aws
===========
-osm-ro pluging for aws VIM
+osm-ro pluging for AWS VIM
"""
setup(
name=_name,
- description="OSM ro vim plugin for aws",
- long_description=README,
- version_command=(
- "git describe --match v* --tags --long --dirty",
- "pep440-git-full",
- ),
- # version=VERSION,
- # python_requires='>3.5.0',
- author="ETSI OSM",
- author_email="OSM_TECH@LIST.ETSI.ORG",
- maintainer="ETSI OSM",
- maintainer_email="OSM_TECH@LIST.ETSI.ORG",
- url="https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary",
- license="Apache 2.0",
+ description=_description,
+ long_description=_readme,
+ version_command=_version_command,
+ author=_author,
+ author_email=_author_email,
+ maintainer=_maintainer,
+ maintainer_email=_maintainer_email,
+ url=_url,
+ license=_license,
packages=[_name],
include_package_data=True,
- install_requires=[
- "requests",
- "netaddr",
- "PyYAML",
- "boto",
- "osm-ro-plugin @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin",
- ],
setup_requires=["setuptools-version-command"],
entry_points={
"osm_rovim.plugins": ["rovim_aws = osm_rovim_aws.vimconn_aws:vimconnector"],
[DEFAULT]
X-Python3-Version : >= 3.5
-Depends3: python3-boto, python3-requests, python3-netaddr, python3-yaml, python3-osm-ro-plugin
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-[tox]
-envlist = flake8
-toxworkdir={toxinidir}/../.tox
-
-[testenv]
-basepython = python3
-install_command = python3 -m pip install -r requirements.txt -U {opts} {packages}
-# deps = -r{toxinidir}/test-requirements.txt
-commands=python3 -m unittest discover -v
-
-[testenv:flake8]
-basepython = python3
-deps = flake8
-commands = flake8 osm_rovim_aws --max-line-length 120 \
- --exclude .svn,CVS,.gz,.git,__pycache__,.tox,local,temp --ignore W291,W293,W503,W605,E123,E125,E203,E226,E241
-
-[testenv:unittest]
-basepython = python3
-commands = python3 -m unittest osm_rovim_aws.tests
-
-[testenv:build]
-basepython = python3
-deps = stdeb
- setuptools-version-command
-commands = python3 setup.py --command-packages=stdeb.command bdist_deb
-
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-all: clean package
-
-clean:
- rm -rf dist deb_dist osm_rovim_azure-*.tar.gz osm_rovim_azure.egg-info .eggs
-
-package:
- python3 setup.py --command-packages=stdeb.command sdist_dsc
- cp debian/python3-osm-rovim-azure.postinst deb_dist/osm-rovim-azure*/debian/
- cd deb_dist/osm-rovim-azure*/ && dpkg-buildpackage -rfakeroot -uc -us
-
+++ /dev/null
-#!/bin/bash
-
-##
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-#
-# For those usages not covered by the Apache License, Version 2.0 please
-# contact with: OSM_TECH@list.etsi.org
-##
-
-echo "POST INSTALL OSM-ROVIM-AZURE"
-
-#Pip packages required for azure connector
-python3 -m pip install azure==4.0.0
-
--- /dev/null
+#!/usr/bin/env python3
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+##
--- /dev/null
+#######################################################################################
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#######################################################################################
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-PyYAML
-requests
-netaddr
-azure==4.0.0
-git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin
from setuptools import setup
_name = "osm_rovim_azure"
+_version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full")
+_description = "OSM ro vim plugin for Azure"
+_author = "OSM Support"
+_author_email = "osmsupport@etsi.org"
+_maintainer = "OSM Support"
+_maintainer_email = "osmsupport@etsi.org"
+_license = "Apache 2.0"
+_url = "https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary"
-README = """
+_readme = """
===========
osm-rovim_azure
===========
-osm-ro pluging for azure VIM
+osm-ro pluging for Azure VIM
"""
setup(
name=_name,
- description="OSM ro vim plugin for azure",
- long_description=README,
- version_command=(
- "git describe --match v* --tags --long --dirty",
- "pep440-git-full",
- ),
- # version=VERSION,
- # python_requires='>3.5.0',
- author="ETSI OSM",
- author_email="alfonso.tiernosepulveda@telefonica.com",
- maintainer="Alfonso Tierno",
- maintainer_email="alfonso.tiernosepulveda@telefonica.com",
- url="https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary",
- license="Apache 2.0",
+ description=_description,
+ long_description=_readme,
+ version_command=_version_command,
+ author=_author,
+ author_email=_author_email,
+ maintainer=_maintainer,
+ maintainer_email=_maintainer_email,
+ url=_url,
+ license=_license,
packages=[_name],
include_package_data=True,
- install_requires=[
- "requests",
- "netaddr",
- "PyYAML",
- "azure==4.0.0",
- "osm-ro-plugin @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin",
- ],
setup_requires=["setuptools-version-command"],
entry_points={
"osm_rovim.plugins": [
[DEFAULT]
X-Python3-Version : >= 3.5
-Depends3: python3-requests, python3-netaddr, python3-yaml, python3-osm-ro-plugin, python3-pip
-
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-[tox]
-envlist = flake8
-toxworkdir={toxinidir}/../.tox
-
-[testenv]
-basepython = python3
-install_command = python3 -m pip install -r requirements.txt -U {opts} {packages}
-# deps = -r{toxinidir}/test-requirements.txt
-commands=python3 -m unittest discover -v
-
-[testenv:flake8]
-basepython = python3
-deps = flake8
-commands = flake8 osm_rovim_azure --max-line-length 120 \
- --exclude .svn,CVS,.gz,.git,__pycache__,.tox,local,temp --ignore W291,W293,W503,W605,E123,E125,E203,E226,E241
-
-[testenv:unittest]
-basepython = python3
-commands = python3 -m unittest osm_rovim_azure.tests
-
-[testenv:build]
-basepython = python3
-deps = stdeb
- setuptools-version-command
-commands = python3 setup.py --command-packages=stdeb.command bdist_deb
-
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-all: clean package
-
-clean:
- rm -rf dist deb_dist osm_rovim_fos-*.tar.gz osm_rovim_fos.egg-info .eggs
-
-package:
- python3 setup.py --command-packages=stdeb.command sdist_dsc
- cp debian/python3-osm-rovim-fos.postinst deb_dist/osm-rovim-fos*/debian/
- cd deb_dist/osm-rovim-fos*/ && dpkg-buildpackage -rfakeroot -uc -us
+++ /dev/null
-#!/bin/bash
-
-##
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-#
-# For those usages not covered by the Apache License, Version 2.0 please
-# contact with: OSM_TECH@list.etsi.org
-##
-
-echo "POST INSTALL OSM-ROVIM-FOS"
-
-#Pip packages required for Eclipse fog05 connector
-curl -Lo /tmp/libzenohc.so https://github.com/eclipse-fog05/fog05/releases/download/v0.1.0/libzenohc.so
-mv /tmp/libzenohc.so /usr/local/lib/libzenohc.so
-python3 -m pip install pyangbind sphinx zenoh==0.3.0 yaks==0.3.0.post1 fog05-sdk==0.2.0 fog05==0.2.0
-
--- /dev/null
+#!/usr/bin/env python3
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+##
--- /dev/null
+#######################################################################################
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#######################################################################################
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-PyYAML
-requests
-netaddr
-fog05-sdk==0.2.0
-fog05==0.2.0
-zenoh==0.3.0
-yaks==0.3.0.post1
-pyangbind
-sphinx
-git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin
from setuptools import setup
_name = "osm_rovim_fos"
+_version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full")
+_description = "OSM ro vim plugin for Eclipse fog05"
+_author = "OSM Support"
+_author_email = "osmsupport@etsi.org"
+_maintainer = "OSM Support"
+_maintainer_email = "osmsupport@etsi.org"
+_license = "Apache 2.0"
+_url = "https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary"
-README = """
+_readme = """
===========
osm-rovim_fos
===========
setup(
name=_name,
- description="OSM ro vim plugin for Eclipse fog05",
- long_description=README,
- version_command=(
- "git describe --match v* --tags --long --dirty",
- "pep440-git-full",
- ),
- # version=VERSION,
- # python_requires=">3.5.0",
- author="ETSI OSM",
- author_email="OSM_TECH@LIST.ETSI.ORG",
- maintainer="ETSI OSM",
- maintainer_email="OSM_TECH@LIST.ETSI.ORG",
- url="https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary",
- license="Apache 2.0",
+ description=_description,
+ long_description=_readme,
+ version_command=_version_command,
+ author=_author,
+ author_email=_author_email,
+ maintainer=_maintainer,
+ maintainer_email=_maintainer_email,
+ url=_url,
+ license=_license,
packages=[_name],
include_package_data=True,
- install_requires=[
- "requests",
- "netaddr",
- "PyYAML",
- "zenoh==0.3.0",
- "yaks==0.3.0.post1",
- "fog05-sdk==0.2.0",
- "fog05==0.2.0",
- "pyangbind",
- "sphinx",
- "osm-ro-plugin @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin",
- ],
setup_requires=["setuptools-version-command"],
entry_points={
"osm_rovim.plugins": ["rovim_fos = osm_rovim_fos.vimconn_fos:vimconnector"],
[DEFAULT]
X-Python3-Version : >= 3.5
-Depends3: python3-pip, python3-requests, python3-netaddr, python3-yaml, python3-osm-ro-plugin
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-[tox]
-envlist = flake8
-toxworkdir={toxinidir}/../.tox
-
-[testenv]
-basepython = python3
-install_command = python3 -m pip install -r requirements.txt -U {opts} {packages}
-# deps = -r{toxinidir}/test-requirements.txt
-commands=python3 -m unittest discover -v
-
-[testenv:flake8]
-basepython = python3
-deps = flake8
-commands = flake8 osm_rovim_fos --max-line-length 120 \
- --exclude .svn,CVS,.gz,.git,__pycache__,.tox,local,temp --ignore W291,W293,W503,W605,E123,E125,E203,E226,E241
-
-[testenv:unittest]
-basepython = python3
-commands = python3 -m unittest osm_rovim_fos.tests
-
-[testenv:build]
-basepython = python3
-deps = stdeb
- setuptools-version-command
-commands = python3 setup.py --command-packages=stdeb.command bdist_deb
-
+++ /dev/null
-##
-# Copyright 2017 Telefonica Digital Spain S.L.U.
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-all: clean package
-
-clean:
- rm -rf dist deb_dist osm_rovim_opennebula-*.tar.gz osm_rovim_opennebula.egg-info .eggs
-
-package:
- python3 setup.py --command-packages=stdeb.command sdist_dsc
- cp debian/python3-osm-rovim-opennebula.postinst deb_dist/osm-rovim-opennebula*/debian/
- cd deb_dist/osm-rovim-opennebula*/ && dpkg-buildpackage -rfakeroot -uc -us
-
+++ /dev/null
-#!/bin/bash
-
-##
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-#
-# For those usages not covered by the Apache License, Version 2.0 please
-# contact with: OSM_TECH@list.etsi.org
-##
-
-echo "POST INSTALL OSM-ROVIM-OPENNEBULA"
-
-#Pip packages required for opennebula connector
-python3 -m pip install -e git+https://github.com/python-oca/python-oca#egg=oca
-# python3 -m pip install untangle
-python3 -m pip install pyone
-
--- /dev/null
+#!/usr/bin/env python3
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+##
--- /dev/null
+#######################################################################################
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#######################################################################################
+++ /dev/null
-##
-# Copyright 2017 Telefonica Digital Spain S.L.U.
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-PyYAML
-requests
-netaddr
-# untangle
-pyone
-git+https://github.com/python-oca/python-oca#egg=oca
-git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin
from setuptools import setup
_name = "osm_rovim_opennebula"
+_version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full")
+_description = "OSM ro vim plugin for opennebula"
+_author = "OSM Support"
+_author_email = "osmsupport@etsi.org"
+_maintainer = "OSM Support"
+_maintainer_email = "osmsupport@etsi.org"
+_license = "Apache 2.0"
+_url = "https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary"
-README = """
+_readme = """
===========
osm-rovim_opennebula
===========
setup(
name=_name,
- description="OSM ro vim plugin for opennebula",
- long_description=README,
- version_command=(
- "git describe --match v* --tags --long --dirty",
- "pep440-git-full",
- ),
- # version=VERSION,
- # python_requires=">3.5.0",
- author="ETSI OSM",
- author_email="OSM_TECH@LIST.ETSI.ORG",
- maintainer="ETSI OSM",
- maintainer_email="OSM_TECH@LIST.ETSI.ORG",
- url="https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary",
- license="Apache 2.0",
+ description=_description,
+ long_description=_readme,
+ version_command=_version_command,
+ author=_author,
+ author_email=_author_email,
+ maintainer=_maintainer,
+ maintainer_email=_maintainer_email,
+ url=_url,
+ license=_license,
packages=[_name],
include_package_data=True,
- install_requires=[
- "requests",
- "netaddr",
- "PyYAML",
- "osm-ro-plugin @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin",
- ],
setup_requires=["setuptools-version-command"],
entry_points={
"osm_rovim.plugins": [
[DEFAULT]
X-Python3-Version : >= 3.5
-Depends3: python3-requests, python3-netaddr, python3-yaml, python3-osm-ro-plugin, python3-pip
-
+++ /dev/null
-##
-# Copyright 2017 Telefonica Digital Spain S.L.U.
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-[tox]
-envlist = flake8
-toxworkdir={toxinidir}/../.tox
-
-[testenv]
-basepython = python3
-install_command = python3 -m pip install -r requirements.txt -U {opts} {packages}
-# deps = -r{toxinidir}/test-requirements.txt
-commands=python3 -m unittest discover -v
-
-[testenv:flake8]
-basepython = python3
-deps = flake8
-commands = flake8 osm_rovim_opennebula --max-line-length 120 \
- --exclude .svn,CVS,.gz,.git,__pycache__,.tox,local,temp --ignore W291,W293,W503,W605,E123,E125,E203,E226,E241
-
-[testenv:unittest]
-basepython = python3
-commands = python3 -m unittest osm_rovim_opennebula.tests
-
-[testenv:build]
-basepython = python3
-deps = stdeb
- setuptools-version-command
-commands = python3 setup.py --command-packages=stdeb.command bdist_deb
-
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-all: clean package
-
-clean:
- rm -rf dist deb_dist osm_rovim_openstack-*.tar.gz osm_rovim_openstack.egg-info .eggs
-
-package:
- python3 setup.py --command-packages=stdeb.command sdist_dsc
- cp debian/python3-osm-rovim-openstack.postinst deb_dist/osm-rovim-openstack*/debian/
- cd deb_dist/osm-rovim-openstack*/ && dpkg-buildpackage -rfakeroot -uc -us
-
+++ /dev/null
-#!/bin/bash
-
-##
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-#
-# For those usages not covered by the Apache License, Version 2.0 please
-# contact with: OSM_TECH@list.etsi.org
-##
-
-echo "POST INSTALL OSM-ROVIM-OPENSTACK"
-
-#Pip packages required for openstack connector
-python3 -m pip install networking-l2gw
--- /dev/null
+#!/usr/bin/env python3
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+##
--- /dev/null
+#######################################################################################
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#######################################################################################
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-PyYAML
-python-openstackclient
-python-neutronclient
-requests
-netaddr
-#TODO py3 networking-l2gw
-#TODO py3 python-novaclient
-#TODO py3 python-keystoneclient
-#TODO py3 python-glanceclient
-#TODO py3 python-cinderclient
-git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin
from setuptools import setup
_name = "osm_rovim_openstack"
+_version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full")
+_description = "OSM ro vim plugin for openstack"
+_author = "OSM Support"
+_author_email = "osmsupport@etsi.org"
+_maintainer = "OSM Support"
+_maintainer_email = "osmsupport@etsi.org"
+_license = "Apache 2.0"
+_url = "https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary"
-README = """
+_readme = """
===========
osm-rovim_openstack
===========
setup(
name=_name,
- description="OSM ro vim plugin for openstack",
- long_description=README,
- version_command=(
- "git describe --match v* --tags --long --dirty",
- "pep440-git-full",
- ),
- # version=VERSION,
- # python_requires=">3.5.0",
- author="ETSI OSM",
- author_email="alfonso.tiernosepulveda@telefonica.com",
- maintainer="Alfonso Tierno",
- maintainer_email="alfonso.tiernosepulveda@telefonica.com",
- url="https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary",
- license="Apache 2.0",
+ description=_description,
+ long_description=_readme,
+ version_command=_version_command,
+ author=_author,
+ author_email=_author_email,
+ maintainer=_maintainer,
+ maintainer_email=_maintainer_email,
+ url=_url,
+ license=_license,
packages=[_name],
include_package_data=True,
- install_requires=[
- "python-openstackclient",
- "python-neutronclient",
- "requests",
- "netaddr",
- "PyYAML",
- "osm-ro-plugin @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin",
- # TODO py3 "networking-l2gw"
- # "python-novaclient", "python-keystoneclient", "python-glanceclient", "python-cinderclient",
- ],
setup_requires=["setuptools-version-command"],
entry_points={
"osm_rovim.plugins": [
[DEFAULT]
X-Python3-Version : >= 3.5
-Maintainer: Alfonso Tierno <alfonso.tiernosepulveda@telefonica.com>
-Depends3: python3-openstackclient, python3-neutronclient, python3-requests, python3-netaddr, python3-yaml,
- python3-osm-ro-plugin, python3-pip
- # TODO py3 python3-networking-l2gw
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-[tox]
-envlist = flake8
-toxworkdir={toxinidir}/../.tox
-
-[testenv]
-basepython = python3
-install_command = python3 -m pip install -r requirements.txt -U {opts} {packages}
-# deps = -r{toxinidir}/test-requirements.txt
-commands=python3 -m unittest discover -v
-
-[testenv:flake8]
-basepython = python3
-deps = flake8
-commands = flake8 osm_rovim_openstack --max-line-length 120 \
- --exclude .svn,CVS,.gz,.git,__pycache__,.tox,local,temp --ignore W291,W293,W503,W605,E123,E125,E203,E226,E241
-
-[testenv:unittest]
-basepython = python3
-commands = python3 -m unittest osm_rovim_openstack.tests
-
-[testenv:build]
-basepython = python3
-deps = stdeb
- setuptools-version-command
-commands = python3 setup.py --command-packages=stdeb.command bdist_deb
-
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-all: clean package
-
-clean:
- rm -rf dist deb_dist osm_rovim_openvim-*.tar.gz osm_rovim_openvim.egg-info .eggs
-
-package:
- python3 setup.py --command-packages=stdeb.command sdist_dsc
- cd deb_dist/osm-rovim-openvim*/ && dpkg-buildpackage -rfakeroot -uc -us
-
--- /dev/null
+#!/usr/bin/env python3
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+##
--- /dev/null
+#######################################################################################
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#######################################################################################
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-PyYAML
-requests
-netaddr
-git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin
from setuptools import setup
_name = "osm_rovim_openvim"
+_version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full")
+_description = "OSM ro vim plugin for openvim"
+_author = "OSM Support"
+_author_email = "osmsupport@etsi.org"
+_maintainer = "OSM Support"
+_maintainer_email = "osmsupport@etsi.org"
+_license = "Apache 2.0"
+_url = "https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary"
-README = """
+_readme = """
===========
osm-rovim_openvim
===========
setup(
name=_name,
- description="OSM ro vim plugin for openvim",
- long_description=README,
- version_command=(
- "git describe --match v* --tags --long --dirty",
- "pep440-git-full",
- ),
- # version=VERSION,
- # python_requires='>3.5.0',
- author="ETSI OSM",
- author_email="alfonso.tiernosepulveda@telefonica.com",
- maintainer="Alfonso Tierno",
- maintainer_email="alfonso.tiernosepulveda@telefonica.com",
- url="https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary",
- license="Apache 2.0",
+ description=_description,
+ long_description=_readme,
+ version_command=_version_command,
+ author=_author,
+ author_email=_author_email,
+ maintainer=_maintainer,
+ maintainer_email=_maintainer_email,
+ url=_url,
+ license=_license,
packages=[_name],
include_package_data=True,
- install_requires=[
- "requests",
- "netaddr",
- "PyYAML",
- "osm-ro-plugin @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin",
- ],
setup_requires=["setuptools-version-command"],
entry_points={
"osm_rovim.plugins": [
[DEFAULT]
X-Python3-Version : >= 3.5
-Maintainer: Alfonso Tierno <alfonso.tiernosepulveda@telefonica.com>
-Depends3: python3-requests, python3-netaddr, python3-yaml, python3-osm-ro-plugin
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-[tox]
-envlist = flake8
-toxworkdir={toxinidir}/../.tox
-
-[testenv]
-basepython = python3
-install_command = python3 -m pip install -r requirements.txt -U {opts} {packages}
-# deps = -r{toxinidir}/test-requirements.txt
-commands=python3 -m unittest discover -v
-
-[testenv:flake8]
-basepython = python3
-deps = flake8
-commands = flake8 osm_rovim_openvim --max-line-length 120 \
- --exclude .svn,CVS,.gz,.git,__pycache__,.tox,local,temp --ignore W291,W293,W503,W605,E123,E125,E203,E226,E241
-
-[testenv:unittest]
-basepython = python3
-commands = python3 -m unittest osm_rovim_openvim.tests
-
-[testenv:build]
-basepython = python3
-deps = stdeb
- setuptools-version-command
-commands = python3 setup.py --command-packages=stdeb.command bdist_deb
-
+++ /dev/null
-##
-# Copyright VMware Inc.
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-all: clean package
-
-clean:
- rm -rf dist deb_dist osm_rovim_vmware-*.tar.gz osm_rovim_vmware.egg-info .eggs
-
-package:
- python3 setup.py --command-packages=stdeb.command sdist_dsc
- cp debian/python3-osm-rovim-vmware.postinst deb_dist/osm-rovim-vmware*/debian/
- cd deb_dist/osm-rovim-vmware*/ && dpkg-buildpackage -rfakeroot -uc -us
-
+++ /dev/null
-#!/bin/bash
-
-##
-# Copyright VMware Inc.
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-#
-# For those usages not covered by the Apache License, Version 2.0 please
-# contact with: OSM_TECH@list.etsi.org
-##
-
-echo "POST INSTALL OSM-ROVIM-VMWARE"
-
-#Pip packages required for vmware connector
-python3 -m pip install --upgrade pip
-python3 -m pip install --upgrade pyvcloud==19.1.1
-python3 -m pip install --upgrade progressbar
-python3 -m pip install --upgrade pyvmomi
-# python3 -m pip install --upgrade prettytable
-# python3 -m pip install --upgrade pyang pyangbind
--- /dev/null
+#!/usr/bin/env python3
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+##
--- /dev/null
+#######################################################################################
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#######################################################################################
import os
import unittest
from unittest import mock
-import test_vimconn_vmware_xml_response as xml_resp
+import tests.test_vimconn_vmware_xml_response as xml_resp
from os import path
__author__ = "Prakash Kasar"
+++ /dev/null
-##
-# Copyright VMware Inc.
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-PyYAML
-requests
-netaddr
-pyvcloud==19.1.1
-pyvmomi
-progressbar
-prettytable
-# TODO py3 genisoimage
-git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin
from setuptools import setup
_name = "osm_rovim_vmware"
+_version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full")
+_description = "OSM ro vim plugin for vmware"
+_author = "OSM Support"
+_author_email = "osmsupport@etsi.org"
+_maintainer = "OSM Support"
+_maintainer_email = "osmsupport@etsi.org"
+_license = "Apache 2.0"
+_url = "https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary"
-README = """
+_readme = """
===========
osm-rovim_vmware
===========
setup(
name=_name,
- description="OSM ro vim plugin for vmware",
- long_description=README,
- version_command=(
- "git describe --match v* --tags --long --dirty",
- "pep440-git-full",
- ),
- # version=VERSION,
- # python_requires='>3.5.0',
- author="ETSI OSM",
- author_email="OSM_TECH@LIST.ETSI.ORG",
- maintainer="ETSI OSM",
- maintainer_email="OSM_TECH@LIST.ETSI.ORG",
- url="https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary",
- license="Apache 2.0",
+ description=_description,
+ long_description=_readme,
+ version_command=_version_command,
+ author=_author,
+ author_email=_author_email,
+ maintainer=_maintainer,
+ maintainer_email=_maintainer_email,
+ url=_url,
+ license=_license,
packages=[_name],
include_package_data=True,
- install_requires=[
- "pyvcloud==19.1.1",
- "progressbar",
- "prettytable",
- "pyvmomi",
- "requests",
- "netaddr",
- "PyYAML",
- "osm-ro-plugin @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin",
- ],
setup_requires=["setuptools-version-command"],
entry_points={
"osm_rovim.plugins": [
[DEFAULT]
X-Python3-Version : >= 3.5
-Depends3: python3-requests, python3-netaddr, python3-yaml, python3-osm-ro-plugin, python3-pip,
- genisoimage, python3-progressbar, python3-prettytable, python3-pyvmomi
+Depends3: genisoimage
+++ /dev/null
-##
-# Copyright VMware Inc.
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-[tox]
-envlist = flake8
-toxworkdir={toxinidir}/../.tox
-
-[testenv]
-basepython = python3
-install_command = python3 -m pip install -r requirements.txt -U {opts} {packages}
-# deps = -r{toxinidir}/test-requirements.txt
-commands=python3 -m unittest discover -v
-
-[testenv:flake8]
-basepython = python3
-deps = flake8
-commands = flake8 osm_rovim_vmware --max-line-length 120 \
- --exclude .svn,CVS,.gz,.git,__pycache__,.tox,local,temp --ignore W291,W293,W503,W605,E123,E125,E203,E226,E241
-
-[testenv:unittest]
-basepython = python3
-commands = python3 -m unittest discover -v osm_rovim_vmware/tests
-
-[testenv:build]
-basepython = python3
-deps = stdeb
- setuptools-version-command
-commands = python3 setup.py --command-packages=stdeb.command bdist_deb
-
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-all: clean package
-
-clean:
- rm -rf dist deb_dist osm_ro_plugin-*.tar.gz osm_ro_plugin.egg-info .eggs
-
-package:
- python3 setup.py --command-packages=stdeb.command sdist_dsc
- cd deb_dist/osm-ro-plugin*/ && dpkg-buildpackage -rfakeroot -uc -us
-
--- /dev/null
+#!/usr/bin/env python3
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+##
--- /dev/null
+#######################################################################################
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#######################################################################################
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-PyYAML
-paramiko
-requests
from setuptools import setup
_name = "osm_ro_plugin"
+_version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full")
+_description = "OSM ro base class for vim and SDN plugins"
+_author = "OSM Support"
+_author_email = "osmsupport@etsi.org"
+_maintainer = "OSM Support"
+_maintainer_email = "osmsupport@etsi.org"
+_license = "Apache 2.0"
+_url = "https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary"
-README = """
+_readme = """
===========
osm-ro_plugin
===========
setup(
name=_name,
- description="OSM ro base class for vim and SDN plugins",
- long_description=README,
- version_command=(
- "git describe --match v* --tags --long --dirty",
- "pep440-git-full",
- ),
- # version=VERSION,
- # python_requires='>3.5.0',
- author="ETSI OSM",
- author_email="alfonso.tiernosepulveda@telefonica.com",
- maintainer="Alfonso Tierno",
- maintainer_email="alfonso.tiernosepulveda@telefonica.com",
- url="https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary",
- license="Apache 2.0",
+ description=_description,
+ long_description=_readme,
+ version_command=_version_command,
+ author=_author,
+ author_email=_author_email,
+ maintainer=_maintainer,
+ maintainer_email=_maintainer_email,
+ url=_url,
+ license=_license,
packages=[_name],
include_package_data=True,
install_requires=[
- "requests",
- "paramiko",
- "PyYAML",
+ # "requests",
+ # "paramiko",
+ # "PyYAML",
],
setup_requires=["setuptools-version-command"],
entry_points={
[DEFAULT]
X-Python3-Version : >= 3.5
-Maintainer: Alfonso Tierno <alfonso.tiernosepulveda@telefonica.com>
-Depends3: python3-paramiko, python3-requests, python3-yaml,
-
+++ /dev/null
-##
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-##
-
-[tox]
-envlist = flake8
-toxworkdir={toxinidir}/../.tox
-
-[testenv]
-basepython = python3
-install_command = python3 -m pip install -r requirements.txt -U {opts} {packages}
-# deps = -r{toxinidir}/test-requirements.txt
-commands=python3 -m unittest discover -v
-
-[testenv:flake8]
-basepython = python3
-deps = flake8
-commands = flake8 osm_ro_plugin --max-line-length 120 \
- --exclude .svn,CVS,.gz,.git,__pycache__,.tox,local,temp --ignore W291,W293,W503,W605,E123,E125,E203,E226,E241
-
-[testenv:unittest]
-basepython = python3
-commands = python3 -m unittest osm_ro_plugin.tests
-
-[testenv:build]
-basepython = python3
-deps = stdeb
- setuptools-version-command
-commands = python3 setup.py --command-packages=stdeb.command bdist_deb
-
#!/bin/bash
-
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
rm -rf deb_dist/*
mkdir -p deb_dist
-# main RO module
-make -C RO clean package
-cp RO/deb_dist/python3-osm-ro_*.deb deb_dist/
-
-# RO client
-make -C RO-client clean package
-cp RO-client/deb_dist/python3-osm-roclient_*.deb deb_dist/
+# Building packages
+tox -e dist_ro_plugin &
+tox -e dist_ng_ro &
+tox -e dist_ro_sdn_arista_cloudvision &
+tox -e dist_ro_sdn_dpb &
+tox -e dist_ro_sdn_dynpac &
+tox -e dist_ro_sdn_floodlight_of &
+tox -e dist_ro_sdn_ietfl2vpn &
+tox -e dist_ro_sdn_juniper_contrail &
+tox -e dist_ro_sdn_odl_of &
+tox -e dist_ro_sdn_onos_of &
+tox -e dist_ro_sdn_onos_vpls &
+tox -e dist_ro_vim_aws &
+tox -e dist_ro_vim_azure &
+tox -e dist_ro_vim_fos &
+tox -e dist_ro_vim_opennebula &
+tox -e dist_ro_vim_openstack &
+tox -e dist_ro_vim_openvim &
+tox -e dist_ro_vim_vmware &
+while true; do
+ wait -n || {
+ code="$?"
+ ([[ $code = "127" ]] && exit 0 || exit "$code")
+ break
+ }
+done;
+# Copying packages
# RO plugin
-make -C RO-plugin clean package
cp RO-plugin/deb_dist/python3-osm-ro-plugin_*.deb deb_dist/
# NG-RO
-make -C NG-RO clean package
cp NG-RO/deb_dist/python3-osm-ng-ro_*.deb deb_dist/
# VIM plugings: vmware, openstack, AWS, fos, azure, Opennebula,
for vim_plugin in RO-VIM-*
do
- make -C $vim_plugin clean package
cp ${vim_plugin}/deb_dist/python3-osm-rovim*.deb deb_dist/
done
# SDN plugins: DynPac, Ietfl2vpn, Onosof Floodlightof
for sdn_plugin in RO-SDN-*
do
- [[ "$sdn_plugin" == RO-SDN-tapi ]] && continue # tapi folder appears at Jenkins due to container reuse
- [[ "$sdn_plugin" == RO-SDN-arista ]] && continue # arista folder appears at Jenkins due to container reuse
- make -C $sdn_plugin clean package
cp ${sdn_plugin}/deb_dist/python3-osm-rosdn*.deb deb_dist/
done
# See the License for the specific language governing permissions and
# limitations under the License.
-for tox_file in `ls */tox.ini` ; do
- [ "$tox_file" = "RO-client/tox.ini" ] || [ "$tox_file" = "RO-VIM-vmware/tox.ini" ] ||
- [ "$tox_file" = "RO-VIM-openvim/tox.ini" ] || [ "$tox_file" = "build/tox.ini" ] && continue
- echo
- echo launching "$tox_file"
- tox -c "$tox_file" --recreate || exit 1
-done
-
+echo launching tox
+OUTPUT=$(TOX_PARALLEL_NO_SPINNER=1 tox --parallel=auto)
+printf "$OUTPUT"
--- /dev/null
+#######################################################################################
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#######################################################################################
+
+[unittest]
+plugins = nose2.plugins.junitxml
+
+[junit-xml]
+always-on = True
+keep_restricted = False
+path = nosetests.xml
+test_fullname = False
--- /dev/null
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+##
+
+git+https://osm.etsi.org/gerrit/osm/common.git@master#egg=osm-common
--- /dev/null
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+##
+
+git+https://osm.etsi.org/gerrit/osm/common.git@master#egg=osm-common
+ # via -r requirements-dev.in
--- /dev/null
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+##
+
+stdeb
+setuptools-version-command
--- /dev/null
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+##
+
+#
+# This file is autogenerated by pip-compile
+# To update, run:
+#
+# pip-compile --output-file=requirements-dist.txt requirements-dist.in
+#
+setuptools-version-command==2.2
+ # via -r requirements-dist.in
+stdeb==0.10.0
+ # via -r requirements-dist.in
+
+# The following packages are considered to be unsafe in a requirements file:
+# setuptools
--- /dev/null
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+##
+
+-e RO-plugin
+coverage
+mock
+nose2
--- /dev/null
+#######################################################################################
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#######################################################################################
+
+#
+# This file is autogenerated by pip-compile
+# To update, run:
+#
+# pip-compile --output-file=requirements-test.txt requirements-test.in
+#
+-e RO-plugin
+ # via -r requirements-test.in
+coverage==5.4
+ # via
+ # -r requirements-test.in
+ # nose2
+mock==4.0.3
+ # via -r requirements-test.in
+nose2==0.10.0
+ # via -r requirements-test.in
+six==1.15.0
+ # via nose2
--- /dev/null
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+##
+
+azure==4.0.0
+boto
+CherryPy==18.1.2
+cryptography>=2.5
+cvprac
+fog05==0.2.0
+fog05-sdk==0.2.0
+# TODO py3 genisoimage
+logutils
+netaddr
+networking-l2gw
+oca
+paramiko
+prettytable
+progressbar
+pyangbind
+pyone
+python-cinderclient
+python-glanceclient
+python-keystoneclient
+python-neutronclient
+python-novaclient
+python-openstackclient
+pyvcloud==19.1.1
+pyvmomi
+pyyaml
+requests
+sphinx
+yaks==0.3.0.post1
+uuid
+zenoh==0.3.0
--- /dev/null
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+##
+
+#
+# This file is autogenerated by pip-compile
+# To update, run:
+#
+# pip-compile --output-file=requirements.txt requirements.in
+#
+adal==1.2.6
+ # via
+ # azure-datalake-store
+ # msrestazure
+aenum==3.0.0
+ # via pyone
+alabaster==0.7.12
+ # via sphinx
+alembic==1.5.4
+ # via
+ # neutron
+ # oslo.db
+amqp==5.0.5
+ # via
+ # kombu
+ # oslo.messaging
+appdirs==1.4.4
+ # via openstacksdk
+argparse==1.4.0
+ # via unittest2
+attrs==20.3.0
+ # via
+ # cmd2
+ # jsonschema
+azure-applicationinsights==0.1.0
+ # via azure
+azure-batch==4.1.3
+ # via azure
+azure-common==1.1.26
+ # via
+ # azure-applicationinsights
+ # azure-batch
+ # azure-cosmosdb-table
+ # azure-eventgrid
+ # azure-graphrbac
+ # azure-keyvault
+ # azure-loganalytics
+ # azure-mgmt-advisor
+ # azure-mgmt-applicationinsights
+ # azure-mgmt-authorization
+ # azure-mgmt-batch
+ # azure-mgmt-batchai
+ # azure-mgmt-billing
+ # azure-mgmt-cdn
+ # azure-mgmt-cognitiveservices
+ # azure-mgmt-commerce
+ # azure-mgmt-compute
+ # azure-mgmt-consumption
+ # azure-mgmt-containerinstance
+ # azure-mgmt-containerregistry
+ # azure-mgmt-containerservice
+ # azure-mgmt-cosmosdb
+ # azure-mgmt-datafactory
+ # azure-mgmt-datalake-analytics
+ # azure-mgmt-datalake-store
+ # azure-mgmt-datamigration
+ # azure-mgmt-devspaces
+ # azure-mgmt-devtestlabs
+ # azure-mgmt-dns
+ # azure-mgmt-eventgrid
+ # azure-mgmt-eventhub
+ # azure-mgmt-hanaonazure
+ # azure-mgmt-iotcentral
+ # azure-mgmt-iothub
+ # azure-mgmt-iothubprovisioningservices
+ # azure-mgmt-keyvault
+ # azure-mgmt-loganalytics
+ # azure-mgmt-logic
+ # azure-mgmt-machinelearningcompute
+ # azure-mgmt-managementgroups
+ # azure-mgmt-managementpartner
+ # azure-mgmt-maps
+ # azure-mgmt-marketplaceordering
+ # azure-mgmt-media
+ # azure-mgmt-monitor
+ # azure-mgmt-msi
+ # azure-mgmt-network
+ # azure-mgmt-notificationhubs
+ # azure-mgmt-policyinsights
+ # azure-mgmt-powerbiembedded
+ # azure-mgmt-rdbms
+ # azure-mgmt-recoveryservices
+ # azure-mgmt-recoveryservicesbackup
+ # azure-mgmt-redis
+ # azure-mgmt-relay
+ # azure-mgmt-reservations
+ # azure-mgmt-resource
+ # azure-mgmt-scheduler
+ # azure-mgmt-search
+ # azure-mgmt-servicebus
+ # azure-mgmt-servicefabric
+ # azure-mgmt-signalr
+ # azure-mgmt-sql
+ # azure-mgmt-storage
+ # azure-mgmt-subscription
+ # azure-mgmt-trafficmanager
+ # azure-mgmt-web
+ # azure-servicebus
+ # azure-servicefabric
+ # azure-servicemanagement-legacy
+ # azure-storage-blob
+ # azure-storage-common
+ # azure-storage-file
+ # azure-storage-queue
+azure-cosmosdb-nspkg==2.0.2
+ # via azure-cosmosdb-table
+azure-cosmosdb-table==1.0.6
+ # via azure
+azure-datalake-store==0.0.51
+ # via azure
+azure-eventgrid==1.3.0
+ # via azure
+azure-graphrbac==0.40.0
+ # via azure
+azure-keyvault==1.1.0
+ # via azure
+azure-loganalytics==0.1.0
+ # via azure
+azure-mgmt-advisor==1.0.1
+ # via azure-mgmt
+azure-mgmt-applicationinsights==0.1.1
+ # via azure-mgmt
+azure-mgmt-authorization==0.50.0
+ # via azure-mgmt
+azure-mgmt-batch==5.0.1
+ # via azure-mgmt
+azure-mgmt-batchai==2.0.0
+ # via azure-mgmt
+azure-mgmt-billing==0.2.0
+ # via azure-mgmt
+azure-mgmt-cdn==3.1.0
+ # via azure-mgmt
+azure-mgmt-cognitiveservices==3.0.0
+ # via azure-mgmt
+azure-mgmt-commerce==1.0.1
+ # via azure-mgmt
+azure-mgmt-compute==4.6.2
+ # via azure-mgmt
+azure-mgmt-consumption==2.0.0
+ # via azure-mgmt
+azure-mgmt-containerinstance==1.5.0
+ # via azure-mgmt
+azure-mgmt-containerregistry==2.8.0
+ # via azure-mgmt
+azure-mgmt-containerservice==4.4.0
+ # via azure-mgmt
+azure-mgmt-cosmosdb==0.4.1
+ # via azure-mgmt
+azure-mgmt-datafactory==0.6.0
+ # via azure-mgmt
+azure-mgmt-datalake-analytics==0.6.0
+ # via azure-mgmt
+azure-mgmt-datalake-nspkg==3.0.1
+ # via
+ # azure-mgmt-datalake-analytics
+ # azure-mgmt-datalake-store
+azure-mgmt-datalake-store==0.5.0
+ # via azure-mgmt
+azure-mgmt-datamigration==1.0.0
+ # via azure-mgmt
+azure-mgmt-devspaces==0.1.0
+ # via azure-mgmt
+azure-mgmt-devtestlabs==2.2.0
+ # via azure-mgmt
+azure-mgmt-dns==2.1.0
+ # via azure-mgmt
+azure-mgmt-eventgrid==1.0.0
+ # via azure-mgmt
+azure-mgmt-eventhub==2.6.0
+ # via azure-mgmt
+azure-mgmt-hanaonazure==0.1.1
+ # via azure-mgmt
+azure-mgmt-iotcentral==0.1.0
+ # via azure-mgmt
+azure-mgmt-iothub==0.5.0
+ # via azure-mgmt
+azure-mgmt-iothubprovisioningservices==0.2.0
+ # via azure-mgmt
+azure-mgmt-keyvault==1.1.0
+ # via azure-mgmt
+azure-mgmt-loganalytics==0.2.0
+ # via azure-mgmt
+azure-mgmt-logic==3.0.0
+ # via azure-mgmt
+azure-mgmt-machinelearningcompute==0.4.1
+ # via azure-mgmt
+azure-mgmt-managementgroups==0.1.0
+ # via azure-mgmt
+azure-mgmt-managementpartner==0.1.1
+ # via azure-mgmt
+azure-mgmt-maps==0.1.0
+ # via azure-mgmt
+azure-mgmt-marketplaceordering==0.1.0
+ # via azure-mgmt
+azure-mgmt-media==1.0.0
+ # via azure-mgmt
+azure-mgmt-monitor==0.5.2
+ # via azure-mgmt
+azure-mgmt-msi==0.2.0
+ # via azure-mgmt
+azure-mgmt-network==2.7.0
+ # via azure-mgmt
+azure-mgmt-notificationhubs==2.1.0
+ # via azure-mgmt
+azure-mgmt-nspkg==3.0.2
+ # via
+ # azure-mgmt-advisor
+ # azure-mgmt-applicationinsights
+ # azure-mgmt-authorization
+ # azure-mgmt-batch
+ # azure-mgmt-batchai
+ # azure-mgmt-billing
+ # azure-mgmt-cognitiveservices
+ # azure-mgmt-commerce
+ # azure-mgmt-consumption
+ # azure-mgmt-cosmosdb
+ # azure-mgmt-datafactory
+ # azure-mgmt-datalake-nspkg
+ # azure-mgmt-datamigration
+ # azure-mgmt-devspaces
+ # azure-mgmt-devtestlabs
+ # azure-mgmt-dns
+ # azure-mgmt-eventgrid
+ # azure-mgmt-hanaonazure
+ # azure-mgmt-iotcentral
+ # azure-mgmt-iothub
+ # azure-mgmt-iothubprovisioningservices
+ # azure-mgmt-keyvault
+ # azure-mgmt-loganalytics
+ # azure-mgmt-logic
+ # azure-mgmt-machinelearningcompute
+ # azure-mgmt-managementgroups
+ # azure-mgmt-maps
+ # azure-mgmt-marketplaceordering
+ # azure-mgmt-monitor
+ # azure-mgmt-msi
+ # azure-mgmt-policyinsights
+ # azure-mgmt-powerbiembedded
+ # azure-mgmt-recoveryservices
+ # azure-mgmt-recoveryservicesbackup
+ # azure-mgmt-redis
+ # azure-mgmt-relay
+ # azure-mgmt-reservations
+ # azure-mgmt-scheduler
+ # azure-mgmt-servicefabric
+ # azure-mgmt-signalr
+ # azure-mgmt-sql
+ # azure-mgmt-storage
+ # azure-mgmt-subscription
+ # azure-mgmt-trafficmanager
+ # azure-mgmt-web
+azure-mgmt-policyinsights==0.1.0
+ # via azure-mgmt
+azure-mgmt-powerbiembedded==2.0.0
+ # via azure-mgmt
+azure-mgmt-rdbms==1.9.0
+ # via azure-mgmt
+azure-mgmt-recoveryservices==0.3.0
+ # via azure-mgmt
+azure-mgmt-recoveryservicesbackup==0.3.0
+ # via azure-mgmt
+azure-mgmt-redis==5.0.0
+ # via azure-mgmt
+azure-mgmt-relay==0.1.0
+ # via azure-mgmt
+azure-mgmt-reservations==0.2.1
+ # via azure-mgmt
+azure-mgmt-resource==2.2.0
+ # via azure-mgmt
+azure-mgmt-scheduler==2.0.0
+ # via azure-mgmt
+azure-mgmt-search==2.1.0
+ # via azure-mgmt
+azure-mgmt-servicebus==0.5.3
+ # via azure-mgmt
+azure-mgmt-servicefabric==0.2.0
+ # via azure-mgmt
+azure-mgmt-signalr==0.1.1
+ # via azure-mgmt
+azure-mgmt-sql==0.9.1
+ # via azure-mgmt
+azure-mgmt-storage==2.0.0
+ # via azure-mgmt
+azure-mgmt-subscription==0.2.0
+ # via azure-mgmt
+azure-mgmt-trafficmanager==0.50.0
+ # via azure-mgmt
+azure-mgmt-web==0.35.0
+ # via azure-mgmt
+azure-mgmt==4.0.0
+ # via azure
+azure-nspkg==3.0.2
+ # via
+ # azure-applicationinsights
+ # azure-batch
+ # azure-cosmosdb-nspkg
+ # azure-graphrbac
+ # azure-keyvault
+ # azure-loganalytics
+ # azure-mgmt-nspkg
+ # azure-servicebus
+ # azure-servicefabric
+ # azure-servicemanagement-legacy
+azure-servicebus==0.21.1
+ # via azure
+azure-servicefabric==6.3.0.0
+ # via azure
+azure-servicemanagement-legacy==0.20.7
+ # via azure
+azure-storage-blob==1.5.0
+ # via azure
+azure-storage-common==1.4.2
+ # via
+ # azure-storage-blob
+ # azure-storage-file
+ # azure-storage-queue
+azure-storage-file==1.4.0
+ # via azure
+azure-storage-queue==1.4.0
+ # via azure
+azure==4.0.0
+ # via -r requirements.in
+babel==2.9.0
+ # via
+ # os-xenapi
+ # sphinx
+bcrypt==3.2.0
+ # via paramiko
+beautifulsoup4==4.9.3
+ # via webtest
+bitarray==1.6.3
+ # via pyangbind
+boto==2.49.0
+ # via -r requirements.in
+cachetools==4.2.1
+ # via oslo.messaging
+certifi==2020.12.5
+ # via
+ # msrest
+ # requests
+cffi==1.14.5
+ # via
+ # azure-datalake-store
+ # bcrypt
+ # cryptography
+ # oslo.privsep
+ # pynacl
+chardet==4.0.0
+ # via requests
+cheroot==8.5.2
+ # via cherrypy
+cherrypy==18.1.2
+ # via -r requirements.in
+cliff==3.6.0
+ # via
+ # osc-lib
+ # python-designateclient
+ # python-neutronclient
+ # python-openstackclient
+cmd2==1.5.0
+ # via cliff
+colorama==0.4.4
+ # via cmd2
+cryptography==3.4.4
+ # via
+ # -r requirements.in
+ # adal
+ # azure-cosmosdb-table
+ # azure-keyvault
+ # azure-storage-common
+ # openstacksdk
+ # paramiko
+ # pyopenssl
+cvprac==1.0.5
+ # via -r requirements.in
+debtcollector==2.2.0
+ # via
+ # neutron
+ # os-vif
+ # oslo.config
+ # oslo.context
+ # oslo.db
+ # oslo.log
+ # oslo.messaging
+ # oslo.middleware
+ # oslo.service
+ # oslo.utils
+ # pycadf
+ # python-designateclient
+ # python-keystoneclient
+ # python-neutronclient
+decorator==4.4.2
+ # via
+ # dogpile.cache
+ # neutron
+ # openstacksdk
+ # sqlalchemy-migrate
+dicttoxml==1.7.4
+ # via pyone
+dnspython==1.16.0
+ # via eventlet
+docutils==0.16
+ # via sphinx
+dogpile.cache==1.1.2
+ # via
+ # openstacksdk
+ # oslo.cache
+enum34==1.1.10
+ # via pyangbind
+eventlet==0.30.1
+ # via
+ # neutron
+ # os-ken
+ # os-xenapi
+ # oslo.privsep
+ # oslo.service
+extras==1.0.0
+ # via testtools
+fasteners==0.16
+ # via
+ # oslo.concurrency
+ # tooz
+fixtures==3.0.0
+ # via
+ # oslo.service
+ # ovsdbapp
+ # testtools
+flufl.enum==4.1.1
+ # via pyvcloud
+fog05-sdk==0.2.0
+ # via
+ # -r requirements.in
+ # fog05
+fog05==0.2.0
+ # via -r requirements.in
+futurist==2.3.0
+ # via
+ # neutron
+ # oslo.messaging
+ # tooz
+greenlet==1.0.0
+ # via
+ # eventlet
+ # oslo.privsep
+ # oslo.service
+hexdump==3.3
+ # via yaks
+httplib2==0.19.0
+ # via neutron
+humanfriendly==9.1
+ # via pyvcloud
+idna==2.10
+ # via requests
+imagesize==1.2.0
+ # via sphinx
+iso8601==0.1.14
+ # via
+ # keystoneauth1
+ # openstacksdk
+ # oslo.utils
+ # oslo.versionedobjects
+ # python-neutronclient
+ # python-novaclient
+isodate==0.6.0
+ # via msrest
+jaraco.functools==3.2.0
+ # via
+ # cheroot
+ # tempora
+jinja2==2.11.3
+ # via
+ # neutron
+ # oslo.middleware
+ # oslo.reports
+ # sphinx
+jmespath==0.10.0
+ # via openstacksdk
+jsonpatch==1.28
+ # via
+ # openstacksdk
+ # warlock
+jsonpointer==2.0
+ # via jsonpatch
+jsonschema==3.2.0
+ # via
+ # fog05
+ # fog05-sdk
+ # python-designateclient
+ # warlock
+keystoneauth1==4.3.0
+ # via
+ # keystonemiddleware
+ # neutron
+ # neutron-lib
+ # openstacksdk
+ # osc-lib
+ # python-cinderclient
+ # python-designateclient
+ # python-glanceclient
+ # python-keystoneclient
+ # python-neutronclient
+ # python-novaclient
+keystonemiddleware==9.2.0
+ # via neutron
+kombu==5.0.2
+ # via oslo.messaging
+linecache2==1.0.0
+ # via traceback2
+logutils==0.3.5
+ # via
+ # -r requirements.in
+ # pecan
+lxml==4.6.2
+ # via
+ # pyang
+ # pyangbind
+ # pyone
+ # pyvcloud
+mako==1.1.4
+ # via
+ # alembic
+ # pecan
+markupsafe==1.1.1
+ # via
+ # jinja2
+ # mako
+more-itertools==8.7.0
+ # via
+ # cheroot
+ # cherrypy
+ # jaraco.functools
+msgpack==1.0.2
+ # via
+ # os-ken
+ # oslo.privsep
+ # oslo.serialization
+ # tooz
+msrest==0.6.21
+ # via
+ # azure-applicationinsights
+ # azure-eventgrid
+ # azure-keyvault
+ # azure-loganalytics
+ # azure-mgmt-cdn
+ # azure-mgmt-compute
+ # azure-mgmt-containerinstance
+ # azure-mgmt-containerregistry
+ # azure-mgmt-containerservice
+ # azure-mgmt-dns
+ # azure-mgmt-eventhub
+ # azure-mgmt-keyvault
+ # azure-mgmt-managementpartner
+ # azure-mgmt-media
+ # azure-mgmt-network
+ # azure-mgmt-notificationhubs
+ # azure-mgmt-rdbms
+ # azure-mgmt-resource
+ # azure-mgmt-search
+ # azure-mgmt-servicebus
+ # azure-mgmt-servicefabric
+ # azure-mgmt-signalr
+ # azure-servicefabric
+ # msrestazure
+msrestazure==0.6.4
+ # via
+ # azure-batch
+ # azure-eventgrid
+ # azure-graphrbac
+ # azure-keyvault
+ # azure-mgmt-advisor
+ # azure-mgmt-applicationinsights
+ # azure-mgmt-authorization
+ # azure-mgmt-batch
+ # azure-mgmt-batchai
+ # azure-mgmt-billing
+ # azure-mgmt-cdn
+ # azure-mgmt-cognitiveservices
+ # azure-mgmt-commerce
+ # azure-mgmt-compute
+ # azure-mgmt-consumption
+ # azure-mgmt-containerinstance
+ # azure-mgmt-containerregistry
+ # azure-mgmt-containerservice
+ # azure-mgmt-cosmosdb
+ # azure-mgmt-datafactory
+ # azure-mgmt-datalake-analytics
+ # azure-mgmt-datalake-store
+ # azure-mgmt-datamigration
+ # azure-mgmt-devspaces
+ # azure-mgmt-devtestlabs
+ # azure-mgmt-dns
+ # azure-mgmt-eventgrid
+ # azure-mgmt-eventhub
+ # azure-mgmt-hanaonazure
+ # azure-mgmt-iotcentral
+ # azure-mgmt-iothub
+ # azure-mgmt-iothubprovisioningservices
+ # azure-mgmt-keyvault
+ # azure-mgmt-loganalytics
+ # azure-mgmt-logic
+ # azure-mgmt-machinelearningcompute
+ # azure-mgmt-managementgroups
+ # azure-mgmt-managementpartner
+ # azure-mgmt-maps
+ # azure-mgmt-marketplaceordering
+ # azure-mgmt-media
+ # azure-mgmt-monitor
+ # azure-mgmt-msi
+ # azure-mgmt-network
+ # azure-mgmt-notificationhubs
+ # azure-mgmt-policyinsights
+ # azure-mgmt-powerbiembedded
+ # azure-mgmt-rdbms
+ # azure-mgmt-recoveryservices
+ # azure-mgmt-recoveryservicesbackup
+ # azure-mgmt-redis
+ # azure-mgmt-relay
+ # azure-mgmt-reservations
+ # azure-mgmt-resource
+ # azure-mgmt-scheduler
+ # azure-mgmt-search
+ # azure-mgmt-servicebus
+ # azure-mgmt-servicefabric
+ # azure-mgmt-signalr
+ # azure-mgmt-sql
+ # azure-mgmt-storage
+ # azure-mgmt-subscription
+ # azure-mgmt-trafficmanager
+ # azure-mgmt-web
+munch==2.5.0
+ # via openstacksdk
+mvar==0.0.1
+ # via
+ # fog05
+ # fog05-sdk
+ # yaks
+netaddr==0.8.0
+ # via
+ # -r requirements.in
+ # neutron
+ # neutron-lib
+ # os-ken
+ # os-vif
+ # oslo.config
+ # oslo.utils
+ # oslo.versionedobjects
+ # osprofiler
+ # ovsdbapp
+ # python-neutronclient
+netifaces==0.10.9
+ # via
+ # neutron
+ # openstacksdk
+ # oslo.utils
+networking-l2gw==17.0.1
+ # via -r requirements.in
+neutron-lib==2.8.0
+ # via
+ # networking-l2gw
+ # neutron
+neutron==17.1.0
+ # via networking-l2gw
+oauthlib==3.1.0
+ # via requests-oauthlib
+oca==4.10.0
+ # via -r requirements.in
+openstacksdk==0.53.0
+ # via
+ # neutron
+ # os-client-config
+ # osc-lib
+ # python-openstackclient
+os-client-config==2.1.0
+ # via python-neutronclient
+os-ken==1.3.0
+ # via
+ # neutron
+ # neutron-lib
+os-service-types==1.7.0
+ # via
+ # keystoneauth1
+ # openstacksdk
+os-traits==2.4.0
+ # via neutron-lib
+os-vif==2.3.0
+ # via neutron
+os-xenapi==0.3.4
+ # via neutron
+osc-lib==2.3.1
+ # via
+ # python-designateclient
+ # python-neutronclient
+ # python-openstackclient
+oslo.cache==2.7.0
+ # via
+ # keystonemiddleware
+ # neutron
+oslo.concurrency==4.4.0
+ # via
+ # neutron
+ # neutron-lib
+ # os-vif
+ # os-xenapi
+ # oslo.service
+ # oslo.versionedobjects
+ # osprofiler
+oslo.config==8.4.0
+ # via
+ # keystonemiddleware
+ # neutron
+ # neutron-lib
+ # os-ken
+ # os-vif
+ # oslo.cache
+ # oslo.concurrency
+ # oslo.db
+ # oslo.log
+ # oslo.messaging
+ # oslo.middleware
+ # oslo.policy
+ # oslo.privsep
+ # oslo.service
+ # oslo.upgradecheck
+ # oslo.versionedobjects
+ # pycadf
+ # python-keystoneclient
+oslo.context==3.1.1
+ # via
+ # keystonemiddleware
+ # neutron
+ # neutron-lib
+ # oslo.log
+ # oslo.middleware
+ # oslo.policy
+ # oslo.versionedobjects
+oslo.db==8.5.0
+ # via
+ # neutron
+ # neutron-lib
+oslo.i18n==5.0.1
+ # via
+ # keystonemiddleware
+ # neutron
+ # neutron-lib
+ # os-vif
+ # os-xenapi
+ # osc-lib
+ # oslo.cache
+ # oslo.concurrency
+ # oslo.config
+ # oslo.db
+ # oslo.log
+ # oslo.middleware
+ # oslo.policy
+ # oslo.privsep
+ # oslo.reports
+ # oslo.service
+ # oslo.upgradecheck
+ # oslo.utils
+ # oslo.versionedobjects
+ # python-cinderclient
+ # python-glanceclient
+ # python-keystoneclient
+ # python-neutronclient
+ # python-novaclient
+ # python-openstackclient
+oslo.log==4.4.0
+ # via
+ # keystonemiddleware
+ # neutron
+ # neutron-lib
+ # os-vif
+ # os-xenapi
+ # oslo.cache
+ # oslo.messaging
+ # oslo.privsep
+ # oslo.service
+ # oslo.versionedobjects
+ # python-neutronclient
+oslo.messaging==12.7.0
+ # via
+ # neutron
+ # neutron-lib
+ # oslo.versionedobjects
+oslo.middleware==4.1.1
+ # via
+ # neutron
+ # oslo.messaging
+oslo.policy==3.6.2
+ # via
+ # neutron
+ # neutron-lib
+ # oslo.upgradecheck
+oslo.privsep==2.4.0
+ # via
+ # neutron
+ # os-vif
+oslo.reports==2.2.0
+ # via neutron
+oslo.rootwrap==6.2.0
+ # via neutron
+oslo.serialization==4.1.0
+ # via
+ # keystonemiddleware
+ # neutron
+ # neutron-lib
+ # oslo.log
+ # oslo.messaging
+ # oslo.policy
+ # oslo.reports
+ # oslo.versionedobjects
+ # osprofiler
+ # pycadf
+ # python-designateclient
+ # python-keystoneclient
+ # python-neutronclient
+ # python-novaclient
+ # tooz
+oslo.service==2.5.0
+ # via
+ # neutron
+ # neutron-lib
+ # oslo.messaging
+oslo.upgradecheck==1.3.0
+ # via neutron
+oslo.utils==4.7.0
+ # via
+ # keystonemiddleware
+ # neutron
+ # neutron-lib
+ # os-xenapi
+ # osc-lib
+ # oslo.cache
+ # oslo.concurrency
+ # oslo.db
+ # oslo.log
+ # oslo.messaging
+ # oslo.middleware
+ # oslo.policy
+ # oslo.privsep
+ # oslo.reports
+ # oslo.serialization
+ # oslo.service
+ # oslo.upgradecheck
+ # oslo.versionedobjects
+ # osprofiler
+ # python-cinderclient
+ # python-designateclient
+ # python-glanceclient
+ # python-keystoneclient
+ # python-neutronclient
+ # python-novaclient
+ # python-openstackclient
+ # tooz
+oslo.versionedobjects==2.4.0
+ # via
+ # neutron
+ # neutron-lib
+ # os-vif
+osprofiler==3.4.0
+ # via
+ # neutron
+ # neutron-lib
+ovs==2.13.0
+ # via
+ # neutron
+ # os-ken
+ # ovsdbapp
+ovsdbapp==1.8.0
+ # via
+ # networking-l2gw
+ # neutron
+ # os-vif
+packaging==20.9
+ # via
+ # oslo.utils
+ # sphinx
+papero==0.2.7
+ # via yaks
+paramiko==2.7.2
+ # via
+ # -r requirements.in
+ # os-xenapi
+paste==3.5.0
+ # via
+ # neutron
+ # oslo.service
+pastedeploy==2.1.1
+ # via
+ # neutron
+ # oslo.service
+pbr==5.5.1
+ # via
+ # cliff
+ # debtcollector
+ # fixtures
+ # futurist
+ # keystoneauth1
+ # keystonemiddleware
+ # networking-l2gw
+ # neutron
+ # neutron-lib
+ # openstacksdk
+ # os-ken
+ # os-service-types
+ # os-traits
+ # os-vif
+ # os-xenapi
+ # osc-lib
+ # oslo.concurrency
+ # oslo.context
+ # oslo.db
+ # oslo.i18n
+ # oslo.log
+ # oslo.messaging
+ # oslo.middleware
+ # oslo.reports
+ # oslo.serialization
+ # oslo.utils
+ # ovsdbapp
+ # python-cinderclient
+ # python-designateclient
+ # python-glanceclient
+ # python-keystoneclient
+ # python-neutronclient
+ # python-novaclient
+ # python-openstackclient
+ # sqlalchemy-migrate
+ # stevedore
+ # testresources
+ # testscenarios
+ # testtools
+ # tooz
+pecan==1.4.0
+ # via
+ # neutron
+ # neutron-lib
+portend==2.7.0
+ # via cherrypy
+prettytable==0.7.2
+ # via
+ # -r requirements.in
+ # cliff
+ # oslo.upgradecheck
+ # osprofiler
+ # python-cinderclient
+ # python-glanceclient
+ # python-novaclient
+progressbar==2.5
+ # via -r requirements.in
+psutil==5.8.0
+ # via
+ # neutron
+ # oslo.reports
+pyang==2.4.0
+ # via pyangbind
+pyangbind==0.8.1
+ # via
+ # -r requirements.in
+ # fog05-sdk
+pycadf==3.1.1
+ # via keystonemiddleware
+pycparser==2.20
+ # via cffi
+pygments==2.7.4
+ # via
+ # pyvcloud
+ # sphinx
+pyinotify==0.9.6
+ # via oslo.log
+pyjwt==2.0.1
+ # via adal
+pynacl==1.4.0
+ # via paramiko
+pyone==5.12.7
+ # via -r requirements.in
+pyopenssl==20.0.1
+ # via
+ # neutron
+ # python-glanceclient
+pyparsing==2.4.7
+ # via
+ # cliff
+ # httplib2
+ # oslo.utils
+ # packaging
+pyperclip==1.8.1
+ # via cmd2
+pyroute2==0.5.14
+ # via
+ # neutron
+ # os-vif
+pyrsistent==0.17.3
+ # via jsonschema
+python-cinderclient==7.3.0
+ # via
+ # -r requirements.in
+ # python-openstackclient
+python-dateutil==2.8.1
+ # via
+ # adal
+ # alembic
+ # azure-cosmosdb-table
+ # azure-storage-common
+ # oslo.log
+python-designateclient==4.2.0
+ # via neutron
+python-editor==1.0.4
+ # via alembic
+python-glanceclient==3.2.2
+ # via -r requirements.in
+python-keystoneclient==4.2.0
+ # via
+ # -r requirements.in
+ # keystonemiddleware
+ # python-neutronclient
+ # python-openstackclient
+python-mimeparse==1.6.0
+ # via testtools
+python-neutronclient==7.3.0
+ # via
+ # -r requirements.in
+ # networking-l2gw
+ # neutron
+python-novaclient==17.3.0
+ # via
+ # -r requirements.in
+ # neutron
+ # python-openstackclient
+python-openstackclient==5.4.0
+ # via -r requirements.in
+pytz==2021.1
+ # via
+ # babel
+ # oslo.serialization
+ # oslo.utils
+ # pycadf
+ # tempora
+pyvcloud==19.1.1
+ # via -r requirements.in
+pyvmomi==7.0.1
+ # via -r requirements.in
+pyyaml==5.4.1
+ # via
+ # -r requirements.in
+ # cliff
+ # openstacksdk
+ # oslo.config
+ # oslo.messaging
+ # oslo.policy
+ # pyvcloud
+regex==2020.11.13
+ # via pyangbind
+repoze.lru==0.7
+ # via routes
+requests-oauthlib==1.3.0
+ # via msrest
+requests==2.25.1
+ # via
+ # -r requirements.in
+ # adal
+ # azure-cosmosdb-table
+ # azure-datalake-store
+ # azure-keyvault
+ # azure-servicebus
+ # azure-servicemanagement-legacy
+ # azure-storage-common
+ # cvprac
+ # keystoneauth1
+ # keystonemiddleware
+ # msrest
+ # neutron
+ # oslo.config
+ # oslo.policy
+ # osprofiler
+ # pyone
+ # python-cinderclient
+ # python-designateclient
+ # python-glanceclient
+ # python-keystoneclient
+ # python-neutronclient
+ # pyvcloud
+ # pyvmomi
+ # requests-oauthlib
+ # sphinx
+requestsexceptions==1.4.0
+ # via openstacksdk
+rfc3986==1.4.0
+ # via oslo.config
+routes==2.5.1
+ # via
+ # neutron
+ # os-ken
+ # oslo.service
+setproctitle==1.2.2
+ # via neutron-lib
+simplejson==3.17.2
+ # via
+ # osc-lib
+ # python-cinderclient
+ # python-neutronclient
+ # python-novaclient
+six==1.15.0
+ # via
+ # bcrypt
+ # cheroot
+ # debtcollector
+ # eventlet
+ # fasteners
+ # fixtures
+ # futurist
+ # isodate
+ # jsonschema
+ # keystoneauth1
+ # keystonemiddleware
+ # msrestazure
+ # munch
+ # os-ken
+ # os-xenapi
+ # oslo.i18n
+ # oslo.reports
+ # oslo.rootwrap
+ # oslo.utils
+ # osprofiler
+ # paste
+ # pecan
+ # pyangbind
+ # pycadf
+ # pynacl
+ # pyone
+ # pyopenssl
+ # python-cinderclient
+ # python-dateutil
+ # python-designateclient
+ # python-keystoneclient
+ # python-openstackclient
+ # pyvmomi
+ # routes
+ # sqlalchemy-migrate
+ # tenacity
+ # testtools
+ # tinyrpc
+ # unittest2
+ # warlock
+ # webtest
+snowballstemmer==2.1.0
+ # via sphinx
+sortedcontainers==2.3.0
+ # via ovs
+soupsieve==2.2
+ # via beautifulsoup4
+sphinx==3.4.3
+ # via -r requirements.in
+sphinxcontrib-applehelp==1.0.2
+ # via sphinx
+sphinxcontrib-devhelp==1.0.2
+ # via sphinx
+sphinxcontrib-htmlhelp==1.0.3
+ # via sphinx
+sphinxcontrib-jsmath==1.0.1
+ # via sphinx
+sphinxcontrib-qthelp==1.0.3
+ # via sphinx
+sphinxcontrib-serializinghtml==1.1.4
+ # via sphinx
+sqlalchemy-migrate==0.13.0
+ # via oslo.db
+sqlalchemy==1.3.23
+ # via
+ # alembic
+ # neutron
+ # neutron-lib
+ # oslo.db
+ # sqlalchemy-migrate
+sqlparse==0.4.1
+ # via sqlalchemy-migrate
+statsd==3.3.0
+ # via oslo.middleware
+stevedore==3.3.0
+ # via
+ # cliff
+ # dogpile.cache
+ # keystoneauth1
+ # neutron
+ # neutron-lib
+ # os-vif
+ # osc-lib
+ # oslo.config
+ # oslo.db
+ # oslo.messaging
+ # oslo.middleware
+ # oslo.policy
+ # python-cinderclient
+ # python-designateclient
+ # python-keystoneclient
+ # python-novaclient
+ # python-openstackclient
+ # tooz
+tblib==1.7.0
+ # via pyone
+tempita==0.5.2
+ # via sqlalchemy-migrate
+tempora==4.0.1
+ # via portend
+tenacity==6.3.1
+ # via
+ # neutron
+ # tooz
+testresources==2.0.1
+ # via oslo.db
+testscenarios==0.5.0
+ # via oslo.db
+testtools==2.4.0
+ # via
+ # fixtures
+ # testscenarios
+tinyrpc==1.0.4
+ # via os-ken
+tooz==2.8.0
+ # via neutron
+traceback2==1.4.0
+ # via
+ # testtools
+ # unittest2
+unittest2==1.1.0
+ # via testtools
+urllib3==1.26.3
+ # via requests
+uuid==1.30
+ # via -r requirements.in
+vine==5.0.0
+ # via amqp
+voluptuous==0.12.1
+ # via tooz
+waitress==1.4.4
+ # via webtest
+warlock==1.3.3
+ # via python-glanceclient
+wcwidth==0.2.5
+ # via cmd2
+webob==1.8.6
+ # via
+ # keystonemiddleware
+ # neutron
+ # neutron-lib
+ # os-ken
+ # oslo.messaging
+ # oslo.middleware
+ # oslo.service
+ # oslo.versionedobjects
+ # osprofiler
+ # pecan
+ # webtest
+webtest==2.0.35
+ # via pecan
+wrapt==1.12.1
+ # via
+ # debtcollector
+ # python-glanceclient
+xmltodict==0.12.0
+ # via pyone
+yaks==0.3.0.post1
+ # via
+ # -r requirements.in
+ # fog05
+ # fog05-sdk
+yappi==1.3.2
+ # via oslo.service
+zc.lockfile==2.0
+ # via cherrypy
+zenoh==0.3.0
+ # via -r requirements.in
+
+# The following packages are considered to be unsafe in a requirements file:
+# setuptools
--- /dev/null
+#######################################################################################
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#######################################################################################
+
+[tox]
+envlist = black, flake8, pylint, safety
+
+[tox:jenkins]
+toxworkdir = /tmp/.tox
+
+[testenv]
+usedevelop = True
+basepython = python3
+setenv = VIRTUAL_ENV={envdir}
+ PYTHONDONTWRITEBYTECODE = 1
+deps = -r{toxinidir}/requirements.txt
+parallel_show_output = true
+
+
+#######################################################################################
+[testenv:black]
+deps = black
+skip_install = true
+commands =
+ - black --check --diff NG-RO
+ - black --check --diff RO-plugin
+ - black --check --diff RO-SDN-arista_cloudvision
+ - black --check --diff RO-SDN-dpb
+ - black --check --diff RO-SDN-dynpac
+ - black --check --diff RO-SDN-floodlight_openflow
+ - black --check --diff RO-SDN-ietfl2vpn
+ - black --check --diff RO-SDN-juniper_contrail
+ - black --check --diff RO-SDN-odl_openflow
+ - black --check --diff RO-SDN-onos_openflow
+ - black --check --diff RO-SDN-onos_vpls
+ - black --check --diff RO-VIM-aws
+ - black --check --diff RO-VIM-azure
+ - black --check --diff RO-VIM-fos
+ - black --check --diff RO-VIM-opennebula
+ - black --check --diff RO-VIM-openstack
+ - black --check --diff RO-VIM-openvim
+ - black --check --diff RO-VIM-vmware
+
+
+#######################################################################################
+[testenv:cover]
+deps = {[testenv]deps}
+ -r{toxinidir}/requirements-dev.txt
+ -r{toxinidir}/requirements-test.txt
+skip_install = true
+commands =
+ sh -c 'rm -f nosetests.xml'
+ coverage erase
+ # NG-RO
+ - nose2 -C --coverage NG-RO/osm_ng_ro
+ sh -c 'mv .coverage .coverage_ng_ro'
+ # RO-plugin
+ - nose2 -C --coverage RO-plugin/osm_ro_plugin
+ sh -c 'mv .coverage .coverage_ro_plugin'
+ # RO-SDN-arista_cloudvision
+ - nose2 -C --coverage RO-SDN-arista_cloudvision/osm_rosdn_arista_cloudvision
+ sh -c 'mv .coverage .coverage_rosdn_arista_cloudvision'
+ # RO-SDN-dpb
+ - nose2 -C --coverage RO-SDN-dpb/osm_rosdn_dpb
+ sh -c 'mv .coverage .coverage_rosdn_dpb'
+ # RO-SDN-dynpac
+ - nose2 -C --coverage RO-SDN-dynpac/osm_rosdn_dynpac
+ sh -c 'mv .coverage .coverage_rosdn_dynpac'
+ # RO-SDN-floodlight_openflow
+ - nose2 -C --coverage RO-SDN-floodlight_openflow/osm_rosdn_floodlightof
+ sh -c 'mv .coverage .coverage_rosdn_floodlightof'
+ # RO-SDN-ietfl2vpn
+ - nose2 -C --coverage RO-SDN-ietfl2vpn/osm_rosdn_ietfl2vpn
+ sh -c 'mv .coverage .coverage_rosdn_ietfl2vpn'
+ # RO-SDN-juniper_contrail
+ - nose2 -C --coverage RO-SDN-juniper_contrail/osm_rosdn_juniper_contrail
+ sh -c 'mv .coverage .coverage_rosdn_juniper_contrail'
+ # RO-SDN-odl_openflow
+ - nose2 -C --coverage RO-SDN-odl_openflow/osm_rosdn_odlof
+ sh -c 'mv .coverage .coverage_rosdn_odlof'
+ # RO-SDN-onos_openflow
+ - nose2 -C --coverage RO-SDN-onos_openflow/osm_rosdn_onosof
+ sh -c 'mv .coverage .coverage_rosdn_onosof'
+ # RO-SDN-onos_vpls
+ - nose2 -C --coverage RO-SDN-onos_vpls/osm_rosdn_onos_vpls
+ sh -c 'mv .coverage .coverage_rosdn_onos_vpls'
+ # RO-VIM-aws
+ - nose2 -C --coverage RO-VIM-aws/osm_rovim_aws
+ sh -c 'mv .coverage .coverage_rovim_aws'
+ # RO-VIM-azure
+ - nose2 -C --coverage RO-VIM-azure/osm_rovim_azure
+ sh -c 'mv .coverage .coverage_rovim_azure'
+ # RO-VIM-fos
+ - nose2 -C --coverage RO-VIM-fos/osm_rovim_fos
+ sh -c 'mv .coverage .coverage_rovim_fos'
+ # RO-VIM-opennebula
+ - nose2 -C --coverage RO-VIM-opennebula/osm_rovim_opennebula
+ sh -c 'mv .coverage .coverage_rovim_opennebula'
+ # RO-VIM-openstack
+ - nose2 -C --coverage RO-VIM-openstack/osm_rovim_openstack -s RO-VIM-openstack/osm_rovim_openstack
+ sh -c 'mv .coverage .coverage_rovim_openstack'
+ # RO-VIM-openvim
+ - nose2 -C --coverage RO-VIM-openvim/osm_rovim_openvim
+ sh -c 'mv .coverage .coverage_rovim_openvim'
+ # RO-VIM-vmware
+ - nose2 -C --coverage RO-VIM-vmware/osm_rovim_vmware -s RO-VIM-vmware/osm_rovim_vmware
+ sh -c 'mv .coverage .coverage_rovim_vmware'
+ # Combine results and generate reports
+ coverage combine .coverage_ng_ro .coverage_ro_plugin .coverage_rosdn_arista_cloudvision .coverage_rosdn_dpb .coverage_rosdn_dynpac .coverage_rosdn_floodlightof .coverage_rosdn_ietfl2vpn .coverage_rosdn_juniper_contrail .coverage_rosdn_odlof .coverage_rosdn_onos_vpls .coverage_rosdn_onosof .coverage_rovim_aws .coverage_rovim_azure .coverage_rovim_fos .coverage_rovim_opennebula .coverage_rovim_openstack .coverage_rovim_openvim .coverage_rovim_vmware
+ coverage report --omit='*tests*'
+ coverage html -d ./cover --omit='*tests*'
+ coverage xml -o coverage.xml --omit='*tests*'
+whitelist_externals = sh
+
+
+#######################################################################################
+[testenv:flake8]
+deps = flake8
+skip_install = true
+commands =
+ - flake8 NG-RO/osm_ng_ro/ NG-RO/setup.py
+ - flake8 RO-plugin/osm_ro_plugin/ RO-plugin/setup.py
+ - flake8 RO-SDN-arista_cloudvision/osm_rosdn_arista_cloudvision/ RO-SDN-arista_cloudvision/setup.py
+ - flake8 RO-SDN-dpb/osm_rosdn_dpb/ RO-SDN-dpb/setup.py
+ - flake8 RO-SDN-dynpac/osm_rosdn_dynpac/ RO-SDN-dynpac/setup.py
+ - flake8 RO-SDN-floodlight_openflow/osm_rosdn_floodlightof/ RO-SDN-floodlight_openflow/setup.py
+ - flake8 RO-SDN-ietfl2vpn/osm_rosdn_ietfl2vpn/ RO-SDN-ietfl2vpn/setup.py
+ - flake8 RO-SDN-juniper_contrail/osm_rosdn_juniper_contrail/ RO-SDN-juniper_contrail/setup.py
+ - flake8 RO-SDN-odl_openflow/osm_rosdn_odlof/ RO-SDN-odl_openflow/setup.py
+ - flake8 RO-SDN-onos_openflow/osm_rosdn_onosof/ RO-SDN-onos_openflow/setup.py
+ - flake8 RO-SDN-onos_vpls/osm_rosdn_onos_vpls/ RO-SDN-onos_vpls/setup.py
+ - flake8 RO-VIM-aws/osm_rovim_aws/ RO-VIM-aws/setup.py
+ - flake8 RO-VIM-azure/osm_rovim_azure/ RO-VIM-azure/setup.py
+ - flake8 RO-VIM-fos/osm_rovim_fos/ RO-VIM-fos/setup.py
+ - flake8 RO-VIM-opennebula/osm_rovim_opennebula/ RO-VIM-opennebula/setup.py
+ - flake8 RO-VIM-openstack/osm_rovim_openstack/ RO-VIM-openstack/setup.py
+ - flake8 RO-VIM-openvim/osm_rovim_openvim/ RO-VIM-openvim/setup.py
+ - flake8 RO-VIM-vmware/osm_rovim_vmware/vimconn_vmware.py RO-VIM-vmware/osm_rovim_vmware/tests/test_vimconn_vmware.py RO-VIM-vmware/setup.py
+
+
+#######################################################################################
+[testenv:pylint]
+deps = {[testenv]deps}
+ -r{toxinidir}/requirements-dev.txt
+ -r{toxinidir}/requirements-test.txt
+ pylint
+skip_install = true
+commands =
+ - pylint -E NG-RO/osm_ng_ro
+ - pylint -E RO-plugin/osm_ro_plugin
+ - pylint -E RO-SDN-arista_cloudvision/osm_rosdn_arista_cloudvision
+ - pylint -E RO-SDN-dpb/osm_rosdn_dpb
+ - pylint -E RO-SDN-dynpac/osm_rosdn_dynpac
+ - pylint -E RO-SDN-floodlight_openflow/osm_rosdn_floodlightof
+ - pylint -E RO-SDN-ietfl2vpn/osm_rosdn_ietfl2vpn
+ - pylint -E RO-SDN-juniper_contrail/osm_rosdn_juniper_contrail
+ - pylint -E RO-SDN-odl_openflow/osm_rosdn_odlof
+ - pylint -E RO-SDN-onos_openflow/osm_rosdn_onosof
+ - pylint -E RO-SDN-onos_vpls/osm_rosdn_onos_vpls
+ - pylint -E RO-VIM-aws/osm_rovim_aws
+ - pylint -E RO-VIM-azure/osm_rovim_azure
+ - pylint -E RO-VIM-fos/osm_rovim_fos
+ - pylint -E RO-VIM-opennebula/osm_rovim_opennebula
+ - pylint -E RO-VIM-openstack/osm_rovim_openstack
+ - pylint -E RO-VIM-openvim/osm_rovim_openvim
+ - pylint -E RO-VIM-vmware/osm_rovim_vmware
+
+
+#######################################################################################
+[testenv:safety]
+setenv =
+ LC_ALL=C.UTF-8
+ LANG=C.UTF-8
+deps = {[testenv]deps}
+ safety
+skip_install = true
+commands =
+ - safety check --full-report
+
+
+#######################################################################################
+[testenv:pip-compile]
+deps = pip-tools==5.5.0
+commands =
+ - sh -c 'for file in requirements*.in ; do pip-compile -rU --no-header $file ;\
+ out=`echo $file | sed "s/.in/.txt/"` ; \
+ head -16 tox.ini >> $out ;\
+ done'
+whitelist_externals = sh
+
+
+#######################################################################################
+[testenv:dist_ng_ro]
+deps = {[testenv]deps}
+ -r{toxinidir}/requirements-dist.txt
+skip_install = true
+changedir = {toxinidir}/NG-RO
+commands =
+ sh -c 'rm -rf osm_ng_ro/requirements.txt deb_dist dist osm_ng_ro.egg-info osm_ng_ro*.tar.gz'
+ sh -c 'cp ../requirements.txt osm_ng_ro/requirements.txt'
+ python3 setup.py --command-packages=stdeb.command sdist_dsc
+ sh -c 'cd deb_dist/osm-ng-ro*/ && dpkg-buildpackage -rfakeroot -uc -us'
+whitelist_externals = sh
+
+#######################################################################################
+[testenv:dist_ro_plugin]
+deps = {[testenv]deps}
+ -r{toxinidir}/requirements-dist.txt
+skip_install = true
+changedir = {toxinidir}/RO-plugin
+commands =
+ sh -c 'rm -rf deb_dist dist osm_ro_plugin.egg-info osm_ro_plugin*.tar.gz'
+ python3 setup.py --command-packages=stdeb.command sdist_dsc
+ sh -c 'cd deb_dist/osm-ro-plugin*/ && dpkg-buildpackage -rfakeroot -uc -us'
+whitelist_externals = sh
+
+#######################################################################################
+[testenv:dist_ro_sdn_arista_cloudvision]
+deps = {[testenv]deps}
+ -r{toxinidir}/requirements-dist.txt
+skip_install = true
+changedir = {toxinidir}/RO-SDN-arista_cloudvision
+commands =
+ sh -c 'rm -rf deb_dist dist osm_rosdn_arista_cloudvision.egg-info osm_rosdn_arista_cloudvision*.tar.gz'
+ python3 setup.py --command-packages=stdeb.command sdist_dsc
+ sh -c 'cd deb_dist/osm-rosdn-arista-cloudvision*/ && dpkg-buildpackage -rfakeroot -uc -us'
+whitelist_externals = sh
+
+#######################################################################################
+[testenv:dist_ro_sdn_dpb]
+deps = {[testenv]deps}
+ -r{toxinidir}/requirements-dist.txt
+skip_install = true
+changedir = {toxinidir}/RO-SDN-dpb
+commands =
+ sh -c 'rm -rf deb_dist dist osm_rosdn_dpb.egg-info osm_rosdn_dpb*.tar.gz'
+ python3 setup.py --command-packages=stdeb.command sdist_dsc
+ sh -c 'cd deb_dist/osm-rosdn-dpb*/ && dpkg-buildpackage -rfakeroot -uc -us'
+whitelist_externals = sh
+
+#######################################################################################
+[testenv:dist_ro_sdn_dynpac]
+deps = {[testenv]deps}
+ -r{toxinidir}/requirements-dist.txt
+skip_install = true
+changedir = {toxinidir}/RO-SDN-dynpac
+commands =
+ sh -c 'rm -rf deb_dist dist osm_rosdn_dynpac.egg-info osm_rosdn_dynpac*.tar.gz'
+ python3 setup.py --command-packages=stdeb.command sdist_dsc
+ sh -c 'cd deb_dist/osm-rosdn-dynpac*/ && dpkg-buildpackage -rfakeroot -uc -us'
+whitelist_externals = sh
+
+#######################################################################################
+[testenv:dist_ro_sdn_floodlight_of]
+deps = {[testenv]deps}
+ -r{toxinidir}/requirements-dist.txt
+skip_install = true
+changedir = {toxinidir}/RO-SDN-floodlight_openflow
+commands =
+ sh -c 'rm -rf deb_dist dist osm_rosdn_floodlightof.egg-info osm_rosdn_floodlightof*.tar.gz'
+ python3 setup.py --command-packages=stdeb.command sdist_dsc
+ sh -c 'cd deb_dist/osm-rosdn-floodlightof*/ && dpkg-buildpackage -rfakeroot -uc -us'
+whitelist_externals = sh
+
+#######################################################################################
+[testenv:dist_ro_sdn_ietfl2vpn]
+deps = {[testenv]deps}
+ -r{toxinidir}/requirements-dist.txt
+skip_install = true
+changedir = {toxinidir}/RO-SDN-ietfl2vpn
+commands =
+ sh -c 'rm -rf deb_dist dist osm_rosdn_ietfl2vpn.egg-info osm_rosdn_ietfl2vpn*.tar.gz'
+ python3 setup.py --command-packages=stdeb.command sdist_dsc
+ sh -c 'cd deb_dist/osm-rosdn-ietfl2vpn*/ && dpkg-buildpackage -rfakeroot -uc -us'
+whitelist_externals = sh
+
+#######################################################################################
+[testenv:dist_ro_sdn_juniper_contrail]
+deps = {[testenv]deps}
+ -r{toxinidir}/requirements-dist.txt
+skip_install = true
+changedir = {toxinidir}/RO-SDN-juniper_contrail
+commands =
+ sh -c 'rm -rf deb_dist dist osm_rosdn_juniper_contrail.egg-info osm_rosdn_juniper_contrail*.tar.gz'
+ python3 setup.py --command-packages=stdeb.command sdist_dsc
+ sh -c 'cd deb_dist/osm-rosdn-juniper-contrail*/ && dpkg-buildpackage -rfakeroot -uc -us'
+whitelist_externals = sh
+
+#######################################################################################
+[testenv:dist_ro_sdn_odl_of]
+deps = {[testenv]deps}
+ -r{toxinidir}/requirements-dist.txt
+skip_install = true
+changedir = {toxinidir}/RO-SDN-odl_openflow
+commands =
+ sh -c 'rm -rf deb_dist dist osm_rosdn_odlof.egg-info osm_rosdn_odlof*.tar.gz'
+ python3 setup.py --command-packages=stdeb.command sdist_dsc
+ sh -c 'cd deb_dist/osm-rosdn-odlof*/ && dpkg-buildpackage -rfakeroot -uc -us'
+whitelist_externals = sh
+
+#######################################################################################
+[testenv:dist_ro_sdn_onos_of]
+deps = {[testenv]deps}
+ -r{toxinidir}/requirements-dist.txt
+skip_install = true
+changedir = {toxinidir}/RO-SDN-onos_openflow
+commands =
+ sh -c 'rm -rf deb_dist dist osm_rosdn_onosof.egg-info osm_rosdn_onosof*.tar.gz'
+ python3 setup.py --command-packages=stdeb.command sdist_dsc
+ sh -c 'cd deb_dist/osm-rosdn-onosof*/ && dpkg-buildpackage -rfakeroot -uc -us'
+whitelist_externals = sh
+
+#######################################################################################
+[testenv:dist_ro_sdn_onos_vpls]
+deps = {[testenv]deps}
+ -r{toxinidir}/requirements-dist.txt
+skip_install = true
+changedir = {toxinidir}/RO-SDN-onos_vpls
+commands =
+ sh -c 'rm -rf deb_dist dist osm_rosdn_onos_vpls.egg-info osm_rosdn_onos_vpls*.tar.gz'
+ python3 setup.py --command-packages=stdeb.command sdist_dsc
+ sh -c 'cd deb_dist/osm-rosdn-onos-vpls*/ && dpkg-buildpackage -rfakeroot -uc -us'
+whitelist_externals = sh
+
+#######################################################################################
+[testenv:dist_ro_vim_aws]
+deps = {[testenv]deps}
+ -r{toxinidir}/requirements-dist.txt
+skip_install = true
+changedir = {toxinidir}/RO-VIM-aws
+commands =
+ sh -c 'rm -rf deb_dist dist osm_rovim_aws.egg-info osm_rovim_aws*.tar.gz'
+ python3 setup.py --command-packages=stdeb.command sdist_dsc
+ sh -c 'cd deb_dist/osm-rovim-aws*/ && dpkg-buildpackage -rfakeroot -uc -us'
+whitelist_externals = sh
+
+#######################################################################################
+[testenv:dist_ro_vim_azure]
+deps = {[testenv]deps}
+ -r{toxinidir}/requirements-dist.txt
+skip_install = true
+changedir = {toxinidir}/RO-VIM-azure
+commands =
+ sh -c 'rm -rf deb_dist dist osm_rovim_azure.egg-info osm_rovim_azure*.tar.gz'
+ python3 setup.py --command-packages=stdeb.command sdist_dsc
+ sh -c 'cd deb_dist/osm-rovim-azure*/ && dpkg-buildpackage -rfakeroot -uc -us'
+whitelist_externals = sh
+
+#######################################################################################
+[testenv:dist_ro_vim_fos]
+deps = {[testenv]deps}
+ -r{toxinidir}/requirements-dist.txt
+skip_install = true
+changedir = {toxinidir}/RO-VIM-fos
+commands =
+ sh -c 'rm -rf deb_dist dist osm_rovim_fos.egg-info osm_rovim_fos*.tar.gz'
+ python3 setup.py --command-packages=stdeb.command sdist_dsc
+ sh -c 'cd deb_dist/osm-rovim-fos*/ && dpkg-buildpackage -rfakeroot -uc -us'
+whitelist_externals = sh
+
+#######################################################################################
+[testenv:dist_ro_vim_opennebula]
+deps = {[testenv]deps}
+ -r{toxinidir}/requirements-dist.txt
+skip_install = true
+changedir = {toxinidir}/RO-VIM-opennebula
+commands =
+ sh -c 'rm -rf deb_dist dist osm_rovim_opennebula.egg-info osm_rovim_opennebula*.tar.gz'
+ python3 setup.py --command-packages=stdeb.command sdist_dsc
+ sh -c 'cd deb_dist/osm-rovim-opennebula*/ && dpkg-buildpackage -rfakeroot -uc -us'
+whitelist_externals = sh
+
+#######################################################################################
+[testenv:dist_ro_vim_openstack]
+deps = {[testenv]deps}
+ -r{toxinidir}/requirements-dist.txt
+skip_install = true
+changedir = {toxinidir}/RO-VIM-openstack
+commands =
+ sh -c 'rm -rf deb_dist dist osm_rovim_openstack.egg-info osm_rovim_openstack*.tar.gz'
+ python3 setup.py --command-packages=stdeb.command sdist_dsc
+ sh -c 'cd deb_dist/osm-rovim-openstack*/ && dpkg-buildpackage -rfakeroot -uc -us'
+whitelist_externals = sh
+
+#######################################################################################
+[testenv:dist_ro_vim_openvim]
+deps = {[testenv]deps}
+ -r{toxinidir}/requirements-dist.txt
+skip_install = true
+changedir = {toxinidir}/RO-VIM-openvim
+commands =
+ sh -c 'rm -rf deb_dist dist osm_rovim_openvim.egg-info osm_rovim_openvim*.tar.gz'
+ python3 setup.py --command-packages=stdeb.command sdist_dsc
+ sh -c 'cd deb_dist/osm-rovim-openvim*/ && dpkg-buildpackage -rfakeroot -uc -us'
+whitelist_externals = sh
+
+#######################################################################################
+[testenv:dist_ro_vim_vmware]
+deps = {[testenv]deps}
+ -r{toxinidir}/requirements-dist.txt
+skip_install = true
+changedir = {toxinidir}/RO-VIM-vmware
+commands =
+ sh -c 'rm -rf deb_dist dist osm_rovim_vmware.egg-info osm_rovim_vmware*.tar.gz'
+ python3 setup.py --command-packages=stdeb.command sdist_dsc
+ sh -c 'cd deb_dist/osm-rovim-vmware*/ && dpkg-buildpackage -rfakeroot -uc -us'
+whitelist_externals = sh
+
+#######################################################################################
+[flake8]
+ignore =
+ W291,
+ W293,
+ W503,
+ W605,
+ E123,
+ E125,
+ E203,
+ E226,
+ E241
+exclude =
+ .git,
+ __pycache__,
+ .tox,
+max-line-length = 120
+show-source = True
+builtins = _