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 master updated. netdot-1.0.7-27-g30681d7
([email protected])
2. [SCM] Netdot branch netdot-1.0 updated.
netdot-1.0.7-27-g30681d7 ([email protected])
3. [Netdot - Bug #1883] (Resolved) Cannot find IPv6 address when
searching under certain menu options ([email protected])
----------------------------------------------------------------------
Message: 1
Date: Mon, 14 Dec 2015 13:28:45 -0800
From: [email protected]
Subject: [Netdot-devel] [SCM] Netdot branch master updated.
netdot-1.0.7-27-g30681d7
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 30681d772fa4af0145bbfca25f2b7552ce1d9672 (commit)
from a6cda3c434606a4e8097230fdf0c070c7cd0bc3b (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 30681d772fa4af0145bbfca25f2b7552ce1d9672
Author: Carlos Vicente <[email protected]>
Date: Mon Dec 14 16:28:01 2015 -0500
Fix for #1883
diff --git a/bin/find_address.pl b/bin/find_address.pl
index 622aad6..82fd4a3 100755
--- a/bin/find_address.pl
+++ b/bin/find_address.pl
@@ -68,7 +68,7 @@ $logger->level($DEBUG) if ( $self{DEBUG} );
print "--------------------\n";
-if ( $address =~ /$MAC/ ){
+if ( $address =~ /^$MAC$/ ){
$address = PhysAddr->format_address($address);
if ( $self{FORCE_LIVE} ){
&search_live(mac=>$address, vlan=>$self{VLAN});
diff --git a/htdocs/management/device_tasks.html
b/htdocs/management/device_tasks.html
index 586ba1d..d5bde64 100644
--- a/htdocs/management/device_tasks.html
+++ b/htdocs/management/device_tasks.html
@@ -55,7 +55,7 @@ $ARGS{show_tasks} = $show_tasks;
if ( $submit eq 'Find' ){
# Get rid of spaces
$device_search =~ s/\s+//g;
- if ( $device_search =~ /$MAC/ ){
+ if ( $device_search =~ /^$MAC$/ ){
$m->comp('.show_tasks', %ARGS, user=>$user);
$m->comp('/management/mac.html', search=>$device_search, dowindow=>1 );
}elsif ( Ipblock->matches_ip($device_search) ){
diff --git a/htdocs/management/host_tasks.html
b/htdocs/management/host_tasks.html
index db8f8fa..3cacf14 100644
--- a/htdocs/management/host_tasks.html
+++ b/htdocs/management/host_tasks.html
@@ -191,7 +191,7 @@ if ( $action eq "search" && $submit ){
# Remove trailing and leading spaces
$search = $ui->rem_lt_sp($search);
$search ||= '*';
- if ( $search =~ /$MAC/ ){
+ if ( $search =~ /^$MAC$/ ){
@list = PhysAddr->search(address=>$search);
}elsif ( Ipblock->matches_ip($search) ){
@list = Ipblock->search(address=>$search);
diff --git a/htdocs/user_management/hostinfo_tasks.html
b/htdocs/user_management/hostinfo_tasks.html
index 1f0d5ba..f31490f 100644
--- a/htdocs/user_management/hostinfo_tasks.html
+++ b/htdocs/user_management/hostinfo_tasks.html
@@ -45,8 +45,6 @@ if ( $show_tasks eq "" ) {
*print_showtaskslink = $m->comp('SELF:.sub_print_showtaskslink');
my $hideheader = 'style="display:none"' if ( !$showheader );
-my $MAC = Netdot->get_mac_regex();
-
</%init>
<div id="sectiontools" <% $hideheader %>>
-----------------------------------------------------------------------
Summary of changes:
bin/find_address.pl | 2 +-
htdocs/management/device_tasks.html | 2 +-
htdocs/management/host_tasks.html | 2 +-
htdocs/user_management/hostinfo_tasks.html | 2 --
4 files changed, 3 insertions(+), 5 deletions(-)
hooks/post-receive
--
Netdot
------------------------------
Message: 2
Date: Mon, 14 Dec 2015 13:29:13 -0800
From: [email protected]
Subject: [Netdot-devel] [SCM] Netdot branch netdot-1.0 updated.
netdot-1.0.7-27-g30681d7
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 30681d772fa4af0145bbfca25f2b7552ce1d9672 (commit)
from a6cda3c434606a4e8097230fdf0c070c7cd0bc3b (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:
bin/find_address.pl | 2 +-
htdocs/management/device_tasks.html | 2 +-
htdocs/management/host_tasks.html | 2 +-
htdocs/user_management/hostinfo_tasks.html | 2 --
4 files changed, 3 insertions(+), 5 deletions(-)
hooks/post-receive
--
Netdot
------------------------------
Message: 3
Date: Mon, 14 Dec 2015 13:29:50 -0800
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1883] (Resolved) Cannot find
IPv6 address when searching under certain menu options
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
Issue #1883 has been updated by Carlos Vicente.
Status changed from New to Resolved
Resolution set to fixed
----------------------------------------
Bug #1883: Cannot find IPv6 address when searching under certain menu options
https://osl.uoregon.edu/redmine/issues/1883#change-3330
Author: Carlos Vicente
Status: Resolved
Priority: Normal
Assignee: Carlos Vicente
Category:
Target version:
Resolution: fixed
Searching an IPv4 address in Management -> Devices, or Management -> DNS
Records works, but an IPv6 address is not found. The v6 address is only found
when searching in Management -> Address Space
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://osl.uoregon.edu/redmine/my/account
------------------------------
_______________________________________________
Netdot-devel mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-devel
End of Netdot-devel Digest, Vol 105, Issue 4
********************************************