snmp-server view

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

view Specification

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
Schema view schema

Operations Allowed:

Operation Method URI Payload

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

Mutual Exclusion: mask and type are mutually exclusive

oid

Description: MIB view family name or oid

Type: string

Required: Yes

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

viewname

Description: Name of the view

Type: string

Required: Yes