networkiprange#

async idem_vra.exec.vra.iaas.networkiprange.create_internal_network_ip_range(hub, ctx, name, startIPAddress, endIPAddress, **kwargs)[source]#

Create internal network IP range Creates an internal network IP range. Performs POST /iaas/api/network-ip-ranges

Parameters:
  • name (string) – (required in body) A human-friendly name used as an identifier in APIs that support this option.

  • startIPAddress (string) – (required in body) Start IP address of the range.

  • endIPAddress (string) – (required in body) End IP address of the range.

  • apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about

  • fabricNetworkIds (array) – (optional in body) The Ids of the fabric networks.

  • ipVersion (string) – (optional in body) IP address version: IPv4 or IPv6. Default: IPv4.

  • description (string) – (optional in body) A human-friendly description.

  • tags (array) – (optional in body) A set of tag keys and optional values that were set on this resource instance.

async idem_vra.exec.vra.iaas.networkiprange.delete_internal_network_ip_range(hub, ctx, p_id, **kwargs)[source]#

Delete internal network IP range Delete internal network IP range with a given id Performs DELETE /iaas/api/network-ip-ranges/{id}

Parameters:
  • p_id (string) – (required in path) The ID of the network IP range.

  • apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about

async idem_vra.exec.vra.iaas.networkiprange.get_external_ip_block(hub, ctx, p_id, **kwargs)[source]#
Get specific external IP block by id An external IP block is network coming from external IPAM provider that can be

used to create subnetworks inside it Performs GET /iaas/api/external-ip-blocks/{id}

Parameters:
  • p_id (string) – (required in path) The ID of the external IP block

  • apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about

async idem_vra.exec.vra.iaas.networkiprange.get_external_ip_blocks(hub, ctx, **kwargs)[source]#
Get all external IP blocks An external IP block is network coming from external IPAM provider that can be

used to create subnetworks inside it Performs GET /iaas/api/external-ip-blocks

Parameters:

apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about

async idem_vra.exec.vra.iaas.networkiprange.get_external_network_ip_range(hub, ctx, p_id, **kwargs)[source]#

Get external IPAM network IP range Get external IPAM network IP range with a given id Performs GET /iaas/api/external-network-ip-ranges/{id}

Parameters:
  • p_id (string) – (required in path) The ID of the external IPAM network IP range.

  • apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about

async idem_vra.exec.vra.iaas.networkiprange.get_external_network_ip_ranges(hub, ctx, **kwargs)[source]#

Get external IPAM network IP ranges Get all external IPAM network IP ranges Performs GET /iaas/api/external-network-ip-ranges

Parameters:

apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about

async idem_vra.exec.vra.iaas.networkiprange.get_internal_network_ip_range(hub, ctx, p_id, **kwargs)[source]#

Get internal IPAM network IP range Get internal IPAM network IP range with a given id Performs GET /iaas/api/network-ip-ranges/{id}

Parameters:
  • p_id (string) – (required in path) The ID of the network IP range.

  • apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about

async idem_vra.exec.vra.iaas.networkiprange.get_internal_network_ip_ranges(hub, ctx, **kwargs)[source]#

Get internal IPAM network IP ranges Get all internal IPAM network IP ranges Performs GET /iaas/api/network-ip-ranges

Parameters:

apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about

async idem_vra.exec.vra.iaas.networkiprange.update_external_network_ip_range(hub, ctx, p_id, **kwargs)[source]#
Update external IPAM network IP range. Assign the external IPAM network IP range to a different network and/or change

the tags of the external IPAM network IP range. Performs PATCH /iaas/api/external-network-ip-ranges/{id}

Parameters:
  • p_id (string) – (required in path) The ID of the external IPAM network IP range.

  • apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about

  • fabricNetworkIds (array) – (optional in body) A list of fabric network Ids that this IP range should be associated with.

async idem_vra.exec.vra.iaas.networkiprange.update_internal_network_ip_range(hub, ctx, p_id, name, startIPAddress, endIPAddress, **kwargs)[source]#

Update internal network IP range. Update internal network IP range. Performs PATCH /iaas/api/network-ip-ranges/{id}

Parameters:
  • p_id (string) – (required in path) The ID of the network IP range.

  • name (string) – (required in body) A human-friendly name used as an identifier in APIs that support this option.

  • startIPAddress (string) – (required in body) Start IP address of the range.

  • endIPAddress (string) – (required in body) End IP address of the range.

  • apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about

  • fabricNetworkIds (array) – (optional in body) The Ids of the fabric networks.

  • ipVersion (string) – (optional in body) IP address version: IPv4 or IPv6. Default: IPv4.

  • description (string) – (optional in body) A human-friendly description.

  • tags (array) – (optional in body) A set of tag keys and optional values that were set on this resource instance.