This YANG module provides a data model for SNMP Services.
Copyright 2019-2020 Rubicon Communications, LLC.
Example URL
returns netgate.snmp.SnmpConfig
netgate.snmp.SnmpConfig
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-snmp:snmp-config" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
creates netgate.snmp.SnmpConfig
netgate.snmp.SnmpConfig to be added to list
netgate-snmp:snmp-config | object (netgate.snmp.SnmpConfig) |
Object created
Internal error
Object already exists
Example URL
creates or updates netgate.snmp.SnmpConfig
netgate.snmp.SnmpConfig to be added or updated
netgate-snmp:snmp-config-wrapper | object (netgate.snmp.SnmpConfigWrapper) |
Object created
Object modified
Internal error
Example URL
removes netgate.snmp.SnmpConfig
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-snmp:snmp-config" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Dataplane-specific parameters of SNMP server.
netgate.snmp.snmpconfig.Dataplane
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-snmp:snmp-config/dataplane" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Dataplane-specific parameters of SNMP server.
netgate.snmp.snmpconfig.Dataplane to be added to list
dataplane | object (netgate.snmp.snmpconfig.Dataplane) |
Object created
Internal error
Object already exists
Example URL
Dataplane-specific parameters of SNMP server.
netgate.snmp.snmpconfig.Dataplane to be added or updated
netgate-snmp:dataplane-wrapper | object (netgate.snmp.snmpconfig.DataplaneWrapper) |
Object created
Object modified
Internal error
Example URL
Dataplane-specific parameters of SNMP server.
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-snmp:snmp-config/dataplane" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
returns netgate.snmp.snmpconfig.SnmpAccessControl
netgate.snmp.snmpconfig.SnmpAccessControl
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-snmp:snmp-config/snmp-access-control" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
creates netgate.snmp.snmpconfig.SnmpAccessControl
netgate.snmp.snmpconfig.SnmpAccessControl to be added to list
snmp-access-control | object (netgate.snmp.snmpconfig.SnmpAccessControl) |
Object created
Internal error
Object already exists
Example URL
creates or updates netgate.snmp.snmpconfig.SnmpAccessControl
netgate.snmp.snmpconfig.SnmpAccessControl to be added or updated
netgate-snmp:snmp-access-control-wrapper | object (netgate.snmp.snmpconfig.SnmpAccessControlWrapper) |
Object created
Object modified
Internal error
Example URL
removes netgate.snmp.snmpconfig.SnmpAccessControl
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-snmp:snmp-config/snmp-access-control" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Map from group to views.
netgate.snmp.snmpconfig.snmpaccesscontrol.Access to be added to list
access | object (netgate.snmp.snmpconfig.snmpaccesscontrol.Access) |
Object created
Internal error
Object already exists
Example URL
Map from group to views.
group-name required | string Id of access |
netgate.snmp.snmpconfig.snmpaccesscontrol.Access
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-snmp:snmp-config/snmp-access-control/access=%7Bgroup-name%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Map from group to views.
group-name required | string Id of access |
netgate.snmp.snmpconfig.snmpaccesscontrol.Access to be added or updated
netgate-snmp:access-wrapper | object (netgate.snmp.snmpconfig.snmpaccesscontrol.AccessWrapper) |
Object created
Object modified
Internal error
Example URL
Map from group to views.
group-name required | string Id of access |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-snmp:snmp-config/snmp-access-control/access=%7Bgroup-name%7D" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
creates netgate.snmp.snmpconfig.snmpaccesscontrol.access.AccessEntry
group-name required | string Id of access |
netgate.snmp.snmpconfig.snmpaccesscontrol.access.AccessEntry to be added to list
access-entry | object (netgate.snmp.snmpconfig.snmpaccesscontrol.access.AccessEntry) |
Object created
Internal error
Object already exists
Example URL
returns netgate.snmp.snmpconfig.snmpaccesscontrol.access.AccessEntry
group-name required | string Id of access |
context required | string Id of access-entry |
prefix required | string Id of access-entry |
security-model required | string Id of access-entry |
security-level required | string Id of access-entry |
netgate.snmp.snmpconfig.snmpaccesscontrol.access.AccessEntry
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-snmp:snmp-config/snmp-access-control/access=%7Bgroup-name%7D/access-entry=%7Bcontext%7D,%7Bprefix%7D,%7Bsecurity-model%7D,%7Bsecurity-level%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
creates or updates netgate.snmp.snmpconfig.snmpaccesscontrol.access.AccessEntry
group-name required | string Id of access |
context required | string Id of access-entry |
prefix required | string Id of access-entry |
security-model required | string Id of access-entry |
security-level required | string Id of access-entry |
netgate.snmp.snmpconfig.snmpaccesscontrol.access.AccessEntry to be added or updated
netgate-snmp:access-entry-wrapper | object (netgate.snmp.snmpconfig.snmpaccesscontrol.access.AccessEntryWrapper) |
Object created
Object modified
Internal error
Example URL
removes netgate.snmp.snmpconfig.snmpaccesscontrol.access.AccessEntry
group-name required | string Id of access |
context required | string Id of access-entry |
prefix required | string Id of access-entry |
security-model required | string Id of access-entry |
security-level required | string Id of access-entry |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-snmp:snmp-config/snmp-access-control/access=%7Bgroup-name%7D/access-entry=%7Bcontext%7D,%7Bprefix%7D,%7Bsecurity-model%7D,%7Bsecurity-level%7D" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Map community name from SNMP request to security name.
netgate.snmp.snmpconfig.snmpaccesscontrol.CommunityMap to be added to list
community-map | object (netgate.snmp.snmpconfig.snmpaccesscontrol.CommunityMap) |
Object created
Internal error
Object already exists
Example URL
Map community name from SNMP request to security name.
community-name required | string Id of community-map |
netgate.snmp.snmpconfig.snmpaccesscontrol.CommunityMap
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-snmp:snmp-config/snmp-access-control/community-map=%7Bcommunity-name%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Map community name from SNMP request to security name.
community-name required | string Id of community-map |
netgate.snmp.snmpconfig.snmpaccesscontrol.CommunityMap to be added or updated
netgate-snmp:community-map-wrapper | object (netgate.snmp.snmpconfig.snmpaccesscontrol.CommunityMapWrapper) |
Object created
Object modified
Internal error
Example URL
Map community name from SNMP request to security name.
community-name required | string Id of community-map |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-snmp:snmp-config/snmp-access-control/community-map=%7Bcommunity-name%7D" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
creates netgate.snmp.snmpconfig.snmpaccesscontrol.communitymap.MapEntry
community-name required | string Id of community-map |
netgate.snmp.snmpconfig.snmpaccesscontrol.communitymap.MapEntry to be added to list
map-entry | object (netgate.snmp.snmpconfig.snmpaccesscontrol.communitymap.MapEntry) |
Object created
Internal error
Object already exists
Example URL
returns netgate.snmp.snmpconfig.snmpaccesscontrol.communitymap.MapEntry
community-name required | string Id of community-map |
context required | string Id of map-entry |
source required | string Id of map-entry |
netgate.snmp.snmpconfig.snmpaccesscontrol.communitymap.MapEntry
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-snmp:snmp-config/snmp-access-control/community-map=%7Bcommunity-name%7D/map-entry=%7Bcontext%7D,%7Bsource%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
creates or updates netgate.snmp.snmpconfig.snmpaccesscontrol.communitymap.MapEntry
community-name required | string Id of community-map |
context required | string Id of map-entry |
source required | string Id of map-entry |
netgate.snmp.snmpconfig.snmpaccesscontrol.communitymap.MapEntry to be added or updated
netgate-snmp:map-entry-wrapper | object (netgate.snmp.snmpconfig.snmpaccesscontrol.communitymap.MapEntryWrapper) |
Object created
Object modified
Internal error
Example URL
removes netgate.snmp.snmpconfig.snmpaccesscontrol.communitymap.MapEntry
community-name required | string Id of community-map |
context required | string Id of map-entry |
source required | string Id of map-entry |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-snmp:snmp-config/snmp-access-control/community-map=%7Bcommunity-name%7D/map-entry=%7Bcontext%7D,%7Bsource%7D" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Map security name to group.
netgate.snmp.snmpconfig.snmpaccesscontrol.Group to be added to list
group | object (netgate.snmp.snmpconfig.snmpaccesscontrol.Group) |
Object created
Internal error
Object already exists
Example URL
Map security name to group.
group-name required | string Id of group |
netgate.snmp.snmpconfig.snmpaccesscontrol.Group
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-snmp:snmp-config/snmp-access-control/group=%7Bgroup-name%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Map security name to group.
group-name required | string Id of group |
netgate.snmp.snmpconfig.snmpaccesscontrol.Group to be added or updated
netgate-snmp:group-wrapper | object (netgate.snmp.snmpconfig.snmpaccesscontrol.GroupWrapper) |
Object created
Object modified
Internal error
Example URL
Map security name to group.
group-name required | string Id of group |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-snmp:snmp-config/snmp-access-control/group=%7Bgroup-name%7D" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
creates netgate.snmp.snmpconfig.snmpaccesscontrol.group.GroupEntry
group-name required | string Id of group |
netgate.snmp.snmpconfig.snmpaccesscontrol.group.GroupEntry to be added to list
group-entry | object (netgate.snmp.snmpconfig.snmpaccesscontrol.group.GroupEntry) |
Object created
Internal error
Object already exists
Example URL
returns netgate.snmp.snmpconfig.snmpaccesscontrol.group.GroupEntry
group-name required | string Id of group |
security-name required | string Id of group-entry |
security-model required | string Id of group-entry |
netgate.snmp.snmpconfig.snmpaccesscontrol.group.GroupEntry
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-snmp:snmp-config/snmp-access-control/group=%7Bgroup-name%7D/group-entry=%7Bsecurity-name%7D,%7Bsecurity-model%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
creates or updates netgate.snmp.snmpconfig.snmpaccesscontrol.group.GroupEntry
group-name required | string Id of group |
security-name required | string Id of group-entry |
security-model required | string Id of group-entry |
netgate.snmp.snmpconfig.snmpaccesscontrol.group.GroupEntry to be added or updated
netgate-snmp:group-entry-wrapper | object (netgate.snmp.snmpconfig.snmpaccesscontrol.group.GroupEntryWrapper) |
Object created
Object modified
Internal error
Example URL
removes netgate.snmp.snmpconfig.snmpaccesscontrol.group.GroupEntry
group-name required | string Id of group |
security-name required | string Id of group-entry |
security-model required | string Id of group-entry |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-snmp:snmp-config/snmp-access-control/group=%7Bgroup-name%7D/group-entry=%7Bsecurity-name%7D,%7Bsecurity-model%7D" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Defines a subset of the OID tree.
netgate.snmp.snmpconfig.snmpaccesscontrol.View to be added to list
view | object (netgate.snmp.snmpconfig.snmpaccesscontrol.View) |
Object created
Internal error
Object already exists
Example URL
Defines a subset of the OID tree.
view-name required | string Id of view |
netgate.snmp.snmpconfig.snmpaccesscontrol.View
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-snmp:snmp-config/snmp-access-control/view=%7Bview-name%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Defines a subset of the OID tree.
view-name required | string Id of view |
netgate.snmp.snmpconfig.snmpaccesscontrol.View to be added or updated
netgate-snmp:view-wrapper | object (netgate.snmp.snmpconfig.snmpaccesscontrol.ViewWrapper) |
Object created
Object modified
Internal error
Example URL
Defines a subset of the OID tree.
view-name required | string Id of view |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-snmp:snmp-config/snmp-access-control/view=%7Bview-name%7D" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
creates netgate.snmp.snmpconfig.snmpaccesscontrol.view.ViewEntry
view-name required | string Id of view |
netgate.snmp.snmpconfig.snmpaccesscontrol.view.ViewEntry to be added to list
view-entry | object (netgate.snmp.snmpconfig.snmpaccesscontrol.view.ViewEntry) |
Object created
Internal error
Object already exists
Example URL
returns netgate.snmp.snmpconfig.snmpaccesscontrol.view.ViewEntry
view-name required | string Id of view |
type required | string Id of view-entry |
oid required | string Id of view-entry |
netgate.snmp.snmpconfig.snmpaccesscontrol.view.ViewEntry
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-snmp:snmp-config/snmp-access-control/view=%7Bview-name%7D/view-entry=%7Btype%7D,%7Boid%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
creates or updates netgate.snmp.snmpconfig.snmpaccesscontrol.view.ViewEntry
view-name required | string Id of view |
type required | string Id of view-entry |
oid required | string Id of view-entry |
netgate.snmp.snmpconfig.snmpaccesscontrol.view.ViewEntry to be added or updated
netgate-snmp:view-entry-wrapper | object (netgate.snmp.snmpconfig.snmpaccesscontrol.view.ViewEntryWrapper) |
Object created
Object modified
Internal error
Example URL
removes netgate.snmp.snmpconfig.snmpaccesscontrol.view.ViewEntry
view-name required | string Id of view |
type required | string Id of view-entry |
oid required | string Id of view-entry |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-snmp:snmp-config/snmp-access-control/view=%7Bview-name%7D/view-entry=%7Btype%7D,%7Boid%7D" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
operates on netgate.snmp.SnmpControl
input | object (netgate.snmp.snmpcontrol.Input) |
Correct response
No response
Internal error
Example URL
operates on netgate.snmp.SnmpCoredump
input | object (netgate.snmp.snmpcoredump.Input) |
Correct response
No response
Internal error