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.
      netdot-1.0.1-12-g853dcd7 ([email protected])


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

Message: 1
Date: Mon, 27 Aug 2012 12:06:44 -0700
From: [email protected]
Subject: [Netdot-devel] [SCM] UNNAMED PROJECT branch netdot-1.0
        updated.        netdot-1.0.1-12-g853dcd7
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  853dcd79d2ba5803e2f94829a467dae345980bb1 (commit)
       via  081042bb714aa3e01c823f99e569121815713b0d (commit)
      from  c26c316f4c58328aac2c118cdf9e6220f5bbe3a0 (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 853dcd79d2ba5803e2f94829a467dae345980bb1
Author: Carlos Vicente <[email protected]>
Date:   Mon Aug 27 14:42:51 2012 -0400

    Show warning about deleting asset when deleting device

diff --git a/htdocs/generic/delete.html b/htdocs/generic/delete.html
index 4afd36d..ac97e77 100644
--- a/htdocs/generic/delete.html
+++ b/htdocs/generic/delete.html
@@ -67,11 +67,15 @@ my %cascade;
     </ul> 
 
 <%perl>
+my $is_device = 0;
 if ( $table && $id ){
     my $obj;
     unless ( $obj = $table->retrieve($id) ){
        $m->comp('error.mhtml', error => "Error retrieving $table id '$id'");
     }
+    if ( $table eq 'Device' ){
+       $is_device = 1;
+    }
     my %linksfrom = $table->meta_data->get_links_from();
     foreach my $i ( sort keys %linksfrom ){
        # Table that points to us
@@ -97,6 +101,16 @@ if ( $table && $id ){
     <strong>WARNINGS: </strong>
      <% $warning %></p>
     </nobr>
+% }
+
+% if ( $is_device ){
+    <nobr>
+    <p>
+    <strong>Device removal notice:</strong>
+     This hardware will be moved to the available asset pool. If you inted to 
+     decommission the hardware remember to remove the asset as well.
+    </p>
+    </nobr>
     <br>
 % }
 

commit 081042bb714aa3e01c823f99e569121815713b0d
Author: Carlos Vicente <[email protected]>
Date:   Mon Aug 27 14:19:08 2012 -0400

    Fixed typo in POD documentation

diff --git a/lib/Netdot/Model/Interface.pm b/lib/Netdot/Model/Interface.pm
index adcaef2..bbed68c 100644
--- a/lib/Netdot/Model/Interface.pm
+++ b/lib/Netdot/Model/Interface.pm
@@ -137,7 +137,7 @@ sub find_duplex_mismatches {
 ################################################################
 =head2 - find_vlan_mismatches
 
-    Use topology information to determine if VLAN memembership
+    Use topology information to determine if VLAN memmbership
     of connected interfaces does not correspond
 
   Arguments: 

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

Summary of changes:
 htdocs/generic/delete.html    |   14 ++++++++++++++
 lib/Netdot/Model/Interface.pm |    2 +-
 2 files changed, 15 insertions(+), 1 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 21
********************************************

Reply via email to