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.

66 lines
1.5 KiB

module irt-tsn {
yang-version 1.1;
namespace urn:fr:irt:eden:yang:irt-tsn;
prefix irttsn;
import ietf-interfaces {
prefix if;
revision-date
"2018-02-20";
}
import ieee802-dot1q-bridge {
prefix dot1q;
revision-date
"2020-11-06";
}
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 for TSN purpose.";
revision 2023-04-28 {
description
"Initial revision.";
}
augment "/if:interfaces/if:interface/dot1q:bridge-port" {
description
"CBS configuration items an interface";
container cbs-configurations {
list cbs-configuration {
key "priority";
description "CBS configuration for a priority queue";
leaf priority {
description "The priority of the stream";
type irtty:tPriority;
}
leaf slope {
description "The current idle slope value in Mbps";
type irtty:tThroughputMbps;
}
leaf cbs-traffic {
description "The current CBS traffic on this port for this priority in Mbps";
type irtty:tThroughputMbps;
}
leaf higher-traffic {
description "The higher priority non CBS traffic on this port in Mbps";
type irtty:tThroughputMbps;
}
}
}
}
}