<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Book Antiqua";
        panose-1:2 4 6 2 5 3 5 3 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Sprechblasentext Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-US;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Arial","sans-serif";
        color:windowtext;}
span.SprechblasentextZchn
        {mso-style-name:"Sprechblasentext Zchn";
        mso-style-priority:99;
        mso-style-link:Sprechblasentext;
        font-family:"Tahoma","sans-serif";}
span.HTMLVorformatiertZchn
        {mso-style-name:"HTML Vorformatiert Zchn";
        mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert";
        font-family:"Courier New";
        mso-fareast-language:DE;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-family:"Book Antiqua","serif";color:#002060">Hello All,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Book Antiqua","serif";color:#002060"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Book Antiqua","serif";color:#002060">First of all I would like to thank the authors and contributors of this tool. Your work is greatly appreciated. I am very new to this, so please forgive the intrusion,
 my lack of knowledge and the possible high-jacking of this thread . <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Book Antiqua","serif";color:#002060"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Book Antiqua","serif";color:#002060">We are running Panorama in a shared environment, managing Palo Alto Firewalls of different customers with the same Panorama (one central point). As a test, I have
 installed the newest Rancid release and it’s working very well out of the box, but I would like to change the commands, which are being sent to Panorama.<o:p></o:p></span></p>
<pre><span lang="EN-US" style="font-size:11.0pt;font-family:"Book Antiqua","serif";color:#002060">Instead of</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#002060"> </span><b><span lang="EN-US">show system info, show chassis inventory</span></b><span lang="EN-US"> </span><span lang="EN-US" style="font-size:11.0pt;font-family:"Book Antiqua","serif";color:#002060">and</span><span lang="EN-US" style="font-size:11.0pt;color:#002060"> </span><b><span lang="EN-US">show config</span></b><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Book Antiqua","serif";color:#002060">,</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Book Antiqua","serif";color:#002060"> I would be more interested in extracting the running configuration for a single customer (not for the whole Panorama - all the Firewalls - as per default). My commands look something like this:<o:p></o:p></span></pre>
<pre><b><span lang="EN-US" style="font-family:"Book Antiqua","serif""><o:p> </o:p></span></b></pre>
<pre><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Book Antiqua","serif";color:#002060">show config running xpath devices/entry[@name='localhost.localdomain']/template-stack/entry[@name='xxx-stackname']<o:p></o:p></span></b></pre>
<pre><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Book Antiqua","serif";color:#002060">show config running xpath devices/entry[@name='localhost.localdomain']/template/entry[@name='xxx-temapltename']<o:p></o:p></span></b></pre>
<pre><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Book Antiqua","serif";color:#002060">show config running xpath devices/entry[@name='localhost.localdomain']/device-group/entry[@name='xxx-devicegroupname']<o:p></o:p></span></b></pre>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Book Antiqua","serif";color:#002060"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-family:"Book Antiqua","serif";color:#002060">./panlogin -c "show config running xpath devices/entry[@name='localhost.localdomain']/template-stack/entry[@name='xxx]" router xxxx</span></b><span lang="EN-US">
</span><span lang="EN-US" style="font-family:"Book Antiqua","serif";color:#002060">delivers good results. The problem is to integrate the commands.</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Book Antiqua","serif";color:#002060"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Book Antiqua","serif";color:#002060">How to adapt the different parts of Rancid for this to work? Which files/where and what to modify? I have not done much programming in my career, but I have a very
 basic understanding and some logic.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Book Antiqua","serif";color:#002060"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Book Antiqua","serif";color:#002060">Thank you very much and have a great day!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Book Antiqua","serif";color:#002060"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Book Antiqua","serif";color:#002060;mso-fareast-language:DE">Best regards,</span><span lang="EN-US" style="font-size:13.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:DE"><br>
</span><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:DE"><br>
</span><b><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:DE">Andreia-Elena Abagiu</span></b><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:DE">
<br>
<br>
</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#002060;mso-fareast-language:DE">Tel.
</span><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#002060;mso-fareast-language:DE">+43 1 36060-6418<br>
Fax. +43 1 36060-92 6418<br>
</span><span style="color:red;mso-fareast-language:DE"><a href="mailto:andreia-elena.abagiu@apa.at"><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:red">andreia-elena.abagiu@apa.at</span></a></span><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:red;mso-fareast-language:DE"><br>
</span><span style="color:red;mso-fareast-language:DE"><a href="http://www.apa-it.at/" target="_blank"><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:red">www.apa-it.at</span></a></span><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#002060;mso-fareast-language:DE"><br>
<br>
<br>
</span><span style="mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>