cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
618
Views
0
Helpful
0
Replies

WSMA Config agent error

Matthew Horvat
Level 1
Level 1

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

 


 
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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">
  3. <SOAP:Body>
  4. <response xmlns="urn:cisco:wsma-config" correlator="4.1" success="1">
  5. <resultEntry lineNumber="1" cliString="interface gig 3">
  6. <failure errorType="TEMPORARY" errorCode="PARSE_ERROR_NOMATCH" />
  7. </resultEntry>
  8. </response>
  9. </SOAP:Body>
  10. </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

 
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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">
  3. <SOAP:Body>
  4. <response xmlns="urn:cisco:wsma-config" correlator="4.1" success="1">
  5. <resultEntry lineNumber="1" cliString="do ping vrf INTABANK_MGMT 10.1.1.80">
  6. <invalid />
  7. <text>
  8. **CLI Line # 1: Type escape sequence to abort.
  9. **CLI Line # 1: Sending 5, 100-byte ICMP Echos to 10.1.1.80, timeout is 2 seconds:
  10. **CLI Line # 1: !!!!!
  11. **CLI Line # 1: Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms</text>
  12. </resultEntry>
  13. </response>
  14. </SOAP:Body>
  15. </SOAP:Envelope>
 
0 Replies 0

Review Cisco Networking for a $25 gift card