Hello All,
I am getting the following error
"<Errors><Error><code>100039</code><description>Unmatched rules found in the configuration.</description></Error></Errors>"
When using the vSheild App API's:
POST https://<vsm-ip>/api/2.0/app/firewall/dvportgroup-55/config
XML paylod:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<VshieldAppConfiguration>
<firewallConfiguration contextId="dvportgroup-55">
<layer3FirewallRule disabled="false" precedence="none" id="1021">
<action>allow</action>
<logged>false</logged>
<source>
<address>
<ipAddress>172.30.68.212</ipAddress>
</address>
<portInfo>222</portInfo>
</source>
<destination>
<address>
<ipAddress>172.30.68.166</ipAddress>
</address>
<application>
<portInfo>333</portInfo>
<protocol>6</protocol>
</application>
</destination>
</layer3FirewallRule>
</firewallConfiguration>
</VshieldAppConfiguration>
Has anyone seen this before or any idea as to why this could be happening?
Also, for setting the fire wall rules we need to provide the "id" variable .. how to know what id to use for creating a new firewall rule. I am using id="1021" as I can see the last one created after quesrying the API .. but when calling this through automation what will be the process to set a valid id ??
Thanks,
xar