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-116-g82c2a0d ([email protected])
2. [SCM] Netdot branch master updated. netdot-1.0.4-116-g82c2a0d
([email protected])
----------------------------------------------------------------------
Message: 1
Date: Wed, 6 Nov 2013 07:36:55 -0800
From: [email protected]
Subject: [Netdot-devel] [SCM] Netdot branch netdot-1.0 updated.
netdot-1.0.4-116-g82c2a0d
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 82c2a0df2d9f919579c98a4d11854f0b0a79d834 (commit)
from 8498b7a71c4c99e0d10415fa13f168c54a39dee6 (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 82c2a0df2d9f919579c98a4d11854f0b0a79d834
Author: Carlos Vicente <[email protected]>
Date: Tue Nov 5 17:48:09 2013 -0500
Corrections in upgrade script regarding NOT NULL constraints
diff --git a/etc/netdot.meta b/etc/netdot.meta
index 5ffdb6f..1f9679c 100644
--- a/etc/netdot.meta
+++ b/etc/netdot.meta
@@ -676,7 +676,7 @@ $meta = {
method => 'peerings',
table => 'ContactList'
},
- nullable => 0,
+ nullable => 1,
tag => 'Contact List',
type => 'bigint'
},
@@ -726,7 +726,7 @@ $meta = {
default => '',
description => 'Time when the state last changed',
length => '',
- nullable => 0,
+ nullable => 1,
tag => 'Last Changed',
type => 'timestamp'
},
diff --git a/upgrade/updatedb b/upgrade/updatedb
index fd94065..6079b63 100644
--- a/upgrade/updatedb
+++ b/upgrade/updatedb
@@ -211,11 +211,11 @@ sub upg_104_105 {
push @statements, "UPDATE device,asn SET device.bgplocalas=asn.id WHERE
device.bgplocalas=asn.number;";
- push @statements, "ALTER TABLE bgppeering ADD COLUMN contactlist bigint
NOT NULL;";
+ push @statements, "ALTER TABLE bgppeering ADD COLUMN contactlist
bigint;";
push @statements, "ALTER TABLE bgppeering ADD CONSTRAINT
`fk_contactlist_bgppeering` FOREIGN KEY (`contactlist`) ".
"REFERENCES `contactlist` (`id`);";
push @statements, "CREATE INDEX contactlist ON bgppeering
(contactlist)";
- push @statements, "ALTER TABLE bgppeering ADD COLUMN last_changed
timestamp NOT NULL;";
+ push @statements, "ALTER TABLE bgppeering ADD COLUMN last_changed
timestamp;";
push @statements, "ALTER TABLE bgppeering ADD COLUMN peer_group
varchar(255);";
push @statements, "ALTER TABLE bgppeering ADD COLUMN state
varchar(255);";
push @statements, "ALTER TABLE bgppeering DROP FOREIGN KEY
`fk_monitorstatus`;";
@@ -268,10 +268,10 @@ sub upg_104_105 {
push @statements, "UPDATE device SET bgplocalas=asn.id FROM asn WHERE
device.bgplocalas=asn.number;";
- push @statements, "ALTER TABLE bgppeering ADD COLUMN contactlist bigint
NOT NULL;";
+ push @statements, "ALTER TABLE bgppeering ADD COLUMN contactlist
bigint;";
push @statements, "ALTER TABLE \"bgppeering\" ADD CONSTRAINT
\"fk_contactlist\" FOREIGN KEY (\"contactlist\") ".
"REFERENCES \"contactlist\" (\"id\") DEFERRABLE;";
- push @statements, "ALTER TABLE bgppeering ADD COLUMN last_changed
timestamp NOT NULL";
+ push @statements, "ALTER TABLE bgppeering ADD COLUMN last_changed
timestamp";
push @statements, "ALTER TABLE bgppeering ADD COLUMN peer_group
character varying(255);";
push @statements, "ALTER TABLE bgppeering ADD COLUMN state character
varying(255);";
push @statements, "ALTER TABLE bgppeering DROP COLUMN monitorstatus;";
-----------------------------------------------------------------------
Summary of changes:
etc/netdot.meta | 4 ++--
upgrade/updatedb | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
hooks/post-receive
--
Netdot
------------------------------
Message: 2
Date: Wed, 6 Nov 2013 07:37:23 -0800
From: [email protected]
Subject: [Netdot-devel] [SCM] Netdot branch master updated.
netdot-1.0.4-116-g82c2a0d
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 82c2a0df2d9f919579c98a4d11854f0b0a79d834 (commit)
via 8498b7a71c4c99e0d10415fa13f168c54a39dee6 (commit)
via 19ef20a3420cfb7a042712c40524a3578bfd728e (commit)
via 092ea13de800caf5c02128c7e261f8c4224a94d1 (commit)
via 520f2bbada1c1560c519657dd5851b5effaaa516 (commit)
via c486014bdfa723e6cd7c90aab0df8a93f9e53290 (commit)
from 8c6086906774d88398120343f629a87c40608243 (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:
etc/netdot.meta | 4 +-
htdocs/management/addservice.html | 2 +-
htdocs/management/device.html | 2 +-
htdocs/management/updatedevice.html | 9 +++++++
lib/Netdot/Model/Device.pm | 44 +++++++++++++++++++++++++++--------
lib/Netdot/Model/Ipblock.pm | 3 ++
upgrade/updatedb | 8 +++---
7 files changed, 54 insertions(+), 18 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 80, Issue 4
*******************************************