glite-meta-setattr

glite-meta-setattr — Modify metadata attributes

Synopsis

glite-meta-setattr [ -h ] [ -q ] [ -s SERVICE ] [ -V ] [ -v ] { -d ATTR ...} { -m ATTR ...} ITEM...

glite-meta-setattr [ -h ] [ -q ] [ -s SERVICE ] [ -V ] [ -v ] { -D FILE | -M FILE } ITEM...

DESCRIPTION

glite-meta-setattr is a command-line tool for modifying the metadata attributes for entries in the metadata catalog.

OPTIONS

-h

Print a short help message on parameters and usage, and exit.

-q

Quiet operation.

-s SERVICE

Specifies the service endpoint to use. If SERVICE starts with http://, https:// or httpg://, then it is taken as a direct service endpoint URL. Otherwise SERVICE is taken as a service instance name and Service Discovery is invoked to look up the endpoint.

If this option is not specified, Service Discovery will be invoked and the first available catalog will be used. If the Service Discovery fails, the program will exit with an error.

Note

If this option is not specified, only services with a known good status will be returned by Service Discovery. However if you explicitely specify a service name or an endpoint, the tool will try to use it regardless of its registered status.

Note

If you specify an HTTP URL with an empty host name, the tool will dump the SOAP requests to the standard output and will read the SOAP reply from stdin.

-v

Increases the verbosity level.

-V

Print the version number and exit.

-d ATTR

Delete/clear the attribute named ATTR.

-D FILE

Delete the attributes listed in FILE. FILE must contain one attribute name or attribute specification per line. Lines starting with # (hash sign) are treated as comments and ignored. Reading of the file stops at the first empty line. If FILE is - (dash), the attributes are read from the standard input.

Note

The output of the glite-meta-getattr(1) command is suitable as input for this option.

-m ATTR

Add or modify an attribute. Attributes have the form of of (TYPE)NAME=VALUE or NAME=VALUE, as described by the glite-meta-getattr(1) command.

-M FILE

Add or modify the attributes listed in FILE.

ITEM

Name of the entries to set attributes on.

ENVIRONMENT VARIABLES

GLITE_SD_FIREMAN_TYPE

Specifies the type of the Fireman catlog service to use during service discovery. The default value is org.glite.FiremanCatalog.

GLITE_SD_SEINDEX_TYPE

Specifies the type of the Storage Element Index service to use during service discovery. The default value is org.glite.SEIndex.

GLITE_SD_METADATA_TYPE

Specifies the type of the Metadata service to use during service discovery. The default value is org.glite.Metadata.

SEE ALSO

glite-meta-getattr(1)