<?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 Panorama 9x - how to delete Child DG  ObjectX if Parent ObjectX exists in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/panorama-9x-how-to-delete-child-dg-objectx-if-parent-objectx/m-p/341259#M85627</link>
    <description>&lt;P&gt;In Panorama 9x (specifically 9.0.6) if `Object-X` exits in both the Parent DG and a Child DG - you cannot delete the Child DG `Object-X`.&amp;nbsp; In the Child-DG, the "delete" button for that object is grayed out.&amp;nbsp; In the Parent-DG the delete button is available.&amp;nbsp; But we need to delete the more specific Child-DG object in order to only have the more global Parent-DG object.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the Child DG, you can revert the Child Object-X back to using the Parent level Object.&amp;nbsp; But when you do that, `Object-X` now shows the location as Parent-DB and you no longer have access to the Child-DG Object-X - it is removed from the view.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So how do you actually delete the Child-DG Object-X ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The answer is from CLI - `panorama# delete device-group DCE-vSys-Corp profiles virus Corp-Antivirus`&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the GUI open, you will see the Child-DG refresh itself and now show the Parent-DG Object - and the 'override' button will now be disabled because the Child-DG object no longer exists (thus nothing to override).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, there are a few issues with this:&lt;/P&gt;&lt;P&gt;1. The biggest one: you have do delete each object one at a time.&amp;nbsp; Since you can't delete these Child-DG objects from the GUI by selecting on 10, 20, 100 at a time, you have to do them one at a time via CLI&lt;/P&gt;&lt;P&gt;2. The Child-DG Object &lt;STRONG&gt;MUST&lt;/STRONG&gt;&amp;nbsp;be over-riding the Parent-DG object.&amp;nbsp; If at the Child-DG level you `revert` to using the Parent-DG Object, than that Object does not appear in the Child-DG CLI list.&amp;nbsp; If you don't see it, you must "override" the Parent-DG object and then it should appear again at which time you can delete it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OK.&amp;nbsp; &amp;nbsp;So discovering this was a pain in the butt.&amp;nbsp; BBUUTT....is this the only way to delete a Child-DG Object that is duplicated at a Parent-DG level???&amp;nbsp; We have hundreds of Child-DG level objects that need to be deleted in favor of an Ancestor Object of the same name....deleting them via cli one at a time is simply not realistic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jul 2020 16:44:10 GMT</pubDate>
    <dc:creator>rolinger</dc:creator>
    <dc:date>2020-07-29T16:44:10Z</dc:date>
    <item>
      <title>Panorama 9x - how to delete Child DG  ObjectX if Parent ObjectX exists</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/panorama-9x-how-to-delete-child-dg-objectx-if-parent-objectx/m-p/341259#M85627</link>
      <description>&lt;P&gt;In Panorama 9x (specifically 9.0.6) if `Object-X` exits in both the Parent DG and a Child DG - you cannot delete the Child DG `Object-X`.&amp;nbsp; In the Child-DG, the "delete" button for that object is grayed out.&amp;nbsp; In the Parent-DG the delete button is available.&amp;nbsp; But we need to delete the more specific Child-DG object in order to only have the more global Parent-DG object.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the Child DG, you can revert the Child Object-X back to using the Parent level Object.&amp;nbsp; But when you do that, `Object-X` now shows the location as Parent-DB and you no longer have access to the Child-DG Object-X - it is removed from the view.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So how do you actually delete the Child-DG Object-X ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The answer is from CLI - `panorama# delete device-group DCE-vSys-Corp profiles virus Corp-Antivirus`&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the GUI open, you will see the Child-DG refresh itself and now show the Parent-DG Object - and the 'override' button will now be disabled because the Child-DG object no longer exists (thus nothing to override).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, there are a few issues with this:&lt;/P&gt;&lt;P&gt;1. The biggest one: you have do delete each object one at a time.&amp;nbsp; Since you can't delete these Child-DG objects from the GUI by selecting on 10, 20, 100 at a time, you have to do them one at a time via CLI&lt;/P&gt;&lt;P&gt;2. The Child-DG Object &lt;STRONG&gt;MUST&lt;/STRONG&gt;&amp;nbsp;be over-riding the Parent-DG object.&amp;nbsp; If at the Child-DG level you `revert` to using the Parent-DG Object, than that Object does not appear in the Child-DG CLI list.&amp;nbsp; If you don't see it, you must "override" the Parent-DG object and then it should appear again at which time you can delete it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OK.&amp;nbsp; &amp;nbsp;So discovering this was a pain in the butt.&amp;nbsp; BBUUTT....is this the only way to delete a Child-DG Object that is duplicated at a Parent-DG level???&amp;nbsp; We have hundreds of Child-DG level objects that need to be deleted in favor of an Ancestor Object of the same name....deleting them via cli one at a time is simply not realistic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2020 16:44:10 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/panorama-9x-how-to-delete-child-dg-objectx-if-parent-objectx/m-p/341259#M85627</guid>
      <dc:creator>rolinger</dc:creator>
      <dc:date>2020-07-29T16:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Panorama 9x - how to delete Child DG  ObjectX if Parent ObjectX exists</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/panorama-9x-how-to-delete-child-dg-objectx-if-parent-objectx/m-p/341719#M85713</link>
      <description>&lt;P&gt;Hi &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/144495"&gt;@rolinger&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"In the Child DG, you can revert the Child Object-X back to using the Parent level Object.&amp;nbsp; But when you do that, `Object-X` now shows the location as Parent-DB and you no longer have access to the Child-DG Object-X - it is removed from the view." --&amp;gt; the object actually isn't only removed from the view, this step removed the object from the child-DG. So in this case should be possible to to select the objects you want to revert and then revert them.&lt;/P&gt;
&lt;P&gt;If you need to revert hundrets/all child objects there is also the API with which you could write a small script that fetches all child objects and then delets/reverts them.&lt;/P&gt;
&lt;P&gt;Another way with the CLI - requires a list of the objects that need to be deleted which could be also optained by showing the config on CLI - is to prepare all delete commands in a texteditor and then paste them at once in CLI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Aug 2020 09:24:46 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/panorama-9x-how-to-delete-child-dg-objectx-if-parent-objectx/m-p/341719#M85713</guid>
      <dc:creator>Remo</dc:creator>
      <dc:date>2020-08-01T09:24:46Z</dc:date>
    </item>
  </channel>
</rss>

