Commit 8360e7e
committed
refactor: unify images into calicovpp/vpp and flatten repo layout
- consolidate calicovpp/agent, calicovpp/vpp, calicovpp/multinet-monitor,
and calicovpp/init-eks into a single unified calicovpp/vpp image.
- restructure source directories under pkg/ for cleaner organization.
- move executable entrypoints to top-level cmd/ to allow for building
all golang agents from the top-level Makefile.
- runtime behavior is unchanged - two separate daemons (agent and vpp)
run in separate containers from the same image using command overrides.
Changes:
- unified image: calicovpp/vpp (contains all binaries)
- single env var: CALICO_VPP_IMAGE (replaces CALICO_AGENT_IMAGE,
CALICO_VPP_IMAGE, MULTINET_MONITOR_IMAGE)
- unified dockerfiles: Dockerfile and Dockerfile.debug now contain all
binaries - calico-vpp-agent, felix-api-proxy, gobgp, multinet-monitor,
vpp-manager, and init-eks scripts in images/ubuntu/bin/
- top-level Makefile delegates image build through vpp-manager
- vpp-manager Makefile builds all Go binaries into unified image
- image/push targets removed from agent and multinet-monitor Makefile
- manifests updated to calicovpp/vpp with explicit command overrides for
agent and multinet-monitor containers
- path references in test/ and docs/ updated for pkg/ move
- image contexts moved to top-level images/
- helper scripts moved to top-level scripts/
- VPP clone/build directory relocated to top-level vpp_build
Images that remain separate: calicovpp/vclsidecar, calicovpp/ctl
Directory Restructure:
├── cmd
│ ├── api-proxy
│ ├── calico-vpp-agent
│ ├── calicovppctl
│ ├── multinet-monitor
│ ├── replay-trace
│ └── vpp-manager
├── common.mk
├── docs
├── images
├── Makefile
├── pkg
│ ├── calico-vpp-agent
│ ├── config
│ ├── multinet-monitor
│ ├── vpplink
│ └── vpp-manager
├── scripts
├── test
├── vpp_build
└── yaml
Benefits:
- Single image tag to manage across all dataplane components
- Reduced bandwidth and storage requirements
- No risk of image version drift between components
- Simplified CI/CD pipeline
- Easier version management and releases
Signed-off-by: Aritra Basu <aritrbas+gh@cisco.com>1 parent 6b3446a commit 8360e7e
316 files changed
Lines changed: 749 additions & 764 deletions
File tree
- calico-vpp-agent
- cmd
- api-proxy
- calico-vpp-agent
- calicovppctl
- multinet-monitor
- replay-trace
- vpp-manager
- docs
- dev
- pods
- images
- dev
- init-eks
- mock-pod
- ubuntu-build
- ubuntu
- vclsidecar
- multinet-monitor
- pkg
- calico-vpp-agent
- cni
- model
- podinterface
- common
- connectivity
- felix
- health
- network
- prometheus
- routing
- services
- tests/mocks
- calico
- testutils
- watchers
- config
- multinet-monitor
- multinettypes
- vpp-manager
- hooks
- startup
- uplink
- utils
- vpplink
- generated
- bindings
- abf
- acl_types
- acl
- af_packet
- af_xdp
- arp
- classify
- cnat
- crypto_sw_scheduler
- ethernet_types
- feature
- fib_types
- gso
- ikev2_types
- ikev2
- interface_types
- interface
- ip6_nd
- ip_neighbor
- ip_session_redirect
- ip_ttl_fixup
- ip_types
- ipip
- ipsec_types
- ipsec
- ip
- memclnt
- memif
- mfib_types
- nat44_ed
- nat_types
- npol
- pbl
- pci_types
- punt
- rdma
- session
- sr_types
- sr
- tapv2
- tunnel_types
- urpf
- virtio
- vlib
- vmxnet3
- vpe_types
- vpe
- vxlan
- wireguard
- patches
- pkg
- private_plugins
- ip_ttl_fixup
- pbl
- types
- test
- kind
- scale
- scripts
- yaml/mvpp
- yaml
- base
- components
- multinet
- vagrant-mounts
- generated
- overlays/dev
- platforms/openshift
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | | - | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
31 | | - | |
32 | | - | |
| 32 | + | |
| 33 | + | |
33 | 34 | | |
34 | | - | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
| 8 | + | |
11 | 9 | | |
12 | 10 | | |
13 | 11 | | |
14 | 12 | | |
15 | 13 | | |
16 | | - | |
17 | | - | |
18 | | - | |
| 14 | + | |
19 | 15 | | |
20 | 16 | | |
21 | 17 | | |
22 | 18 | | |
23 | | - | |
| 19 | + | |
24 | 20 | | |
25 | 21 | | |
26 | 22 | | |
| |||
46 | 42 | | |
47 | 43 | | |
48 | 44 | | |
49 | | - | |
50 | | - | |
51 | | - | |
| 45 | + | |
52 | 46 | | |
53 | 47 | | |
54 | 48 | | |
55 | 49 | | |
56 | | - | |
57 | | - | |
58 | | - | |
| 50 | + | |
59 | 51 | | |
60 | 52 | | |
61 | 53 | | |
62 | | - | |
| 54 | + | |
63 | 55 | | |
64 | 56 | | |
65 | 57 | | |
66 | | - | |
| 58 | + | |
67 | 59 | | |
68 | 60 | | |
69 | 61 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
75 | 65 | | |
76 | 66 | | |
77 | 67 | | |
| |||
111 | 101 | | |
112 | 102 | | |
113 | 103 | | |
114 | | - | |
115 | 104 | | |
116 | | - | |
117 | 105 | | |
118 | 106 | | |
119 | 107 | | |
| |||
216 | 204 | | |
217 | 205 | | |
218 | 206 | | |
219 | | - | |
| 207 | + | |
220 | 208 | | |
221 | | - | |
| 209 | + | |
222 | 210 | | |
223 | 211 | | |
224 | 212 | | |
| |||
231 | 219 | | |
232 | 220 | | |
233 | 221 | | |
234 | | - | |
| 222 | + | |
235 | 223 | | |
236 | 224 | | |
237 | 225 | | |
238 | 226 | | |
239 | | - | |
240 | | - | |
| 227 | + | |
| 228 | + | |
241 | 229 | | |
242 | 230 | | |
243 | 231 | | |
| |||
252 | 240 | | |
253 | 241 | | |
254 | 242 | | |
255 | | - | |
| 243 | + | |
256 | 244 | | |
257 | | - | |
| 245 | + | |
258 | 246 | | |
259 | 247 | | |
260 | 248 | | |
| |||
316 | 304 | | |
317 | 305 | | |
318 | 306 | | |
319 | | - | |
| 307 | + | |
320 | 308 | | |
321 | 309 | | |
322 | 310 | | |
323 | 311 | | |
324 | 312 | | |
325 | 313 | | |
326 | | - | |
| 314 | + | |
327 | 315 | | |
328 | 316 | | |
329 | 317 | | |
| |||
374 | 362 | | |
375 | 363 | | |
376 | 364 | | |
377 | | - | |
378 | | - | |
| 365 | + | |
| 366 | + | |
379 | 367 | | |
380 | 368 | | |
381 | 369 | | |
| |||
393 | 381 | | |
394 | 382 | | |
395 | 383 | | |
396 | | - | |
397 | | - | |
| 384 | + | |
| 385 | + | |
398 | 386 | | |
399 | 387 | | |
400 | 388 | | |
| |||
428 | 416 | | |
429 | 417 | | |
430 | 418 | | |
431 | | - | |
This file was deleted.
This file was deleted.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
Lines changed: 9 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
File renamed without changes.
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments