marvin_refactor: initial commit for dsl implementation Signed-off-by: Prasanna Santhanam <t...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/73aabab6 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/73aabab6 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/73aabab6 Branch: refs/heads/marvin-refactor Commit: 73aabab6f5cf83c8aa66145aa84bc5f05f58b034 Parents: c640a32 Author: Prasanna Santhanam <t...@apache.org> Authored: Fri Sep 13 15:58:55 2013 +0530 Committer: Prasanna Santhanam <t...@apache.org> Committed: Wed Oct 2 20:27:52 2013 +0530 ---------------------------------------------------------------------- tools/marvin/marvin/feature/__init__.py | 16 ++++++++++++ tools/marvin/marvin/feature/deployvm.feature | 6 +++++ tools/marvin/marvin/feature/steps/__init__.py | 16 ++++++++++++ tools/marvin/marvin/feature/steps/deployvm.py | 30 ++++++++++++++++++++++ 4 files changed, 68 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/73aabab6/tools/marvin/marvin/feature/__init__.py ---------------------------------------------------------------------- diff --git a/tools/marvin/marvin/feature/__init__.py b/tools/marvin/marvin/feature/__init__.py new file mode 100644 index 0000000..d216be4 --- /dev/null +++ b/tools/marvin/marvin/feature/__init__.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cloudstack/blob/73aabab6/tools/marvin/marvin/feature/deployvm.feature ---------------------------------------------------------------------- diff --git a/tools/marvin/marvin/feature/deployvm.feature b/tools/marvin/marvin/feature/deployvm.feature new file mode 100644 index 0000000..eb787f0 --- /dev/null +++ b/tools/marvin/marvin/feature/deployvm.feature @@ -0,0 +1,6 @@ +Feature: Deploy a VirtualMachine + +Scenario: Deploy a VirtualMachine + Given: we have an advanced zone + when: I deploy a virtualmachine + then: virtualmachine is deployed http://git-wip-us.apache.org/repos/asf/cloudstack/blob/73aabab6/tools/marvin/marvin/feature/steps/__init__.py ---------------------------------------------------------------------- diff --git a/tools/marvin/marvin/feature/steps/__init__.py b/tools/marvin/marvin/feature/steps/__init__.py new file mode 100644 index 0000000..d216be4 --- /dev/null +++ b/tools/marvin/marvin/feature/steps/__init__.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cloudstack/blob/73aabab6/tools/marvin/marvin/feature/steps/deployvm.py ---------------------------------------------------------------------- diff --git a/tools/marvin/marvin/feature/steps/deployvm.py b/tools/marvin/marvin/feature/steps/deployvm.py new file mode 100644 index 0000000..9a30699 --- /dev/null +++ b/tools/marvin/marvin/feature/steps/deployvm.py @@ -0,0 +1,30 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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 behave import * + +@given('we have an advanced zone') +def step_impl(context): + pass + +@when('I deploy a virtualmachine') +def step_impl(context): + pass + +@then('virtualmachine is deployed') +def step_impl(context): + pass