1 Reply Latest reply on Aug 30, 2020 12:06 AM by Lalegre

    Troubles with creating GRE tunnel on NSX edge...

    Yacudzer Novice

      Hello everybody.

       

      I trying to create gre tunnel on edge (NSX-V 6.4.6.14819921) using Rest API.

      Post request to https://nsx-manager/api/4.0/edges/edge-15/tunnels

      XML for creating:

      <tunnel>

      <name>GRE-T1</name>

      <description>GRE Tunnel 1</description>

      <type>gre</type>

      <enabled>true</enabled>

      <sourceAddress>x.x.x.x</sourceAddress>

      <destinationAddress>y.y.y.y</destinationAddress>

      <tunnelInterface>

      <mtu>1380</mtu>

      <tunnelAddresses>

      <tunnelAddress>z.z.z.1/30</tunnelAddress>

      </tunnelAddresses>

      </tunnelInterface>

      <greConfig>

      <enableKeepAliveAck>true</enableKeepAliveAck>

      </greConfig>

      <tunnelHealthCheck>

      <enabled>false</enabled>

      <type>ping</type>

      <interval>3</interval>

      <deadTimeMultiplier>4</deadTimeMultiplier>

      </tunnelHealthCheck>

      </tunnel>

       

      But I recieved this error:

       

      <?xml version="1.0" encoding="UTF-8"?>

      <error>

          <errorCode>254</errorCode>

          <details>User is not authorized to access object edge-15 and feature edge.tunnel, please check object access scope and feature permissions for the user.</details>

          <moduleName>core-services</moduleName>

      </error>

       

      I using user with Enterprize administrator rights.

      Why I cannot to create GRE tunnel?