<?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 How can I get acitoolkit objects (aci.interface.get)? in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/how-can-i-get-acitoolkit-objects-aci-interface-get/m-p/3907178#M376</link>
    <description>&lt;P&gt;I can get the interface information using endpoint.xxxx and endpoint.attributes['xxxx'] as below but I cannot get the information such as 'interface description' and 'policy group',,, I checked acitoolkit doc but couldn't find all objects associated to "aci.interface". How I can get all available acitoolkit objects associated to aci.interface?&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;endpoints = aci.Interface.get(session)&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;for endpoint in endpoints:&lt;BR /&gt;print(endpoint.if_name)&lt;BR /&gt;print(endpoint.port)&lt;BR /&gt;print(endpoint.id)&lt;BR /&gt;print(endpoint.mtu)&lt;BR /&gt;print(endpoint.node)&lt;BR /&gt;print(endpoint.porttype)&lt;BR /&gt;print(endpoint.pod)&lt;BR /&gt;print(endpoint.attributes['usage'])&lt;BR /&gt;print(endpoint.attributes['policy'])&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;</description>
    <pubDate>Tue, 13 Aug 2019 02:07:01 GMT</pubDate>
    <dc:creator>jhongrack-choi</dc:creator>
    <dc:date>2019-08-13T02:07:01Z</dc:date>
    <item>
      <title>How can I get acitoolkit objects (aci.interface.get)?</title>
      <link>https://community.cisco.com/t5/controllers/how-can-i-get-acitoolkit-objects-aci-interface-get/m-p/3907178#M376</link>
      <description>&lt;P&gt;I can get the interface information using endpoint.xxxx and endpoint.attributes['xxxx'] as below but I cannot get the information such as 'interface description' and 'policy group',,, I checked acitoolkit doc but couldn't find all objects associated to "aci.interface". How I can get all available acitoolkit objects associated to aci.interface?&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;endpoints = aci.Interface.get(session)&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;for endpoint in endpoints:&lt;BR /&gt;print(endpoint.if_name)&lt;BR /&gt;print(endpoint.port)&lt;BR /&gt;print(endpoint.id)&lt;BR /&gt;print(endpoint.mtu)&lt;BR /&gt;print(endpoint.node)&lt;BR /&gt;print(endpoint.porttype)&lt;BR /&gt;print(endpoint.pod)&lt;BR /&gt;print(endpoint.attributes['usage'])&lt;BR /&gt;print(endpoint.attributes['policy'])&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 02:07:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/how-can-i-get-acitoolkit-objects-aci-interface-get/m-p/3907178#M376</guid>
      <dc:creator>jhongrack-choi</dc:creator>
      <dc:date>2019-08-13T02:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get acitoolkit objects (aci.interface.get)?</title>
      <link>https://community.cisco.com/t5/controllers/how-can-i-get-acitoolkit-objects-aci-interface-get/m-p/4872597#M3150</link>
      <description>&lt;P&gt;In Python3, you can try&lt;/P&gt;
&lt;P&gt;print(dir(aci.interface))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The dir() function is the standard way to display all properties and methods of the specified object. From there you can begin to drill down further, based on the results.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 15:04:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/how-can-i-get-acitoolkit-objects-aci-interface-get/m-p/4872597#M3150</guid>
      <dc:creator>Alexander Stevenson</dc:creator>
      <dc:date>2023-07-12T15:04:40Z</dc:date>
    </item>
  </channel>
</rss>

