Revision 1fa2c40b lib/rapi/client.py
b/lib/rapi/client.py | ||
---|---|---|
1712 | 1712 |
def GetNetwork(self, network): |
1713 | 1713 |
"""Gets information about a network. |
1714 | 1714 |
|
1715 |
@type group: str
|
|
1716 |
@param group: name of the network whose info to return
|
|
1715 |
@type network: str
|
|
1716 |
@param network: name of the network whose info to return
|
|
1717 | 1717 |
|
1718 | 1718 |
@rtype: dict |
1719 | 1719 |
@return: info about the network |
... | ... | |
1728 | 1728 |
add_reserved_ips=None, tags=None, dry_run=False): |
1729 | 1729 |
"""Creates a new network. |
1730 | 1730 |
|
1731 |
@type name: str |
|
1732 |
@param name: the name of network to create |
|
1731 |
@type network_name: str
|
|
1732 |
@param network_name: the name of network to create
|
|
1733 | 1733 |
@type dry_run: bool |
1734 | 1734 |
@param dry_run: whether to peform a dry run |
1735 | 1735 |
|
... | ... | |
1811 | 1811 |
def DeleteNetwork(self, network, dry_run=False): |
1812 | 1812 |
"""Deletes a network. |
1813 | 1813 |
|
1814 |
@type group: str
|
|
1815 |
@param group: the network to delete
|
|
1814 |
@type network: str
|
|
1815 |
@param network: the network to delete
|
|
1816 | 1816 |
@type dry_run: bool |
1817 | 1817 |
@param dry_run: whether to peform a dry run |
1818 | 1818 |
|
Also available in: Unified diff