module ietf-actn-te-kpi-telemetry { namespace "urn:ietf:params:xml:ns:yang:ietf-actn-te-kpi-telemetry"; prefix "actn-tel"; import ietf-actn-vn { prefix "actn-vn"; } import ietf-te-kpi-telemetry { prefix "te-kpi"; } organization "IETF Traffic Engineering Architecture and Signaling (TEAS) Working Group"; contact "Editor: Young Lee Editor: Dhruv Dhody Editor: Ricard Vilalta Editor: Satish Karunanithi "; description "This module describes telemetry for actn vn model"; revision 2017-07-03 { description "Initial revision. This YANG file defines the reusable base types for ACTN VN telemetry."; reference "xxx"; } /* * Identities */ identity grouping-operation { description "Base identity for operations to analize list of monitored param"; } identity minimum-grouping-operation { base grouping-operation; description "Select the minimum param"; } identity maximum-grouping-operation { base grouping-operation; description "Select the maximum param"; } identity mean-grouping-operation { base grouping-operation; description "Select the MEAN of the params"; } identity stddev-grouping-operation { base grouping-operation; description "Select the STD deviation of the params"; } identity sum-grouping-operation { base grouping-operation; description "Select the sum of the params"; reference "RFC 7823"; } /* * Groupings */ grouping vn-telemetry-param { description "telemetry-parameter for VN"; uses te-kpi:telemetry-param; } grouping telemetry-grouping-op { description "Config how the VN telemetry should be applied"; container grouping-op { description "The grouping operations"; leaf delay-op { type identityref { base grouping-operation; } default maximum-grouping-operation; description "The operation that should be applied on the VN-member telemetry to get the VN telemetry"; } leaf delay-variation-op { type identityref { base grouping-operation; } default maximum-grouping-operation; description "The operation that should be applied on the VN-member telemetry to get the VN telemetry"; } leaf utilized-bandwidth-op { type identityref { base grouping-operation; } default maximum-grouping-operation; description "The operation that should be applied on the VN-member telemetry to get the VN telemetry"; } } } /* * Augments */ augment "/actn-vn:actn/actn-vn:vn/actn-vn:vn-list" { description "Augmentation parameters for state TE VN topologies."; container vn-telemetry { description "VN telemetry configurations"; uses telemetry-grouping-op; uses vn-telemetry-param; } container vn-scaling-intent { description "scaling intent"; uses te-kpi:scaling-intent; } } /* * VN-member augment */ augment "/actn-vn:actn/actn-vn:vn/actn-vn:vn-list/" + "actn-vn:vn-member-list" { description "Augmentation parameters for state TE vn member topologies."; container vn-telemetry { description "VN Member config"; uses telemetry-grouping-op; uses vn-telemetry-param; } } }