mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-08 20:28:43 +00:00
49 lines
767 B
YANG
49 lines
767 B
YANG
module show_status {
|
|
|
|
namespace ".";
|
|
|
|
prefix "status";
|
|
|
|
description "cli show status format";
|
|
|
|
typedef date-and-time {
|
|
type string {
|
|
pattern '\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?'
|
|
+ '(Z|[\+\-]\d{2}:\d{2})';
|
|
}
|
|
}
|
|
|
|
|
|
container message {
|
|
container header {
|
|
leaf bird {
|
|
type string;
|
|
}
|
|
leaf version {
|
|
type string;
|
|
}
|
|
}
|
|
container body {
|
|
leaf router_id {
|
|
type string;
|
|
}
|
|
leaf hostname {
|
|
type string;
|
|
}
|
|
leaf server_time {
|
|
type date-and-time;
|
|
}
|
|
leaf last_reboot {
|
|
type date-and-time;
|
|
}
|
|
leaf last_reconfiguration {
|
|
type date-and-time;
|
|
}
|
|
}
|
|
leaf state {
|
|
type string;
|
|
}
|
|
}
|
|
}
|
|
|