forked from thias/puppet-quagga
-
Notifications
You must be signed in to change notification settings - Fork 2
/
puppet-quagga_schema.yaml
126 lines (126 loc) · 3.6 KB
/
puppet-quagga_schema.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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# Created using puppet-retrospec - https://github.com/nwops/puppet-retrospec
# This schema file can be used to validate hiera data
# http://www.kuwata-lab.com/kwalify/ruby/users-guide.01.html#schema
# To validate your hiera data against this schema install the kwalify gem
# 1. gem install kwalify
# 2. kwalify -lf /Users/john.bond/git/puppet-quagga/puppet-quagga_schema.yaml hiera_data_file.yaml
# By default this schema is generic and only covers basic parameter types.
# You should update the schema to match your expected data types in your puppet classes
# or anywhere else you call hiera using the hiera() function.
# This schema contains 29 entries.
---
type: map
mapping:
hostclass:
type: map
mapping:
"quagga::bgpd::my_asn":
type: int
required: true
"quagga::bgpd::router_id":
type: str
required: true
"quagga::bgpd::networks4":
type: seq
sequence:
- type: str
required: false
"quagga::bgpd::failsafe_networks4":
type: seq
sequence:
- type: str
required: false
"quagga::bgpd::networks6":
type: seq
sequence:
- type: str
required: false
"quagga::bgpd::failsafe_networks6":
type: seq
sequence:
- type: str
required: false
"quagga::bgpd::failover_server":
type: bool
required: false
"quagga::bgpd::enable_advertisements":
type: bool
required: false
"quagga::bgpd::enable_advertisements_v4":
type: bool
required: false
"quagga::bgpd::enable_advertisements_v6":
type: bool
required: false
"quagga::bgpd::manage_nagios":
type: bool
required: false
"quagga::bgpd::conf_file":
type: str
required: false
"quagga::bgpd::peers":
type: map
mapping:
"=":
type: any
required: false
required: false
"quagga::owner":
type: str
required: false
"quagga::group":
type: str
required: false
"quagga::mode":
type: str
required: false
"quagga::package":
type: str
required: false
"quagga::enable_zebra":
type: bool
required: false
"quagga::content":
type: str
required: false
definition:
type: map
mapping:
"quagga::bgpd::peer::nagios::routes":
type: seq
sequence:
- type: str
required: false
"quagga::bgpd::peer::addr4":
type: seq
sequence:
- type: str
required: false
"quagga::bgpd::peer::addr6":
type: seq
sequence:
- type: str
required: false
"quagga::bgpd::peer::desc":
type: str
required: false
"quagga::bgpd::peer::inbound_routes":
type: str
required: false
"quagga::bgpd::peer::communities":
type: seq
sequence:
- type: str
required: false
"quagga::bgpd::peer::localpref":
type: int
required: false
"quagga::bgpd::peer::multihop":
type: int
required: false
"quagga::bgpd::peer::password":
type: str
required: false
"quagga::bgpd::peer::prepend":
type: int
required: false