NetVM: CDP on by default (deterministic port), --headless mode, netvm-cdp.sh helper

This commit is contained in:
Antigravity Agent
2026-10-03 00:53:04 -04:00
parent 65f0c57ba4
commit fa48228ef4
3 changed files with 45 additions and 11 deletions
+1
View File
@@ -9,5 +9,6 @@ netvm_names() {
VETH="ve-${_tag}"
VPEER="vp-${_tag}"
_idx=$(( 0x${_tag:0:3} % 200 + 10 ))
CDP_PORT=$(( 9222 + 0x${_tag:4:3} % 2000 ))
GW="10.201.${_idx}.1"; PEER_IP="10.201.${_idx}.2"; SUB="10.201.${_idx}.0/30"
}