Skip to content

Commit 721442d

Browse files
author
Fernando Ojeda
committed
Add cdn documentation and fix tox analysis.
1 parent f1838f7 commit 721442d

File tree

5 files changed

+31
-4
lines changed

5 files changed

+31
-4
lines changed

SoftLayer/CLI/routes.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
('cdn', 'SoftLayer.CLI.cdn'),
5555
('cdn:detail', 'SoftLayer.CLI.cdn.detail:cli'),
5656
('cdn:list', 'SoftLayer.CLI.cdn.list:cli'),
57-
('cdn:load', 'SoftLayer.CLI.cdn.load:cli'),
5857
('cdn:origin-add', 'SoftLayer.CLI.cdn.origin_add:cli'),
5958
('cdn:origin-list', 'SoftLayer.CLI.cdn.origin_list:cli'),
6059
('cdn:origin-remove', 'SoftLayer.CLI.cdn.origin_remove:cli'),

SoftLayer/managers/cdn.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
:license: MIT, see LICENSE for more details.
77
"""
88

9-
from SoftLayer import exceptions
109
from SoftLayer import utils
1110

1211

docs/cli/cdn.rst

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
.. _cli_cdn:
2+
3+
Interacting with CDN
4+
==============================
5+
6+
7+
.. click:: SoftLayer.CLI.cdn.detail:cli
8+
:prog: cdn detail
9+
:show-nested:
10+
11+
.. click:: SoftLayer.CLI.cdn.list:cli
12+
:prog: cdn list
13+
:show-nested:
14+
15+
.. click:: SoftLayer.CLI.cdn.origin_add:cli
16+
:prog: cdn origin-add
17+
:show-nested:
18+
19+
.. click:: SoftLayer.CLI.cdn.origin_list:cli
20+
:prog: cdn origin-list
21+
:show-nested:
22+
23+
.. click:: SoftLayer.CLI.cdn.origin_remove:cli
24+
:prog: cdn origin-remove
25+
:show-nested:
26+
27+
.. click:: SoftLayer.CLI.cdn.purge:cli
28+
:prog: cdn purge
29+
:show-nested:

tests/CLI/modules/cdn_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"""
77
import json
88

9-
from SoftLayer import testing
109
from SoftLayer.CLI import exceptions
10+
from SoftLayer import testing
1111

1212

1313
class CdnTests(testing.TestCase):

tests/managers/cdn_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
:license: MIT, see LICENSE for more details.
66
"""
77

8+
from SoftLayer.managers import cdn
89
from SoftLayer import testing
910
from SoftLayer import utils
10-
from SoftLayer.managers import cdn
1111

1212

1313
class CDNTests(testing.TestCase):

0 commit comments

Comments
 (0)