Specifications

Ridgeline Concepts and Solutions Guide
367
This command includes options for specifying Ridgeline server access information, the operation to be
performed (create, modify or delete), the name of the VLAN, and the devices in the VLAN with their
configuration options.
Importing from a File. To import data from a text file, you define the resources you want to import in
a tab-delimited text file. See “Importing from a File” in Chapter 8 of the Ridgeline Reference Guide for
details.
Importing from an LDAP Directory. Importing from an LDAP directory uses an import specification
file that defines the following:
The information you want to extract from the directory.
How to map that data to groups, resources, and attributes in the Ridgeline Grouping module.
The specification file must be named
LDAPConfig.txt, and must reside in the Ridgeline
user.war/import directory. See “Importing from an LDAP Directory in Chapter 8 of the Ridgeline
Reference Guide for details.
Importing from an Windows Domain Controller or NIS Server. Importing from an Windows
Domain Controller or NIS server is always done from the Domain Controller or NIS server that is
serving the domain for the system running the Ridgeline server. The type of system you are running
will determine where the Ridgeline server looks for the information. See “Importing from an Windows
Domain Controller or NIS Server” in Chapter 8 of the Ridgeline Reference Guide for details.
The syntax of the ImportResources command is as follows:
ImportResources -user <Ridgeline username> -s <source name>
[-f <file name>| -ldap | -domain ]
The Ridgeline user name and one of the import type options (-f, -ldap, or -domain) are required.
Table 18 specifies the options you can use with this command:
Table 18: ImportResources command options
Option Value Default
-user <username> Ridgeline user name. This option is required. None
-password <password> Ridgeline user password. If the password is blank, do not
include this argument.
No password
-host <hostname | IP address> Ridgeline server hostname or IP address localhost
-port <port> Ridgeline server port number 80
-help Displays syntax for this command None
-s <Source name> A name that will identify the source of the imported
resources. This name is used to create a group under which
all the resources imported in this operation are placed.
None
-f <file name> The name of a tab-delimited text file that contains the data
to be imported. See “Importing from a File” in Chapter 8 of
the Ridgeline Reference Guide for details.
None