top of page

General discussion

Public·1 member

XML API - DAGs Not Being Populated ...

Hi all,


I can sucessfully create address objects with a TAG via the XML API, however, my DAG with the correct match statement never gets populated with the address object. I am using panxapi.py to talk to the API. For example:


#panxapi.py -h panorma.com -K <my-key> -xU dag-register.xml

dag-register.xml contains


<uid-message>
  <type>update</type>
  <payload>
    <register>
      <entry ip="10.1.1.3">
        <tag>
          <member>A-Test</member>
        </tag>
      </entry>
    </register>
  </payload>
</uid-message>

When executed it is successful


#panxapi.py -h panorma.com -K <my-key> -xU dag-register.xml
dynamic-update: success
<response status="success"><result><uid-response>
  <version>2.0</version>
  <payload>
    <register>
    </register>
  </payload>
</uid-response>
</result></response>

I can see the address objects are their tags:


> show object registered-ip all

registered IP                             Tags
----------------------------------------  -----------------

10.1.1.3 #
                                         "A-Test (never expire) "
Total: 1 registered addresses
*: received from user-id agent  #: persistent

However, the DAG never ever becomes populated with the TAG'd address object e.g.


> show object dynamic-address-group name A-Test

Dynamic address groups in vsys vsys1:
----------------------------------------------------

----------------defined in vsys --------------------
        A-Test
                filter: 'A-Test'

                members: total 0
O: address object; R: registered ip; D: dynamic group; S: static group

>

Is there something obvious I am doing wrong ? Any help would be much appreciated.


Thanks!


-Alex

6 Views
  • Whatsapp
  • Amazon
  • X
  • LinkedIn

Contact
PANgurus BV
VAT: BE0769507136
INFO@PANGURUS.COM
+32 (486) 986 753

©2020 by PANgurus.

bottom of page