Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    webgui omapi setting does not work

    Scheduled Pinned Locked Moved DHCP and DNS
    2 Posts 1 Posters 419 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K Offline
      ken.teh
      last edited by

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • K Offline
        ken.teh
        last edited by ken.teh

        Pilot error. I didn't save my changes. Missed the save button which was not at the bottom of the page but in the middle.

        I can connect. I created a lease object and set its ip to an existing lease but open says "can't open object: invalid argument". Must be something really simple but I'm not seeing it.

        Playback:

        # omshell
        > key-algorithm HMAC-SHA256
        > key omapi_key xxxxxxx...
        > connect
        obj: <null>
        > new lease
        obj: lease
        > set ip-address=172.16.0.20
        obj: lease
        ip-address = ac:10:00:14
        > open
        can't open object: invalid argument
        obj: lease
        ip-address = ac:10:00:14
        >
        

        What am I doing wrong? Thanks

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.