Hey Guys
We have been attempting to implement the WSMA on our routers here, both on a 1901 and a csr 1000v
we have been able to get the
exec agent
filesys agent
notify agent
working
but we are stuck on the config agent (which is the one we really need)
The strange thing is that the XML is accepted and when we try to run an exec command (with "do" in front) against it it is successful. we are only experiencing the error with configuration commands.
All we can receive back is PARSE_ERROR_NOMATCH
We have a listener setup on each agent
Anyone had the same experience?
Some examples below
Request
<?xml version="1.0" encoding="UTF-8"?>
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP:Body>
<request xmlns="urn:cisco:wsma-config" correlator="4.1">
<configApply details="all">
<config-data>
<cli-config-data>
<cmd>interface gig 3</cmd>
</cli-config-data>
</config-data>
</configApply>
</request>
</SOAP:Body>
</SOAP:Envelope>
Response
- <?xml version="1.0" encoding="UTF-8"?>
- <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <SOAP:Body>
- <response xmlns="urn:cisco:wsma-config" correlator="4.1" success="1">
- <resultEntry lineNumber="1" cliString="interface gig 3">
- <failure errorType="TEMPORARY" errorCode="PARSE_ERROR_NOMATCH" />
- </resultEntry>
- </response>
- </SOAP:Body>
- </SOAP:Envelope>
request
<?xml version="1.0" encoding="UTF-8"?>
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP:Body>
<request xmlns="urn:cisco:wsma-config" correlator="4.1">
<configApply details="all">
<config-data>
<cli-config-data>
<cmd>do ping vrf INTABANK_MGMT 10.1.1.80</cmd>
</cli-config-data>
</config-data>
</configApply>
</request>
</SOAP:Body>
</SOAP:Envelope>
response
- <?xml version="1.0" encoding="UTF-8"?>
- <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <SOAP:Body>
- <response xmlns="urn:cisco:wsma-config" correlator="4.1" success="1">
- <resultEntry lineNumber="1" cliString="do ping vrf INTABANK_MGMT 10.1.1.80">
- <invalid />
- <text>
- **CLI Line # 1: Type escape sequence to abort.
- **CLI Line # 1: Sending 5, 100-byte ICMP Echos to 10.1.1.80, timeout is 2 seconds:
- **CLI Line # 1: !!!!!
- **CLI Line # 1: Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms</text>
- </resultEntry>
- </response>
- </SOAP:Body>
- </SOAP:Envelope>