<?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: Panorama CLI - list of values in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/panorama-cli-list-of-values/m-p/66910#M39368</link>
    <description>&lt;P&gt;Thanks - it was as simple as it does not accept values that are already in the list. For our purposes we want to re-order the list, and the CLI requires we remove all entries then re-add them in the order we want, whereas I was expecting just to be able to add the values over the top of what was there currently.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Shannon&lt;/P&gt;</description>
    <pubDate>Tue, 20 Oct 2015 18:30:08 GMT</pubDate>
    <dc:creator>ShannonRowe</dc:creator>
    <dc:date>2015-10-20T18:30:08Z</dc:date>
    <item>
      <title>Panorama CLI - list of values</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/panorama-cli-list-of-values/m-p/66862#M39351</link>
      <description>&lt;P&gt;We run Panorama v7.01 and have a requirement to edit the template stack from the CLI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The CLI path is as follows:&lt;/P&gt;
&lt;P&gt;configure&lt;/P&gt;
&lt;P&gt;edit template-stack &amp;lt;stackname&amp;gt;&lt;/P&gt;
&lt;P&gt;set template ???&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Under the set template context I need to add a list of templates, however cannot work out the correct syntax. The help (?) switch shows "[ start a list of values" but if I enter a list within square brackets it errors with "invalid syntax". Some variations I have tried:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;set template [template1 template2]&lt;/P&gt;
&lt;P&gt;set template [template1,template2]&lt;/P&gt;
&lt;P&gt;set template [ template1 template2]; (this is what is shown if I do a "show template-stack stackname" from the CLI)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am starting to wonder if there is a bug in the CLI here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has anyone used lists in the Panorama CLI, if so, can you please assist with getting the syntax correct?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Shannon&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2015 00:47:05 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/panorama-cli-list-of-values/m-p/66862#M39351</guid>
      <dc:creator>ShannonRowe</dc:creator>
      <dc:date>2015-10-20T00:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Panorama CLI - list of values</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/panorama-cli-list-of-values/m-p/66889#M39362</link>
      <description>&lt;P&gt;This syntax works:&lt;/P&gt;
&lt;P&gt;set template-stack teststack templates [ testtemplate1 testtemplate2 ]&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2015 15:05:25 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/panorama-cli-list-of-values/m-p/66889#M39362</guid>
      <dc:creator>Anon1</dc:creator>
      <dc:date>2015-10-20T15:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Panorama CLI - list of values</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/panorama-cli-list-of-values/m-p/66910#M39368</link>
      <description>&lt;P&gt;Thanks - it was as simple as it does not accept values that are already in the list. For our purposes we want to re-order the list, and the CLI requires we remove all entries then re-add them in the order we want, whereas I was expecting just to be able to add the values over the top of what was there currently.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Shannon&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2015 18:30:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/panorama-cli-list-of-values/m-p/66910#M39368</guid>
      <dc:creator>ShannonRowe</dc:creator>
      <dc:date>2015-10-20T18:30:08Z</dc:date>
    </item>
  </channel>
</rss>

