<?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: Pyats testbed connections in Tools</title>
    <link>https://community.cisco.com/t5/tools/pyats-testbed-connections/m-p/4590025#M663</link>
    <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1340008"&gt;@aidariys5&lt;/a&gt;&amp;nbsp;&lt;SPAN&gt;multiple connection instances start to make sense when you want to perform many&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;show&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;commands at the same time through asynchronous means (eg, multiprocessing, threading, etc).&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Apr 2022 09:27:06 GMT</pubDate>
    <dc:creator>bigevilbeard</dc:creator>
    <dc:date>2022-04-11T09:27:06Z</dc:date>
    <item>
      <title>Pyats testbed connections</title>
      <link>https://community.cisco.com/t5/tools/pyats-testbed-connections/m-p/4589668#M660</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;What is the purpose of having multiple connections described in testbed file? Is it possible to choose one among others for connection?&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;devices:&lt;BR /&gt;&amp;nbsp; R1:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; os: ios&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; type: ios&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; connections:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; protocol: ssh&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ip: 192.168.1.1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; port: 22&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; protocol: telnet&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ip: 192.168.1.1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; port: 23&lt;/P&gt;&lt;P&gt;If I specify one of this connection (a or b) in testbed, then pyats can connect to device. If both connections are present as in example above, then connection is not working. I saw similar examples with several connections in documentation but didn't find any explanation.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Apr 2022 09:53:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/pyats-testbed-connections/m-p/4589668#M660</guid>
      <dc:creator>aidariys5</dc:creator>
      <dc:date>2022-04-10T09:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Pyats testbed connections</title>
      <link>https://community.cisco.com/t5/tools/pyats-testbed-connections/m-p/4589673#M661</link>
      <description>&lt;P&gt;if you are using only SSH, then remove telnet from config.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://pubhub.devnetcloud.com/media/pyats-getting-started/docs/quickstart/manageconnections.html?highlight=telnet" target="_blank"&gt;https://pubhub.devnetcloud.com/media/pyats-getting-started/docs/quickstart/manageconnections.html?highlight=telnet&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Apr 2022 11:05:16 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/pyats-testbed-connections/m-p/4589673#M661</guid>
      <dc:creator>balaji.bandi</dc:creator>
      <dc:date>2022-04-10T11:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Pyats testbed connections</title>
      <link>https://community.cisco.com/t5/tools/pyats-testbed-connections/m-p/4589973#M662</link>
      <description>&lt;P&gt;Thanks for reply, but I was asking about use cases of having multiple connections for one device. I found that it is needed if you describe HA pair or stack, for example.&lt;/P&gt;&lt;P&gt;Another usage that you can choose connection in python:&lt;/P&gt;&lt;P&gt;testbed = loader.load('testbed.yaml')&lt;/P&gt;&lt;P&gt;r1 = testbed.devices['R1']&lt;/P&gt;&lt;P&gt;r1.connect(alias='aaa', via='a')&lt;/P&gt;&lt;P&gt;r1.connect(alias='bbb', via='b')&lt;/P&gt;&lt;P&gt;r1.aaa.execute('show clock')&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 08:27:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/pyats-testbed-connections/m-p/4589973#M662</guid>
      <dc:creator>aidariys5</dc:creator>
      <dc:date>2022-04-11T08:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Pyats testbed connections</title>
      <link>https://community.cisco.com/t5/tools/pyats-testbed-connections/m-p/4590025#M663</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1340008"&gt;@aidariys5&lt;/a&gt;&amp;nbsp;&lt;SPAN&gt;multiple connection instances start to make sense when you want to perform many&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;show&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;commands at the same time through asynchronous means (eg, multiprocessing, threading, etc).&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 09:27:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/pyats-testbed-connections/m-p/4590025#M663</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2022-04-11T09:27:06Z</dc:date>
    </item>
  </channel>
</rss>

