snmp-server view

Defines named “view” - a subset of the overall OID tree

view Specification

Parameter Value
Type Collection
Object Key(s) viewname, oid
Collection Name view-list
Collection URI /axapi/v3/snmp-server/view
Element Name view
Element URI /axapi/v3/snmp-server/view/{viewname}+{oid}
Element Attributes view_attributes
Partition Visibility shared
Schema view schema

Operations Allowed:

OperationMethodURIPayload

Create Object

POST

/axapi/v3/snmp-server/view

view attributes

Create List

POST

/axapi/v3/snmp-server/view

view attributes

Get Object

GET

/axapi/v3/snmp-server/view/{viewname}+{oid}

view attributes

Get List

GET

/axapi/v3/snmp-server/view

view-list

Modify Object

POST

/axapi/v3/snmp-server/view/{viewname}+{oid}

view attributes

Replace Object

PUT

/axapi/v3/snmp-server/view/{viewname}+{oid}

view attributes

Replace List

PUT

/axapi/v3/snmp-server/view

view-list

Delete Object

DELETE

/axapi/v3/snmp-server/view/{viewname}+{oid}

view attributes

view-list

view-list is JSON List of view attributes

view-list : [

view attributes

mask

Description Hex octets, separated by ‘.’, mask of oid

Type: string

Maximum Length: 128 characters

Maximum Length: 1 characters

Mutual Exclusion: mask and type are mutually exclusive

oid

Description MIB view family name or oid

Type: string

Format: string-rlx

Maximum Length: 127 characters

Maximum Length: 1 characters

type

Description ‘included’: MIB family is included in the view; ‘excluded’: MIB family is excluded from the view;

Type: string

Supported Values: included, excluded

Mutual Exclusion: type and mask are mutually exclusive

uuid

Description uuid of the object

Type: string

Maximum Length: 64 characters

Maximum Length: 1 characters

viewname

Description Name of the view

Type: string

Maximum Length: 31 characters

Maximum Length: 1 characters