Commit 1fa2c40b authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis Committed by Iustin Pop
Browse files

Fixes to pass py-apidoc (make commit-check)


Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 3c286190
......@@ -172,7 +172,6 @@ def ListNetworkFields(opts, args):
def ShowNetworkConfig(_, args):
"""Show network information.
@param opts: the command line options selected by the user
@type args: list
@param args: should either be an empty list, in which case
we show information about all nodes, or should contain
......
......@@ -1323,8 +1323,8 @@ def _BuildNetworkHookEnv(name, subnet, gateway, network6, gateway6,
 
@type name: string
@param name: the name of the network
@type network: string
@param network: the ipv4 subnet
@type subnet: string
@param subnet: the ipv4 subnet
@type gateway: string
@param gateway: the ipv4 gateway
@type network6: string
......@@ -1363,10 +1363,8 @@ def _BuildNetworkHookEnv(name, subnet, gateway, network6, gateway6,
def _BuildNetworkHookEnvByObject(net):
"""Builds network related env varliables for hooks
 
@type lu: L{objects.LogicalUnit}
@param lu: the corresponding LU
@type network: L{objects.Network}
@param network: the network object
@type net: L{objects.Network}
@param net: the network object
 
"""
args = {
......
......@@ -1712,8 +1712,8 @@ class GanetiRapiClient(object): # pylint: disable=R0904
def GetNetwork(self, network):
"""Gets information about a network.
@type group: str
@param group: name of the network whose info to return
@type network: str
@param network: name of the network whose info to return
@rtype: dict
@return: info about the network
......@@ -1728,8 +1728,8 @@ class GanetiRapiClient(object): # pylint: disable=R0904
add_reserved_ips=None, tags=None, dry_run=False):
"""Creates a new network.
@type name: str
@param name: the name of network to create
@type network_name: str
@param network_name: the name of network to create
@type dry_run: bool
@param dry_run: whether to peform a dry run
......@@ -1811,8 +1811,8 @@ class GanetiRapiClient(object): # pylint: disable=R0904
def DeleteNetwork(self, network, dry_run=False):
"""Deletes a network.
@type group: str
@param group: the network to delete
@type network: str
@param network: the network to delete
@type dry_run: bool
@param dry_run: whether to peform a dry run
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment