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. postgres id fields should be bigserial (Karl Putland)
2. [Netdot - Bug #1685] (New) interface description is added in
wrong column ([email protected])
3. [Netdot - Bug #1685] interface description is added in wrong
column ([email protected])
4. [Netdot - Bug #1686] (New) One Out-of-Band Hostname field is
not enough on chassis based systems with 2 route-processors
([email protected])
5. [Netdot - Bug #1687] (New) Trace at import with useless
port-channel configuration ([email protected])
6. Re: [Netdot - Bug #1685] interface description is added in
wrong column (Erik Wenzel)
----------------------------------------------------------------------
Message: 1
Date: Thu, 6 Sep 2012 15:21:34 -0600
From: Karl Putland <[email protected]>
Subject: [Netdot-devel] postgres id fields should be bigserial
To: [email protected]
Message-ID:
<CA+EXWsyUYbHHgkGkw=UOZrBY7nr=0z-pfhgbdfyk45-n0yy...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
For postgres...
id auto incrementing fields (serial) should be bigserial.
All FK are bigint, yet id is only int.
ALTER TABLE foo ALTER COLUMN id TYPE bigint;
for each foo in tables will cover existing schema conversion.
--Karl
Karl Putland
Senior VoIP Engineer
*SimpleSignal*
3600 S Yosemite, Suite 150
Denver, CO 80237
One Number Rings All My Phones: 303-242-8608
SimpleSignal.com <http://www.simplesignal.com/> |
Blog<http://www.simplesignal.com/blog>
| Facebook <http://www.facebook.com/SimpleSignal?ref=ts> |
Twitter<http://twitter.com/simplesignal>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://osl.uoregon.edu/pipermail/netdot-devel/attachments/20120906/8ad5015c/attachment-0001.html
------------------------------
Message: 2
Date: Fri, 7 Sep 2012 06:49:31 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1685] (New) interface
description is added in wrong column
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
Issue #1685 has been reported by Erik Wenzel.
----------------------------------------
Bug #1685: interface description is added in wrong column
https://osl.uoregon.edu/redmine/issues/1685
Author: Erik Wenzel
Status: New
Priority: High
Assignee:
Category:
Target version:
Resolution:
In [management][devices][interfaces] in column "Name" is the port description
set if an entry is available in snmp variable ifAlias. If an interface does not
have a description the interface name is correctly displayed(content from snmp
variable ifDescr). The column "Descr." is set correctly.
This is indepentent from the imported hardware. Software Version is
netdot-1.0.1 from git branch netdot-1.0.1 with HEAD at
f467c71cae7a527aeb8a0d7153b4303c9898d628. I also testet master branch with head
at 0e6ffd9c38bc30e73880e5c2c5ba3bfafc111d17 which also has this bug.
--
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
------------------------------
Message: 3
Date: Fri, 7 Sep 2012 07:01:40 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1685] interface description is
added in wrong column
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
Issue #1685 has been updated by Carlos Vicente.
Erik Wenzel wrote:
> In [management][devices][interfaces] in column "Name" is the port description
> set if an entry is available in snmp variable ifAlias. If an interface does
> not
> have a description the interface name is correctly displayed(content from snmp
> variable ifDescr). The column "Descr." is set correctly.
> This is indepentent from the imported hardware. Software Version is
> netdot-1.0.1 from git branch netdot-1.0.1 with HEAD at
> f467c71cae7a527aeb8a0d7153b4303c9898d628. I also testet master branch with
> head
> at 0e6ffd9c38bc30e73880e5c2c5ba3bfafc111d17 which also has this bug.
What value of IFNAME_SHORT are you using in your Site.conf?
----------------------------------------
Bug #1685: interface description is added in wrong column
https://osl.uoregon.edu/redmine/issues/1685#change-2959
Author: Erik Wenzel
Status: New
Priority: High
Assignee:
Category:
Target version:
Resolution:
In [management][devices][interfaces] in column "Name" is the port description
set if an entry is available in snmp variable ifAlias. If an interface does not
have a description the interface name is correctly displayed(content from snmp
variable ifDescr). The column "Descr." is set correctly.
This is indepentent from the imported hardware. Software Version is
netdot-1.0.1 from git branch netdot-1.0.1 with HEAD at
f467c71cae7a527aeb8a0d7153b4303c9898d628. I also testet master branch with head
at 0e6ffd9c38bc30e73880e5c2c5ba3bfafc111d17 which also has this bug.
--
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
------------------------------
Message: 4
Date: Fri, 7 Sep 2012 07:13:18 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1686] (New) One Out-of-Band
Hostname field is not enough on chassis based systems with 2
route-processors
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
Issue #1686 has been reported by Erik Wenzel.
----------------------------------------
Bug #1686: One Out-of-Band Hostname field is not enough on chassis based
systems with 2 route-processors
https://osl.uoregon.edu/redmine/issues/1686
Author: Erik Wenzel
Status: New
Priority: Normal
Assignee:
Category:
Target version:
Resolution:
In [Management][Devices][Basics][Management] is a field called: "Out-of-Band
Hostname". This is correct for a fix-sized device. If a device is a chassis
based system it must be bound to the module where the console port is available.
Chassis based systems can have a second route-processor card with a second
console
port.
--
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
------------------------------
Message: 5
Date: Fri, 7 Sep 2012 07:27:02 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1687] (New) Trace at import
with useless port-channel configuration
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
Issue #1687 has been reported by Erik Wenzel.
----------------------------------------
Bug #1687: Trace at import with useless port-channel configuration
https://osl.uoregon.edu/redmine/issues/1687
Author: Erik Wenzel
Status: New
Priority: Normal
Assignee:
Category:
Target version:
Resolution:
Import script needs to catch a traceback when router configuration has a
port-channel interface configuration with no members.
---snip---
$ /usr/local/Netdot/bin/updatedevices.pl -H <ip-address> -I -c <community>
INFO - /usr/local/Netdot/bin/updatedevices.pl started at Fri Sep 7 12:54:16
2012
INFO - Updating single device: <ip-address>
INFO - Inserted new RR: <host.fqdn>
INFO - Inserting new Device: <ip-address>
INFO - <host.fqdn>: SNMP target address set to <ip-adress>
[?]
INFO - <host.fqdn>: Interface 1281 (VLAN-XX) updated
Use of uninitialized value in sprintf at
/usr/local/Netdot/lib/Netdot/Model/Interface.pm line 459.
[?]
INFO - <host.fqdn>: Interface 1313 (Po<YY>) updated
Message from syslogd@nmstest at Sep 7 12:49:40 ...
netdot: FATAL - Missing required parameter: VLAN ID
ERROR: Missing required parameter: VLAN ID
Trace begun at /usr/local/Netdot/lib/Netdot.pm line 83
Netdot::throw_fatal('Vlan', 'Missing required parameter: VLAN ID') called at
/usr/local/Netdot/lib/Netdot/Model/Vlan.pm line 130
Netdot::Model::Vlan::_validate_vid('Vlan', 0) called at
/usr/local/Netdot/lib/Netdot/Model/Vlan.pm line 62
Netdot::Model::Vlan::search('Vlan', 'vid', 0) called at
/usr/local/Netdot/lib/Netdot/Model/Interface.pm line 488
Netdot::Model::Interface::snmp_update('Interface', 'monitored', 0,
'doc_status', 'snmp', 'number', 1313, 'name', 'Po<YY>', 'overwrite_descr', 1,
'auto_dns', 1, 'device', 'Device=HASH(0xa9b2f20)', 'snmp_info',
'HASH(0xab98728)', 'add_subnets', 1, 'subs_inherit', 1, 'stp_instances',
'HASH(0xaaf5428)') called at /usr/local/Netdot/lib/Netdot/Model/Device.pm line
5648
Netdot::Model::Device::_update_interfaces('Device=HASH(0xa9b2f20)', 'info',
'HASH(0xa430c28)', 'add_subnets', undef, 'subs_inherit', undef,
'overwrite_descr', 1) called at /usr/local/Netdot/lib/Netdot/Model/Device.pm
line 2847
Netdot::Model::Device::info_update('Device=HASH(0xa9b2f20)', 'add_subnets',
undef, 'subs_inherit', undef, 'bgp_peers', undef, 'pretend', undef, 'session',
'SNMP::Info::Layer3::C6500=HASH(0xa75ad78)', 'info', 'HASH(0xa430c28)',
'device_is_new', 1) called at /usr/local/Netdot/lib/Netdot/Model/Device.pm line
2645
Netdot::Model::Device::snmp_update('Device=HASH(0xa9b2f20)', 'info',
'HASH(0xa430c28)', 'communities', 'ARRAY(0xa4d1ea0)', 'retries', 1, 'do_info',
1, 'device_is_new', 1, 'session', 'SNMP::Info::Layer3::C6500=HASH(0xa75ad78)',
'timeout', 1000000) called at /usr/local/Netdot/lib/Netdot/Model/Device.pm line
1508
Netdot::Model::Device::discover('Device', 'retries', 1, 'subs_inherit', undef,
'auth_pass', undef, 'pretend', undef, 'matching', undef, 'do_fwt', undef,
'add_subnets', undef, 'sec_level', undef, 'timeout', 1000000, 'priv_pass',
undef, 'version', undef, 'sec_name', undef, 'atomic', undef, 'name',
<ip-address>, 'do_arp', undef, 'bgp_peers', undef, 'priv_proto', undef,
'communities', 'ARRAY(0xa4d1ea0)', 'do_info', 1, 'auth_proto', undef) called at
/usr/local/Netdot/bin/updatedevices.pl line 188
eval {...} at /usr/local/Netdot/bin/updatedevices.pl line 187
---snip---
Po<YY> has the following incomplete configuration:
---snip---
Current configuration : 54 bytes
!
interface Port-channel<YY>
switchport
shutdown
end
---snip---
After removing the useless port-channel interface with no member the import
worked well. I tested this with netdot-1.0.1.
--
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
------------------------------
Message: 6
Date: Fri, 7 Sep 2012 16:31:59 +0200
From: Erik Wenzel <[email protected]>
Subject: Re: [Netdot-devel] [Netdot - Bug #1685] interface description
is added in wrong column
To: [email protected]
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Am 07.09.2012 um 16.01 schrieb [email protected]:
>
> Issue #1685 has been updated by Carlos Vicente.
>
>
> Erik Wenzel wrote:
>> In [management][devices][interfaces] in column "Name" is the port description
>> set if an entry is available in snmp variable ifAlias. If an interface does
>> not
>> have a description the interface name is correctly displayed(content from
>> snmp
>> variable ifDescr). The column "Descr." is set correctly.
>> This is indepentent from the imported hardware. Software Version is
>> netdot-1.0.1 from git branch netdot-1.0.1 with HEAD at
>> f467c71cae7a527aeb8a0d7153b4303c9898d628. I also testet master branch with
>> head
>> at 0e6ffd9c38bc30e73880e5c2c5ba3bfafc111d17 which also has this bug.
>
>
> What value of IFNAME_SHORT are you using in your Site.conf?
The value is 1.
--
Erik Wenzel
[email protected]
------------------------------
_______________________________________________
Netdot-devel mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-devel
End of Netdot-devel Digest, Vol 66, Issue 3
*******************************************