Results 1 to 3 of 3
  1. #1
    Untanglit
    Join Date
    Oct 2014
    Posts
    26

    Default How to get appid?

    Guys, is it possible to get the appid for the captive portal node? I need to retrieve it in a python script

  2. #2
    Untangler jcoffin's Avatar
    Join Date
    Aug 2008
    Location
    Sunnyvale, CA
    Posts
    9,195

    Default

    In the terminal> ucli instances
    Attention: Support and help on the Untangle Forums is provided by
    volunteers and community members like yourself.
    If you need Untangle support please call or email support@untangle.com

  3. #3
    Untanglit
    Join Date
    Oct 2014
    Posts
    26

    Default

    Thanks Jcoffin.

    Giving back:

    import uvm
    from uvm import Manager
    from uvm import Uvm

    uvmContext = Uvm().getUvmContext(hostname='localhost', username=None, password=None, timeout=60)
    manager = Manager.managers[0]
    remoteManager = manager(uvmContext)
    for instance in remoteManager.get_instances():
    if 'untangle-node-captive-portal' in instance:
    print instance[0]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO 3.6.0 PL2