컨테이너랩 v0.75

hackernews | | 📰 뉴스
#containerlab #v0.75 #네트워킹 #노드 관리 #업데이트
원문 출처: hackernews · Genesis Park에서 요약 및 분석

요약

ContainerLab 버전 0.75가 출시되어 실행 중인 랩 전체를 종료하지 않고도 선택한 노드만 시작, 정지 및 재시작할 수 있는 기능이 추가되었습니다. --node 옵션을 사용하여 특정 컨테이너만 대상으로 지정할 수 있지만, veth 기반 데이터플레인 링크 등 일부 제한 사항은 여전히 지원되지 않습니다. 또한 --vars 플래그를 여러 번 사용해 변수 파일을 병합할 수 있으며, 자동 변수 파일 검색 패턴도 template.clab_vars.*.y[a]ml 형식으로 확장되었습니다.

본문

Release 0.75# Start, stop, and restart selected nodes# The day has finally come when you can start, stop, and restart selected nodes in a running lab without nuking the whole lab. 🎉🎉🎉 The start, stop, and restart commands can now target a subset of nodes in a running lab. Pass --node (repeatable or comma-separated) to start or stop only the listed containers. The same limitations as restart apply: veth-based dataplane links, single-container nodes, and a few other cases remain unsupported for partial lifecycle. This feature touched a lot of containerlab internal and there might be some fallout. Please report any issues you encounter in the issue tracker or our discord. Thanks @FloSch62 @steiler @kaelemc #3055 Topology template composition# Templated topologies (.clab.gotmpl ) are easier to build and share. - The --vars flag can be used more than once; files are merged with later files overwriting keys from earlier ones. Automatic discovery of variable files is extended: alongsidetemplate.clab_vars.y[a]ml[|json] , the patterntemplate.clab_vars.*.y[a]ml[|json] is also picked up when the vars file is auto-resolved. - Place additional *.gotmpl files in aclab_templates directory next to the main template; they are loaded and invokable with Go's{{ template "name.gotmpl" . }} from the top-level file. - A companion change applies topology variable paths when a workflow resolves the lab without passing -t (so--vars still takes effect in those cases). See Generated topologies. Thanks @amtelekom #3169 #3171 Juniper cSRX# The new juniper_csrx kind runs Juniper cSRX firewall containers in the lab, with a baked-in day-0 config (default root:clab123 , SSH and NETCONF enabled), startup-config for your Junos config, optional license handling, and save writing the running config to juniper.conf . Thanks @mtucker502 #3170 Export the rendered topology YAML# deploy and generate accept --export-rendered to write the fully expanded topology YAML (after template rendering and environment-variable substitution) to a file—before the rest of deployment. That gives you a reproducible, inspectable file for debugging templates or for checking into version control. Credentials in the topology file# You can set credentials (username and password ) at defaults , per kinds , groups , and per nodes , with a well-defined “most specific wins” rule. Ansible and Nornir inventory outputs use the resolved per-node values. Thanks @antoinekh #3136 Point-to-point link IP addresses (VyOS and cEOS)# The VyOS Networks VyOS and Arista cEOS kinds now support link ipv4 and ipv6 the same way other kinds do, so addresses from the links section are applied to dataplane interfaces on those nodes. Thanks @evilhamsterman #3158 Classic SR OS CLI (vr-sros) automation# For nokia_sros VM nodes, the default automation uses the MD-CLI nokia_sros scrapligo platform. If your image runs in classic or mixed CLI mode, set the CLAB_SROS_CONFIG_MODE environment variable to classic or mixed so containerlab uses the matching nokia_sros_classic platform for partial config apply, save, and related operations. Thanks @antoinekh #3129 VxLAN tools: delete by exact name# clab tools vxlan delete now accepts --name for deleting one VxLAN interface by exact name; it is mutually exclusive with the existing --prefix option. Miscellaneous# - Fixed the Arch (AUR) installation link in the install guide. Thanks @andywhitaker #3151 - Clarified Juniper vMX startup-config form in the docs. Thanks @endn #3168 - VxLAN link data: sync.Once initialization, safer handling when a link namespace is missing, correctvxlan type in YAML, and a fix for a panic when the DNSSearch list was an empty slice. #3147 #3131 - Runtimes: explicit errors when a container’s PID is 0 beforeGetNSPath , closingExecNotWait connections, and a clearer path whenNetworkInspect fails. #3144 #3148 - Core: close netns and netlink handles in interface listing; fix a tool-container cleanup loop when exec fails; return errors for bad PEM in cert code paths; stricterPreDeploy certificate error propagation; safer env var splitting andCreateFile error checks; and closing files to avoid leaks. #3161 #3159 #3130 #3138 #3139 #3140 #3132 - VyOS: save errors are reported with the real failure from the node. #3160 - Merged work for full SR-OS in automated tests. #3142 - The default fdio_vpp image is updated so VPP-related configuration is provided under/config as expected by the image. Thanks @pimvanpelt #3152 - SR-SIM and related content point to the current official SR-OS YANG model browser URL. Thanks @schavezc #3154 - SR Linux topology type may useixr-x4 as an alias forixr-x4-d (fixes a mismatch with documentation). Thanks @schavezc #3157

Genesis Park 편집팀이 AI를 활용하여 작성한 분석입니다. 원문은 출처 링크를 통해 확인할 수 있습니다.

공유

관련 저널 읽기

전체 보기 →