summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--engine/README.rst27
-rw-r--r--engine/setup.cfg51
-rw-r--r--engine/setup.py36
-rw-r--r--version.properties3
4 files changed, 116 insertions, 1 deletions
diff --git a/engine/README.rst b/engine/README.rst
new file mode 100644
index 0000000..c7e9059
--- /dev/null
+++ b/engine/README.rst
@@ -0,0 +1,27 @@
+#
+# -------------------------------------------------------------------------
+# Copyright (c) 2019 AT&T Intellectual Property
+# Modifications Copyright (C) 2019 IBM
+#
+# 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.
+#
+# -------------------------------------------------------------------------
+#
+====
+FGPS
+====
+
+Fine-Grained Placement Service (FGPS) is the implementation of the ONAP placement service.
+
+Given the resource that needs to be deployed in the data center chosen by Conductor/HAS, FGPS will choose an optimal physical host for the virtual resources to be deployed on, obeying the given constraints.
+
diff --git a/engine/setup.cfg b/engine/setup.cfg
new file mode 100644
index 0000000..950ea03
--- /dev/null
+++ b/engine/setup.cfg
@@ -0,0 +1,51 @@
+# -*- encoding: utf-8 -*-
+# -------------------------------------------------------------------------
+# Copyright (c) 2019 AT&T Intellectual Property
+# Modifications Copyright (C) 2019 IBM
+#
+# 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.
+#
+# -------------------------------------------------------------------------
+#
+
+[metadata]
+name = of-fgps
+summary = Fine-Grained Placement Service
+description-file = README.rst
+author = AT&T
+author-email = amartell@research.att.com
+home-page = https://wiki.onap.org/display/DW/Fine-Grained+Placement+Service
+classifier =
+ Development Status :: 4 - Beta
+ Environment :: ONAP
+ Intended Audience :: Information Technology
+ Intended Audience :: System Administrators
+ License :: OSI Approved :: Apache Software License
+ Operating System :: POSIX :: Linux
+ Programming Language :: Python
+ Programming Language :: Python :: 2
+ Programming Language :: Python :: 2.7
+ Programming Language :: Python :: 3
+ Programming Language :: Python :: 3.5
+keywords =
+ onap
+ fgps
+ engine
+
+[global]
+setup-hooks =
+ pbr.hooks.setup_hook
+
+[pbr]
+warnerrors = true
+autodoc_index_modules = true \ No newline at end of file
diff --git a/engine/setup.py b/engine/setup.py
new file mode 100644
index 0000000..c560603
--- /dev/null
+++ b/engine/setup.py
@@ -0,0 +1,36 @@
+# -*- encoding: utf-8 -*-
+# -------------------------------------------------------------------------
+# Copyright (c) 2019 AT&T Intellectual Property
+# Modifications Copyright (C) 2019 IBM
+#
+# 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.
+#
+# -------------------------------------------------------------------------
+#
+
+'''Setup'''
+
+import setuptools
+
+# In python < 2.7.4, a lazy loading of package `pbr` will break
+# setuptools if some other modules registered functions in `atexit`.
+# solution from: http://bugs.python.org/issue15881#msg170215
+try:
+ import multiprocessing # noqa # pylint: disable=W0611,C0411
+except ImportError:
+ pass
+
+setuptools.setup(
+ setup_requires=['pbr>=1.8'],
+ pbr=True)
+ \ No newline at end of file
diff --git a/version.properties b/version.properties
index 4209004..be52259 100644
--- a/version.properties
+++ b/version.properties
@@ -1,6 +1,7 @@
#
# -------------------------------------------------------------------------
-# Copyright (c) 2015-2017 AT&T Intellectual Property
+# Copyright (c) 2019 AT&T Intellectual Property
+# Modifications Copyright (C) 2019 IBM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.