<?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: About find method in acitoolkit.. in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/about-find-method-in-acitoolkit/m-p/4127737#M51</link>
    <description>&lt;P&gt;I found soulution...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use get_deep method instead of find.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is code snippet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;read_tenants_list = Tenant.get_deep(session, names=['common', 'Test_Tenant'], limit_to=['fvTenant', 'fvBD']&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for tenant in read_tenants_list:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; print(json.dumps(tenant.get_json(), indent=4)&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jul 2020 00:40:35 GMT</pubDate>
    <dc:creator>JM.LEE</dc:creator>
    <dc:date>2020-07-30T00:40:35Z</dc:date>
    <item>
      <title>About find method in acitoolkit..</title>
      <link>https://community.cisco.com/t5/controllers/about-find-method-in-acitoolkit/m-p/4127236#M50</link>
      <description>&lt;P&gt;I want to know how to find specific object with name. (i.e search EPG object with name)&lt;/P&gt;&lt;P&gt;I already know through the tutorial how to read the list of objects using the get method and for-loop statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for another way not to use a for loop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found the find method through the acitoolkit reference documentation, and I am wondering if this can do what I want to do.&lt;/P&gt;&lt;P&gt;If I can use the find class function to find an object with an attribute value, I also need sample code on how to use it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help.. ^^&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2020 09:52:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/about-find-method-in-acitoolkit/m-p/4127236#M50</guid>
      <dc:creator>JM.LEE</dc:creator>
      <dc:date>2020-07-29T09:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: About find method in acitoolkit..</title>
      <link>https://community.cisco.com/t5/controllers/about-find-method-in-acitoolkit/m-p/4127737#M51</link>
      <description>&lt;P&gt;I found soulution...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use get_deep method instead of find.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is code snippet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;read_tenants_list = Tenant.get_deep(session, names=['common', 'Test_Tenant'], limit_to=['fvTenant', 'fvBD']&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for tenant in read_tenants_list:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; print(json.dumps(tenant.get_json(), indent=4)&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 00:40:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/about-find-method-in-acitoolkit/m-p/4127737#M51</guid>
      <dc:creator>JM.LEE</dc:creator>
      <dc:date>2020-07-30T00:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: About find method in acitoolkit..</title>
      <link>https://community.cisco.com/t5/controllers/about-find-method-in-acitoolkit/m-p/5011197#M3257</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/848811"&gt;@JM.LEE&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just following up on this and see if you still need help?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 15:38:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/about-find-method-in-acitoolkit/m-p/5011197#M3257</guid>
      <dc:creator>Ruben Cocheno</dc:creator>
      <dc:date>2024-02-01T15:38:13Z</dc:date>
    </item>
  </channel>
</rss>

