Setting Module Identity Properties
Syntax:
% dbcmd set moduleid option value ?option value ...?
Returns:
Properties:
-categories list
-
Sets the SUBJECT-CATEGORIES field of a COPS-PR-SPPI (PIB) MODULE-IDENTITY statement. The value must be a list of enumerations of the form:
{ name value ?comments? } ...
An empty string may be specified to clear the property or imply the value "all".
-comments text
- Specifies the body of comment text that is to be associated with the record. Character sequences that start end end the comment should be omitted: these depend on the output format, and it is the responsibility of the converter to insert the appropriate sequences.
-contactinfo text
- Specifies the body of text corresponding to the CONTACT-INFO field of the MODULE-IDENTITY record.
-description text
- Specifies the body of text corresponding to the DESCRIPTION field of the MODULE-IDENTITY record.
-lastupdated timestamp
- Specifies the ExtUTCTime value corresponding to the LAST-UPDATED field of the MODULE-IDENTITY record. The ExtUTCTime value is of the form:
?YY?YYMMDDHHmmZ
-name lcidentifier
- Specifies the descriptor of the MODULE-IDENTITY record. If unspecified at creation time, the SDK will automatically assign a name that is unique within the database. This property will accept any value that corresponds to an ASN.1 ValueReference: that is, an identifier that starts with a lowercase first letter.
-oid oidvalue
- Equivalent to
-valuedecl
for set operations.
-organization text
- Specifies the body of text corresponding to the ORGANIZATION field of the MODULE-IDENTITY record.
-revisions list
- Specifies a list of
{ timestamp description }
pairs, one for each REVISION section of the MODULE-IDENTITY record. The timestamp
value must be in ExtUTCTime format, as with the -lastupdated
property.
-value oidvalue
- Equivalent to
-valuedecl
for set operations.
-valuedecl oidvalue
- Specifies the object identifier value that uniquely identifies the record in OID space. The
oidvalue
specified may take the form of a lowercase identifier or any of the forms returned by other get
options that return OID values. The form used with this command determines the form returned by the get -valuedecl
command.