Skip to content

Commit

Permalink
feat: add SNMP models
Browse files Browse the repository at this point in the history
  • Loading branch information
kpetremann committed Nov 8, 2024
1 parent 5a76314 commit c20a5d1
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions docs/docs/CMDB/models/SNMP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# SNMP

## Source code

Models location: [netbox_cmdb/models/snmp.py](https://github.com/criteo/netbox-network-cmdb/blob/main/netbox_cmdb/netbox_cmdb/models/snmp.py)

## Table relations

!!! info

To simplify the diagram, not all relations are displayed (example: `DeviceBGPSession` => `IPAM.IPAddress`)

``` mermaid
erDiagram
dcim_Device 1--1+ SNMP: ""
SNMP 1+--1+ SNMPCommunity: ""
```

## BGP global configuration

```yaml
SNMP:
device: dcim.Device
contact: string
location: string
community_list: cmdb.SNMPCommunity
```
```yaml
SNMPCommunity:
SNMPCommunity: string
SNMPCommunity: string
type: RO|RW
```

0 comments on commit c20a5d1

Please sign in to comment.