Перейти к содержимому

Customizing the SR Linux CLI

Roman Dodin

0:00 / 0:00

Customizing the SR Linux CLI

1 110 просмотров · 1 год назад
Roman Dodin
2,07 тыс. подписчиков
1 110 просмотров · 1 год назад
Customizing the CLI brings irrational joy to network engineers. Maybe because it was a long forbidden fruit that only a vendor could get their hands on. Many of us have been in a situation where they wanted to have their own CLI command that presents the data in the way that makes sense for your ops teams. Yet it was impossible to ask a vendor to add it, because it is custom to your environment or operational goals. This is where CLI customization plays a vital role. And with SR Linux CLI Plugin infrastructure, you can write CLI commands that are indistinguishable from the ones that come with the device. Moreover, they use the same underlying infrastructure as the native commands and provide your with full visibility into the system state. Today we are going to learn how to write a CLI plugin for Nokia SR Linux that implements the `show uptime` command. Learn more about it: https://learn.srlinux.dev/cli/plugins/ Repo: https://github.com/srl-labs/uptime-cl...