You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ts...@apache.org on 2013/11/18 09:50:32 UTC

[25/50] [abbrv] git commit: updated refs/heads/marvin_refactor to b784012

marvin_refactor: initial commit for dsl implementation

Signed-off-by: Prasanna Santhanam <ts...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/ef0b08e2
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/ef0b08e2
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/ef0b08e2

Branch: refs/heads/marvin_refactor
Commit: ef0b08e21a18109ae70cfc80cb8fbf685b1b3059
Parents: 7310275
Author: Prasanna Santhanam <ts...@apache.org>
Authored: Fri Sep 13 15:58:55 2013 +0530
Committer: Prasanna Santhanam <ts...@apache.org>
Committed: Thu Oct 31 13:54:24 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/ef0b08e2/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/ef0b08e2/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/ef0b08e2/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/ef0b08e2/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