Send Netdot-devel mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://osl.uoregon.edu/mailman/listinfo/netdot-devel
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-devel digest..."


Today's Topics:

   1. [SCM] UNNAMED PROJECT branch netdot-1.0 updated.
      4b1488835fb7d520ba0a8a0134370a81e3c52aab (Apache)


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

Message: 1
Date: Fri, 3 Aug 2012 11:39:22 -0700
From: Apache <[email protected]>
Subject: [Netdot-devel] [SCM] UNNAMED PROJECT branch netdot-1.0
        updated.        4b1488835fb7d520ba0a8a0134370a81e3c52aab
To: [email protected]
Message-ID: <[email protected]>

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".

The branch, netdot-1.0 has been updated
       via  4b1488835fb7d520ba0a8a0134370a81e3c52aab (commit)
       via  e527d5504b20497fb454f6cd503e8bd7568459c8 (commit)
       via  f39a31b1aa2bb5569804b3934709a5a11b036b46 (commit)
      from  462317b7659db767215510ee1a54dd880be9e043 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4b1488835fb7d520ba0a8a0134370a81e3c52aab
Author: Carlos Vicente <[email protected]>
Date:   Fri Aug 3 14:38:48 2012 -0400

    Add specific-purpose page mappings in UI.pm

diff --git a/lib/Netdot/UI.pm b/lib/Netdot/UI.pm
index 6f3da9d..55542f3 100644
--- a/lib/Netdot/UI.pm
+++ b/lib/Netdot/UI.pm
@@ -30,17 +30,19 @@ my $logger = Netdot->log->get_logger("Netdot::UI");
 
 # Some tables have a specific view page. 
 #
-my %VIEWPAGE = ( BinFile     => "../generic/display_bin.html",
-                Closet      => "../cable_plant/closet.html",
-                Circuit     => "../cable_plant/circuit.html",
-                ContactList => "contactlist.html",
-                Device      => "../management/device.html",
-                DhcpScope   => "../management/scope.html",
-                Interface   => "../management/interface.html",
-                Ipblock     => "../management/ip.html",
-                PhysAddr    => "../management/mac.html",
-                RR          => "../management/host.html",
-                Zone        => "../management/zone.html",
+my %VIEWPAGE = ( BinFile       => "../generic/display_bin.html",
+                BackboneCable => "../cable_plant/cable_backbone.html",
+                CableStrand    => "../cable_plant/cable_strand.html",
+                Closet        => "../cable_plant/closet.html",
+                Circuit       => "../cable_plant/circuit.html",
+                ContactList   => "contactlist.html",
+                Device        => "../management/device.html",
+                DhcpScope     => "../management/scope.html",
+                Interface     => "../management/interface.html",
+                Ipblock       => "../management/ip.html",
+                PhysAddr      => "../management/mac.html",
+                RR            => "../management/host.html",
+                Zone          => "../management/zone.html",
                 );
 
 

commit e527d5504b20497fb454f6cd503e8bd7568459c8
Author: Carlos Vicente <[email protected]>
Date:   Fri Aug 3 14:30:06 2012 -0400

    Add small section about VLANs in manual

diff --git a/doc/manual/netdot-manual.txt b/doc/manual/netdot-manual.txt
index 9ae5e7b..4ca8db5 100644
--- a/doc/manual/netdot-manual.txt
+++ b/doc/manual/netdot-manual.txt
@@ -634,6 +634,35 @@ By default, Netdot only shows directly connected 
neighbors. However,
 you can expand the graph to include neighbors of neighbors by
 specifying a larger "Search Depth" value.
 
+## VLANs
+
+Netdot creates VLANs when these are found in devices. You can add
+additional information to the VLAN record, such as a description,
+or comments. 
+
+When viewing a VLAN, you can see which interfaces in which devices
+are currently members (or trunks) of that VLAN. Also, in the device
+page you can see which VLANs are configured on each interface.
+
+Currently Netdot assumes that VLANs are unique. If your VLAN IDs are
+reused around your network for different physical segments, Netdot 
+information could be confusing. We intend to address this limitation
+in a future release.
+
+### Finding VLANs
+
+You can search for specific VLANs by going to "Management" -> "VLANs".
+Netdot will match the search string against VLAN IDs (numbers) or names.
+
+### VLAN Groups
+
+VLAN Groups are basically VLAN ID ranges that can help organize your 
+VLAN assignments. For example, you might want to assign all your VOIP
+VLANs from the range 2000-2500.
+
+You can create a VLAN group by going to "Management" -> "VLANs" and
+clicking on [new]. Provide a name for the group and a range of IDs.
+
 ## Assets
 
 An asset in Netdot is a record which contains common information about

commit f39a31b1aa2bb5569804b3934709a5a11b036b46
Author: Carlos Vicente <[email protected]>
Date:   Fri Aug 3 14:04:29 2012 -0400

    Show all sites if no search criteria given

diff --git a/htdocs/cable_plant/site_tasks.html 
b/htdocs/cable_plant/site_tasks.html
index ead793c..212d24c 100644
--- a/htdocs/cable_plant/site_tasks.html
+++ b/htdocs/cable_plant/site_tasks.html
@@ -108,32 +108,21 @@ if ( $site_select ){
        $search_number =~ s/^\s*(.*)\s*$/$1/g;
        $sargs{number} = $search_number;
     }
-    @results = Site->search_like(%sargs);
+    @results = Site->search_like(%sargs) if %sargs;
 
     $search = join ' ', %sargs;
 </%perl>
 
-%   if ( $search ){   
-     <div class="container">
-       <div class="containerhead">
-           Search for <em><% $search %></em> returned: <% scalar(@results) %> 
matches
-       </div>
-       <div class="containerbody">
-%         if ( @results ){
-              <& /generic/sortresults.mhtml, object =>\@results, withedit=>1&>
-%         }
-       </div>
-     </div>
-
-%   }else{
-     <div class="container">
-       <div class="containerhead">
-         <strong>Error!</strong>   
-       </div>
-       <div class="containerbody">
-         <p><strong>No search criteria</strong>   
-       </div>
-     </div>
-%   }
+<div class="container">
+   <div class="containerhead">
+       Search for <em><% $search %></em> returned: <% scalar(@results) %> 
matches
+   </div>
+   <div class="containerbody">
+%      unless ( $search){
+%         @results = Site->retrieve_all();
+%      }
+       <& /generic/sortresults.mhtml, object =>\@results, withedit=>1&>
+   </div>
+</div>
 
 %}

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

Summary of changes:
 doc/manual/netdot-manual.txt       |   29 +++++++++++++++++++++++++++++
 htdocs/cable_plant/site_tasks.html |   35 ++++++++++++-----------------------
 lib/Netdot/UI.pm                   |   24 +++++++++++++-----------
 3 files changed, 54 insertions(+), 34 deletions(-)


hooks/post-receive
-- 
UNNAMED PROJECT


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

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


End of Netdot-devel Digest, Vol 65, Issue 4
*******************************************

Reply via email to