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. Spanning Tree Graph (Kristof Van Doorsselaere)
   2. Netdot docker container (Wim Vandersmissen)
   3. Address pool (romain)


----------------------------------------------------------------------

Message: 1
Date: Thu, 13 Mar 2014 10:35:30 +0000
From: Kristof Van Doorsselaere <[email protected]>
Subject: [Netdot-users] Spanning Tree Graph
To: "[email protected]" <[email protected]>
Message-ID: <cf474881.1b5c5%[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

Hello

I'm trying to figure out why the generated spanning tree graph is missing 
links, but let me first give you some info about our network, and what I have 
done so far

Our campus network was successfully discovered by netdot, we now have 325 
switches (cisco & HP) 2 firewalls, 2 routers and some extra devices in netdot

The switches are a combination of:

cisco catalyst 6509, 3750 & 2960 for core and distribution layer
hp procurve 2800, 2600, 2500 for access layer

We are running MST spanning tree with a single instance

I noticed that in the web GUI that for cisco the  STP type was set to mst , 
while for our HP switches it was set to: mstpOperation

Since no HP switches were seen in the Spanning Tree graph, so I Tried to find 
out why.  I discovered in Device.pm there were a few places in the code were 
actions were done if stp_type was equal to mst, so I made some modifications:


[root@syslog Netdot]# diff /usr/local/netdot/lib/Netdot/Model/Device.pm 
/usr/local/src/netdot-1.0.4/lib/Netdot/Model/Device.pm

810c810

< if ( $dev{stp_type} eq 'ieee8021d' || $dev{stp_type} eq 'mst' || 
$dev{stp_type} eq 'mstpOperation' ){

---

> if ( $dev{stp_type} eq 'ieee8021d' || $dev{stp_type} eq 'mst' ){

819c819

<     if ( $dev{stp_type} eq 'mst' || $dev{stp_type} eq 'mstpOperation' ){

---

>     if ( $dev{stp_type} eq 'mst' ){

1071c1071

< if ( $dev{stp_type} eq 'mst' || $dev{stp_type} eq 'mstpOperation' ){

---

> if ( $dev{stp_type} eq 'mst' ){

[root@syslog Netdot]#

And now the HP devices do show up in the Spanning Tree Graph

But Now I'm still facing another issue I don't understand, while the Topology 
maps do look fine, the Spanning Tree Graph is missing lots of links, there are 
devices on the map without a single link, while the trunk ports (uplink to the 
above switch) are properly shown in the device icon on the map. Looking at the 
device  interfaces tab all neighbor are shown, so I don't understand why these 
links are missing. So now I'm trying to debug this but so far I did not succeed 
(my perl knowledge is very basic)

Can anyone give me some hints on how to debug this?

Any comment is welcome


Thanks in advance,

Kristof Van Doorsselaere
Hoofdmedewerker server- en netwerkbeheer
----------------------------------

Hogeschool Gent
Cel Netwerk- en Serverbeheer

Valentin Vaerwyckweg 1 - Schoonmeersstraat 52
9000 Gent
Belgium
mailto:[email protected]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://osl.uoregon.edu/pipermail/netdot-users/attachments/20140313/39183246/attachment-0001.html
 

------------------------------

Message: 2
Date: Thu, 13 Mar 2014 14:07:28 +0100
From: Wim Vandersmissen <[email protected]>
Subject: [Netdot-users] Netdot docker container
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"


Hi,

I've created a Netdot docker container, an easy way to test out Netdot 
or experiment with code.

To set it up run

# docker run -i -t -v /var/run/docker.sock:/docker.sock 
42wim/netdot_deploy setup

It will fetch all the necessary images (could take a while) and start up 
3 containers (netdot_init/netdot_apache/netdot_db)

You can then connect on http://<docker-host-ip>:8888/netdot/ and login 
with admin/admin

More information can be found on 
https://github.com/42wim/docker-netdot_deploy 
<https://github.com/42wim/docker-netdot_deploy>

Docker can be found on https://www.docker.io/ <https://www.docker.io/> 
(only works on 64-bit systems for now)

Wim



-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://osl.uoregon.edu/pipermail/netdot-users/attachments/20140313/d74ea92e/attachment-0001.html
 

------------------------------

Message: 3
Date: Thu, 13 Mar 2014 15:20:04 +0000 (UTC)
From: romain <[email protected]>
Subject: [Netdot-users] Address pool
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

Hi,

I would like to know if is it possible to create an address pool in Netdot 
v1.0.4 ? v1.0.5 ?
Or if it would be possible in future version ?
(https://osl.uoregon.edu/redmine/issues/1639)

My goal is to create a pool in a subnet to define a range and authorizations 
like "allow known-clients" "allow unknown-clients" etc...


I try to create a "custom" DhcpScopeType : pool 
but it requires a name (when we create one) and dhcp file syntax don't want 
anything after "pool" and before "{"
Therefore it doesn't work correctly

The only solution I can see is to use "include text" option in the subnet I 
want and to configure "pool.." within

Have you others solutions for me ?

Thank you for your help
Have a nice day. Bye

--
Romain



------------------------------

_______________________________________________
Netdot-users mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-users


End of Netdot-users Digest, Vol 64, Issue 8
*******************************************

Reply via email to