05-07-2008 08:08 PM
am passing following query
set pass [::base64::encode pass]
set query "<payload>
<command>
cwcli netconfig -u user -p $pass createjob -device Router_device -commandfile cwConfigFile -mode enable
</command>
</payload> "
set response [http::geturl http://rme-server:1741/rme/cwcli -query $query]
set output [http::data $response]
getting following reply
<cwcli> FATAL - Netconfig cli command failed.
<cwcli> FATAL - Invalid option: -commandfile
<!-- Processing complete -->
Solved! Go to Solution.
05-07-2008 08:57 PM
The correct command is:
cwcli netconfig createjob -u user -p $pass -device Router_device -commandfile cwConfigFile -mode enable
You're also missing a -description argument for the job description.
05-07-2008 08:57 PM
The correct command is:
cwcli netconfig createjob -u user -p $pass -device Router_device -commandfile cwConfigFile -mode enable
You're also missing a -description argument for the job description.
05-07-2008 09:00 PM
oops [:)]//
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: