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 | ||
Create List | POST | /axapi/v3/snmp-server/view | ||
Get Object | GET | /axapi/v3/snmp-server/view/{viewname}+{oid} | ||
Get List | GET | /axapi/v3/snmp-server/view | ||
Modify Object | POST | /axapi/v3/snmp-server/view/{viewname}+{oid} | ||
Replace Object | PUT | /axapi/v3/snmp-server/view/{viewname}+{oid} | ||
Replace List | PUT | /axapi/v3/snmp-server/view | ||
Delete Object | DELETE | /axapi/v3/snmp-server/view/{viewname}+{oid} |
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