Developer

 View Only
  • 1.  Aruba Central New CNAC Visitor API - Valid values for changeNotification, vestaPasswordMethod and related fields

    Posted 16 days ago

    Hello everyone,

    I am currently testing the Aruba Central New CNAC Visitor API and have successfully created visitors through the API.

    However, I am struggling to find documentation describing the valid string values for several fields within the visitor object. The API schema shows these fields as type string, but I have not been able to find any documentation listing the accepted values.

      I have searched the public Aruba documentation and OpenAPI definitions but have not yet found a reference that describes the accepted values or enumerations for these fields.

      Any examples, documentation links, or guidance from Aruba Engineering would be greatly appreciated.

      Thank you in advance for your help.

      Kind regards,

      Dennis



      ------------------------------
      DV-fd11b4
      Netherlands
      ------------------------------


    • 2.  RE: Aruba Central New CNAC Visitor API - Valid values for changeNotification, vestaPasswordMethod and related fields

      Posted 16 days ago

      Those three aren't enumerated anywhere public yet: the schema only says string. The fastest way to get the real values is to have the UI write them for you. Create a test visitor under Central NAC > Configuration > Visitors once for each password and notification option the form gives you, then GET that visitor back through the same API and read what's stored in each field.

      My read is that vestaPasswordMethod is the random password generator and vestaPasswordParameter is its argument (length or word count). changeNotification should tie to the SMS and email password notices Central NAC sends on account creation or password reset, covered in the New Central Custom SMS and Email page: https://arubanetworking.hpe.com/techdocs/CNX-CNXOP-NewHelp/HPE%20Aruba%20Networking%20Central/GUID-DEDE8660-4DFB-41BF-9C50-2985852FE401.html

      The vesta prefix comes from ClearPass Guest, but I wouldn't hardcode ClearPass strings until you see them come back. It's also worth a case asking HPE to put the enums in the spec.



      ------------------------------
      Dustin Burns
      @Worldcom Exchange, Inc.
      www.wei.com

      - - -
      The comments I post here are my own, and not my employers
      If my post was useful accept solution and/or give kudos
      Personal Blog: www.networkfieldnotes.com
      - - -
      ------------------------------



    • 3.  RE: Aruba Central New CNAC Visitor API - Valid values for changeNotification, vestaPasswordMethod and related fields

      Posted 15 days ago

      Hi Dustin, thank you for your prompt response.

      After using the browser's developer tools to inspect the data submitted by the user interface, I was able to identify all parameters except for the three I am still missing. I am already discussing this with my system integrator and will share any additional information here as soon as it becomes available.

      In the meantime, if anyone can help clarify these parameters, I would greatly appreciate your input.



      ------------------------------
      DV-fd11b4
      Netherlands
      ------------------------------



    • 4.  RE: Aruba Central New CNAC Visitor API - Valid values for changeNotification, vestaPasswordMethod and related fields
      Best Answer

      Posted 15 days ago

      This needs to be in the documentation indeed. I will request the API team to update the documentation.

      Values you can use

      vestaPasswordMethod

      • GENERATE_ALPHANUMERIC (this will generate a password with random characters 
            "authSource": "xxx",
            "changeNotification": "EMAIL",
            "companyName": "test",
            "displayName": "test",
            "email": "test@hpe.com",
            "enable": true,
            "name": "test",
            "vestaPasswordMethod": "GENERATE_ALPHANUMERIC",
            "vestaPasswordParameter": ""
      • GENERATE_WORDS (this will generate random passphrase)
            "authSource": "xxx",
            "changeNotification": "EMAIL",
            "companyName": "test",
            "displayName": "test",
            "email": "test@hpe.com",
            "enable": true,
            "name": "test",
            "vestaPasswordMethod": "GENERATE_WORDS",
            "vestaPasswordParameter": ""
      • FIXED_UNICODE (if you want to set the password yourself)

      Use the FXIED_UNICODE value with the option vestaPasswordParameter

      For example

          "authSource": "xxx",
          "changeNotification": "EMAIL",
          "companyName": "test",
          "displayName": "test",
          "email": "test@hpe.com",
          "enable": true,
          "name": "test",
          "vestaPasswordMethod": "FIXED_UNICODE",
          "vestaPasswordParameter": "test123456"

      changeNotification

      Valid values for changeNotification or EMAIL or SMS



      ------------------------------
      Willem Bargeman
      Systems Engineer Aruba
      ACEX #125
      ------------------------------



    • 5.  RE: Aruba Central New CNAC Visitor API - Valid values for changeNotification, vestaPasswordMethod and related fields

      Posted 14 days ago

      I can confirm that the proposed solution works as intended.

      Thank you, Willem, for your prompt response and effective solution. Your assistance is greatly appreciated.



      ------------------------------
      DV-fd11b4
      Netherlands
      ------------------------------