Send netdisco-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/netdisco-users
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 netdisco-users digest..."
Today's Topics:

   1. Re: Failed to upgrade DB schema 2.034001 (Oliver Gorwits)
   2. Getting IPv6 neighbors cache via sshcollector from Cisco ASA
      (Gerhard Rappenecker)
   3. Re: Getting IPv6 neighbors cache via sshcollector from Cisco
      ASA (Oliver Gorwits)
--- Begin Message ---


On 2017-06-05 13:26, Nicolás Matsunaga wrote:
I have previously tried "netdisco-deploy" without success as I stated.
 I also peaked at the scripts and the changes of version 41 were
applied but the schema version is not inserted on the table.

It might be possible to drop the dbix_class schema versions table and re-run the update.

And rather than a full reinstall you can also try under a different database name.

Good luck :)

oliver.


 I think I will try a full reinstall, when I have some time.
 Thanks anyway.

 Regards,
 Nicolas

 On 2/6/17 1:01, Andy Ruhl wrote:

Use netdisco-deploy, not netdisco-db-deploy.

Andy

On Jun 1, 2017 8:41 PM, "Nicolás Matsunaga" <[email protected]>
wrote:

Hi,

I have no knowledge of PostreSQL.
Sometime ago I updated netdisco from version 2.033002 to 
2.034001
When I did the upgrade I executed "~/bin/netdisco-deploy"
Now I tried it to give netdisco another chance (because it is not
working fine) and I want to have the correct DB version and I am
not able to update the schema doing
"~netdisco/bin/netdisco-db-deploy "

How can I fix this?

Regards,
Nicolás

[netdisco@server ~]$ ~netdisco/bin/netdisco-db-deploy
DBIx::Class::Schema::Versioned::_on_connect(): Versions out of
sync. This is 41, your database contains version 40, please call
upgrade on your Schema. at
/home/netdisco/perl5/lib/perl5/DBICx/Sugar.pm line 85
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(40) is lower than the schema version (41). Attempting upgrade.

[netdisco@server ~]$ ~netdisco/bin/netdisco-db-deploy
--redeploy-all
DBIx::Class::Schema::Versioned::_on_connect(): Versions out of
sync. This is 41, your database contains version 40, please call
upgrade on your Schema. at
/home/netdisco/perl5/lib/perl5/DBICx/Sugar.pm line 85
NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index
"dbix_class_schema_versions_pkey" for table
"dbix_class_schema_versions"
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(2) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(3) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(4) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(5) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(6) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(7) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(8) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(9) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(10) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(11) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(12) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(13) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(14) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(15) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(16) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(17) is lower than the schema version (41). Attempting upgrade.
NOTICE:  ALTER TABLE / ADD PRIMARY KEY will create implicit
index "admin_pkey" for table "admin"
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(18) is lower than the schema version (41). Attempting upgrade.
NOTICE:  ALTER TABLE / ADD PRIMARY KEY will create implicit
index "node_pkey" for table "node"
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(19) is lower than the schema version (41). Attempting upgrade.
NOTICE:  ALTER TABLE / ADD PRIMARY KEY will create implicit
index "node_wireless_pkey" for table "node_wireless"
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(20) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(21) is lower than the schema version (41). Attempting upgrade.
NOTICE:  ALTER TABLE / ADD UNIQUE will create implicit index
"topology_dev1_port1" for table "topology"
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(22) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(23) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(24) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(25) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(26) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(27) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(28) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(29) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(30) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(31) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(32) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(33) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(34) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(35) is lower than the schema version (41). Attempting upgrade.
NOTICE:  ALTER TABLE / ADD PRIMARY KEY will create implicit
index "device_port_vlan_pkey" for table "device_port_vlan"
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(36) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(37) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(38) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(39) is lower than the schema version (41). Attempting upgrade.
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version
(40) is lower than the schema version (41). Attempting upgrade.



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot [1]
_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users [2]

--

                 NICOLÁS MATSUNAGA Gerente de Tecnología Tel. +54 (11) 5235-9903
[email protected]
                 Av. de Mayo 605 p. 13 of. B Ciudad de Buenos Aires Argentina
www.uyr.com.ar [3]

                Piensa si es realmente necesario imprimir este correo.



Links:
------
[1] http://sdm.link/slashdot
[2] https://lists.sourceforge.net/lists/listinfo/netdisco-users
[3] http://www.uyr.com.ar

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users



--- End Message ---
--- Begin Message ---
Hi all,

I am using Nedisco2 and netdisco-sshcollector to get the IPv4 ARP cache from an 
ASA5585X device.

Now I want to get IPv6 neighbors from the same device. I read the documentation 
in https://metacpan.org/pod/distribution/App-Netdisco/bin/netdisco-sshcollector 
to add a new device class executing the IOS command "show ipv6 neighbors" on 
the device. But because of my insufficient perl knowledge I am not able to do 
that.

Can anyone show me more detailed what to do or have implemented this allready? 

PS: I extracted this issue from my former one with the subject "Getting IPv6 
neighbors cache form Cisco Cat6500 and ASA5585X" because the solution for 
Cat6500 seems not to be same as for ASA5585X. 

Thanks for any help.
Gerhard Rappenecker

--- End Message ---
--- Begin Message ---

If someone wants to grab the source and edit this file:

https://github.com/netdisco/netdisco/blob/2.035006/lib/App/Netdisco/SSHCollector/Platform/ASA.pm

It could be patched and tested, to issue the v6 command (and cope if the command is missing).

Pull requests and/or commit bits are welcome to all :-)

p.s. I suggest working from the latest stable tag '2.035006'.

regards,
oliver.

On 2017-06-06 11:22, Gerhard Rappenecker wrote:
Hi all,

I am using Nedisco2 and netdisco-sshcollector to get the IPv4 ARP
cache from an ASA5585X device.

Now I want to get IPv6 neighbors from the same device. I read the
documentation in
https://metacpan.org/pod/distribution/App-Netdisco/bin/netdisco-sshcollector
[1] to add a new device class executing the IOS command "show ipv6
neighbors" on the device. But because of my insufficient perl
knowledge I am not able to do that.

Can anyone show me more detailed what to do or have implemented this
allready?

PS: I extracted this issue from my former one with the subject
"Getting IPv6 neighbors cache form Cisco Cat6500 and ASA5585X" because
the solution for Cat6500 seems not to be same as for ASA5585X.

Thanks for any help.
Gerhard Rappenecker


Links:
------
[1] https://metacpan.org/pod/distribution/App-Netdisco/bin/netdisco-sshcollector

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users



--- End Message ---
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to