netconfcentral logo

ietf-diffserv

HTML

ietf-diffserv@2017-12-12



  module ietf-diffserv {

    yang-version 1;

    namespace
      "urn:ietf:params:xml:ns:yang:ietf-diffserv";

    prefix diffserv;

    import ietf-qos-classifier {
      prefix classifier;
    }
    import ietf-qos-policy {
      prefix policy;
    }
    import ietf-qos-action {
      prefix action;
    }

    organization
      "IETF RTG (Routing Area) Working Group";

    contact
      "WG Web:   <http://tools.ietf.org/wg/rtgwg/>
     WG List:  <mailto:rtgwg@ietf.org>
     WG Chair: Chris Bowers
               <mailto:cbowers@juniper.net>
     WG Chair: Jeff Tantsura
               <mailto:jefftant.ietf@gmail.com>
     Editor:   Aseem Choudhary
               <mailto:asechoud@cisco.com>
     Editor:   Mahesh Jethanandani
               <mailto:mjethanandani@gmail.com";

    description
      "This module contains a collection of YANG definitions for
     configuring diffserv specification implementations.
     Copyright (c) 2014 IETF Trust and the persons identified as
     authors of the code.  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 "2017-12-12" {
      description
        "Latest revision of diffserv based classifier";
      reference
        "RFC XXXX";

    }


    augment /classifier:classifiers/classifier:classifier-entry/classifier:filter-entry {
      description
        "augments diffserv filters to qos classifier";
      choice filter-param {
        description "Choice of filter types";
        case dscp {
          description
            "Filter containing list of dscp ranges";
          uses classifier:dscp-cfg;
        }  // case dscp

        case source-ip-address {
          description
            "Filter containing list of source ip addresses";
          uses classifier:source-ip-address-cfg;
        }  // case source-ip-address

        case destination-ip-address {
          description
            "Filter containing list of destination ip address";
          uses classifier:destination-ip-address-cfg;
        }  // case destination-ip-address

        case source-port {
          description
            "Filter containing list of source-port ranges";
          uses classifier:source-port-cfg;
        }  // case source-port

        case destination-port {
          description
            "Filter containing list of destination-port ranges";
          uses classifier:destination-port-cfg;
        }  // case destination-port

        case protocol {
          description "Filter Type Protocol";
          uses classifier:protocol-cfg;
        }  // case protocol
      }  // choice filter-param
    }

    augment /policy:policies/policy:policy-entry/policy:classifier-entry/policy:filter-entry {
      description
        "Augments Diffserv Classifier with common filter types";
      choice filter-params {
        description "Choice of action types";
        case dscp {
          description
            "Filter containing list of dscp ranges";
          uses classifier:dscp-cfg;
        }  // case dscp

        case source-ip-address {
          description
            "Filter containing list of source ip addresses";
          uses classifier:source-ip-address-cfg;
        }  // case source-ip-address

        case destination-ip-address {
          description
            "Filter containing list of destination ip address";
          uses classifier:destination-ip-address-cfg;
        }  // case destination-ip-address

        case source-port {
          description
            "Filter containing list of source-port ranges";
          uses classifier:source-port-cfg;
        }  // case source-port

        case destination-port {
          description
            "Filter containing list of destination-port ranges";
          uses classifier:destination-port-cfg;
        }  // case destination-port

        case protocol {
          description "Filter Type Protocol";
          uses classifier:protocol-cfg;
        }  // case protocol
      }  // choice filter-params
    }

    augment /policy:policies/policy:policy-entry/policy:classifier-entry/policy:classifier-action-entry-cfg {
      description
        "augments dscp-marking and meter to qos policy";
      choice action-cfg-params {
        description "Choice of action types";
        case dscp-marking {
          uses action:dscp-marking;
        }  // case dscp-marking
      }  // choice action-cfg-params
    }
  }  // module ietf-diffserv

Summary

  
  
Organization IETF RTG (Routing Area) Working Group
  
Module ietf-diffserv
Version 2017-12-12
File ietf-diffserv@2017-12-12.yang
  
Prefix diffserv
Namespace urn:ietf:params:xml:ns:yang:ietf-diffserv
  
Cooked /cookedmodules/ietf-diffserv/2017-12-12
YANG /src/ietf-diffserv@2017-12-12.yang
XSD /xsd/ietf-diffserv@2017-12-12.xsd
  
Abstract This module contains a collection of YANG definitions for configuring diffserv specification implementations. Copyright (c) 2014...
  
Contact
WG Web:   <http://tools.ietf.org/wg/rtgwg/>
WG List:  <mailto:rtgwg@ietf.org>
WG Chair: Chris Bowers
	  <mailto:cbowers@juniper.net>
WG Chair: Jeff Tantsura
	  <mailto:jefftant.ietf@gmail.com>
Editor:   Aseem Choudhary
	  <mailto:asechoud@cisco.com>
Editor:   Mahesh Jethanandani
	  <mailto:mjethanandani@gmail.com

Description

 
This module contains a collection of YANG definitions for
configuring diffserv specification implementations.
Copyright (c) 2014 IETF Trust and the persons identified as
authors of the code.  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.