Sổ tay kỹ thuật

#inventory

  • Thu thập inventory IOS XR bằng Ansible
    how-to Dùng khi cần lấy nhanh phiên bản, serial, module của nhiều router IOS XR và xuất ra file YAML/CSV.
  • NetBox REST API và pynetbox
    how-to Dùng khi cần đọc/ghi NetBox (device, interface, IP) bằng REST API hoặc pynetbox để làm nguồn dữ liệu cho script automation.
  • Ansible inventory động từ NetBox
    how-to Dùng khi muốn Ansible lấy danh sách router trực tiếp từ NetBox bằng plugin netbox.netbox.nb_inventory, chia group theo site/role/platform và tự gán biến kết nối.