summaryrefslogtreecommitdiffstats
path: root/robotframework-onap/ONAPLibrary/Openstack.py
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2019-06-17 17:04:38 -0400
committerDR695H <dr695h@att.com>2019-06-17 17:04:55 -0400
commit7aeb828932bbf73e4ffb6a35263e3fe2e50bfb80 (patch)
tree177a2da2d646c2759291ddb15407a05d0cdd0687 /robotframework-onap/ONAPLibrary/Openstack.py
parentcc879bb3f27f6d48fd05a8016442b350ca3b74d3 (diff)
copying openstack keywords to the onap lib
also editing the disable warnings keyword back in Issue-ID: TEST-158 Change-Id: I436e2b53a154171fea83a0707bf3c28602510dd7 Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robotframework-onap/ONAPLibrary/Openstack.py')
-rw-r--r--robotframework-onap/ONAPLibrary/Openstack.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/robotframework-onap/ONAPLibrary/Openstack.py b/robotframework-onap/ONAPLibrary/Openstack.py
new file mode 100644
index 0000000..833d731
--- /dev/null
+++ b/robotframework-onap/ONAPLibrary/Openstack.py
@@ -0,0 +1,29 @@
+# Copyright 2019 AT&T Intellectual Property. All rights reserved.
+#
+# 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.
+
+from ONAPLibrary.robotlibcore import HybridCore
+from ONAPLibrary.BaseOpenstackKeywords import BaseOpenstackKeywords
+from ONAPLibrary.HEATKeywords import HEATKeywords
+
+
+class Openstack(HybridCore):
+ """SO is an ONAP testing library for Robot Framework that provides functionality for interacting with the serivce
+ orchestrator. """
+
+ def __init__(self):
+ self.keyword_implementors = [
+ BaseOpenstackKeywords(),
+ HEATKeywords()
+ ]
+ HybridCore.__init__(self, self.keyword_implementors)