Files
eden-yang/irt/irt-interface.yang

67 lines
1.4 KiB
YANG
Raw Normal View History

2023-09-21 11:07:20 +02:00
module irt-interface {
yang-version 1.1;
namespace urn:fr:irt:eden:yang:irt-interface;
prefix irtif;
import ietf-network-topology {
prefix nt;
revision-date
"2018-02-26";
}
import ietf-interfaces {
prefix if;
revision-date
"2018-02-20";
}
import ieee802-types {
prefix ieee;
revision-date
"2020-10-23";
}
import irt-types {
prefix irtty;
}
organization
"IRT Saint Exupéry - Toulouse";
contact
"IRT Saint Exupéry - Toulouse
EDEN project team
<mailto:embedded-systems@irt-saintexupery.com>";
description
"This module is containing augments to complete the standard IETF interface.";
revision 2023-04-28 {
description
"Initial revision.";
}
augment "/if:interfaces/if:interface" {
description
"Adds reference to the topology, and identifier for operating
system / management firmware.";
uses nt:tp-ref;
leaf bench-interface-id {
description
"Identifies the network interface as seen from inside the node.
For example eno0, eth0, enp1s0 are typical names for Linux";
type string;
}
leaf mac-address {
description "MAC address of the interface";
type ieee:mac-address;
}
leaf chipset {
description "The hardware chipset reference for this interface";
type irtty:tIfChipset;
}
}
}