Cisco::Conf::Install - Create a configuration file for the Cisco::Conf module


Cisco-Conf documentation  | view source Contained in the Cisco-Conf distribution.

Index


NAME

Top

Cisco::Conf::Install - Create a configuration file for the Cisco::Conf module

SYNOPSIS

Top

    use Cisco::Conf::Install;
    Cisco::Conf::Install->Install($file, $prefix);

DESCRIPTION

Top

This module is used to create configuration files for the Cisco::Conf module. It holds a single class method, Install, that attempts to guess the system defaults and queries the user for all settings.

The prefix $prefix is used as a default for certain directory settings. The configuration is saved as $file. A hash ref with all configuration is returned, the method dies in case of errors.

The configuration file initially holds an empty list of routers. Use the Add method or the -a option of the cisconf script to add routers.

AUTHOR AND COPYRIGHT

Top

SEE ALSO

Top

cisconf(1), Cisco::Conf(3)


Cisco-Conf documentation  | view source Contained in the Cisco-Conf distribution.