<?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 PaloAlto Firewall CLI partial commit by object-xpaths in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/paloalto-firewall-cli-partial-commit-by-object-xpaths/m-p/526531#M108815</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I`m trying to include&amp;nbsp;only single object into commit.&lt;/P&gt;
&lt;P&gt;Web interface allows to exclude objects from commit:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="indoungwe_0-1673361108941.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/46912i489481E96B0B47ED/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="indoungwe_0-1673361108941.png" alt="indoungwe_0-1673361108941.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On the first glance looks like CLI could provide such option:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;USER@Device# commit partial &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;+ description Enter commit description&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;+ device-and-network device-and-network &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;+ policy-and-objects policy-and-objects &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;+ shared-object shared-object &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;gt; admin admin &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;gt; object-xpaths object-xpaths &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;lt;Enter&amp;gt; Finish input&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;But I did not found any examples or documentation.&lt;/P&gt;
&lt;P&gt;Idea is to command be like:&lt;BR /&gt;commit partial object-xpaths [/config/devices/entry[@name='localhost.localdomain']/network/virtual-router/entry[@name='NAME']]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Jan 2023 14:34:54 GMT</pubDate>
    <dc:creator>indoungwe</dc:creator>
    <dc:date>2023-01-10T14:34:54Z</dc:date>
    <item>
      <title>PaloAlto Firewall CLI partial commit by object-xpaths</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/paloalto-firewall-cli-partial-commit-by-object-xpaths/m-p/526531#M108815</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I`m trying to include&amp;nbsp;only single object into commit.&lt;/P&gt;
&lt;P&gt;Web interface allows to exclude objects from commit:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="indoungwe_0-1673361108941.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/46912i489481E96B0B47ED/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="indoungwe_0-1673361108941.png" alt="indoungwe_0-1673361108941.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On the first glance looks like CLI could provide such option:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;USER@Device# commit partial &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;+ description Enter commit description&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;+ device-and-network device-and-network &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;+ policy-and-objects policy-and-objects &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;+ shared-object shared-object &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;gt; admin admin &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;gt; object-xpaths object-xpaths &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;lt;Enter&amp;gt; Finish input&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;But I did not found any examples or documentation.&lt;/P&gt;
&lt;P&gt;Idea is to command be like:&lt;BR /&gt;commit partial object-xpaths [/config/devices/entry[@name='localhost.localdomain']/network/virtual-router/entry[@name='NAME']]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 14:34:54 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/paloalto-firewall-cli-partial-commit-by-object-xpaths/m-p/526531#M108815</guid>
      <dc:creator>indoungwe</dc:creator>
      <dc:date>2023-01-10T14:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: PaloAlto Firewall CLI partial commit by object-xpaths</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/paloalto-firewall-cli-partial-commit-by-object-xpaths/m-p/526613#M108830</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/266629"&gt;@indoungwe&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the partial commit in the CLI it looks like you can only specify device-and-network, policy-and-objects, shared-object, and admin.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="p"&gt;
&lt;DIV&gt;For example, if you made a change in the Security policy only, you might want to commit just the policy and objects portion of the configuration as follows:&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;admin@PA-220#
&lt;DIV&gt;commit partial device-and-network excluded&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I see the changes you made look to be all in Device and Network. If we apply the same logic from the example, "commit partial policy-and-objects excluded" will commit all of what you have shown.&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Could you try "commit device-and-network" and then tab to see if it gives you an option for input. Maybe you could specify the single object.&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 11 Jan 2023 05:21:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/paloalto-firewall-cli-partial-commit-by-object-xpaths/m-p/526613#M108830</guid>
      <dc:creator>JayGolf</dc:creator>
      <dc:date>2023-01-11T05:21:53Z</dc:date>
    </item>
  </channel>
</rss>

