-
Notifications
You must be signed in to change notification settings - Fork 241
/
const.go
27 lines (22 loc) · 881 Bytes
/
const.go
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
package util
type ExecutionMode string
// CNI execution modes
const (
Default ExecutionMode = "default"
Baremetal ExecutionMode = "baremetal"
V4Swift ExecutionMode = "v4swift"
)
type IpamMode string
// IPAM modes
const (
V4Overlay IpamMode = "v4overlay"
DualStackOverlay IpamMode = "dualStackOverlay"
Overlay IpamMode = "overlay" // Nothing changes between 'v4overlay' and 'dualStackOverlay' mode, so consolidating to one
)
// Overlay consolidation plan
// First, we have v4overlay and dualstackoverlay conflists both have just 'overlay' in them
// Next, we release this CNI and conflist in AKS
// Next we will add a third 'overlay' conflist generator in CNS
// Release this CNS image
// Change AKS RP to use 'overlay' option for CNS configmap, for both v4overlay and dualstackoverlay
// Remove 'v4overlay' and 'dualstackoverlay' from ACN completely