You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2013/08/13 01:00:08 UTC
[1/3] git commit: docs: Fix a typo.
Updated Branches:
refs/heads/trunk afd5fb40f -> 6bf42e1e7
docs: Fix a typo.
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/b727f358
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/b727f358
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/b727f358
Branch: refs/heads/trunk
Commit: b727f358547d890286dc853ccd369f86cc0cabb3
Parents: afd5fb4
Author: Tomaz Muraus <to...@apache.org>
Authored: Tue Aug 13 00:45:08 2013 +0200
Committer: Tomaz Muraus <to...@apache.org>
Committed: Tue Aug 13 00:45:08 2013 +0200
----------------------------------------------------------------------
docs/compute/index.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/b727f358/docs/compute/index.rst
----------------------------------------------------------------------
diff --git a/docs/compute/index.rst b/docs/compute/index.rst
index d40fd74..1c442ac 100644
--- a/docs/compute/index.rst
+++ b/docs/compute/index.rst
@@ -10,7 +10,7 @@ allow you to execute arbitrary shell commands. This functionality is usually
used to prepare your freshly created server, install your SSH key, and run a
configuration management tool (such as Puppet, Chef, or cfengine) on it.
-Besides managing cloud and virtual servers, compute components allso allows you
+Besides managing cloud and virtual servers, compute component also allows you
to manage cloud block storage (not to be confused with cloud object storage)
for providers which support it.
Block storage management is lives under compute API, because it is in most cases
[2/3] git commit: docs: Add a note about CDN management to the
storage API.
Posted by to...@apache.org.
docs: Add a note about CDN management to the storage API.
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/5b7f71a0
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/5b7f71a0
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/5b7f71a0
Branch: refs/heads/trunk
Commit: 5b7f71a0fb79c281cc3c9cc0b83d9e5d723346b9
Parents: b727f35
Author: Tomaz Muraus <to...@apache.org>
Authored: Tue Aug 13 00:45:52 2013 +0200
Committer: Tomaz Muraus <to...@apache.org>
Committed: Tue Aug 13 00:45:52 2013 +0200
----------------------------------------------------------------------
docs/storage/index.rst | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/5b7f71a0/docs/storage/index.rst
----------------------------------------------------------------------
diff --git a/docs/storage/index.rst b/docs/storage/index.rst
index 9f93df5..0960cf5 100644
--- a/docs/storage/index.rst
+++ b/docs/storage/index.rst
@@ -9,6 +9,9 @@ Storage API allows you to manage cloud object storage (not to be confused with
cloud block storage) and services such as Amazon S3, Rackspace CloudFiles,
Google Storage and others.
+Besides managing cloud object storage, storage component also exposes simple
+CDN management functionality.
+
Terminology
-----------
[3/3] git commit: docs: Split storage supported methods into two
tables - storage and CDN.
Posted by to...@apache.org.
docs: Split storage supported methods into two tables - storage and CDN.
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/6bf42e1e
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/6bf42e1e
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/6bf42e1e
Branch: refs/heads/trunk
Commit: 6bf42e1e768f8ecb7246823ac5d4775b29d53f2f
Parents: 5b7f71a
Author: Tomaz Muraus <to...@apache.org>
Authored: Tue Aug 13 00:53:04 2013 +0200
Committer: Tomaz Muraus <to...@apache.org>
Committed: Tue Aug 13 00:53:04 2013 +0200
----------------------------------------------------------------------
.../generate_provider_feature_matrix_table.py | 28 +++++++++++++++-----
docs/storage/supported_providers.rst | 11 +++++---
2 files changed, 29 insertions(+), 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/6bf42e1e/contrib/generate_provider_feature_matrix_table.py
----------------------------------------------------------------------
diff --git a/contrib/generate_provider_feature_matrix_table.py b/contrib/generate_provider_feature_matrix_table.py
index e08b224..919420c 100755
--- a/contrib/generate_provider_feature_matrix_table.py
+++ b/contrib/generate_provider_feature_matrix_table.py
@@ -55,11 +55,13 @@ BASE_API_METHODS = {
'loadbalancer': ['create_balancer', 'list_balancers',
'balancer_list_members', 'balancer_attach_member',
'balancer_detach_member', 'balancer_attach_compute_node'],
- 'storage': ['list_containers', 'list_container_objects',
- 'create_container',
- 'delete_container', 'upload_object',
- 'upload_object_via_stream', 'download_object',
- 'download_object_as_stream', 'delete_object'],
+ 'storage_main': ['list_containers', 'list_container_objects',
+ 'create_container',
+ 'delete_container', 'upload_object',
+ 'upload_object_via_stream', 'download_object',
+ 'download_object_as_stream', 'delete_object'],
+ 'storage_cdn': ['enable_container_cdn', 'enable_object_cdn',
+ 'get_container_cdn_url', 'get_object_cdn_url'],
'dns': ['list_zones', 'list_records', 'create_zone', 'update_zone',
'create_record', 'update_record', 'delete_zone', 'delete_record']
}
@@ -91,7 +93,7 @@ FRIENDLY_METHODS_NAMES = {
'balancer_detach_member': 'detach member',
'balancer_attach_compute_node': 'attach compute node'
},
- 'storage': {
+ 'storage_main': {
'list_containers': 'list containers',
'list_container_objects': 'list objects',
'create_container': 'create container',
@@ -102,6 +104,12 @@ FRIENDLY_METHODS_NAMES = {
'download_object_as_stream': 'streaming object download',
'delete_object': 'delete object'
},
+ 'storage_cdn': {
+ 'enable_container_cdn': 'enable container cdn',
+ 'enable_object_cdn': 'enable object cdn',
+ 'get_container_cdn_url': 'get container cdn URL',
+ 'get_object_cdn_url': 'get object cdn URL',
+ },
'dns': {
'list_zones': 'list zones',
'list_records': 'list records',
@@ -134,7 +142,7 @@ def generate_providers_table(api):
drivers = LB_DRIVERS
provider = LBProvider
get_driver_method = get_lb_driver
- elif api == 'storage':
+ elif api in ['storage_main', 'storage_cdn']:
driver = StorageDriver
drivers = STORAGE_DRIVERS
provider = StorageProvider
@@ -255,6 +263,8 @@ def generate_tables():
if api.startswith('compute'):
docs_dir = 'compute'
+ elif api.startswith('storage'):
+ docs_dir = 'storage'
current_path = os.path.dirname(__file__)
target_dir = os.path.abspath(pjoin(current_path,
@@ -267,6 +277,10 @@ def generate_tables():
file_name_2 = '_supported_methods_main.rst'
elif api == 'compute_block_storage':
file_name_2 = '_supported_methods_block_storage.rst'
+ elif api == 'storage_main':
+ file_name_2 = '_supported_methods_main.rst'
+ elif api == 'storage_cdn':
+ file_name_2 = '_supported_methods_cdn.rst'
supported_providers_path = pjoin(target_dir, file_name_1)
supported_methods_path = pjoin(target_dir, file_name_2)
http://git-wip-us.apache.org/repos/asf/libcloud/blob/6bf42e1e/docs/storage/supported_providers.rst
----------------------------------------------------------------------
diff --git a/docs/storage/supported_providers.rst b/docs/storage/supported_providers.rst
index b04c521..b755e62 100644
--- a/docs/storage/supported_providers.rst
+++ b/docs/storage/supported_providers.rst
@@ -6,7 +6,12 @@ Provider Matrix
.. include:: _supported_providers.rst
-Supported Methods
------------------
+Supported Methods (storage)
+---------------------------
-.. include:: _supported_methods.rst
+.. include:: _supported_methods_main.rst
+
+Supported Methods (CND)
+-----------------------
+
+.. include:: _supported_methods_cdn.rst