forked from jerikan-network/cmdb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
classifier.yaml
98 lines (98 loc) · 2.12 KB
/
classifier.yaml
1
2
3
4
5
6
7
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
matchers:
- "^none$":
host: "none"
- "^(([^.]*)\\..*)\\.blade-group\\.net":
environment: prod
host: "\\1"
shorthost: "\\2"
- "\\.lab\\.":
environment: lab
# Location
- "\\.(ussfo03)\\.":
location: "\\1"
continent: us
- "\\.(sk1)\\.":
location: "\\1"
continent: apac
- "^[^.]+(\\d+)\\.":
member: "\\1"
- "^to([12])-[as]?p(\\d+)\\.":
member: "\\1"
pod: "\\2"
# Groups
- "^to([12])-p(\\d+)\\.":
groups:
- tor
- tor-bgp
- tor-bgp-compute
- "^to([12])-ap(\\d+)\\.":
groups:
- tor
- tor-bgp
- tor-bgp-admin
- "^to([12])-sp(\\d+)\\.":
groups:
- tor
- tor-bgp
- tor-bgp-storage
- "^spine(\\d+)\\.":
groups:
- spine
- spine-bgp
- "^s-spine(\\d+)\\.":
groups:
- sspine
- sspine-bgp
- "^con(\\d+)-n(\\d+)\\.":
groups:
- console
- "^edge\\d+\\.":
groups:
- edge
- "^ob[1-4]-":
groups:
- oob
- "^gateway[12]\\.(sk1|ussfo03)\\.":
os: linux
groups:
- adm-gateway
# Vendor
- "^to([12])-(p|ap)(\\d+)\\.(sk1)\\.":
os: cumulus
model: dell-s4048
- "^to([12])-sp(\\d+)\\.(sk1)\\.":
os: cumulus
model: dell-s6010
- "^to([12])-(p|ap|sp)(\\d+)\\.(ussfo03)\\.":
os: cumulus
model: wedge100
- "^to([12])-p2\\.(ussfo03)\\.":
os: junos
model: qfx5110-48s
- "^spine(\\d+)\\.(sk1)\\.":
os: cumulus
model: dell-s6010
- "^spine(\\d+)\\.(ussfo03)\\.":
os: cumulus
model: wedge100
- "^con(\\d+)-n(\\d+)\\.(sk1)\\.":
os: opengear
model: cm7116-2-sac
- "^con(\\d+)-n(\\d+)\\.(ussfo03)\\.":
os: opengear
model: cm7116-2-dac
- "^con(\\d+)-ag(\\d+)\\.(ussfo03)\\.":
os: opengear
model: cm7132-2-dac
- "^s-spine[12]\\.(ussfo03)\\.":
os: cumulus
model: wedge100
- "^edge\\d+\\.(ussfo03)\\.":
os: junos
model: qfx10002-36q
- "^edge\\d+\\.(sk1)\\.":
os: iosxr
model: asr9k
- "^ob[1-4]-([s]?p|ag|n)\\d+\\.":
os: ios
model: c2960s