From c20a5d19c8b1eb64da94ad1a27abc7827cc32215 Mon Sep 17 00:00:00 2001 From: "k.petremann" Date: Fri, 8 Nov 2024 14:02:34 +0100 Subject: [PATCH] feat: add SNMP models --- docs/docs/CMDB/models/SNMP.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/docs/CMDB/models/SNMP.md diff --git a/docs/docs/CMDB/models/SNMP.md b/docs/docs/CMDB/models/SNMP.md new file mode 100644 index 0000000..5331e32 --- /dev/null +++ b/docs/docs/CMDB/models/SNMP.md @@ -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 +```