<?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 EXOS 22 - SOAP/XML API - Internal Server Error in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/exos-22-soap-xml-api-internal-server-error/m-p/66265#M18342</link>
    <description>&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to automate ACLs in EXOS 22. I need create an&amp;nbsp;ACL and apply to a port.&lt;/P&gt;&lt;P&gt;Using restconf does not yet offer a way to do this. I tried using XOS 30.6 but it only allows to create a acl but the method to apply to a port is missing (/rest/restconf/data/ietf-access-control-list:acls/attachment-points). So, I tried to use my current SOAP/XML to do this.&lt;/P&gt;&lt;P&gt;With my&amp;nbsp;EXOS 16.2 switches, the script works fine with the following parameters:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Method “setDynamicAcl”&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&amp;lt;rule xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&amp;gt;&amp;lt;name xsi:type="xsd:string"&amp;gt;test_001&amp;lt;/name&amp;gt;&amp;lt;applicationName xsi:type="xsd:string"&amp;gt;Cli&amp;lt;/applicationName&amp;gt;&amp;lt;match&amp;gt;   &amp;lt;dstIpAddress xsi:type="xsd:string"&amp;gt;192.168.0.1/32&amp;lt;/dstIpAddress&amp;gt;   &amp;lt;dstEthernetAddress xsi:type="xsd:string"&amp;gt;00:0d:f2:00:00:01&amp;lt;/dstEthernetAddress&amp;gt;&amp;lt;/match&amp;gt;&amp;lt;response&amp;gt;   &amp;lt;deny xsi:type="xsd:boolean"&amp;gt;true&amp;lt;/deny&amp;gt;&amp;lt;/response&amp;gt;&amp;lt;/rule&amp;gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;STRONG&gt;Method “insertDynamicAclOnInterface”&lt;/STRONG&gt;&lt;/PRE&gt;&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&amp;lt;port xsi:type="xsd:string"&amp;gt;24&amp;lt;/port&amp;gt;&amp;lt;newRule xsi:type="xsd:string"&amp;gt;test_001&amp;lt;/newRule&amp;gt;&amp;lt;applicationName xsi:type="xsd:string"&amp;gt;Cli&amp;lt;/applicationName&amp;gt;&amp;lt;direction xsi:type="xsd:string"&amp;gt;BEFORE&amp;lt;/direction&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, when I try to do this on EXOS 22 the xmld server reply “Internal Server Error”.&lt;/P&gt;&lt;P&gt;Any “get” method works fine with xmlservice (listDynamicAcl, by example).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I missing something? Maybe an configuration to allow “set” methods?&lt;/P&gt;&lt;P&gt;Does anyone have any ideas that can help me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Mon, 24 Aug 2020 07:03:12 GMT</pubDate>
    <dc:creator>Luiz_Gustavo_Ba</dc:creator>
    <dc:date>2020-08-24T07:03:12Z</dc:date>
    <item>
      <title>EXOS 22 - SOAP/XML API - Internal Server Error</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/exos-22-soap-xml-api-internal-server-error/m-p/66265#M18342</link>
      <description>&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to automate ACLs in EXOS 22. I need create an&amp;nbsp;ACL and apply to a port.&lt;/P&gt;&lt;P&gt;Using restconf does not yet offer a way to do this. I tried using XOS 30.6 but it only allows to create a acl but the method to apply to a port is missing (/rest/restconf/data/ietf-access-control-list:acls/attachment-points). So, I tried to use my current SOAP/XML to do this.&lt;/P&gt;&lt;P&gt;With my&amp;nbsp;EXOS 16.2 switches, the script works fine with the following parameters:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Method “setDynamicAcl”&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&amp;lt;rule xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&amp;gt;&amp;lt;name xsi:type="xsd:string"&amp;gt;test_001&amp;lt;/name&amp;gt;&amp;lt;applicationName xsi:type="xsd:string"&amp;gt;Cli&amp;lt;/applicationName&amp;gt;&amp;lt;match&amp;gt;   &amp;lt;dstIpAddress xsi:type="xsd:string"&amp;gt;192.168.0.1/32&amp;lt;/dstIpAddress&amp;gt;   &amp;lt;dstEthernetAddress xsi:type="xsd:string"&amp;gt;00:0d:f2:00:00:01&amp;lt;/dstEthernetAddress&amp;gt;&amp;lt;/match&amp;gt;&amp;lt;response&amp;gt;   &amp;lt;deny xsi:type="xsd:boolean"&amp;gt;true&amp;lt;/deny&amp;gt;&amp;lt;/response&amp;gt;&amp;lt;/rule&amp;gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;STRONG&gt;Method “insertDynamicAclOnInterface”&lt;/STRONG&gt;&lt;/PRE&gt;&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&amp;lt;port xsi:type="xsd:string"&amp;gt;24&amp;lt;/port&amp;gt;&amp;lt;newRule xsi:type="xsd:string"&amp;gt;test_001&amp;lt;/newRule&amp;gt;&amp;lt;applicationName xsi:type="xsd:string"&amp;gt;Cli&amp;lt;/applicationName&amp;gt;&amp;lt;direction xsi:type="xsd:string"&amp;gt;BEFORE&amp;lt;/direction&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, when I try to do this on EXOS 22 the xmld server reply “Internal Server Error”.&lt;/P&gt;&lt;P&gt;Any “get” method works fine with xmlservice (listDynamicAcl, by example).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I missing something? Maybe an configuration to allow “set” methods?&lt;/P&gt;&lt;P&gt;Does anyone have any ideas that can help me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 07:03:12 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/exos-22-soap-xml-api-internal-server-error/m-p/66265#M18342</guid>
      <dc:creator>Luiz_Gustavo_Ba</dc:creator>
      <dc:date>2020-08-24T07:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: EXOS 22 - SOAP/XML API - Internal Server Error</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/exos-22-soap-xml-api-internal-server-error/m-p/66266#M18343</link>
      <description>&lt;P&gt;You should still have access to apply ACLs with our RestAPI.&amp;nbsp; There are examples in the link below.&amp;nbsp; Sorry for the late reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://documentation.extremenetworks.com/exos_restconf_30.6/EXOS_RESTCONF_Developer_Guide_30_6.pdf" target="_blank" rel="nofollow noreferrer noopener"&gt;https://documentation.extremenetworks.com/exos_restconf_30.6/EXOS_RESTCONF_Developer_Guide_30_6.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 03:22:10 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/exos-22-soap-xml-api-internal-server-error/m-p/66266#M18343</guid>
      <dc:creator>StephenW</dc:creator>
      <dc:date>2021-01-20T03:22:10Z</dc:date>
    </item>
  </channel>
</rss>

