Skip to content

Commit 463e9b1

Browse files
committedMar 2, 2017
Regeneration of RAML documentation after vendoring latest objdb code
Signed-off-by: Bill Robinson <[email protected]>
1 parent cc8b106 commit 463e9b1

File tree

1 file changed

+414
-414
lines changed

1 file changed

+414
-414
lines changed
 

‎spec/contiv/libraries/netmaster.raml

+414-414
Original file line numberDiff line numberDiff line change
@@ -1,128 +1,203 @@
11
#%RAML 1.0 Library
22
types:
3-
aciGw:
3+
tenant:
44
properties:
5-
name:
5+
tenantName:
66
type: string
77
maxLength: 64
8-
description: name of this block(must be 'aciGw')
9-
pattern: "^(aciGw)$"
10-
pathBindings:
11-
type: string
12-
maxLength: 2048
13-
description: List of ACI fabric ports connected to cluster
14-
pattern: "^$|^(topology/pod-[0-9]{1,4}/paths-[0-9]{1,4}/pathep-\\\\[eth[0-9]{1,2}/[0-9]{1,2}\\\\]){1}(,topology/pod-[0-9]{1,4}/paths-[0-9]{1,4}/pathep-\\\\[eth[0-9]{1,2}/[0-9]{1,2}\\\\])?$"
15-
nodeBindings:
16-
type: string
17-
maxLength: 2048
18-
description: List of ACI complete nodes to be bound
19-
pattern: "^$|^(topology/pod-[0-9]{1,4}/node-[0-9]{1,4}){1}(,topology/pod-[0-9]{1,4}/node-[0-9]{1,4})?$"
20-
physicalDomain:
21-
type: string
22-
maxLength: 128
23-
description: Name of the physical domain
8+
description: Tenant Name
249
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])$"
25-
enforcePolicies:
26-
type: string
27-
maxLength: 64
28-
description: Enforce security policy
29-
pattern: "^(yes|no){1}$"
30-
includeCommonTenant:
10+
defaultNetwork:
3111
type: string
3212
maxLength: 64
33-
description: Include common tenant when searching for objects
34-
pattern: "^(yes|no){1}$"
35-
aciGws:
13+
description: Network name
14+
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])?$"
15+
tenants:
3616
type: array
3717
items:
38-
type: aciGw
39-
upd_aciGw:
40-
type: aciGw
41-
inspect_aciGw:
18+
type: tenant
19+
upd_tenant:
20+
type: tenant
21+
inspect_tenant:
4222
properties:
4323
Config:
44-
type: aciGw
24+
type: tenant
4525
Oper:
4626
properties:
47-
numAppProfiles:
27+
totalNetworks:
4828
type: integer
49-
appProfile:
29+
description: total number of networks
30+
totalEPGs:
31+
type: integer
32+
description: total number of EPGs
33+
totalNetprofiles:
34+
type: integer
35+
description: total number of Netprofiles
36+
totalAppProfiles:
37+
type: integer
38+
description: total number of App-Profiles
39+
totalServicelbs:
40+
type: integer
41+
description: total number of Servicelbs
42+
totalPolicies:
43+
type: integer
44+
description: total number of totalPolicies
45+
totalEndpoints:
46+
type: integer
47+
description: total number of endpoints in the tenant
48+
endpoints:
49+
type: array
50+
items:
51+
type: endpoint
52+
description: endpoints in the tenant
53+
networks:
54+
type: array
55+
items:
56+
type: network
57+
description: networks in the tenant
58+
endpointGroups:
59+
type: array
60+
items:
61+
type: endpointGroup
62+
description: endpointGroups in the tenant
63+
policies:
64+
type: array
65+
items:
66+
type: policy
67+
description: policies in the tenant
68+
servicelbs:
69+
type: array
70+
items:
71+
type: serviceLB
72+
description: servicelbs in the tenant
73+
rule:
5074
properties:
5175
tenantName:
5276
type: string
5377
maxLength: 64
5478
description: Tenant Name
5579
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])$"
56-
appProfileName:
80+
policyName:
5781
type: string
5882
maxLength: 64
59-
description: Application Profile Name
83+
description: Policy Name
6084
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])$"
61-
endpointGroups:
62-
type: array
63-
items:
64-
type: string
65-
description: Member groups of the appProf
66-
appProfiles:
85+
ruleId:
86+
type: string
87+
maxLength: 64
88+
description: Rule Id
89+
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])$"
90+
direction:
91+
type: string
92+
description: Direction
93+
pattern: "^(in|out)$"
94+
priority:
95+
type: integer
96+
description: Priority
97+
fromEndpointGroup:
98+
type: string
99+
maxLength: 64
100+
description: From Endpoint Group
101+
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])?$"
102+
toEndpointGroup:
103+
type: string
104+
maxLength: 64
105+
description: To Endpoint Group
106+
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])?$"
107+
fromNetwork:
108+
type: string
109+
maxLength: 64
110+
description: From Network
111+
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])?$"
112+
toNetwork:
113+
type: string
114+
maxLength: 64
115+
description: To Network
116+
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])?$"
117+
fromIpAddress:
118+
type: string
119+
description: IP Address
120+
pattern: "^(((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(\\\\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3})(\\\\-(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]))?(/(3[0-1]|2[0-9]|1[0-9]|[1-9]))?)?$"
121+
toIpAddress:
122+
type: string
123+
description: IP Address
124+
pattern: "^(((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(\\\\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3})(\\\\-(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]))?(/(3[0-1]|2[0-9]|1[0-9]|[1-9]))?)?$"
125+
protocol:
126+
type: string
127+
description: Protocol
128+
pattern: "^(tcp|udp|icmp||[0-9]{1,3}?)$"
129+
port:
130+
type: integer
131+
description: Port No
132+
action:
133+
type: string
134+
description: Action
135+
pattern: "^(allow|deny)$"
136+
rules:
67137
type: array
68138
items:
69-
type: appProfile
70-
upd_appProfile:
71-
type: appProfile
72-
inspect_appProfile:
139+
type: rule
140+
upd_rule:
141+
type: rule
142+
inspect_rule:
73143
properties:
74144
Config:
75-
type: appProfile
76-
Bgp:
145+
type: rule
146+
serviceLB:
77147
properties:
78-
hostname:
148+
tenantName:
79149
type: string
80-
maxLength: 256
81-
description: host name
150+
maxLength: 64
151+
description: Tenant Name
82152
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])$"
83-
routerip:
84-
type: string
85-
description: Bgp router intf ip
86-
pattern: "^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(\\\\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3})(\\\\-(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]))?/(3[0-1]|2[0-9]|1[0-9]|[1-9])$"
87-
as:
153+
networkName:
88154
type: string
89155
maxLength: 64
90-
description: AS id
91-
neighbor-as:
156+
description: Service network name
157+
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])$"
158+
serviceName:
92159
type: string
93-
maxLength: 64
94-
description: AS id
95-
neighbor:
160+
maxLength: 256
161+
description: service name
162+
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])$"
163+
ipAddress:
96164
type: string
97165
maxLength: 15
98-
description: Bgp neighbor
166+
description: Service ip
99167
pattern: "^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(\\\\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3})?$"
100-
Bgps:
168+
selectors:
169+
type: array
170+
items:
171+
type: string
172+
description: labels key value pair
173+
ports:
174+
type: array
175+
items:
176+
type: string
177+
description: service provider port
178+
serviceLBs:
101179
type: array
102180
items:
103-
type: Bgp
104-
upd_Bgp:
105-
type: Bgp
106-
inspect_Bgp:
181+
type: serviceLB
182+
upd_serviceLB:
183+
type: serviceLB
184+
inspect_serviceLB:
107185
properties:
108186
Config:
109-
type: Bgp
187+
type: serviceLB
110188
Oper:
111189
properties:
112-
numRoutes:
113-
type: integer
114-
description: number of routes
115-
neighborStatus:
116-
type: string
117-
description: neighbor status
118-
adminStatus:
190+
serviceVip:
119191
type: string
120-
description: admin status
121-
routes:
192+
description: allocated IP addresses
193+
numProviders:
194+
type: integer
195+
description: " number of provider endpoints for the service"
196+
providers:
122197
type: array
123198
items:
124-
type: string
125-
description: routes
199+
type: endpoint
200+
description: provider endpoints for the service
126201
endpointGroup:
127202
properties:
128203
groupName:
@@ -183,36 +258,52 @@ types:
183258
availableIPAddresses:
184259
type: string
185260
description: Available IP addresses
186-
extContractsGroup:
261+
aciGw:
187262
properties:
188-
tenantName:
263+
name:
189264
type: string
190265
maxLength: 64
191-
description: Tenant name
266+
description: name of this block(must be 'aciGw')
267+
pattern: "^(aciGw)$"
268+
pathBindings:
269+
type: string
270+
maxLength: 2048
271+
description: List of ACI fabric ports connected to cluster
272+
pattern: "^$|^(topology/pod-[0-9]{1,4}/paths-[0-9]{1,4}/pathep-\\\\[eth[0-9]{1,2}/[0-9]{1,2}\\\\]){1}(,topology/pod-[0-9]{1,4}/paths-[0-9]{1,4}/pathep-\\\\[eth[0-9]{1,2}/[0-9]{1,2}\\\\])?$"
273+
nodeBindings:
274+
type: string
275+
maxLength: 2048
276+
description: List of ACI complete nodes to be bound
277+
pattern: "^$|^(topology/pod-[0-9]{1,4}/node-[0-9]{1,4}){1}(,topology/pod-[0-9]{1,4}/node-[0-9]{1,4})?$"
278+
physicalDomain:
279+
type: string
280+
maxLength: 128
281+
description: Name of the physical domain
192282
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])$"
193-
contractsGroupName:
283+
enforcePolicies:
194284
type: string
195285
maxLength: 64
196-
description: Contracts group name
197-
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])$"
198-
contractsType:
286+
description: Enforce security policy
287+
pattern: "^(yes|no){1}$"
288+
includeCommonTenant:
199289
type: string
200-
description: Contracts type
201-
contracts:
202-
type: array
203-
items:
204-
type: string
205-
description: Contracts list
206-
extContractsGroups:
290+
maxLength: 64
291+
description: Include common tenant when searching for objects
292+
pattern: "^(yes|no){1}$"
293+
aciGws:
207294
type: array
208295
items:
209-
type: extContractsGroup
210-
upd_extContractsGroup:
211-
type: extContractsGroup
212-
inspect_extContractsGroup:
296+
type: aciGw
297+
upd_aciGw:
298+
type: aciGw
299+
inspect_aciGw:
213300
properties:
214301
Config:
215-
type: extContractsGroup
302+
type: aciGw
303+
Oper:
304+
properties:
305+
numAppProfiles:
306+
type: integer
216307
netprofile:
217308
properties:
218309
profileName:
@@ -243,291 +334,203 @@ types:
243334
properties:
244335
Config:
245336
type: netprofile
246-
policy:
337+
network:
247338
properties:
248-
policyName:
339+
networkName:
249340
type: string
250341
maxLength: 64
251-
description: Policy Name
342+
description: Network name
252343
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])$"
253344
tenantName:
254345
type: string
255346
maxLength: 64
256347
description: Tenant Name
257348
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])$"
258-
policys:
349+
nwType:
350+
type: string
351+
description: Network Type
352+
pattern: "^(infra|data)$"
353+
encap:
354+
type: string
355+
description: Encapsulation
356+
pattern: "^(vlan|vxlan)$"
357+
pktTag:
358+
type: integer
359+
description: Vlan/Vxlan Tag
360+
subnet:
361+
type: string
362+
description: Subnet
363+
pattern: "^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(\\\\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3})(\\\\-((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(\\\\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3}))?/(3[0-1]|2[0-9]|1[0-9]|[1-9])$"
364+
gateway:
365+
type: string
366+
description: Gateway
367+
pattern: "^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(\\\\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3})?$"
368+
ipv6Subnet:
369+
type: string
370+
description: IPv6Subnet
371+
pattern: "^((((([0-9]|[a-f]|[A-F]){1,4})((\\\\:([0-9]|[a-f]|[A-F]){1,4}){7}))|(((([0-9]|[a-f]|[A-F]){1,4}\\\\:){0,6}|\\\\:)((\\\\:([0-9]|[a-f]|[A-F]){1,4}){0,6}|\\\\:)))/(1[0-2][0-7]|[1-9][0-9]|[1-9]))?$"
372+
ipv6Gateway:
373+
type: string
374+
description: IPv6Gateway
375+
pattern: "^(((([0-9]|[a-f]|[A-F]){1,4})((\\\\:([0-9]|[a-f]|[A-F]){1,4}){7}))|(((([0-9]|[a-f]|[A-F]){1,4}\\\\:){0,6}|\\\\:)((\\\\:([0-9]|[a-f]|[A-F]){1,4}){0,6}|\\\\:)))?$"
376+
networks:
259377
type: array
260378
items:
261-
type: policy
262-
upd_policy:
263-
type: policy
264-
inspect_policy:
379+
type: network
380+
upd_network:
381+
type: network
382+
inspect_network:
265383
properties:
266384
Config:
267-
type: policy
385+
type: network
268386
Oper:
269387
properties:
388+
pktTag:
389+
type: integer
390+
description: internal packet tag
391+
externalPktTag:
392+
type: integer
393+
description: external packet tag
270394
numEndpoints:
271395
type: integer
272-
description: number of endpoints
273-
policyViolations:
396+
description: external packet tag
397+
allocatedAddressesCount:
274398
type: integer
275-
description: number of policyViolations
399+
description: Vlan/Vxlan Tag
400+
allocatedIPAddresses:
401+
type: string
402+
description: allocated IP addresses
403+
availableIPAddresses:
404+
type: string
405+
description: Available IP addresses
276406
endpoints:
277407
type: array
278408
items:
279409
type: endpoint
280-
description: endpoints associate with the policy
281-
rule:
410+
description: endpoints in the network
411+
global:
282412
properties:
283-
tenantName:
284-
type: string
285-
maxLength: 64
286-
description: Tenant Name
287-
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])$"
288-
policyName:
413+
name:
289414
type: string
290415
maxLength: 64
291-
description: Policy Name
292-
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])$"
293-
ruleId:
416+
description: name of this block(must be 'global')
417+
pattern: "^(global)$"
418+
networkInfraType:
294419
type: string
295420
maxLength: 64
296-
description: Rule Id
297-
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])$"
298-
direction:
299-
type: string
300-
description: Direction
301-
pattern: "^(in|out)$"
302-
priority:
303-
type: integer
304-
description: Priority
305-
fromEndpointGroup:
421+
description: Network infrastructure type
422+
pattern: "^(aci|aci-opflex|default)?$"
423+
vlans:
306424
type: string
307-
maxLength: 64
308-
description: From Endpoint Group
309-
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])?$"
310-
toEndpointGroup:
425+
description: Allowed vlan range
426+
pattern: "^([0-9]{1,4}?-[0-9]{1,4}?)$"
427+
vxlans:
311428
type: string
312-
maxLength: 64
313-
description: To Endpoint Group
314-
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])?$"
315-
fromNetwork:
429+
description: Allwed vxlan range
430+
pattern: "^([0-9]{1,8}?-[0-9]{1,8}?)$"
431+
fwdMode:
316432
type: string
317433
maxLength: 64
318-
description: From Network
319-
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])?$"
320-
toNetwork:
434+
description: Forwarding Mode
435+
pattern: "^(bridge|routing)?$"
436+
arpMode:
321437
type: string
322438
maxLength: 64
323-
description: To Network
324-
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])?$"
325-
fromIpAddress:
326-
type: string
327-
description: IP Address
328-
pattern: "^(((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(\\\\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3})(\\\\-(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]))?(/(3[0-1]|2[0-9]|1[0-9]|[1-9]))?)?$"
329-
toIpAddress:
330-
type: string
331-
description: IP Address
332-
pattern: "^(((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(\\\\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3})(\\\\-(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]))?(/(3[0-1]|2[0-9]|1[0-9]|[1-9]))?)?$"
333-
protocol:
334-
type: string
335-
description: Protocol
336-
pattern: "^(tcp|udp|icmp||[0-9]{1,3}?)$"
337-
port:
338-
type: integer
339-
description: Port No
340-
action:
439+
description: ARP Mode
440+
pattern: "^(proxy|flood)?$"
441+
pvtSubnet:
341442
type: string
342-
description: Action
343-
pattern: "^(allow|deny)$"
344-
rules:
443+
description: Private Subnet used by host bridge
444+
pattern: "^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(\\\\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3})/16$"
445+
globals:
345446
type: array
346447
items:
347-
type: rule
348-
upd_rule:
349-
type: rule
350-
inspect_rule:
448+
type: global
449+
upd_global:
450+
type: global
451+
inspect_global:
351452
properties:
352453
Config:
353-
type: rule
354-
serviceLB:
454+
type: global
455+
Oper:
456+
properties:
457+
numNetworks:
458+
type: integer
459+
defaultNetwork:
460+
type: string
461+
vlansInUse:
462+
type: string
463+
vxlansInUse:
464+
type: string
465+
freeVXLANsStart:
466+
type: integer
467+
clusterMode:
468+
type: string
469+
policy:
355470
properties:
356-
tenantName:
471+
policyName:
357472
type: string
358473
maxLength: 64
359-
description: Tenant Name
474+
description: Policy Name
360475
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])$"
361-
networkName:
476+
tenantName:
362477
type: string
363478
maxLength: 64
364-
description: Service network name
365-
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])$"
366-
serviceName:
367-
type: string
368-
maxLength: 256
369-
description: service name
479+
description: Tenant Name
370480
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])$"
371-
ipAddress:
372-
type: string
373-
maxLength: 15
374-
description: Service ip
375-
pattern: "^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(\\\\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3})?$"
376-
selectors:
377-
type: array
378-
items:
379-
type: string
380-
description: labels key value pair
381-
ports:
382-
type: array
383-
items:
384-
type: string
385-
description: service provider port
386-
serviceLBs:
481+
policys:
387482
type: array
388483
items:
389-
type: serviceLB
390-
upd_serviceLB:
391-
type: serviceLB
392-
inspect_serviceLB:
484+
type: policy
485+
upd_policy:
486+
type: policy
487+
inspect_policy:
393488
properties:
394489
Config:
395-
type: serviceLB
490+
type: policy
396491
Oper:
397492
properties:
398-
serviceVip:
399-
type: string
400-
description: allocated IP addresses
401-
numProviders:
493+
numEndpoints:
402494
type: integer
403-
description: " number of provider endpoints for the service"
404-
providers:
495+
description: number of endpoints
496+
policyViolations:
497+
type: integer
498+
description: number of policyViolations
499+
endpoints:
405500
type: array
406501
items:
407502
type: endpoint
408-
description: provider endpoints for the service
409-
tenant:
503+
description: endpoints associate with the policy
504+
extContractsGroup:
410505
properties:
411506
tenantName:
412507
type: string
413508
maxLength: 64
414-
description: Tenant Name
509+
description: Tenant name
415510
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])$"
416-
defaultNetwork:
511+
contractsGroupName:
417512
type: string
418513
maxLength: 64
419-
description: Network name
420-
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])?$"
421-
tenants:
422-
type: array
423-
items:
424-
type: tenant
425-
upd_tenant:
426-
type: tenant
427-
inspect_tenant:
428-
properties:
429-
Config:
430-
type: tenant
431-
Oper:
432-
properties:
433-
totalNetworks:
434-
type: integer
435-
description: total number of networks
436-
totalEPGs:
437-
type: integer
438-
description: total number of EPGs
439-
totalNetprofiles:
440-
type: integer
441-
description: total number of Netprofiles
442-
totalAppProfiles:
443-
type: integer
444-
description: total number of App-Profiles
445-
totalServicelbs:
446-
type: integer
447-
description: total number of Servicelbs
448-
totalPolicies:
449-
type: integer
450-
description: total number of totalPolicies
451-
totalEndpoints:
452-
type: integer
453-
description: total number of endpoints in the tenant
454-
endpoints:
455-
type: array
456-
items:
457-
type: endpoint
458-
description: endpoints in the tenant
459-
networks:
460-
type: array
461-
items:
462-
type: network
463-
description: networks in the tenant
464-
endpointGroups:
465-
type: array
466-
items:
467-
type: endpointGroup
468-
description: endpointGroups in the tenant
469-
policies:
470-
type: array
471-
items:
472-
type: policy
473-
description: policies in the tenant
474-
servicelbs:
475-
type: array
476-
items:
477-
type: serviceLB
478-
description: servicelbs in the tenant
479-
volume:
480-
properties:
481-
volumeName:
482-
type: string
483-
description: Volume Name
484-
tenantName:
485-
type: string
486-
description: Tenant Name
487-
datastoreType:
488-
type: string
489-
poolName:
490-
type: string
491-
size:
492-
type: string
493-
mountPoint:
494-
type: string
495-
volumes:
496-
type: array
497-
items:
498-
type: volume
499-
upd_volume:
500-
type: volume
501-
inspect_volume:
502-
properties:
503-
Config:
504-
type: volume
505-
volumeProfile:
506-
properties:
507-
volumeProfileName:
508-
type: string
509-
description: Volume profile Name
510-
tenantName:
511-
type: string
512-
description: Tenant Name
513-
datastoreType:
514-
type: string
515-
poolName:
516-
type: string
517-
size:
518-
type: string
519-
mountPoint:
514+
description: Contracts group name
515+
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])$"
516+
contractsType:
520517
type: string
521-
volumeProfiles:
518+
description: Contracts type
519+
contracts:
520+
type: array
521+
items:
522+
type: string
523+
description: Contracts list
524+
extContractsGroups:
522525
type: array
523526
items:
524-
type: volumeProfile
525-
upd_volumeProfile:
526-
type: volumeProfile
527-
inspect_volumeProfile:
527+
type: extContractsGroup
528+
upd_extContractsGroup:
529+
type: extContractsGroup
530+
inspect_extContractsGroup:
528531
properties:
529532
Config:
530-
type: volumeProfile
533+
type: extContractsGroup
531534
endpoint:
532535
properties: {}
533536
endpoints:
@@ -572,135 +575,132 @@ types:
572575
type: string
573576
virtualPort:
574577
type: string
575-
global:
578+
volumeProfile:
576579
properties:
577-
name:
580+
volumeProfileName:
578581
type: string
579-
maxLength: 64
580-
description: name of this block(must be 'global')
581-
pattern: "^(global)$"
582-
networkInfraType:
582+
description: Volume profile Name
583+
tenantName:
583584
type: string
584-
maxLength: 64
585-
description: Network infrastructure type
586-
pattern: "^(aci|aci-opflex|default)?$"
587-
vlans:
585+
description: Tenant Name
586+
datastoreType:
588587
type: string
589-
description: Allowed vlan range
590-
pattern: "^([0-9]{1,4}?-[0-9]{1,4}?)$"
591-
vxlans:
588+
poolName:
592589
type: string
593-
description: Allwed vxlan range
594-
pattern: "^([0-9]{1,8}?-[0-9]{1,8}?)$"
595-
fwdMode:
590+
size:
591+
type: string
592+
mountPoint:
593+
type: string
594+
volumeProfiles:
595+
type: array
596+
items:
597+
type: volumeProfile
598+
upd_volumeProfile:
599+
type: volumeProfile
600+
inspect_volumeProfile:
601+
properties:
602+
Config:
603+
type: volumeProfile
604+
Bgp:
605+
properties:
606+
hostname:
607+
type: string
608+
maxLength: 256
609+
description: host name
610+
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])$"
611+
routerip:
612+
type: string
613+
description: Bgp router intf ip
614+
pattern: "^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(\\\\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3})(\\\\-(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]))?/(3[0-1]|2[0-9]|1[0-9]|[1-9])$"
615+
as:
596616
type: string
597617
maxLength: 64
598-
description: Forwarding Mode
599-
pattern: "^(bridge|routing)?$"
600-
arpMode:
618+
description: AS id
619+
neighbor-as:
601620
type: string
602621
maxLength: 64
603-
description: ARP Mode
604-
pattern: "^(proxy|flood)?$"
605-
pvtSubnet:
622+
description: AS id
623+
neighbor:
606624
type: string
607-
description: Private Subnet used by host bridge
608-
pattern: "^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(\\\\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3})/16$"
609-
globals:
625+
maxLength: 15
626+
description: Bgp neighbor
627+
pattern: "^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(\\\\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3})?$"
628+
Bgps:
610629
type: array
611630
items:
612-
type: global
613-
upd_global:
614-
type: global
615-
inspect_global:
631+
type: Bgp
632+
upd_Bgp:
633+
type: Bgp
634+
inspect_Bgp:
616635
properties:
617636
Config:
618-
type: global
637+
type: Bgp
619638
Oper:
620639
properties:
621-
numNetworks:
640+
numRoutes:
622641
type: integer
623-
defaultNetwork:
624-
type: string
625-
vlansInUse:
626-
type: string
627-
vxlansInUse:
642+
description: number of routes
643+
neighborStatus:
628644
type: string
629-
freeVXLANsStart:
630-
type: integer
631-
clusterMode:
645+
description: neighbor status
646+
adminStatus:
632647
type: string
633-
network:
648+
description: admin status
649+
routes:
650+
type: array
651+
items:
652+
type: string
653+
description: routes
654+
volume:
634655
properties:
635-
networkName:
656+
volumeName:
636657
type: string
637-
maxLength: 64
638-
description: Network name
639-
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])$"
658+
description: Volume Name
640659
tenantName:
641660
type: string
642-
maxLength: 64
643661
description: Tenant Name
644-
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])$"
645-
nwType:
662+
datastoreType:
646663
type: string
647-
description: Network Type
648-
pattern: "^(infra|data)$"
649-
encap:
664+
poolName:
650665
type: string
651-
description: Encapsulation
652-
pattern: "^(vlan|vxlan)$"
653-
pktTag:
654-
type: integer
655-
description: Vlan/Vxlan Tag
656-
subnet:
666+
size:
657667
type: string
658-
description: Subnet
659-
pattern: "^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(\\\\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3})(\\\\-((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(\\\\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3}))?/(3[0-1]|2[0-9]|1[0-9]|[1-9])$"
660-
gateway:
668+
mountPoint:
661669
type: string
662-
description: Gateway
663-
pattern: "^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(\\\\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3})?$"
664-
ipv6Subnet:
670+
volumes:
671+
type: array
672+
items:
673+
type: volume
674+
upd_volume:
675+
type: volume
676+
inspect_volume:
677+
properties:
678+
Config:
679+
type: volume
680+
appProfile:
681+
properties:
682+
tenantName:
665683
type: string
666-
description: IPv6Subnet
667-
pattern: "^((((([0-9]|[a-f]|[A-F]){1,4})((\\\\:([0-9]|[a-f]|[A-F]){1,4}){7}))|(((([0-9]|[a-f]|[A-F]){1,4}\\\\:){0,6}|\\\\:)((\\\\:([0-9]|[a-f]|[A-F]){1,4}){0,6}|\\\\:)))/(1[0-2][0-7]|[1-9][0-9]|[1-9]))?$"
668-
ipv6Gateway:
684+
maxLength: 64
685+
description: Tenant Name
686+
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])$"
687+
appProfileName:
669688
type: string
670-
description: IPv6Gateway
671-
pattern: "^(((([0-9]|[a-f]|[A-F]){1,4})((\\\\:([0-9]|[a-f]|[A-F]){1,4}){7}))|(((([0-9]|[a-f]|[A-F]){1,4}\\\\:){0,6}|\\\\:)((\\\\:([0-9]|[a-f]|[A-F]){1,4}){0,6}|\\\\:)))?$"
672-
networks:
689+
maxLength: 64
690+
description: Application Profile Name
691+
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])$"
692+
endpointGroups:
693+
type: array
694+
items:
695+
type: string
696+
description: Member groups of the appProf
697+
appProfiles:
673698
type: array
674699
items:
675-
type: network
676-
upd_network:
677-
type: network
678-
inspect_network:
700+
type: appProfile
701+
upd_appProfile:
702+
type: appProfile
703+
inspect_appProfile:
679704
properties:
680705
Config:
681-
type: network
682-
Oper:
683-
properties:
684-
pktTag:
685-
type: integer
686-
description: internal packet tag
687-
externalPktTag:
688-
type: integer
689-
description: external packet tag
690-
numEndpoints:
691-
type: integer
692-
description: external packet tag
693-
allocatedAddressesCount:
694-
type: integer
695-
description: Vlan/Vxlan Tag
696-
allocatedIPAddresses:
697-
type: string
698-
description: allocated IP addresses
699-
availableIPAddresses:
700-
type: string
701-
description: Available IP addresses
702-
endpoints:
703-
type: array
704-
items:
705-
type: endpoint
706-
description: endpoints in the network
706+
type: appProfile

0 commit comments

Comments
 (0)
Please sign in to comment.