Child pages
  • Add New IP Address Pool
Skip to end of metadata
Go to start of metadata

To add new IP address pool:

POST /settings/ip_address_pools/:id.xml
POST /settings/ip_address_pools/:id.json

XML Request example

curl -i -u user:userpass -X POST http://onapp.test/settings/ip_address_pools.xml -d'<ip_address_pool><cidr>30</cidr><network_address></network_address></ip_address_pool>' -H 'Accept: application/xml' -H 'Content-type: application/xml'

JSON Request example

curl -i -u user:userpass -X POST http://onapp.test/settings/ip_address_pools.json -d'{"ip_address_pool":{"cidr":"30","network_address":""}}' -H 'Accept: application/json' -H 'Content-type: application/json'

Where you have to specify the following parameters:

cidr – IP address prefix size

network_address – the address of a VLAN network address that will be associated with this IP address pool

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels