An augmented YANG Ethernet TSN network data model to interface Ethernet TSN network design tools (e.g. simulator, formal analysis) and hardware.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
1.4 KiB

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;
}
}
}