You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by se...@apache.org on 2015/05/05 15:26:04 UTC
[11/50] cloudstack-ec2stack git commit: Shhh travis,
it'll all be over soon
Shhh travis, it'll all be over soon
Project: http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/commit/44fb5bd7
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/tree/44fb5bd7
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/diff/44fb5bd7
Branch: refs/heads/master
Commit: 44fb5bd7ba366cf052b69e9b609dcba7bfebca52
Parents: 1249fe8
Author: BroganD1993 <da...@hotmail.com>
Authored: Fri Jul 18 20:10:49 2014 +0100
Committer: BroganD1993 <da...@hotmail.com>
Committed: Fri Jul 18 20:10:49 2014 +0100
----------------------------------------------------------------------
ec2stack/configure.py | 1 +
ec2stack/errors.py | 2 ++
ec2stack/providers/cloudstack/vpcs.py | 3 +--
3 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/blob/44fb5bd7/ec2stack/configure.py
----------------------------------------------------------------------
diff --git a/ec2stack/configure.py b/ec2stack/configure.py
index 3fa337d..cc2e6f6 100644
--- a/ec2stack/configure.py
+++ b/ec2stack/configure.py
@@ -104,6 +104,7 @@ def _modify_config_profile(config_file, profile, advanced_network_enabled):
return config
+
def _set_mandatory_attributes_of_profile(config, profile):
"""
Modify mandatory attributes of profile.
http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/blob/44fb5bd7/ec2stack/errors.py
----------------------------------------------------------------------
diff --git a/ec2stack/errors.py b/ec2stack/errors.py
index ba170bf..1e50ea0 100644
--- a/ec2stack/errors.py
+++ b/ec2stack/errors.py
@@ -162,6 +162,7 @@ def invalid_resource_id():
'The specified ID for the resource you are trying to tag is not valid.'
)
+
def invalid_vpc_range():
"""
Invalid cidr block.
@@ -174,6 +175,7 @@ def invalid_vpc_range():
'The specified CIDR block range is not valid.'
)
+
def invalid_vpc_id():
"""
VPC with this ID does not exist.
http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/blob/44fb5bd7/ec2stack/providers/cloudstack/vpcs.py
----------------------------------------------------------------------
diff --git a/ec2stack/providers/cloudstack/vpcs.py b/ec2stack/providers/cloudstack/vpcs.py
index 7386e3f..55c81d8 100644
--- a/ec2stack/providers/cloudstack/vpcs.py
+++ b/ec2stack/providers/cloudstack/vpcs.py
@@ -1,4 +1,3 @@
-
#!/usr/bin/env python
# encoding: utf-8
@@ -101,6 +100,7 @@ def _delete_vpc_response():
'return': 'true'
}
+
@helpers.authentication_required
def describe_vpcs():
"""
@@ -130,4 +130,3 @@ def _describe_vpc_response(response):
'response_type': 'DescribeVpcsResponse',
'response': response
}
-