{"action":"closed","issue":{"url":"https://api.github.com/repos/purple-dbu/vmware-vcloud-sdk-php-patched/issues/25","labels_url":"https://api.github.com/repos/purple-dbu/vmware-vcloud-sdk-php-patched/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/purple-dbu/vmware-vcloud-sdk-php-patched/issues/25/comments","events_url":"https://api.github.com/repos/purple-dbu/vmware-vcloud-sdk-php-patched/issues/25/events","html_url":"https://github.com/purple-dbu/vmware-vcloud-sdk-php-patched/issues/25","id":53371512,"number":25,"title":"Add Sub-Allocate IP Pool to Edge Gateway","user":{"login":"konradinho","id":2144718,"avatar_url":"https://avatars.githubusercontent.com/u/2144718?v=3","gravatar_id":"","url":"https://api.github.com/users/konradinho","html_url":"https://github.com/konradinho","followers_url":"https://api.github.com/users/konradinho/followers","following_url":"https://api.github.com/users/konradinho/following{/other_user}","gists_url":"https://api.github.com/users/konradinho/gists{/gist_id}","starred_url":"https://api.github.com/users/konradinho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/konradinho/subscriptions","organizations_url":"https://api.github.com/users/konradinho/orgs","repos_url":"https://api.github.com/users/konradinho/repos","events_url":"https://api.github.com/users/konradinho/events{/privacy}","received_events_url":"https://api.github.com/users/konradinho/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"yconan","id":5886437,"avatar_url":"https://avatars.githubusercontent.com/u/5886437?v=3","gravatar_id":"","url":"https://api.github.com/users/yconan","html_url":"https://github.com/yconan","followers_url":"https://api.github.com/users/yconan/followers","following_url":"https://api.github.com/users/yconan/following{/other_user}","gists_url":"https://api.github.com/users/yconan/gists{/gist_id}","starred_url":"https://api.github.com/users/yconan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yconan/subscriptions","organizations_url":"https://api.github.com/users/yconan/orgs","repos_url":"https://api.github.com/users/yconan/repos","events_url":"https://api.github.com/users/yconan/events{/privacy}","received_events_url":"https://api.github.com/users/yconan/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-01-05T07:37:35Z","updated_at":"2015-01-05T16:07:12Z","closed_at":"2015-01-05T16:07:12Z","body":"How to save the Sub-Allocate IP Pool to Edge Gateway?\r\n\r\nI would like to set it up like this: http://i.imgur.com/P1M7i90.png\r\n\r\nI set Sub-Allocation in this way:\r\n\r\n$subAllocationType = new VMware_VCloud_API_SubAllocationType();\r\n$subAllocationType->setEdgeGateway($edgeGatewayRef);      \r\n$subAllocationipRange = new VMware_VCloud_API_IpRangeType();\r\n$subAllocationipRange->setStartAddress('77.79.240.136');\r\n$subAllocationipRange->setEndAddress('77.79.240.136');\r\n$subAllocationipRanges = new VMware_VCloud_API_IpRangesType();\r\n$subAllocationipRanges->setIpRange(array($subAllocationipRange));\r\n$subAllocationType->setIpRanges($subAllocationipRanges);\r\n$subAllocations = new VMware_VCloud_API_SubAllocationsType();\r\n$subAllocations->setSubAllocation($subAllocationType);"}}