<?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 NAC Automation in ExtremeCloud IQ- Site Engine Management Center</title>
    <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/nac-automation/m-p/87247#M9359</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I’m on a NAC Project with about 400-500 NAC Rules.&amp;nbsp; To configure all of them manually it’s a real pain. What possibilities of automation are available?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following tasks I’d like to automate:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;vlan creation&lt;/LI&gt;	&lt;LI&gt;Create NAC Rules&lt;/LI&gt;	&lt;LI&gt;Create NAC Profile and assigns accespt Policy&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the following Tasks I found a solution for automation:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;location Groups =&amp;gt; can be done via CSV import&lt;/LI&gt;	&lt;LI&gt;End System Groups =&amp;gt; can be done via CSV import&lt;/LI&gt;	&lt;LI&gt;Policy Mapping =&amp;gt; Can be imported from CSV via legacy&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, the API does not support a lot of configuration Tasks. Does anyone have an idea if there is another way to automate this steps?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;BR /&gt;Michael&lt;/P&gt;</description>
    <pubDate>Wed, 21 Oct 2020 12:59:54 GMT</pubDate>
    <dc:creator>michael_klaus</dc:creator>
    <dc:date>2020-10-21T12:59:54Z</dc:date>
    <item>
      <title>NAC Automation</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/nac-automation/m-p/87247#M9359</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I’m on a NAC Project with about 400-500 NAC Rules.&amp;nbsp; To configure all of them manually it’s a real pain. What possibilities of automation are available?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following tasks I’d like to automate:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;vlan creation&lt;/LI&gt;	&lt;LI&gt;Create NAC Rules&lt;/LI&gt;	&lt;LI&gt;Create NAC Profile and assigns accespt Policy&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the following Tasks I found a solution for automation:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;location Groups =&amp;gt; can be done via CSV import&lt;/LI&gt;	&lt;LI&gt;End System Groups =&amp;gt; can be done via CSV import&lt;/LI&gt;	&lt;LI&gt;Policy Mapping =&amp;gt; Can be imported from CSV via legacy&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, the API does not support a lot of configuration Tasks. Does anyone have an idea if there is another way to automate this steps?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;BR /&gt;Michael&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 12:59:54 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/nac-automation/m-p/87247#M9359</guid>
      <dc:creator>michael_klaus</dc:creator>
      <dc:date>2020-10-21T12:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: NAC Automation</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/nac-automation/m-p/87248#M9360</link>
      <description>&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only option available is&amp;nbsp;createGroupRuleProfilePolicy but is is quite limited in flexibility.&lt;/P&gt;&lt;P&gt;Here the code from XMC_NBI:&lt;/P&gt;&lt;PRE&gt;def createGroupRuleProfilePolicy(self, group_name: str, vlanId: int, &lt;CODE&gt;vlanName: str, cfgDomain: str = 'Default'):&lt;BR /&gt;&lt;EM&gt;'''create NAC group, rule, profile, policy'''&lt;BR /&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;        &lt;/EM&gt;query = '''&lt;BR /&gt;mutation {&lt;BR /&gt;  accessControl {&lt;BR /&gt;    createDCMVirtualAndPhysicalNetwork(input: {&lt;BR /&gt;      vlanName: "&amp;lt;VLAN-NAME&amp;gt;"&lt;BR /&gt;      primaryVlanId: &amp;lt;VLAN-ID&amp;gt;&lt;BR /&gt;      name: "&amp;lt;GROUP&amp;gt;"&lt;BR /&gt;      nacConfig: "&amp;lt;CONFIG-DOMAIN&amp;gt;"&lt;BR /&gt;    }) {&lt;BR /&gt;      status&lt;BR /&gt;      message&lt;BR /&gt;    }&lt;BR /&gt;  }&lt;BR /&gt;}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mig&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 14:42:45 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/nac-automation/m-p/87248#M9360</guid>
      <dc:creator>Miguel-Angel_RO</dc:creator>
      <dc:date>2020-10-21T14:42:45Z</dc:date>
    </item>
  </channel>
</rss>

