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-70-gdfd8d05 ([email protected])
   2. [SCM] Netdot branch master updated.       netdot-1.0.4-70-gdfd8d05
      ([email protected])


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

Message: 1
Date: Fri, 17 May 2013 12:14:30 -0700
From: [email protected]
Subject: [Netdot-devel] [SCM] Netdot branch netdot-1.0 updated.
        netdot-1.0.4-70-gdfd8d05
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  dfd8d058a733af369a234c7c98515f277a10065f (commit)
      from  d0151b4eaebdccab0089aae142b3f7f0d81f2949 (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 dfd8d058a733af369a234c7c98515f277a10065f
Author: Carlos Vicente <[email protected]>
Date:   Fri May 17 15:13:51 2013 -0400

    Added ASN field to ipblock to document which Autonomous System Number 
originates the block

diff --git a/etc/netdot.meta b/etc/netdot.meta
index b55377e..dafc4d6 100644
--- a/etc/netdot.meta
+++ b/etc/netdot.meta
@@ -4835,6 +4835,14 @@ $meta = {
         tag => 'Address',
         type => 'numeric'
       },
+      asn => {
+        default => '',
+        description => 'Autonomous System Number where this block originates 
from',
+        length => '255',
+        nullable => 1,
+        tag => 'ASN',
+        type => 'varchar'
+      },
       description => {
         default => '',
         description => 'A short description for this IP address or block',
@@ -5024,6 +5032,7 @@ $meta = {
         'owner',
         'used_by',
         'rir',
+        'asn',
         'description',
         'first_seen',
         'last_seen',
@@ -5060,6 +5069,7 @@ $meta = {
         'owner',
         'used_by',
         'rir',
+        'asn',
         'description',
       ],
     }
diff --git a/htdocs/management/ip.html b/htdocs/management/ip.html
index 01380ea..d543b35 100644
--- a/htdocs/management/ip.html
+++ b/htdocs/management/ip.html
@@ -1283,9 +1283,9 @@ if ( $o->status->name eq 'Subnet' ){
 }
 
 ################
-# RIR
+# RIR and ASN
 if ( $o->status->name eq 'Container' ){
-    $ui->add_to_fields(o=>$o, edit=>$edit_block, fields=>['rir'], 
+    $ui->add_to_fields(o=>$o, edit=>$edit_block, fields=>['rir','asn'], 
                       field_headers=>\@field_headers, cell_data=>\@cell_data);
 }
 ################
diff --git a/upgrade/updatedb b/upgrade/updatedb
index 09d7b6c..791510f 100644
--- a/upgrade/updatedb
+++ b/upgrade/updatedb
@@ -181,6 +181,7 @@ sub upg_104_105 {
 
        push @statements, "ALTER TABLE ipblock ADD COLUMN monitored bool NOT 
NULL;";
        push @statements, "ALTER TABLE ipblock ADD COLUMN rir varchar(255);";
+       push @statements, "ALTER TABLE ipblock ADD COLUMN asn varchar(255);";
 
     }elsif ( $dbms eq 'Pg' ){
 
@@ -196,6 +197,7 @@ sub upg_104_105 {
 
        push @statements, "ALTER TABLE ipblock ADD COLUMN monitored bool NOT 
NULL;";
        push @statements, "ALTER TABLE ipblock ADD COLUMN rir character 
varying(255);";
+       push @statements, "ALTER TABLE ipblock ADD COLUMN asn character 
varying(255);";
     }
     
     push @statements, "UPDATE schemainfo SET version='1.0.5' WHERE id=1;";

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

Summary of changes:
 etc/netdot.meta           |   10 ++++++++++
 htdocs/management/ip.html |    4 ++--
 upgrade/updatedb          |    2 ++
 3 files changed, 14 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Netdot


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

Message: 2
Date: Fri, 17 May 2013 12:15:02 -0700
From: [email protected]
Subject: [Netdot-devel] [SCM] Netdot branch master updated.
        netdot-1.0.4-70-gdfd8d05
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  dfd8d058a733af369a234c7c98515f277a10065f (commit)
      from  d0151b4eaebdccab0089aae142b3f7f0d81f2949 (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           |   10 ++++++++++
 htdocs/management/ip.html |    4 ++--
 upgrade/updatedb          |    2 ++
 3 files changed, 14 insertions(+), 2 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 74, Issue 9
*******************************************

Reply via email to