Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Resource Pools Management RESTful Web Services

    The following operations can be performed using the Connectivity Services Director Resource Pools Management RESTful Web Services.

    Get Status of Resource Pools for a VLAN

    This request is used to retrieve the status of resource pools for a VLAN interface. While creating service order, there is a possibility that you might enter an already allocated VLAN ID. To identify whether a particular VLAN ID is already allocated or nota resource pool API has been designed. The interface ID for a particular interface in a device is found by using the following API:

    api/space/nsas/device-roles/pe-devices

    URI

    api/space/nsas/resource-utilization/vlan-resource/
    <interface-id>/<vlan-id>

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.resource-
    utilization.vlan-resource-status+xml

    Produces

    Displays the status of resource pools for a VLAN ID.

    Output

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <ResourceItem>
    <Type>VLAN</Type>
    <Value>1252</Value>
    <Status>Available </Status>
    </ResourceItem>
    </Data>
    

    Get Status of Resource Pools for a Virtual Circuit

    This request is used to retrieve the status of resource pools for a virtual circuit. The interface ID for a particular interface in a device is found by using the following API:

    api/space/nsas/device-roles/pe-devices

    URI

    api/space/nsas/resource-utilization/
    vc-resource/<vc-id>

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.
    resource-utilization.vc-resource-status+xml

    Produces

    Displays the status of resource pools for a virtual circuit.

    Output

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <ResourceItem>
    <Type>VCID</Type>
    <Value>2147467331</Value>
    <Status>Allocated</Status>
    </ResourceItem>
    </Data>
    

    Get Status of Route Distinguishers in Resource Pools

    This request is used to retrieve the status of route distinguishers (RDs) in a resource pool. The device ID for a particular device is found by using the following API:

    api/space/nsas/device-roles/pe-devices

    URI

    api/space/nsas/resource-utilization/
    rd-resource/<deviceId>/<rdValue>

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.
    resource-utilization.rd-resource-status+xml

    Produces

    Displays the status of route distinguishers in a resource pool.

    Output

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <ResourceItem>
    <Type>RD</Type>
    <Value>100</Value>
    <Status>Allocated</Status>
    </ResourceItem>
    </Data>
    

    Get Status of Route Targets in Resource Pools

    This request is used to retrieve the status of route targets (RTs) in a resource pool. The device ID for a particular device is found by using the following API:

    api/space/nsas/device-roles/pe-devices

    URI

    api/space/nsas/resource-utilization/rd-resource/
    <deviceId>/<rtValue>

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.resource-utilization.
    rt-resource-status+xml

    Produces

    Displays the status of route targets in a resource pool.

    Output

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <ResourceItem>
    <Type>RT</Type>
    <Value>301</Value>
    <Status>Available</Status>
    </ResourceItem>
    </Data>
    

    Get All Resource Pools Available in Junos Space

    This request is used to retrieve the configured resource pool details.

    URI

    api/space/nsas/resource-utilization/resource-pools

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.resource-
    utilization.resource-pools+xml

    Produces

    Collects all the resource pool details available in Junos Space.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ResourcePools size="200">
    		<ResourcePool>
    			<PoolName>global-vcid-pool</PoolName>
    			<PoolID>1</PoolID>
    			<PoolType>Virtual Circuit</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>Global pool of VC-Ids</PoolDescription>
    			<PoolSize>-</PoolSize>
    			<Allocations size="1"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>IPV4 Resource Pool:10.0.77.0/24</PoolName>
    			<PoolID>4</PoolID>
    			<PoolType>IPV4 Address</PoolType>
    			<SubType>Global</SubType>
    			<PoolDescription>Pool of IPV4 Addresses:10.0.77.0/24, (10.0.77.0/24)</PoolDescription>
    			<ManagingElement>Global Pool</ManagingElement>
    			<Allocations size="1"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>IPV4 Resource Pool:10.0.88.0/24</PoolName>
    			<PoolID>7</PoolID>
    			<PoolType>IPV4 Address</PoolType>
    			<SubType>Global</SubType>
    			<PoolDescription>Pool of IPV4 Addresses:10.0.88.0/24, (10.0.88.0/24)</PoolDescription>
    			<ManagingElement>Global Pool</ManagingElement>
    			<Allocations size="1"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>IPV4 Resource Pool:10.0.99.0/24</PoolName>
    			<PoolID>10</PoolID>
    			<PoolType>IPV4 Address</PoolType>
    			<SubType>Global</SubType>
    			<PoolDescription>Pool of IPV4 Addresses:10.0.99.0/24, (10.0.99.0/24)</PoolDescription>
    			<ManagingElement>Global Pool</ManagingElement>
    			<Allocations size="0"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>AsRTPool50</PoolName>
    			<PoolID>32770</PoolID>
    			<PoolType>Route Target</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>RT Pool for AS50</PoolDescription>
    			<PoolSize>-</PoolSize>
    			<Allocations size="6"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>AsRDPool50</PoolName>
    			<PoolID>32772</PoolID>
    			<PoolType>Route Distinguisher</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>RD Pool for AS50</PoolDescription>
    			<PoolSize>-</PoolSize>
    			<Allocations size="29"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>VLAN:ARUN4re:ge-0/0/3</PoolName>
    			<PoolID>33356</PoolID>
    			<PoolType>VLAN</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>VLAN Id Pool For Interface : ge-0/0/3 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="0"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>Unit:ARUN4re:ge-0/0/3</PoolName>
    			<PoolID>33360</PoolID>
    			<PoolType>Unit</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>Unit Pool For Interface : ge-0/0/3 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="0"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>VLAN:ARUN4re:ge-0/0/4</PoolName>
    			<PoolID>33364</PoolID>
    			<PoolType>VLAN</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>VLAN Id Pool For Interface : ge-0/0/4 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="0"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>Unit:ARUN4re:ge-0/0/4</PoolName>
    			<PoolID>33368</PoolID>
    			<PoolType>Unit</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>Unit Pool For Interface : ge-0/0/4 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="0"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>VLAN:ARUN4re:ge-0/0/5</PoolName>
    			<PoolID>33372</PoolID>
    			<PoolType>VLAN</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>VLAN Id Pool For Interface : ge-0/0/5 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="1"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>Unit:ARUN4re:ge-0/0/5</PoolName>
    			<PoolID>33376</PoolID>
    			<PoolType>Unit</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>Unit Pool For Interface : ge-0/0/5 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="1"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>VLAN:ARUN4re:ge-0/0/6</PoolName>
    			<PoolID>33380</PoolID>
    			<PoolType>VLAN</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>VLAN Id Pool For Interface : ge-0/0/6 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="0"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>Unit:ARUN4re:ge-0/0/6</PoolName>
    			<PoolID>33384</PoolID>
    			<PoolType>Unit</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>Unit Pool For Interface : ge-0/0/6 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="0"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>VLAN:ARUN4re:ge-0/0/7</PoolName>
    			<PoolID>33388</PoolID>
    			<PoolType>VLAN</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>VLAN Id Pool For Interface : ge-0/0/7 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="0"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>Unit:ARUN4re:ge-0/0/7</PoolName>
    			<PoolID>33392</PoolID>
    			<PoolType>Unit</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>Unit Pool For Interface : ge-0/0/7 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="0"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>VLAN:ARUN4re:ge-0/0/8</PoolName>
    			<PoolID>33396</PoolID>
    			<PoolType>VLAN</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>VLAN Id Pool For Interface : ge-0/0/8 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="0"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>Unit:ARUN4re:ge-0/0/8</PoolName>
    			<PoolID>33400</PoolID>
    			<PoolType>Unit</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>Unit Pool For Interface : ge-0/0/8 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="0"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>VLAN:ARUN4re:ge-0/0/9</PoolName>
    			<PoolID>33404</PoolID>
    			<PoolType>VLAN</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>VLAN Id Pool For Interface : ge-0/0/9 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="0"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>Unit:ARUN4re:ge-0/0/9</PoolName>
    			<PoolID>33408</PoolID>
    			<PoolType>Unit</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>Unit Pool For Interface : ge-0/0/9 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="0"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>VLAN:ARUN4re:lt-0/0/10</PoolName>
    			<PoolID>33412</PoolID>
    			<PoolType>VLAN</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>VLAN Id Pool For Interface : lt-0/0/10 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="0"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>Unit:ARUN4re:lt-0/0/10</PoolName>
    			<PoolID>33416</PoolID>
    			<PoolType>Unit</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>Unit Pool For Interface : lt-0/0/10 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="1"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>VLAN:ARUN4re:ge-0/1/0</PoolName>
    			<PoolID>33420</PoolID>
    			<PoolType>VLAN</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>VLAN Id Pool For Interface : ge-0/1/0 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="0"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>Unit:ARUN4re:ge-0/1/0</PoolName>
    			<PoolID>33424</PoolID>
    			<PoolType>Unit</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>Unit Pool For Interface : ge-0/1/0 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="0"/>
    		</ResourcePool>
    		<ResourcePool>
    			<PoolName>VLAN:ARUN4re:ge-0/1/1</PoolName>
    			<PoolID>33428</PoolID>
    			<PoolType>VLAN</PoolType>
    			<SubType>-</SubType>
    			<PoolDescription>VLAN Id Pool For Interface : ge-0/1/1 : ON Device Id : ARUN4re</PoolDescription>
    			<ManagingElement>Device (ARUN4re)</ManagingElement>
    			<PoolSize>-</PoolSize>
    			<Allocations size="0"/>
    		</ResourcePool>
    	</ResourcePools>
    </Data>

    Get Allocated Resources for a Pool

    This request is used to retrieve all the allocated resources for a particular pool.

    URI

    api/space/nsas/resource-utilization/resource-pools
    /pool-id

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.resource-
    utilization.resource-pools+xml

    Produces

    Collects all the allocated resources for a particular pool.

    Output

    Sample XML Output

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ResourcePools>
    		<ResourcePool>
    			<PoolName>Unit:ARUN2re:ge-0/0/4</PoolName>
    			<PoolID>33482</PoolID>
    			<PoolType>Unit</PoolType>
    			<PoolDescription>Unit Pool For Interface : ge-0/0/4 : ON Device Id : ARUN2re</PoolDescription>
    			<ManagingElement>Device (ARUN2re)</ManagingElement>
    			<Allocations size="1">
    				<Allocated>
    					<Value>78</Value>
    					<METype>Interface</METype>
    					<Description>Allocated([Service : HSRDTEST, Interface : ge-0/0/4.78])</Description>
    				</Allocated>
    			</Allocations>
    		</ResourcePool>
    	</ResourcePools>
    </Data>

    Get Status of Units in Resource Pools for IPv4 Address Profiles

    This request is used to retrieve the status of units for interfaces in a resource pool. While creating a service order, there is a possibility that you might configure an already allocated unit. To find out whether a particular unit has been previously allocated, the Resource Pool API has been implemented. The interface ID for a particular interface in a device can be determined by using the following API:

    api/space/nsas/device-roles/pe-devices

    URI

    api/space/nsas/resource-utilization/unit-
    resource/{interface-id}/{unit}

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.
    resource-utilization.unit-resource-status+xml

    Produces

    Displays the status of units in a resource pool.

    Output

    Sample XML Output

     <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ResourceItem>
    		<Type>Unit</Type>
    		<Value>125</Value>
    		<Status>Available </Status>
    	</ResourceItem>
    </Data>
    
    

    Get All Resource Pools for IPv4 Address Profiles

    This request is used to retrieve the configured IPv4 address resource pool details.

    URI

    api/space/nsas/resource-utilization/ipv4address-pool

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.resource-utilization.
    ipv4address-pools+xml

    Produces

    Collects all the IPv4 address resource pool details.

    Output

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <IPV4AddressPool>
    <PoolName>IPV4 Resource Pool:10.0.77.0/24</PoolName>
    <PoolID>4</PoolID>
    <PoolType>Global</PoolType>
    <PoolDescription>Pool of IPV4 Addresses:10.0.77.0/24</PoolDescription>
    <IPAddressPool>10.0.77.0/24</IPAddressPool>
    </IPV4AddressPool>
    <IPV4AddressPool>
    <PoolName>IPV4 Resource Pool:10.0.88.0/24</PoolName>
    <PoolID>7</PoolID>
    <PoolType>Global</PoolType>
    <PoolDescription>Pool of IPV4 Addresses:10.0.88.0/24</PoolDescription>
    <IPAddressPool>10.0.88.0/24</IPAddressPool>
    </IPV4AddressPool>
    <IPV4AddressPool>
    <PoolName>IPV4 Resource Pool:10.0.99.0/24</PoolName>
    <PoolID>10</PoolID>
    <PoolType>Global</PoolType>
    <PoolDescription>Pool of IPV4 Addresses:10.0.99.0/24</PoolDescription>
    <IPAddressPool>10.0.99.0/24</IPAddressPool>
    </IPV4AddressPool>
    </Data>
    

    Get IPv4 Address Resource Pools By Pool ID

    This request is used to retrieve the details of a specific resource pool based on the pool identifier.

    URI

    api/space/nsas/resource-utilization/
    ipv4address-pool/<poolId>

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.resource-
    utilization.ipv4address-pool+xml

    Produces

    Collects a specific IPv4 address resource pool details.

    Output

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <IPV4AddressPool>
    <PoolName>IPV4 Resource Pool:10.0.77.0/24</PoolName>
    <PoolID>4</PoolID>
    <PoolType>Global</PoolType>
    <PoolDescription>Pool of IPV4 Addresses:10.0.77.0/24</PoolDescription>
    <IPAddressPool>10.0.77.0/24</IPAddressPool>
    </IPV4AddressPool>
    </Data>
     
    

    Get All Resource Pools

    This request is used to retrieve the configured resource pool details.

    URI

    api/space/nsas/resource-utilization/resource-pools?
    start=<start count>&limit=<number for records>

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.resource-
    utilization.resource-pools+xml

    Produces

    Collects all the resource pool details.

    Output

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <ResourcePool>
    <ResourcePool>
    <PoolName>IPV4 Resource Pool:10.0.77.0/24</PoolName>
    <PoolID>4</PoolID>
    <PoolType>IPV4_ADDRESS_IDENTIFIER</PoolType>
    <SubType>default</SubType>
    <PoolDescription>Pool of IPV4 Addresses:10.0.77.0/24</PoolDescription>
    <PoolSize>256</PoolSize>
    <Allocations size=”1”></Allocations>
    </ResourcePool>
    <ResourcePool>
    <PoolName>AsRDPool100</PoolName>
    <PoolID>15</PoolID>
    <PoolType>ROUTE_DISTINGUISHER_IDENTIFIER</PoolType>
    <PoolDescription>RD Pool for AS100</PoolDescription>
    <PoolSize>4294967296</PoolSize>
    <Allocations size=”0”></Allocations>
    </ResourcePool>
    <ResourcePool>
    <PoolName> VLAN:655378:ge-0/0/0</PoolName>
    <PoolID>10</PoolID>
    <PoolType>VLAN_IDENTIFIER</PoolType>
    <PoolDescription>VLAN Id Pool For Interface : ge-0/0/0 : ON Device Id : 655378 </PoolDescription>
    <PoolSize>16769024</PoolSize>
    <Allocations size=”0”></Allocations>
    </ResourcePool>
    </ResourcePool>
    </Data>
    

    Get Allocated Resource Pools By Pool ID

    This request is used to retrieve the details of a specific allocated resource pool based on the pool identifier.

    URI

    api/space/nsas/resource-utilization/
    resource-pool/<poolId>

    HTTP Method

    GET

    Consumes

    application/vnd.net.juniper.space.resource-
    utilization.resource-pool+xml

    Produces

    Collects a specific allocated resource pool details.

    Output

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    	<ResourcePool>
    <PoolName>IPV4 Resource Pool:10.0.77.0/24</PoolName>
    <PoolID>4</PoolID>
    <PoolType>IPV4_ADDRESS_IDENTIFIER</PoolType>
    <SubType>default</SubType>
    <PoolDescription>Pool of IPV4 Addresses:10.0.77.0/24</PoolDescription>
    <PoolSize>256</PoolSize>
    <Allocations size=”1”>
    	<Allocated>
    		<Value>10.0.77.13/30</Value>
    		<METype> UNI_Entity</METype>
    		<Description>Device: Buxar UNI: ge-1/2/4</Description>
    	</Allocated>
    </Allocations>
    	</ResourcePool>
    </Data>
    	
     
    

    Create an IPv4 Resource Pool

    This request is used to create an IPv4 resource pool.

    URI

    api/space/nsas/resource-utilization/ipv4address-pool

    HTTP Method

    POST

    Content-Type

    application/vnd.net.juniper.space.resource-
    utilization.ipv4address-pool+xml

    Consumes

    application/vnd.net.juniper.space.resource-
    utilization.ipv4address-pool-status+xml

    Produces

    Creates an IPv4 resource pool.

    Input for Creating a Global Pool

    Sample XML Input for Creating a Global Pool

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <IPV4AddressPool>
    <PoolName>Test4</PoolName>
    <PoolType>Global</PoolType>
    <PoolDescription></PoolDescription>
    <IPAddressPool>10.0.19.0</IPAddressPool>
    <IPBlockSize>24</IPBlockSize>
    </IPV4AddressPool>
    </Data>
    

    Input for Creating a Customer Pool

    Sample XML Input for Creating a Customer Pool

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <IPV4AddressPool>
    <PoolName>Custom</PoolName>
    <PoolType>Customer</PoolType>
    <PoolDescription></PoolDescription>
    <IPAddressPool>10.0.25.0</IPAddressPool>
    <IPBlockSize>24</IPBlockSize>
    <AssociatedCustomer>John Mclane</AssociatedCustomer>
    </IPV4AddressPool>
    </Data>
    

    Output

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <Status>
    <Identity>
    <Type>IPV4ResourcePool</Type>
    <Value>393236</Value>
    </Identity>
    <Code>200</Code>
    <Message>IPV4ResourcePool created successfully</Message>
    </Status>
    </Data>
    

    Delete an IPv4 Resource Pool

    This request is used to delete a previously configured IPv4 resource pool.

    URI

    api/space/nsas/resource-utilization/ipv4address-pool

    HTTP Method

    DELETE

    Consumes

    application/vnd.net.juniper.space.resource-
    utilization.ipv4address-pool-status+xml

    Produces

    Deletes an IPv4 resource pool.

    Output

    Sample XML Output

    <Data xmlns="services.schema.networkapi.jmp.juniper.net">
    <Status>
    <Identity>
    <Type>IPV4ResourcePool</Type>
    <Value>393236</Value>
    </Identity>
    <Code>200</Code>
    <Message>IPV4ResourcePool deleted successfully</Message>
    </Status>
    </Data>
     
    

    Modified: 2017-09-13