schema-network_equipments.yaml 1.19 KB
Newer Older
1
2
---
model: string
3
warranty: optional
4
kind: string
5
serial: optional_string
6
site: string
7
alias : optional_array
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
backplane_bps: optional_integer
mtu: optional_integer
snmp_community: string
network_adapters: optional
weathermap:
  <optional_hash>:
    use_cacti: string
sensors:
  <optional_hash>:
    network:
      <optional_hash>:
        available: boolean
        resolution: optional_integer
        via: optional
    power:
      <optional_hash>:
        available: boolean
        resolution: optional_integer
        via: optional
          #   pdu:
          #       uid: string
          #       port: integer
monitoring:
  <optional_hash>:
    wattmeter: optional
    metric: optional_string
vlans:
  <optional_hash>:
    <multi>:
      <optional_hash>:
        administrative: optional_boolean
        name: optional_string
        addresses: optional_array
        mtu: optional_integer
linecards:
  <multi>:
    snmp_pattern: string
45
    kavlan_pattern: optional_string
46
47
48
49
50
51
52
    kind: optional_string
    rate: integer
    model: optional_string
    backplane_bps: optional_integer
    port: optional_string
    ports:
      <multi>: linecard_port #custom linecard port validation (see lib/custom-validators.rb)