Search found 8 matches

by HStr
04 Apr 2024 09:34
Forum: OmniVista 2500 v4.x
Topic: Help with OV CLI Scripting & Javascript
Replies: 4
Views: 469

Re: Help with OV CLI Scripting & Javascript

Hi ssherman68, Please keep in mind that cli.lastResponse() is returning both last command and result as shown in attachment. Regards Holger Clipboard01.jpg I’m trying to use OV CLI scripting with Javascript. I’m trying to use the cli.lastResponse method to gather the output of the show chassis chass...
by HStr
21 Mar 2024 09:59
Forum: OmniSwitch 6860 / 6860E
Topic: show/check installed public ssh key
Replies: 0
Views: 181

show/check installed public ssh key

Hi, I used the installsshkey command to install a public key to allow access to a few switches without a password. This works fine. Now I would like to do the same with other switches. Is there a way to check if the key already is installed? There is no command in the CLI Reference Guide. I also did...
by HStr
20 Mar 2024 11:00
Forum: OmniVista 2500 v4.x
Topic: OV2500 class reference
Replies: 0
Views: 141

OV2500 class reference

Hi,

Is there a comprehensive class or object reference for CLI-scripting? The online help and some Internet forums only contain rudimentary examples. I'm particularly interested in the cli.functions().

BR
Holger
by HStr
05 Jul 2023 07:37
Forum: OmniSwitch 6860 / 6860E
Topic: dhcpd.conf with manual-dhcp
Replies: 1
Views: 3270

Re: dhcpd.conf with manual-dhcp

Hi Julien,

Did you already get an answer to your question? I have exactly the same problem and looking for a solution.

Regards
Holger
by HStr
01 Dec 2022 08:43
Forum: OmniSwitch 6560
Topic: Issue with AOS command called from cronjob
Replies: 6
Views: 1179

Re: Issue with AOS command called from cronjob

Hi, As promised I provide the solution from ALE support: After some investigation in lab, we figured that cron-app is executing the command in the "su" linux shell. In order to disable the interface you can use this new script calling the "interfaces" module directly. -----------...
by HStr
24 Nov 2022 09:54
Forum: OmniSwitch 6560
Topic: Issue with AOS command called from cronjob
Replies: 6
Views: 1179

Re: Issue with AOS command called from cronjob

Hi Silvio,

Yes I know this link. I try to force the support, although they probably don't understand the issue. As soon as there is a solution I will present it here.

Regards Holger
by HStr
24 Nov 2022 01:48
Forum: OmniSwitch 6560
Topic: Issue with AOS command called from cronjob
Replies: 6
Views: 1179

Re: Issue with AOS command called from cronjob

Hi Silvio, Thank you for your suggestions. I've already tried all of that. ALE support suggested the same. But the cronjob itself is not the issue. The script will be executed at the desired interval. All python commands except the system call (e.g. interfaces 8/1/9 admin-state disable ) are execute...
by HStr
22 Nov 2022 10:43
Forum: OmniSwitch 6560
Topic: Issue with AOS command called from cronjob
Replies: 6
Views: 1179

Issue with AOS command called from cronjob

Hello, I want to call AOS commands at an intervall. That's why I've created a python script and added it to a cronjob. The script is called by cronjob as expected (checked by updated content of cron.log). But the execution of AOS command ( os.popen(cmd).read() ) is not working, an exception is not t...

Go to advanced search