Skip to content

Commit 815191f

Browse files
committed
Fix docstrings
1 parent 247833d commit 815191f

3 files changed

Lines changed: 0 additions & 55 deletions

File tree

chi/network.py

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -3,49 +3,6 @@
33
from .clients import neutron
44
from .exception import CHIValueError, ResourceError
55

6-
__all__ = [
7-
"get_network",
8-
"get_network_id",
9-
"create_network",
10-
"delete_network",
11-
"update_network",
12-
"list_networks",
13-
"get_subnet",
14-
"get_subnet_id",
15-
"create_subnet",
16-
"delete_subnet",
17-
"update_subnet",
18-
"list_subnets",
19-
"get_port",
20-
"get_port_id",
21-
"create_port",
22-
"update_port",
23-
"delete_port",
24-
"list_ports",
25-
"get_router",
26-
"get_router_id",
27-
"create_router",
28-
"delete_router",
29-
"update_router",
30-
"list_routers",
31-
"add_route_to_router",
32-
"add_routes_to_router",
33-
"remove_route_from_router",
34-
"remove_routes_from_router",
35-
"remove_all_routes_from_router",
36-
"add_port_to_router",
37-
"add_port_to_router_by_name",
38-
"add_subnet_to_router",
39-
"add_subnet_to_router_by_name",
40-
"remove_subnet_from_router",
41-
"remove_port_from_router",
42-
"get_free_floating_ip",
43-
"get_floating_ip",
44-
"list_floating_ips",
45-
"bind_floating_ip",
46-
"nuke_network",
47-
]
48-
496
PUBLIC_NETWORK = "public"
507

518

chi/server.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,6 @@ def attach_volume(self, volume_id: str) -> None:
644644
645645
Args:
646646
volume_id (str): The volume to attach.
647-
mount_location (str, optional): The mount location of the volume. Defaults to "/mnt/volume".
648647
"""
649648
nova().volumes.create_server_volume(self.id, volume_id)
650649

chi/share.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,6 @@
33
from .clients import manila
44
from .exception import CHIValueError, ResourceError
55

6-
__all__ = [
7-
"create_share",
8-
"delete_share",
9-
"extend_share",
10-
"get_access_rules",
11-
"get_share",
12-
"get_share_id",
13-
"list_shares",
14-
"shrink_share",
15-
]
16-
176

187
def _get_default_share_type_id():
198
# we only support one share type - cephfsnfstype

0 commit comments

Comments
 (0)