1 Reply Latest reply on Jul 3, 2017 5:14 PM by mesverrum

    IPAM.IPNode Status Meaning

    justin.richert

      Good afternoon All -

       

      Can someone tell me the relationship between the different options for Status in Table IPAM.IPNode, or Give me a better query for:

       

      when running

      results = swis.query("Select I.IPAddress, I.Status, I.DisplayName FROM IPAM.IPNode I")

       

      I get a result of [{u'Status':4, u'DisplayName':'10.0.0.1', u'IPAddress':10.0.0.1'}]

       

      What is the mapping of the int Status and the actual use? 

       

      The point is to tie this into a ChatBot such that when I ask:

      !Bot what is the status of IP address 10.0.0.1 ?

      I Get a Response of Used, Available, Reserved, or Transient

       

       

      Thanks!