-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdhcpoption.spec
177 lines (177 loc) · 5.95 KB
/
dhcpoption.spec
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
{
"attributes": [
{
"allowed_chars": null,
"allowed_choices": null,
"autogenerated": false,
"channel": null,
"creation_only": false,
"default_order": false,
"default_value": null,
"deprecated": false,
"description": "This will be used to send actual type instead of the hexadecimal. Note: If actualType is set, it will override the entry set in the type attribute",
"exposed": true,
"filterable": false,
"format": null,
"max_length": null,
"max_value": null,
"min_length": null,
"min_value": null,
"name": "actualType",
"orderable": false,
"read_only": false,
"required": false,
"subtype": null,
"transient": false,
"type": "integer",
"unique": false,
"uniqueScope": null,
"userlabel": "Actual Type"
},
{
"allowed_chars": null,
"allowed_choices": null,
"autogenerated": false,
"channel": null,
"creation_only": false,
"default_order": false,
"default_value": null,
"deprecated": false,
"description": "This will be used to send actual values instead of the hexadecimal. Note: If actualValues are set, it will override entry set in the value attribute",
"exposed": true,
"filterable": false,
"format": null,
"max_length": null,
"max_value": null,
"min_length": null,
"min_value": null,
"name": "actualValues",
"orderable": false,
"read_only": false,
"required": false,
"subtype": "string",
"transient": false,
"type": "list",
"unique": false,
"uniqueScope": null,
"userlabel": "Actual Values"
},
{
"allowed_chars": null,
"allowed_choices": null,
"autogenerated": false,
"channel": null,
"creation_only": false,
"default_order": false,
"default_value": null,
"deprecated": false,
"description": "DHCP option length. Length should be a hexadecimal value(ie. Hex value 0x04 would be passed as '04')",
"exposed": true,
"filterable": true,
"format": "free",
"max_length": null,
"max_value": null,
"min_length": null,
"min_value": null,
"name": "length",
"orderable": true,
"read_only": false,
"required": false,
"subtype": null,
"transient": false,
"type": "string",
"unique": false,
"uniqueScope": null,
"userlabel": "Length"
},
{
"allowed_chars": null,
"allowed_choices": null,
"autogenerated": false,
"channel": null,
"creation_only": false,
"default_order": false,
"default_value": null,
"deprecated": false,
"description": "DHCP option type. Type should be a hexadecimal value(ie. Hex value 0x06 would be passed as '06')",
"exposed": true,
"filterable": true,
"format": "free",
"max_length": null,
"max_value": null,
"min_length": null,
"min_value": null,
"name": "type",
"orderable": true,
"read_only": false,
"required": false,
"subtype": null,
"transient": false,
"type": "string",
"unique": false,
"uniqueScope": null,
"userlabel": "Type"
},
{
"allowed_chars": null,
"allowed_choices": null,
"autogenerated": false,
"channel": null,
"creation_only": false,
"default_order": false,
"default_value": null,
"deprecated": false,
"description": "DHCP option value. Value should be a hexadecimal value(ie. Hex value 0xac40 would be passed as 'ac40')",
"exposed": true,
"filterable": true,
"format": "free",
"max_length": null,
"max_value": null,
"min_length": null,
"min_value": null,
"name": "value",
"orderable": true,
"read_only": false,
"required": false,
"subtype": null,
"transient": false,
"type": "string",
"unique": false,
"uniqueScope": null,
"userlabel": "Value"
}
],
"children": [
{
"bulk_create": false,
"bulk_delete": false,
"bulk_update": false,
"create": false,
"delete": false,
"deprecated": false,
"get": true,
"relationship": "child",
"rest_name": "eventlog",
"update": false
}
],
"model": {
"create": false,
"delete": true,
"description": "Allows the definition of one or more DHCP options that will be provided to all VMs that are associated with a given domain. DHCP options are provided as Type- Length-Value (TLV). There is no validation by VSD on whether these options are valid or not. It is up to the user to guarantee that the options make sense for their application.",
"entity_name": "DHCPOption",
"extends": [
"@audited",
"@base",
"@metadata",
"@permission"
],
"get": true,
"package": "network",
"resource_name": "dhcpoptions",
"rest_name": "dhcpoption",
"root": false,
"update": true,
"userlabel": "DHCP Option"
}
}