Revision 1fa2c40b

b/lib/client/gnt_network.py
172 172
def ShowNetworkConfig(_, args):
173 173
  """Show network information.
174 174

  
175
  @param opts: the command line options selected by the user
176 175
  @type args: list
177 176
  @param args: should either be an empty list, in which case
178 177
      we show information about all nodes, or should contain
b/lib/cmdlib.py
1323 1323

  
1324 1324
  @type name: string
1325 1325
  @param name: the name of the network
1326
  @type network: string
1327
  @param network: the ipv4 subnet
1326
  @type subnet: string
1327
  @param subnet: the ipv4 subnet
1328 1328
  @type gateway: string
1329 1329
  @param gateway: the ipv4 gateway
1330 1330
  @type network6: string
......
1363 1363
def _BuildNetworkHookEnvByObject(net):
1364 1364
  """Builds network related env varliables for hooks
1365 1365

  
1366
  @type lu: L{objects.LogicalUnit}
1367
  @param lu: the corresponding LU
1368
  @type network: L{objects.Network}
1369
  @param network: the network object
1366
  @type net: L{objects.Network}
1367
  @param net: the network object
1370 1368

  
1371 1369
  """
1372 1370
  args = {
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