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] Netdot branch netdot-1.0 updated.
netdot-1.0.4-106-g3adb31e ([email protected])
2. [SCM] Netdot branch master updated. netdot-1.0.4-106-g3adb31e
([email protected])
----------------------------------------------------------------------
Message: 1
Date: Thu, 24 Oct 2013 12:07:15 -0700
From: [email protected]
Subject: [Netdot-devel] [SCM] Netdot branch netdot-1.0 updated.
netdot-1.0.4-106-g3adb31e
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 "Netdot".
The branch, netdot-1.0 has been updated
via 3adb31ef15039a6c996164fd89035c100a02d32a (commit)
from ecd83f7671551ea2b92be3d51c3e5bca60b506dc (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 3adb31ef15039a6c996164fd89035c100a02d32a
Author: Carlos Vicente <[email protected]>
Date: Thu Oct 24 15:07:06 2013 -0400
Do not delete device IP if its interface was added manually
diff --git a/lib/Netdot/Model/Device.pm b/lib/Netdot/Model/Device.pm
index 4eacb0c..78b3688 100644
--- a/lib/Netdot/Model/Device.pm
+++ b/lib/Netdot/Model/Device.pm
@@ -6141,6 +6141,10 @@ sub _update_interfaces {
next unless ( defined $obj );
next if ( ref($obj) =~ /deleted/i );
+ # Don't delete if interface was added manually, which means that
+ # the IP was probably manually added too.
+ next if ($obj->interface && $obj->interface->doc_status eq 'manual');
+
# Don't delete dynamic addresses, just unset the interface
if ( $obj->status && $obj->status->name eq 'Dynamic' ){
$obj->update({interface=>undef});
-----------------------------------------------------------------------
Summary of changes:
lib/Netdot/Model/Device.pm | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
hooks/post-receive
--
Netdot
------------------------------
Message: 2
Date: Thu, 24 Oct 2013 12:07:48 -0700
From: [email protected]
Subject: [Netdot-devel] [SCM] Netdot branch master updated.
netdot-1.0.4-106-g3adb31e
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 "Netdot".
The branch, master has been updated
via 3adb31ef15039a6c996164fd89035c100a02d32a (commit)
from ecd83f7671551ea2b92be3d51c3e5bca60b506dc (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 -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
lib/Netdot/Model/Device.pm | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
hooks/post-receive
--
Netdot
------------------------------
_______________________________________________
Netdot-devel mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-devel
End of Netdot-devel Digest, Vol 79, Issue 9
*******************************************