Send Netdot-users mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://osl.uoregon.edu/mailman/listinfo/netdot-users
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Netdot-users digest..."
Today's Topics:
1. Logging into the CLI to obtain forwarding table. Password
prompt not matching? (Matt Byerly)
2. Re: Multiple instances of Netdot (Phil Regnauld)
----------------------------------------------------------------------
Message: 1
Date: Wed, 13 Feb 2013 11:34:27 -1000
From: Matt Byerly <[email protected]>
Subject: [Netdot-users] Logging into the CLI to obtain forwarding
table. Password prompt not matching?
To: [email protected]
Message-ID:
<caep_ndsuog8j8jdo-uvqd4gx1tjtvuzdvupvwrphwynso6e...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Hey All,
I am having some issues with CLI portion of netdot, it appears that it
never matches the 'password' regex in the phrasebrook, that's my best guess
anyway. The password prompt looks correct and should match so maybe
something else is a miss..
I appreciate the input/help.
Thanks,
Matt
--
Version:
netdot v.1.0.4
--
[root@zzz netdot]# perl -MNet::Appliance::Session -e 'print
"$Net::Appliance::Session::VERSION\n"'
4.122741
--
[root@zzz netdot]# cat /etc/redhat-release
CentOS release 6.3 (Final)
--
DEBUG - Device::_netdot_rebless: xxx.yyy.com: changed class to
Netdot::Model::Device::CLI::CiscoCat
DEBUG - xxx.yyy.com: issuing CLI command: 'show mac address-table dynamic'
over SSH
[ 0.011714] pr finding prompt
[ 0.015448] tr booting IPC::Run harness for ssh
[ 0.017242] tr connecting with: ssh -o StrictHostKeyChecking=no -o
UserKnownHostsFile=/dev/null -o CheckHostIP=no -o ConnectTimeout=120 -o
CheckHostIP=no -q -l rancid xxx.yyy.com
[ 0.035305] du SEEN:
[ 0.057842] ph reading phrasebook
/usr/local/share/perl5/Net/CLI/Interact/phrasebook/cisco/pb
[ 0.058847] ph reading phrasebook
/usr/local/share/perl5/Net/CLI/Interact/phrasebook/cisco/ios/pb
[ 0.059372] ph storing prompt generic
[ 0.063683] ph storing prompt basic
[ 0.064075] ph storing prompt privileged
[ 0.064546] ph storing prompt configure
[ 0.064941] ph storing prompt user
[ 0.065378] ph storing prompt pass
[ 0.065765] ph storing prompt prompt
[ 0.066138] ph storing macro begin_privileged
[ 0.067346] ph storing macro end_privileged
[ 0.067807] ph storing macro begin_configure
[ 0.068323] ph storing macro end_configure
[ 0.068774] ph storing macro disconnect
[ 0.069271] ph storing macro paging
[ 0.069834] pr nope, doesn't (yet) match basic
[ 0.070113] pr nope, doesn't (yet) match pass
[ 0.070442] pr nope, doesn't (yet) match generic
[ 0.070714] pr nope, doesn't (yet) match user
[ 0.070982] pr nope, doesn't (yet) match configure
[ 0.071308] pr nope, doesn't (yet) match privileged
[ 0.071582] pr nope, doesn't (yet) match prompt
[ 0.071778] pr no match so far, more data?
Password: [ 11.077526] pr failed: [IPC::Run: timeout on timer #1 at
/usr/share/perl5/vendor_perl/IPC/Run.pm line 2936
], sending WAKE_UP and trying again
[ 11.078491] pr finding prompt
[ 89.950712] pr failed to find prompt! wrong phrasebook?
[ 89.963038] tr booting IPC::Run harness for ssh
[ 89.963434] tr connecting with: ssh -o StrictHostKeyChecking=no -o
UserKnownHostsFile=/dev/null -o CheckHostIP=no -o ConnectTimeout=120 -o
CheckHostIP=no -q -l rancid xxx.yyy.com
--
/usr/local/share/perl5/Net/CLI/Interact/phrasebook/cisco/pb
prompt pass
match /[Pp]assword: ?$/
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://osl.uoregon.edu/pipermail/netdot-users/attachments/20130213/d7324a15/attachment-0001.html
------------------------------
Message: 2
Date: Thu, 14 Feb 2013 12:02:22 +0100
From: Phil Regnauld <[email protected]>
Subject: Re: [Netdot-users] Multiple instances of Netdot
To: Bill Green <[email protected]>
Cc: "[email protected]" <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Bill Green (bill.green) writes:
> Hi folks.
>
> Can somebody point me in the direction of how to run multiple instances of
> Netdot? We currently manage different networks for various customers, and
> running separate instances seems like the most obvious way to keep vlans /
> RFC1918 space from colliding.
Hi Bill,
Currently there is only one way to run multiple instances, and that
would
be to run separate virtual hosts and databases, and different
directories
for the netdot configs. They could run on the same host, and resources
such as MIBs etc.. would be shared, but everything else would be
separate.
I haven't tested this, and as you point out, there may be more work
required on the Mason side of things.
> I've got a separate DB / user set up, but my ignorance of Mason is keeping me
> from understanding how to separate the functional part.
There is ongoing work to make Netdot deal with overlapping space, VLANs
and VRFs in general, unfortunately there is no timeline yet for this, as
it's still in the design phases.
Cheers,
Phil
------------------------------
_______________________________________________
Netdot-users mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-users
End of Netdot-users Digest, Vol 51, Issue 6
*******************************************