...
1---
2apiVersion: apiextensions.k8s.io/v1
3kind: CustomResourceDefinition
4metadata:
5 annotations:
6 controller-gen.kubebuilder.io/version: (unknown)
7 name: computerouterpeers.compute.cnrm.cloud.google.com
8spec:
9 group: compute.cnrm.cloud.google.com
10 names:
11 kind: ComputeRouterPeer
12 listKind: ComputeRouterPeerList
13 plural: computerouterpeers
14 singular: computerouterpeer
15 scope: Namespaced
16 versions:
17 - name: v1beta1
18 schema:
19 openAPIV3Schema:
20 description: ComputeRouterPeer is the Schema for the compute API
21 properties:
22 apiVersion:
23 description: |-
24 APIVersion defines the versioned schema of this representation of an object.
25 Servers should convert recognized schemas to the latest internal value, and
26 may reject unrecognized values.
27 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
28 type: string
29 kind:
30 description: |-
31 Kind is a string value representing the REST resource this object represents.
32 Servers may infer this from the endpoint the client submits requests to.
33 Cannot be updated.
34 In CamelCase.
35 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
36 type: string
37 metadata:
38 type: object
39 spec:
40 properties:
41 advertiseMode:
42 description: |-
43 User-specified flag to indicate which mode to use for advertisement.
44 Valid values of this enum field are: 'DEFAULT', 'CUSTOM' Default value: "DEFAULT" Possible values: ["DEFAULT", "CUSTOM"].
45 type: string
46 advertisedGroups:
47 description: |-
48 User-specified list of prefix groups to advertise in custom
49 mode, which can take one of the following options:
50
51
52 * 'ALL_SUBNETS': Advertises all available subnets, including peer VPC subnets.
53 * 'ALL_VPC_SUBNETS': Advertises the router's own VPC subnets.
54 * 'ALL_PEER_VPC_SUBNETS': Advertises peer subnets of the router's VPC network.
55
56
57 Note that this field can only be populated if advertiseMode is 'CUSTOM'
58 and overrides the list defined for the router (in the "bgp" message).
59 These groups are advertised in addition to any specified prefixes.
60 Leave this field blank to advertise no custom groups.
61 items:
62 type: string
63 type: array
64 advertisedIpRanges:
65 description: |-
66 User-specified list of individual IP ranges to advertise in
67 custom mode. This field can only be populated if advertiseMode
68 is 'CUSTOM' and is advertised to all peers of the router. These IP
69 ranges will be advertised in addition to any specified groups.
70 Leave this field blank to advertise no custom IP ranges.
71 items:
72 properties:
73 description:
74 description: User-specified description for the IP range.
75 type: string
76 range:
77 description: |-
78 The IP range to advertise. The value must be a
79 CIDR-formatted string.
80 type: string
81 required:
82 - range
83 type: object
84 type: array
85 advertisedRoutePriority:
86 description: |-
87 The priority of routes advertised to this BGP peer.
88 Where there is more than one matching route of maximum
89 length, the routes with the lowest priority value win.
90 type: integer
91 bfd:
92 description: BFD configuration for the BGP peering.
93 properties:
94 minReceiveInterval:
95 description: |-
96 The minimum interval, in milliseconds, between BFD control packets
97 received from the peer router. The actual value is negotiated
98 between the two routers and is equal to the greater of this value
99 and the transmit interval of the other router. If set, this value
100 must be between 1000 and 30000.
101 type: integer
102 minTransmitInterval:
103 description: |-
104 The minimum interval, in milliseconds, between BFD control packets
105 transmitted to the peer router. The actual value is negotiated
106 between the two routers and is equal to the greater of this value
107 and the corresponding receive interval of the other router. If set,
108 this value must be between 1000 and 30000.
109 type: integer
110 multiplier:
111 description: |-
112 The number of consecutive BFD packets that must be missed before
113 BFD declares that a peer is unavailable. If set, the value must
114 be a value between 5 and 16.
115 type: integer
116 sessionInitializationMode:
117 description: |-
118 The BFD session initialization mode for this BGP peer.
119 If set to 'ACTIVE', the Cloud Router will initiate the BFD session
120 for this BGP peer. If set to 'PASSIVE', the Cloud Router will wait
121 for the peer router to initiate the BFD session for this BGP peer.
122 If set to 'DISABLED', BFD is disabled for this BGP peer. Possible values: ["ACTIVE", "DISABLED", "PASSIVE"].
123 type: string
124 required:
125 - sessionInitializationMode
126 type: object
127 enable:
128 description: |-
129 The status of the BGP peer connection. If set to false, any active session
130 with the peer is terminated and all associated routing information is removed.
131 If set to true, the peer connection can be established with routing information.
132 The default is true.
133 type: boolean
134 enableIpv6:
135 description: Enable IPv6 traffic over BGP Peer. If not specified,
136 it is disabled by default.
137 type: boolean
138 ipAddress:
139 description: |-
140 IP address of the interface inside Google Cloud Platform.
141 Only IPv4 is supported.
142 properties:
143 external:
144 type: string
145 type: object
146 ipv6NexthopAddress:
147 description: |-
148 IPv6 address of the interface inside Google Cloud Platform.
149 The address must be in the range 2600:2d00:0:2::/64 or 2600:2d00:0:3::/64.
150 If you do not specify the next hop addresses, Google Cloud automatically
151 assigns unused addresses from the 2600:2d00:0:2::/64 or 2600:2d00:0:3::/64 range for you.
152 type: string
153 peerAsn:
154 description: |-
155 Peer BGP Autonomous System Number (ASN).
156 Each BGP interface may use a different value.
157 type: integer
158 peerIpAddress:
159 description: |-
160 IP address of the BGP interface outside Google Cloud Platform.
161 Only IPv4 is supported.
162 type: string
163 peerIpv6NexthopAddress:
164 description: |-
165 IPv6 address of the BGP interface outside Google Cloud Platform.
166 The address must be in the range 2600:2d00:0:2::/64 or 2600:2d00:0:3::/64.
167 If you do not specify the next hop addresses, Google Cloud automatically
168 assigns unused addresses from the 2600:2d00:0:2::/64 or 2600:2d00:0:3::/64 range for you.
169 type: string
170 region:
171 description: |-
172 Immutable. Region where the router and BgpPeer reside.
173 If it is not provided, the provider region is used.
174 type: string
175 resourceID:
176 description: Immutable. Optional. The name of the resource. Used for
177 creation and acquisition. When unset, the value of `metadata.name`
178 is used as the default.
179 type: string
180 routerApplianceInstanceRef:
181 description: |-
182 The URI of the VM instance that is used as third-party router
183 appliances such as Next Gen Firewalls, Virtual Routers, or Router
184 Appliances. The VM instance must be located in zones contained in
185 the same region as this Cloud Router. The VM instance is the peer
186 side of the BGP session.
187 properties:
188 external:
189 description: The external name of the referenced resource
190 type: string
191 kind:
192 description: Kind of the referent.
193 type: string
194 name:
195 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
196 type: string
197 namespace:
198 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
199 type: string
200 type: object
201 routerInterfaceRef:
202 description: The interface the BGP peer is associated with.
203 properties:
204 external:
205 description: The external name of the referenced resource
206 type: string
207 kind:
208 description: Kind of the referent.
209 type: string
210 name:
211 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
212 type: string
213 namespace:
214 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
215 type: string
216 type: object
217 routerRef:
218 description: The Cloud Router in which this BGP peer will be configured.
219 properties:
220 external:
221 description: The external name of the referenced resource
222 type: string
223 kind:
224 description: Kind of the referent.
225 type: string
226 name:
227 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
228 type: string
229 namespace:
230 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
231 type: string
232 type: object
233 required:
234 - peerAsn
235 - peerIpAddress
236 - region
237 - routerInterfaceRef
238 - routerRef
239 type: object
240 status:
241 properties:
242 conditions:
243 description: |-
244 Conditions represent the latest available observations of the
245 ComputeRouterPeer's current state.
246 items:
247 properties:
248 lastTransitionTime:
249 description: Last time the condition transitioned from one status
250 to another.
251 type: string
252 message:
253 description: Human-readable message indicating details about
254 last transition.
255 type: string
256 reason:
257 description: |-
258 Unique, one-word, CamelCase reason for the condition's last
259 transition.
260 type: string
261 status:
262 description: Status is the status of the condition. Can be True,
263 False, Unknown.
264 type: string
265 type:
266 description: Type is the type of the condition.
267 type: string
268 type: object
269 type: array
270 managementType:
271 description: |-
272 The resource that configures and manages this BGP peer.
273
274
275 * 'MANAGED_BY_USER' is the default value and can be managed by
276 you or other users
277 * 'MANAGED_BY_ATTACHMENT' is a BGP peer that is configured and
278 managed by Cloud Interconnect, specifically by an
279 InterconnectAttachment of type PARTNER. Google automatically
280 creates, updates, and deletes this type of BGP peer when the
281 PARTNER InterconnectAttachment is created, updated,
282 or deleted.
283 type: string
284 observedGeneration:
285 description: ObservedGeneration is the generation of the resource
286 that was most recently observed by the Config Connector controller.
287 If this is equal to metadata.generation, then that means that the
288 current reported status reflects the most recent desired state of
289 the resource.
290 type: integer
291 type: object
292 type: object
293 served: true
294 storage: true
View as plain text