-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathironic_with_networking_sample.yaml
More file actions
39 lines (33 loc) · 1.3 KB
/
ironic_with_networking_sample.yaml
File metadata and controls
39 lines (33 loc) · 1.3 KB
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
apiVersion: ironic.metal3.io/v1alpha1
kind: Ironic
metadata:
name: ironic-with-networking
spec:
# Enable networking service for ToR switch integration
# The operator deploys the networking service in a separate Deployment/Service
# for better isolation and independent restart behavior
networkingService:
enabled: true
# Optional: External networking service endpoint (hostname or IP)
# If not specified, the operator creates and manages a networking service deployment
# Format: "hostname" or "ip-address" (port is determined by rpcPort)
# endpoint: "external-networking.example.com"
# Optional: RPC port (defaults to 6190)
# rpcPort: 6190
# Optional: Network driver (defaults to "ironic-networking")
networkDriver: "ironic-networking"
# Optional: Provider network configurations
# Each entry maps to IRONIC_NETWORKING_<TYPE>_NETWORK env var
# Supported types: idle, inspection, cleaning, rescuing, servicing, provisioning
providerNetworks:
- type: "idle"
mode: "access"
nativeVLAN: 313
- type: "inspection"
mode: "access"
nativeVLAN: 313
# Example: trunk mode with allowed VLANs (supports individual IDs and ranges)
# - type: "cleaning"
# mode: "trunk"
# nativeVLAN: 313
# allowedVLANs: ["313", "400-500"]