From ea33816c5dd9ea9933a87204f762f1392f805ea2 Mon Sep 17 00:00:00 2001 From: James Page Date: Wed, 24 May 2017 16:43:00 +0100 Subject: [PATCH] Updates for pike b1 Add amulet tests for pike, leave disabled for now. Charm helpers changes will be picked up during rebuild. Change-Id: I5389c816464bc030a3070613d649644b951e81f4 --- src/tests/gate-basic-artful-pike | 24 ++++++++++++++++++++++++ src/tests/gate-basic-xenial-pike | 26 ++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 src/tests/gate-basic-artful-pike create mode 100644 src/tests/gate-basic-xenial-pike diff --git a/src/tests/gate-basic-artful-pike b/src/tests/gate-basic-artful-pike new file mode 100644 index 0000000..b8c8b52 --- /dev/null +++ b/src/tests/gate-basic-artful-pike @@ -0,0 +1,24 @@ +#!/usr/bin/env python +# +# Copyright 2016 Canonical Ltd +# +# 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. + +"""Amulet tests on a basic openvswitch ODL deployment on artful-pike.""" + +from basic_deployment import NeutronAPIODLBasicDeployment + +if __name__ == '__main__': + deployment = NeutronAPIODLBasicDeployment(series='artful', + odl_version='beryllium') + deployment.run_tests() diff --git a/src/tests/gate-basic-xenial-pike b/src/tests/gate-basic-xenial-pike new file mode 100644 index 0000000..706c00e --- /dev/null +++ b/src/tests/gate-basic-xenial-pike @@ -0,0 +1,26 @@ +#!/usr/bin/env python +# +# Copyright 2016 Canonical Ltd +# +# 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. + +"""Amulet tests on a basic openvswitch ODL deployment on xenial-pike.""" + +from basic_deployment import NeutronAPIODLBasicDeployment + +if __name__ == '__main__': + deployment = NeutronAPIODLBasicDeployment(series='xenial', + openstack='cloud:xenial-pike', + source='cloud:xenial-updates/pike', + odl_version='beryllium') + deployment.run_tests()