Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

API Name

API parameters

API response

Available only for root admin

editpodUpdatepod

*podId, *IpaddressStart, IpaddressEnd, *Netmask, *Gateway. remove

returns the IP ranges of the pod that are added or removed

yes

...

Parameter Name

Description

required

podID

specifies the id of the pod to which the new range is added

true

IpaddressStart

starting address of the IP range

true

IpaddressEnd

ending address of the IP range. use the entire cidr if not specified.

false

Netmask

Netmask of the subnet

true

Gateway

Gateway of the subnet

true

allocation state

allocation state of the pod

false

remove

if remove is set to true it will try to remove the given IP range or subnet. this defaults to false.

false

remove is the new parameter that we are going to add.

validation.
#1 We use checkpodAttributes function in configurationManagerImpl.

...