Skip to content

Commit c20a5d1

Browse files
committed
feat: add SNMP models
1 parent 5a76314 commit c20a5d1

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

docs/docs/CMDB/models/SNMP.md

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# SNMP
2+
3+
## Source code
4+
5+
Models location: [netbox_cmdb/models/snmp.py](https://github.com/criteo/netbox-network-cmdb/blob/main/netbox_cmdb/netbox_cmdb/models/snmp.py)
6+
7+
## Table relations
8+
9+
!!! info
10+
11+
To simplify the diagram, not all relations are displayed (example: `DeviceBGPSession` => `IPAM.IPAddress`)
12+
13+
``` mermaid
14+
erDiagram
15+
16+
dcim_Device 1--1+ SNMP: ""
17+
SNMP 1+--1+ SNMPCommunity: ""
18+
```
19+
20+
## BGP global configuration
21+
22+
```yaml
23+
SNMP:
24+
device: dcim.Device
25+
contact: string
26+
location: string
27+
community_list: cmdb.SNMPCommunity
28+
```
29+
30+
```yaml
31+
SNMPCommunity:
32+
SNMPCommunity: string
33+
SNMPCommunity: string
34+
type: RO|RW
35+
```

0 commit comments

Comments
 (0)