module ietf-qos-target {
yang-version 1.1;
namespace "urn:ietf:params:xml:ns:yang:ietf-qos-target";
prefix target;
import ietf-interfaces {
prefix if;
}
import ietf-qos-policy {
prefix policy;
}
organization "IETF RTG (Routing Area) Working Group";
contact
"WG Web:
WG List:
WG Chair: Chris Bowers
WG Chair: Jeff Tantsura
Editor: Aseem Choudhary
Editor: Mahesh Jethanandani
Editor: Norm Strahle
";
description
"This module contains a collection of YANG definitions for
configuring qos specification implementations.
Copyright (c) 2019 IETF Trust and the persons identified as
as the document authors. All rights reserved.
Redistribution and use in source and binary forms, with or
without modification, is permitted pursuant to, and subject
to the license terms contained in, the Simplified BSD License
set forth in Section 4.c of the IETF Trust's Legal Provisions
Relating to IETF Documents
(http://trustee.ietf.org/license-info).
This version of this YANG module is part of RFC XXXX; see
the RFC itself for full legal notices.";
revision 2019-01-13 {
description
"Latest revision qos based policy applied to a target";
reference "RFC XXXX";
}
identity direction {
description
"This is identity of traffic direction";
}
identity inbound {
base direction;
description
"Direction of traffic coming into the network entry";
}
identity outbound {
base direction;
description
"Direction of traffic going out of the network entry";
}
augment "/if:interfaces/if:interface" {
description
"Augments Diffserv Target Entry to Interface module";
list qos-target-entry {
key "direction policy-type";
description
"policy target for inbound or outbound direction";
leaf direction {
type identityref {
base direction;
}
description
"Direction fo the traffic flow either inbound or outbound";
}
leaf policy-type {
type identityref {
base policy:policy-type;
}
description
"Policy entry type";
}
leaf policy-name {
type string;
mandatory true;
description
"Policy entry name";
}
}
}
}