<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Use panxapi to delete member from address group in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/use-panxapi-to-delete-member-from-address-group/m-p/48527#M1095</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is PAN-perl-20120921 and has panaddr.&amp;nbsp; there is a newer PAN-perl version and I'll look into getting that posted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="19808" __jive_macro_name="message" class="jive_macro jive_macro_message" href="https://live.paloaltonetworks.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Jan 2013 17:42:03 GMT</pubDate>
    <dc:creator>ksteves1</dc:creator>
    <dc:date>2013-01-18T17:42:03Z</dc:date>
    <item>
      <title>Use panxapi to delete member from address group</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/use-panxapi-to-delete-member-from-address-group/m-p/48524#M1092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to use the panxapi module and delete or modify a member from an address group?&amp;nbsp; I have an address object I no longer use and want to remove all references.&amp;nbsp; I can use panxapi to delete the address object as long as I manually remove the objects from all groups to which it is a member.&amp;nbsp; I want to be able to write a program to remove all references, but can't get it to remove from the address groups.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 20:38:25 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/use-panxapi-to-delete-member-from-address-group/m-p/48524#M1092</guid>
      <dc:creator>blwallace</dc:creator>
      <dc:date>2013-01-16T20:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Use panxapi to delete member from address group</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/use-panxapi-to-delete-member-from-address-group/m-p/48525#M1093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to delete member addr1 from address-group group1 the xpath would&lt;/P&gt;&lt;P&gt;be something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/config/devices/entry/vsys/entry[@name='vsys1']/address-group/entry[@name='group1']/member[text()='addr1']&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use 'or' to delete multiple members with one call:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/config/devices/entry/vsys/entry[@name='vsys1']/address-group/entry[@name='group1']/member[text()='addr2' or text()='addr3']&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is also a command line program, panaddr, that can be used&lt;/P&gt;&lt;P&gt;to manage address objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to do the above you could do (--verbose shows the xpath used):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ panaddr --verbose --delete --address-group group1 --member addr1&lt;/P&gt;&lt;P&gt;xpath: /config/devices/entry/vsys/entry[@name='vsys1']/address-group/entry[@name='group1']/member[text()='addr1']&lt;/P&gt;&lt;P&gt;delete: success: command succeeded&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 19:00:06 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/use-panxapi-to-delete-member-from-address-group/m-p/48525#M1093</guid>
      <dc:creator>ksteves1</dc:creator>
      <dc:date>2013-01-17T19:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Use panxapi to delete member from address group</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/use-panxapi-to-delete-member-from-address-group/m-p/48526#M1094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have a panaddr.&amp;nbsp; My PAN version is 20111226 (I think - not at my desk right now).&amp;nbsp; Is there a newer pan version?&amp;nbsp; If so, I don't see a download link. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 03:32:06 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/use-panxapi-to-delete-member-from-address-group/m-p/48526#M1094</guid>
      <dc:creator>blwallace</dc:creator>
      <dc:date>2013-01-18T03:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Use panxapi to delete member from address group</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/use-panxapi-to-delete-member-from-address-group/m-p/48527#M1095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is PAN-perl-20120921 and has panaddr.&amp;nbsp; there is a newer PAN-perl version and I'll look into getting that posted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="19808" __jive_macro_name="message" class="jive_macro jive_macro_message" href="https://live.paloaltonetworks.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 17:42:03 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/use-panxapi-to-delete-member-from-address-group/m-p/48527#M1095</guid>
      <dc:creator>ksteves1</dc:creator>
      <dc:date>2013-01-18T17:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Use panxapi to delete member from address group</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/use-panxapi-to-delete-member-from-address-group/m-p/48528#M1096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it would be great to have those posted when they are available.&amp;nbsp; Not sure why they aren't posted within software updates page.&amp;nbsp; That would be my suggestion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 18:02:14 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/use-panxapi-to-delete-member-from-address-group/m-p/48528#M1096</guid>
      <dc:creator>blwallace</dc:creator>
      <dc:date>2013-01-18T18:02:14Z</dc:date>
    </item>
  </channel>
</rss>

