get_network

Inventory.get_network(**kwargs)[source]

Get a network from the inventory.

Keyword Arguments
  • name (str) – The name of the network.

  • type (str) – The type of the network.

Returns

The networks matching the search criteria.

Return type

list of Network