[jira] [Commented] (LIBCLOUD-1031) Edited .rst file and changed to api endpoint name

2018-12-21 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/LIBCLOUD-1031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16726847#comment-16726847
 ] 

ASF GitHub Bot commented on LIBCLOUD-1031:
--

Github user asfgit closed the pull request at:

https://github.com/apache/libcloud/pull/1270


> Edited .rst file and changed to api endpoint name
> -
>
> Key: LIBCLOUD-1031
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-1031
> Project: Libcloud
>  Issue Type: Improvement
> Environment: NTTC-CIS
>Reporter: Mitchell Raful
>Priority: Minor
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] libcloud pull request #1270: [LIBCLOUD-1031] Fix lb docs by editing nttcis.r...

2018-12-21 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/libcloud/pull/1270


---


[1/2] libcloud git commit: removed dimension data from nttcis.rst in docs/loadbalancers

2018-12-21 Thread vdloo
Repository: libcloud
Updated Branches:
  refs/heads/trunk 517b74366 -> 5c962166e


removed dimension data from nttcis.rst in docs/loadbalancers

Signed-off-by: Rick van de Loo 


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

Branch: refs/heads/trunk
Commit: 6ce13b09a4f7a7caca92ce79211ed5673c2079f0
Parents: 517b743
Author: mitch 
Authored: Wed Dec 19 08:28:01 2018 -0500
Committer: Rick van de Loo 
Committed: Fri Dec 21 16:42:11 2018 +0100

--
 docs/compute/drivers/nttcis.rst  |  2 +-
 docs/loadbalancer/drivers/nttcis.rst | 14 +++---
 libcloud/common/nttcis.py|  2 +-
 3 files changed, 9 insertions(+), 9 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/libcloud/blob/6ce13b09/docs/compute/drivers/nttcis.rst
--
diff --git a/docs/compute/drivers/nttcis.rst b/docs/compute/drivers/nttcis.rst
index e68cceb..973f6fe 100644
--- a/docs/compute/drivers/nttcis.rst
+++ b/docs/compute/drivers/nttcis.rst
@@ -34,7 +34,7 @@ Possible regions:
 * ``af`` : NTTC-CIS Africa
 * ``au`` : NTTC-CIS Australia
 * ``ap`` : NTTC-CIS Asia Pacific
-* ``canada`` : Dimension Data Canada region
+* ``ca`` : Dimension Data Canada region
 
 The base `libcloud` API allows you to:
 

http://git-wip-us.apache.org/repos/asf/libcloud/blob/6ce13b09/docs/loadbalancer/drivers/nttcis.rst
--
diff --git a/docs/loadbalancer/drivers/nttcis.rst 
b/docs/loadbalancer/drivers/nttcis.rst
index 2f2531a..c7771e3 100644
--- a/docs/loadbalancer/drivers/nttcis.rst
+++ b/docs/loadbalancer/drivers/nttcis.rst
@@ -27,12 +27,12 @@ driver constructor:
 
 Possible regions:
 
-* ``na`` : Dimension Data North America (USA)
-* ``eu`` : Dimension Data Europe
-* ``af`` : Dimension Data Africa
-* ``au`` : Dimension Data Australia
-* ``ap`` : Dimension Data Asia Pacific
-* ``canada`` : Dimension Data Canada region
+* ``na`` : NTTC-CIS North America (USA)
+* ``eu`` : NTTC-CIS Europe
+* ``af`` : NTTC-CIS Africa
+* ``au`` : NTTC-CIS Australia
+* ``ap`` : NTTC-CIS Asia Pacific
+* ``ca`` : Dimension Data Canada region
 
 The base `libcloud` API allows you to:
 
@@ -41,7 +41,7 @@ The base `libcloud` API allows you to:
 Non-standard functionality and extension methods
 
 
-The Dimension Data driver exposes some `libcloud` non-standard
+The NTTC-CIS driver exposes some `libcloud` non-standard
 functionalities through extension methods and arguments.
 
 These functionalities include:

http://git-wip-us.apache.org/repos/asf/libcloud/blob/6ce13b09/libcloud/common/nttcis.py
--
diff --git a/libcloud/common/nttcis.py b/libcloud/common/nttcis.py
index 9b648ac..e404590 100644
--- a/libcloud/common/nttcis.py
+++ b/libcloud/common/nttcis.py
@@ -85,7 +85,7 @@ API_ENDPOINTS = {
 'host': 'api-ap.dimensiondata.com',
 'vendor': 'NTTC-CIS'
 },
-'canada': {
+'ca': {
 'name': 'Canada (CA)',
 'host': 'api-canada.dimensiondata.com',
 'vendor': 'NTTC-CIS'



[2/2] libcloud git commit: Add changes for #1270

2018-12-21 Thread vdloo
Add changes for #1270

Closes #1270


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

Branch: refs/heads/trunk
Commit: 5c962166e9fa9fc5e0dd31b7f265ac8ba1137855
Parents: 6ce13b0
Author: Rick van de Loo 
Authored: Fri Dec 21 16:45:58 2018 +0100
Committer: Rick van de Loo 
Committed: Fri Dec 21 16:45:58 2018 +0100

--
 CHANGES.rst | 8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/libcloud/blob/5c962166/CHANGES.rst
--
diff --git a/CHANGES.rst b/CHANGES.rst
index ed2520a..932abf1 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -7,7 +7,10 @@ Changes in Apache Libcloud in development
 General
 ~~~
 
-- Add loadbalancer and compute drivers for NTT-CIS, rename dimensiondata 
modules to NTT-CIS (GITHUB-1250)
+- [NTT CIS] Add loadbalancer and compute drivers for NTT-CIS, rename 
dimensiondata modules to NTT-CIS (GITHUB-1250)
+  [Mitch Raful]
+
+- [NTT CIS] Fix loadbalancer docs (GITHUB-1270)
   [Mitch Raful]
 
 - Use assertIsNone instead of assertEqual with None in tests (GITHUB-1264)
@@ -88,6 +91,9 @@ Compute
 - [NTT CIS] Fix indenting in ex_initiate_drs_failover docstring (GITHUB-1271)
   [Rick van de Loo]
 
+- [NTT CIS] Change endpoint 'canada' to 'ca' in libcloud/common/nttcis.py 
(GITHUB-1270)
+  [Mitch Raful]
+
 Container
 ~