Interface OpenconfigTypesData
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.DataRoot
@Generated("mdsal-binding-generator")
public interface OpenconfigTypesData
extends org.opendaylight.yangtools.yang.binding.DataRoot
This module contains a set of general type definitions that are used across
OpenConfig models. It can be imported by modules that make use of these types.
This class represents the following YANG schema fragment defined in module openconfig-types
module openconfig-types {
yang-version 1;
namespace "http://openconfig.net/yang/openconfig-types";
prefix oc-types;
import openconfig-extensions {
prefix oc-ext;
}
oc-ext:openconfig-version 0.6.0;
revision 2019-04-16 {
}
revision 2018-11-21 {
}
revision 2018-05-05 {
}
revision 2018-01-16 {
}
revision 2017-08-16 {
}
revision 2017-01-13 {
}
revision 2016-11-14 {
}
revision 2016-11-11 {
}
revision 2016-05-31 {
}
oc-ext:regexp-posix;
oc-ext:catalog-organization openconfig;
oc-ext:origin openconfig;
typedef percentage {
type uint8 {
range 0..100;
}
}
typedef std-regexp {
type string;
}
typedef timeticks64 {
type uint64;
units nanoseconds;
}
typedef ieeefloat32 {
type binary {
length 4;
}
}
typedef routing-password {
type string;
}
typedef stat-interval {
type uint64;
units nanoseconds;
}
grouping stat-interval-state {
leaf interval {
type oc-types:stat-interval;
}
}
grouping min-max-time {
leaf min-time {
type oc-types:timeticks64;
}
leaf max-time {
type oc-types:timeticks64;
}
}
grouping avg-min-max-stats-precision1 {
leaf avg {
type decimal64 {
fraction-digits 1;
}
}
leaf min {
type decimal64 {
fraction-digits 1;
}
}
leaf max {
type decimal64 {
fraction-digits 1;
}
}
uses stat-interval-state;
uses min-max-time;
}
grouping avg-min-max-instant-stats-precision1 {
leaf instant {
type decimal64 {
fraction-digits 1;
}
}
uses avg-min-max-stats-precision1;
}
grouping avg-min-max-instant-stats-precision2-dB {
leaf instant {
type decimal64 {
fraction-digits 2;
}
units dB;
}
leaf avg {
type decimal64 {
fraction-digits 2;
}
units dB;
}
leaf min {
type decimal64 {
fraction-digits 2;
}
units dB;
}
leaf max {
type decimal64 {
fraction-digits 2;
}
units dB;
}
uses stat-interval-state;
uses min-max-time;
}
grouping avg-min-max-instant-stats-precision2-dBm {
leaf instant {
type decimal64 {
fraction-digits 2;
}
units dBm;
}
leaf avg {
type decimal64 {
fraction-digits 2;
}
units dBm;
}
leaf min {
type decimal64 {
fraction-digits 2;
}
units dBm;
}
leaf max {
type decimal64 {
fraction-digits 2;
}
units dBm;
}
uses stat-interval-state;
uses min-max-time;
}
grouping avg-min-max-instant-stats-precision2-mA {
leaf instant {
type decimal64 {
fraction-digits 2;
}
units mA;
}
leaf avg {
type decimal64 {
fraction-digits 2;
}
units mA;
}
leaf min {
type decimal64 {
fraction-digits 2;
}
units mA;
}
leaf max {
type decimal64 {
fraction-digits 2;
}
units mA;
}
uses stat-interval-state;
uses min-max-time;
}
grouping avg-min-max-instant-stats-pct {
leaf instant {
type oc-types:percentage;
}
leaf avg {
type oc-types:percentage;
}
leaf min {
type oc-types:percentage;
}
leaf max {
type oc-types:percentage;
}
uses stat-interval-state;
uses min-max-time;
}
identity ADDRESS_FAMILY {
}
identity IPV4 {
base ADDRESS_FAMILY;
}
identity IPV6 {
base ADDRESS_FAMILY;
}
identity MPLS {
base ADDRESS_FAMILY;
}
identity L2_ETHERNET {
base ADDRESS_FAMILY;
}
}