Quantcast
Channel: VMware Communities : Discussion List - Virtual Disk Development Kit
Viewing all articles
Browse latest Browse all 2039

Add Sub-Allocate IP Pool to Edge Gateway

$
0
0

How can I do it.

 

I would like to set it up like this: http://i.imgur.com/P1M7i90.png

 

I set Sub-Allocation in this way:

 

$subAllocationType = new VMware_VCloud_API_SubAllocationType();
$subAllocationType->setEdgeGateway($edgeGatewayRef);                     
$subAllocationipRange = new VMware_VCloud_API_IpRangeType();
$subAllocationipRange->setStartAddress('77.79.240.136');
$subAllocationipRange->setEndAddress('77.79.240.136');

$subAllocationipRanges = new VMware_VCloud_API_IpRangesType();
$subAllocationipRanges->setIpRange(array($subAllocationipRange));

$subAllocationType->setIpRanges($subAllocationipRanges);
$subAllocations = new VMware_VCloud_API_SubAllocationsType();

$subAllocations->setSubAllocation($subAllocationType);


How to save the Sub-Allocate IP Pool to Edge Gateway?

 

$subAllocationType = new VMware_VCloud_API_SubAllocationType()

 

 

 

        $subAllocations = new VMware_VCloud_API_SubAllocationsTy

 

 

        $subAllocations->setSubAllocation($subAllocationType);


Viewing all articles
Browse latest Browse all 2039

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>