Before you can browse and extend networks with vCloud Director Extender, you must assign advanced networking permissions to the Organization Admin user.

Procedure

  1. Get a valid vCloud Director API session.
    curl -i -k -H "Accept:application/*+xml;version=1.5" -u  'user-name@System:password' -X POST https://vcd-ip/api/sessions
  2. Get the vCloud Director rights references.
    curl -i -k -H "Accept:application/*+xml;version=1.5" -H 'x-vcloud-authorization: 14bdda8f67b1480fba16ce32d67cd284' -X GET https://vcd-ip/api/admin?fields=RightReferences
  3. Get all the rights and save the list to an xml file.
    curl -i -k -H "Accept:application/*+xml;version=1.5" -H 'x-vcloud-authorization: 828243f0fbab4b62b9f29b277d50aa27' -X GET https://vcd-ip/api/admin/org/2b1a860f-9373-4948-943e-7f790d4295f3/rights
  4. Add the following rights in the xml file:
    <RightReference href="https://vcd-ip/api/admin/right/629c90fd-78a4-3929-98bd-57e4747d067b" name="Hybrid Cloud Operations: View from-the-cloud tunnel" type="application/vnd.vmware.admin.right+xml"/>
    <RightReference href="https://vcd-ip/api/admin/right/b080bb50-cff1-3258-9683-842d34255a95" name="Organization vDC Gateway: Configure Services" type="application/vnd.vmware.admin.right+xml"/>
    <RightReference href="https://vcd-ip/api/admin/right/84ddb40f-a49a-35e1-918e-3f11507825d7" name="Organization vDC Gateway: Configure Syslog" type="application/vnd.vmware.admin.right+xml"/>
    <RightReference href="https://vcd-ip/api/admin/right/ff3fc70f-fd25-3c0a-9d90-e7ff82456be5" name="Organization vDC Gateway: Configure System Logging" type="application/vnd.vmware.admin.right+xml"/>
    <RightReference href="https://vcd-ip/api/admin/right/9dc33fcb-346d-30e1-8ffa-cf25e05ba801" name="Organization vDC Gateway: Convert to Advanced Networking" type="application/vnd.vmware.admin.right+xml"/>
  5. Update the vCloud Director rights by using the xml file.
    curl -i -k -H "Accept: application/*;version=27.0" -H 'Content-type: application/vnd.vmware.admin.org.rights+xml' -H 'x-vcloud-authorization: 828243f0fbab4b62b9f29b277d50aa27' -X PUT -d @path-to-xml
    https://vcd-ip/api/admin/org/2b1a860f-9373-4948-943e-7f790d4295f3/rights 
  6. In the vCloud Director User Interface, navigate to Role Properties: Organization Administrator.
  7. Under the Gateway category, select the appropriate rights to enable advanced networking for the Organization Administrator user.