new netdisco-deploy script to do all deployment tasks at once

This commit is contained in:
Oliver Gorwits
2012-12-19 22:23:04 +00:00
parent 2c034c7c79
commit df54d5e4f9
3 changed files with 137 additions and 50 deletions

View File

@@ -34,8 +34,13 @@ The contents of this distribution is the next major version of the Netdisco
network management tool. See L<http://netdisco.org/> for further information
on the project.
If you have any trouble getting the frontend running, or it blows up in your
face, please speak to someone in the C<#netdisco> IRC channel (on freenode).
So far L<App::Netdisco> provides a web frontend and a backend daemon to handle
interactive requests such as changing port or device properties. There is not
yet a device poller, so please still use the old Netdisco's discovery, arpnip,
and macsuck.
If you have any trouble getting the frontend running, please speak to someone
in the C<#netdisco> IRC channel (on freenode).
=head1 Dependencies
@@ -103,6 +108,18 @@ to be appropriate for your local site.
=head1 Bootstrap
The database either needs configuring if new, or updating from the current
release of Netdisco (1.x). You also need vendor MAC address prefixes (OUI
data) and some MIBs if you want to run the daemon. The following script will
take care of all this for you:
DANCER_ENVDIR=~/environments localenv netdisco-deploy
If you don't want that level of automation, check out the database schema diff
from the current release of Netdisco, and apply it yourself:
~/perl5/lib/perl5/App/Netdisco/DB/schema_versions/Netdisco-DB-2-3-PostgreSQL.sql
=head1 Startup
Run the following command to start the web server: