Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #68683

Re: Need help in Python automation

References <277bdaaa-b05e-4fbe-a2e2-4c142a207ea6@googlegroups.com>
Date 2014-03-21 11:22 +0100
Subject Re: Need help in Python automation
From Adnan Sadzak <sadzak@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.8351.1395397360.18130.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,
there should be manufacturer documentation or API. What switch do You use?
Any other info?

Cheers,
Adnan


On Fri, Mar 21, 2014 at 9:14 AM, Anil Kumar A <401anil@gmail.com> wrote:

> -------------------------------------------------------------
> Hi All,
>
> I work for an ISP. Currently we bought few switches and routers. Python is
> available in that switches. So I would like to write some scipts which I
> can run inside switch.
>
> I tried module 'os, system', but It is not executing the commands in
> operational and configurational mode. Those modes' prompts are '*>' and
> '*#'.
>
> Can somebody suggest me, if there is any module which I can use to execute
> commands inside a switch.
>
> I don't want to use 'socket' module as I am not connecting the box and
> executing commands. I am running the script inside switch.
>
> Please give some clue to start my automation.
>
> Thanks!
>
> Anil Kumar A
>
> -------------------------------------------------------------
> --
> https://mail.python.org/mailman/listinfo/python-list
>

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Need help in Python automation Anil Kumar A <401anil@gmail.com> - 2014-03-21 01:14 -0700
  Re: Need help in Python automation Adnan Sadzak <sadzak@gmail.com> - 2014-03-21 11:22 +0100

csiph-web