public interface PolicyMap extends org.opendaylight.yangtools.yang.binding.ChildOf<Native>, org.opendaylight.yangtools.yang.binding.Augmentable<PolicyMap>, org.opendaylight.yangtools.yang.binding.Identifiable<PolicyMapKey>
This class represents the following YANG schema fragment defined in module ned
list policy-map {
key "name"
leaf name {
type string;
}
leaf type {
type enumeration;
}
leaf protocol {
type enumeration;
}
list class {
key "name"
leaf name {
type class-name-type;
}
leaf type {
type enumeration;
}
leaf insert-before {
type string;
}
container appnav-policy {
list distribute {
key "service-node-group"
leaf service-node-group {
type string;
}
leaf insert-before {
type string;
}
}
leaf monitor-load {
type enumeration;
}
leaf pass-through {
type empty;
}
}
container policy {
leaf action {
type enumeration;
}
leaf log {
type empty;
}
leaf parameter-map {
type string;
}
container dpi {
leaf type {
type enumeration;
}
leaf policy-map {
type string;
}
}
}
container pm-policy {
container flow {
leaf monitor {
type string;
}
}
container monitor {
container metric {
container rtp {
list clock-rate {
key "number"
leaf number {
type union;
}
leaf frequency {
type uint32;
}
}
}
}
}
list react {
key "id"
leaf id {
type uint16;
}
leaf mode {
type enumeration;
}
leaf description {
type string;
}
container action {
leaf snmp {
type empty;
}
leaf syslog {
type empty;
}
}
container alarm {
leaf severity {
type enumeration;
}
container type {
leaf discrete {
type empty;
}
container grouped {
leaf count {
type uint16;
}
leaf percent {
type uint8;
}
}
}
}
container threshold {
container value {
leaf ge {
type string;
}
leaf gt {
type string;
}
leaf le {
type string;
}
leaf lt {
type string;
}
container range {
leaf low {
type string;
}
leaf high {
type string;
}
}
}
}
}
}
container inspect-police {
container police {
leaf rate {
type uint32;
}
leaf burst {
type uint32;
}
}
}
list action-list {
key "action-type"
leaf action-type {
type policy-action-type;
}
choice action-param {
case bandwidth-case {
container bandwidth {
leaf bits {
type uint32;
}
leaf percent {
type percentage-type;
}
container remaining {
leaf percent {
type percentage-type;
}
leaf ratio {
type uint16;
}
}
}
}
case compression-case {
container compression {
container header {
leaf ip {
type enumeration;
}
}
}
}
case estimate-case {
container estimate {
container bandwidth {
container delay-one-in {
leaf doi {
type uint32;
}
leaf milliseconds {
type uint32;
}
}
leaf drop-one-in {
type uint32;
}
}
}
}
case fair-queue-case {
container fair-queue {
leaf dynamic-queues {
type uint32;
}
leaf queue-limit {
type uint16;
}
}
}
case forward-case {
container forward {
list service-path {
key "service-path-id"
leaf service-path-id {
type uint32;
}
leaf service-index {
type uint8;
}
}
}
}
case netflow-sampler-case {
leaf netflow-sampler {
type string;
}
}
case police-case {
choice police-choice {
case police-aggregate-case {
container police-aggregate {
container police {
leaf aggregate {
type string;
}
}
}
}
case police-catalyst-case {
container police-catalyst {
container police {
leaf bps-value {
type string;
}
leaf bps {
type empty;
}
leaf byte-value {
type string;
}
leaf byte {
type empty;
}
container actions {
container conform-set-clp-transmit {
container conform-action {
leaf set-clp-transmit {
type empty;
}
}
}
container conform-set-cos-transmit {
container conform-action {
leaf set-cos-transmit {
type cos_value-type;
}
}
}
container conform-set-cos-transmit-table {
container conform-action {
leaf set-cos-transmit {
type cos_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-discard-class-transmit {
container conform-action {
leaf set-discard-class-transmit {
type uint8;
}
}
}
container conform-set-dscp-transmit {
container conform-action {
leaf set-dscp-transmit {
type dscp-type;
}
}
}
container conform-set-dscp-transmit-table {
container conform-action {
leaf set-dscp-transmit {
type dscp-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-frde-transmit {
container conform-action {
leaf set-frde-transmit {
type empty;
}
}
}
container conform-set-mpls-exp-imposition-transmit {
container conform-action {
leaf set-mpls-exp-imposition-transmit {
type exp_value-type;
}
}
}
container conform-set-mpls-exp-imposition-transmit-table {
container conform-action {
leaf set-mpls-exp-imposition-transmit {
type exp_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-mpls-exp-topmost-transmit {
container conform-action {
leaf set-mpls-exp-topmost-transmit {
type exp_value-type;
}
}
}
container conform-set-mpls-exp-topmost-transmit-table {
container conform-action {
leaf set-mpls-exp-topmost-transmit {
type exp_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-prec-transmit {
container conform-action {
leaf set-prec-transmit {
type prec_value-type;
}
}
}
container conform-set-prec-transmit-table {
container conform-action {
leaf set-prec-transmit {
type prec_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-qos-transmit {
container conform-action {
leaf set-qos-transmit {
type qos_value-type;
}
}
}
container conform-set-qos-transmit-table {
container conform-action {
leaf set-qos-transmit {
type qos_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-transmit {
container conform-action {
leaf transmit {
type empty;
}
uses police-action-transmit-grouping;
}
}
container conform-drop {
container conform-action {
leaf drop {
type empty;
}
uses police-action-drop-grouping;
}
}
container exceed-dscp {
container exceed-action {
leaf dscp {
type dscp-type;
}
}
}
container exceed-set-clp-transmit {
container exceed-action {
leaf set-clp-transmit {
type empty;
}
}
}
container exceed-set-cos-transmit {
container exceed-action {
leaf set-cos-transmit {
type cos_value-type;
}
}
}
container exceed-set-discard-class-transmit {
container exceed-action {
leaf set-discard-class-transmit {
type uint8;
}
}
}
container exceed-set-dscp-transmit {
container exceed-action {
leaf set-dscp-transmit {
type dscp-type;
}
container set-dscp-transmit-c {
container dscp {
leaf table {
type enumeration;
}
}
}
}
}
container exceed-set-frde-transmit {
container exceed-action {
leaf set-frde-transmit {
type empty;
}
}
}
container exceed-set-mpls-exp-imposition-transmit {
container exceed-action {
leaf set-mpls-exp-imposition-transmit {
type exp_value-type;
}
}
}
container exceed-set-mpls-exp-topmost-transmit {
container exceed-action {
leaf set-mpls-exp-topmost-transmit {
type exp_value-type;
}
}
}
container exceed-set-prec-transmit {
container exceed-action {
leaf set-prec-transmit {
type prec_value-type;
}
}
}
container exceed-set-qos-transmit {
container exceed-action {
leaf set-qos-transmit {
type qos_value-type;
}
}
}
container exceed-transmit {
container exceed-action {
leaf transmit {
type empty;
}
uses police-action-transmit-grouping;
}
}
container exceed-drop {
container exceed-action {
leaf drop {
type empty;
}
uses police-action-drop-grouping;
}
}
container violate-set-clp-transmit {
container violate-action {
leaf set-clp-transmit {
type empty;
}
}
}
container violate-set-cos-transmit {
container violate-action {
leaf set-cos-transmit {
type cos_value-type;
}
}
}
container violate-set-discard-class-transmit {
container violate-action {
leaf set-discard-class-transmit {
type uint8;
}
}
}
container violate-set-dscp-transmit {
container violate-action {
leaf set-dscp-transmit {
type dscp-type;
}
}
}
container violate-set-frde-transmit {
container violate-action {
leaf set-frde-transmit {
type empty;
}
}
}
container violate-set-mpls-exp-imposition-transmit {
container violate-action {
leaf set-mpls-exp-imposition-transmit {
type exp_value-type;
}
}
}
container violate-set-mpls-exp-topmost-transmit {
container violate-action {
leaf set-mpls-exp-topmost-transmit {
type exp_value-type;
}
}
}
container violate-set-prec-transmit {
container violate-action {
leaf set-prec-transmit {
type prec_value-type;
}
}
}
container violate-set-qos-transmit {
container violate-action {
leaf set-qos-transmit {
type qos_value-type;
}
}
}
container violate-transmit {
container violate-action {
leaf transmit {
type empty;
}
uses police-action-transmit-grouping;
}
}
container violate-drop {
container violate-action {
leaf drop {
type empty;
}
uses police-action-drop-grouping;
}
}
uses police-violate-action-grouping;
uses police-conform-action-grouping;
uses police-exceed-action-grouping;
}
}
}
}
case police-cir-percent-case {
container police-cir-percent {
container police {
container cir {
container percent {
leaf percentage {
type percentage-type;
}
leaf bc {
type uint16;
}
container bc-ms {
leaf ms {
type empty;
}
}
leaf be {
type uint16;
}
container be-ms {
leaf ms {
type empty;
}
}
container pir {
leaf percent {
type percentage-type;
}
}
container pir-be {
leaf be {
type uint16;
}
}
container pir-be-ms {
leaf ms {
type empty;
}
}
container actions {
container conform-set-clp-transmit {
container conform-action {
leaf set-clp-transmit {
type empty;
}
}
}
container conform-set-cos-transmit {
container conform-action {
leaf set-cos-transmit {
type cos_value-type;
}
}
}
container conform-set-cos-transmit-table {
container conform-action {
leaf set-cos-transmit {
type cos_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-discard-class-transmit {
container conform-action {
leaf set-discard-class-transmit {
type uint8;
}
}
}
container conform-set-dscp-transmit {
container conform-action {
leaf set-dscp-transmit {
type dscp-type;
}
}
}
container conform-set-dscp-transmit-table {
container conform-action {
leaf set-dscp-transmit {
type dscp-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-frde-transmit {
container conform-action {
leaf set-frde-transmit {
type empty;
}
}
}
container conform-set-mpls-exp-imposition-transmit {
container conform-action {
leaf set-mpls-exp-imposition-transmit {
type exp_value-type;
}
}
}
container conform-set-mpls-exp-imposition-transmit-table {
container conform-action {
leaf set-mpls-exp-imposition-transmit {
type exp_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-mpls-exp-topmost-transmit {
container conform-action {
leaf set-mpls-exp-topmost-transmit {
type exp_value-type;
}
}
}
container conform-set-mpls-exp-topmost-transmit-table {
container conform-action {
leaf set-mpls-exp-topmost-transmit {
type exp_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-prec-transmit {
container conform-action {
leaf set-prec-transmit {
type prec_value-type;
}
}
}
container conform-set-prec-transmit-table {
container conform-action {
leaf set-prec-transmit {
type prec_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-qos-transmit {
container conform-action {
leaf set-qos-transmit {
type qos_value-type;
}
}
}
container conform-set-qos-transmit-table {
container conform-action {
leaf set-qos-transmit {
type qos_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-transmit {
container conform-action {
leaf transmit {
type empty;
}
uses police-action-transmit-grouping;
}
}
container conform-drop {
container conform-action {
leaf drop {
type empty;
}
uses police-action-drop-grouping;
}
}
container violate-set-clp-transmit {
container violate-action {
leaf set-clp-transmit {
type empty;
}
}
}
container violate-set-cos-transmit {
container violate-action {
leaf set-cos-transmit {
type cos_value-type;
}
}
}
container violate-set-discard-class-transmit {
container violate-action {
leaf set-discard-class-transmit {
type uint8;
}
}
}
container violate-set-dscp-transmit {
container violate-action {
leaf set-dscp-transmit {
type dscp-type;
}
}
}
container violate-set-frde-transmit {
container violate-action {
leaf set-frde-transmit {
type empty;
}
}
}
container violate-set-mpls-exp-imposition-transmit {
container violate-action {
leaf set-mpls-exp-imposition-transmit {
type exp_value-type;
}
}
}
container violate-set-mpls-exp-topmost-transmit {
container violate-action {
leaf set-mpls-exp-topmost-transmit {
type exp_value-type;
}
}
}
container violate-set-prec-transmit {
container violate-action {
leaf set-prec-transmit {
type prec_value-type;
}
}
}
container violate-set-qos-transmit {
container violate-action {
leaf set-qos-transmit {
type qos_value-type;
}
}
}
container violate-transmit {
container violate-action {
leaf transmit {
type empty;
}
uses police-action-transmit-grouping;
}
}
container violate-drop {
container violate-action {
leaf drop {
type empty;
}
uses police-action-drop-grouping;
}
}
container exceed-dscp {
container exceed-action {
leaf dscp {
type dscp-type;
}
}
}
container exceed-set-clp-transmit {
container exceed-action {
leaf set-clp-transmit {
type empty;
}
}
}
container exceed-set-cos-transmit {
container exceed-action {
leaf set-cos-transmit {
type cos_value-type;
}
}
}
container exceed-set-discard-class-transmit {
container exceed-action {
leaf set-discard-class-transmit {
type uint8;
}
}
}
container exceed-set-dscp-transmit {
container exceed-action {
leaf set-dscp-transmit {
type dscp-type;
}
container set-dscp-transmit-c {
container dscp {
leaf table {
type enumeration;
}
}
}
}
}
container exceed-set-frde-transmit {
container exceed-action {
leaf set-frde-transmit {
type empty;
}
}
}
container exceed-set-mpls-exp-imposition-transmit {
container exceed-action {
leaf set-mpls-exp-imposition-transmit {
type exp_value-type;
}
}
}
container exceed-set-mpls-exp-topmost-transmit {
container exceed-action {
leaf set-mpls-exp-topmost-transmit {
type exp_value-type;
}
}
}
container exceed-set-prec-transmit {
container exceed-action {
leaf set-prec-transmit {
type prec_value-type;
}
}
}
container exceed-set-qos-transmit {
container exceed-action {
leaf set-qos-transmit {
type qos_value-type;
}
}
}
container exceed-transmit {
container exceed-action {
leaf transmit {
type empty;
}
uses police-action-transmit-grouping;
}
}
container exceed-drop {
container exceed-action {
leaf drop {
type empty;
}
uses police-action-drop-grouping;
}
}
uses police-violate-action-grouping;
uses police-conform-action-grouping;
uses police-exceed-action-grouping;
}
uses police-action-grouping;
}
}
}
}
}
case police-flow-case {
container police-flow {
container police {
container flow {
leaf mask {
type enumeration;
}
leaf bps {
type police-bps-type;
}
leaf burst-normal {
type police-burst-type;
}
container actions {
container conform-set-clp-transmit {
container conform-action {
leaf set-clp-transmit {
type empty;
}
}
}
container conform-set-cos-transmit {
container conform-action {
leaf set-cos-transmit {
type cos_value-type;
}
}
}
container conform-set-cos-transmit-table {
container conform-action {
leaf set-cos-transmit {
type cos_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-discard-class-transmit {
container conform-action {
leaf set-discard-class-transmit {
type uint8;
}
}
}
container conform-set-dscp-transmit {
container conform-action {
leaf set-dscp-transmit {
type dscp-type;
}
}
}
container conform-set-dscp-transmit-table {
container conform-action {
leaf set-dscp-transmit {
type dscp-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-frde-transmit {
container conform-action {
leaf set-frde-transmit {
type empty;
}
}
}
container conform-set-mpls-exp-imposition-transmit {
container conform-action {
leaf set-mpls-exp-imposition-transmit {
type exp_value-type;
}
}
}
container conform-set-mpls-exp-imposition-transmit-table {
container conform-action {
leaf set-mpls-exp-imposition-transmit {
type exp_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-mpls-exp-topmost-transmit {
container conform-action {
leaf set-mpls-exp-topmost-transmit {
type exp_value-type;
}
}
}
container conform-set-mpls-exp-topmost-transmit-table {
container conform-action {
leaf set-mpls-exp-topmost-transmit {
type exp_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-prec-transmit {
container conform-action {
leaf set-prec-transmit {
type prec_value-type;
}
}
}
container conform-set-prec-transmit-table {
container conform-action {
leaf set-prec-transmit {
type prec_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-qos-transmit {
container conform-action {
leaf set-qos-transmit {
type qos_value-type;
}
}
}
container conform-set-qos-transmit-table {
container conform-action {
leaf set-qos-transmit {
type qos_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-transmit {
container conform-action {
leaf transmit {
type empty;
}
uses police-action-transmit-grouping;
}
}
container conform-drop {
container conform-action {
leaf drop {
type empty;
}
uses police-action-drop-grouping;
}
}
container violate-set-clp-transmit {
container violate-action {
leaf set-clp-transmit {
type empty;
}
}
}
container violate-set-cos-transmit {
container violate-action {
leaf set-cos-transmit {
type cos_value-type;
}
}
}
container violate-set-discard-class-transmit {
container violate-action {
leaf set-discard-class-transmit {
type uint8;
}
}
}
container violate-set-dscp-transmit {
container violate-action {
leaf set-dscp-transmit {
type dscp-type;
}
}
}
container violate-set-frde-transmit {
container violate-action {
leaf set-frde-transmit {
type empty;
}
}
}
container violate-set-mpls-exp-imposition-transmit {
container violate-action {
leaf set-mpls-exp-imposition-transmit {
type exp_value-type;
}
}
}
container violate-set-mpls-exp-topmost-transmit {
container violate-action {
leaf set-mpls-exp-topmost-transmit {
type exp_value-type;
}
}
}
container violate-set-prec-transmit {
container violate-action {
leaf set-prec-transmit {
type prec_value-type;
}
}
}
container violate-set-qos-transmit {
container violate-action {
leaf set-qos-transmit {
type qos_value-type;
}
}
}
container violate-transmit {
container violate-action {
leaf transmit {
type empty;
}
uses police-action-transmit-grouping;
}
}
container violate-drop {
container violate-action {
leaf drop {
type empty;
}
uses police-action-drop-grouping;
}
}
container exceed-dscp {
container exceed-action {
leaf dscp {
type dscp-type;
}
}
}
container exceed-set-clp-transmit {
container exceed-action {
leaf set-clp-transmit {
type empty;
}
}
}
container exceed-set-cos-transmit {
container exceed-action {
leaf set-cos-transmit {
type cos_value-type;
}
}
}
container exceed-set-discard-class-transmit {
container exceed-action {
leaf set-discard-class-transmit {
type uint8;
}
}
}
container exceed-set-dscp-transmit {
container exceed-action {
leaf set-dscp-transmit {
type dscp-type;
}
container set-dscp-transmit-c {
container dscp {
leaf table {
type enumeration;
}
}
}
}
}
container exceed-set-frde-transmit {
container exceed-action {
leaf set-frde-transmit {
type empty;
}
}
}
container exceed-set-mpls-exp-imposition-transmit {
container exceed-action {
leaf set-mpls-exp-imposition-transmit {
type exp_value-type;
}
}
}
container exceed-set-mpls-exp-topmost-transmit {
container exceed-action {
leaf set-mpls-exp-topmost-transmit {
type exp_value-type;
}
}
}
container exceed-set-prec-transmit {
container exceed-action {
leaf set-prec-transmit {
type prec_value-type;
}
}
}
container exceed-set-qos-transmit {
container exceed-action {
leaf set-qos-transmit {
type qos_value-type;
}
}
}
container exceed-transmit {
container exceed-action {
leaf transmit {
type empty;
}
uses police-action-transmit-grouping;
}
}
container exceed-drop {
container exceed-action {
leaf drop {
type empty;
}
uses police-action-drop-grouping;
}
}
uses police-violate-action-grouping;
uses police-conform-action-grouping;
uses police-exceed-action-grouping;
}
uses police-action-grouping;
}
}
}
}
case police-policy-map-case {
container police-policy-map {
container police {
leaf cir {
type police-bps-type;
}
leaf bc {
type police-burst-type;
}
leaf be {
type police-burst-type;
}
leaf pir {
type police-bps-type;
}
container pir-be {
leaf be {
type police-burst-type;
}
}
container actions {
container conform-set-clp-transmit {
container conform-action {
leaf set-clp-transmit {
type empty;
}
}
}
container conform-set-cos-transmit {
container conform-action {
leaf set-cos-transmit {
type cos_value-type;
}
}
}
container conform-set-cos-transmit-table {
container conform-action {
leaf set-cos-transmit {
type cos_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-discard-class-transmit {
container conform-action {
leaf set-discard-class-transmit {
type uint8;
}
}
}
container conform-set-dscp-transmit {
container conform-action {
leaf set-dscp-transmit {
type dscp-type;
}
}
}
container conform-set-dscp-transmit-table {
container conform-action {
leaf set-dscp-transmit {
type dscp-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-frde-transmit {
container conform-action {
leaf set-frde-transmit {
type empty;
}
}
}
container conform-set-mpls-exp-imposition-transmit {
container conform-action {
leaf set-mpls-exp-imposition-transmit {
type exp_value-type;
}
}
}
container conform-set-mpls-exp-imposition-transmit-table {
container conform-action {
leaf set-mpls-exp-imposition-transmit {
type exp_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-mpls-exp-topmost-transmit {
container conform-action {
leaf set-mpls-exp-topmost-transmit {
type exp_value-type;
}
}
}
container conform-set-mpls-exp-topmost-transmit-table {
container conform-action {
leaf set-mpls-exp-topmost-transmit {
type exp_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-prec-transmit {
container conform-action {
leaf set-prec-transmit {
type prec_value-type;
}
}
}
container conform-set-prec-transmit-table {
container conform-action {
leaf set-prec-transmit {
type prec_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-qos-transmit {
container conform-action {
leaf set-qos-transmit {
type qos_value-type;
}
}
}
container conform-set-qos-transmit-table {
container conform-action {
leaf set-qos-transmit {
type qos_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-transmit {
container conform-action {
leaf transmit {
type empty;
}
uses police-action-transmit-grouping;
}
}
container conform-drop {
container conform-action {
leaf drop {
type empty;
}
uses police-action-drop-grouping;
}
}
container violate-set-clp-transmit {
container violate-action {
leaf set-clp-transmit {
type empty;
}
}
}
container violate-set-cos-transmit {
container violate-action {
leaf set-cos-transmit {
type cos_value-type;
}
}
}
container violate-set-discard-class-transmit {
container violate-action {
leaf set-discard-class-transmit {
type uint8;
}
}
}
container violate-set-dscp-transmit {
container violate-action {
leaf set-dscp-transmit {
type dscp-type;
}
}
}
container violate-set-frde-transmit {
container violate-action {
leaf set-frde-transmit {
type empty;
}
}
}
container violate-set-mpls-exp-imposition-transmit {
container violate-action {
leaf set-mpls-exp-imposition-transmit {
type exp_value-type;
}
}
}
container violate-set-mpls-exp-topmost-transmit {
container violate-action {
leaf set-mpls-exp-topmost-transmit {
type exp_value-type;
}
}
}
container violate-set-prec-transmit {
container violate-action {
leaf set-prec-transmit {
type prec_value-type;
}
}
}
container violate-set-qos-transmit {
container violate-action {
leaf set-qos-transmit {
type qos_value-type;
}
}
}
container violate-transmit {
container violate-action {
leaf transmit {
type empty;
}
uses police-action-transmit-grouping;
}
}
container violate-drop {
container violate-action {
leaf drop {
type empty;
}
uses police-action-drop-grouping;
}
}
container exceed-dscp {
container exceed-action {
leaf dscp {
type dscp-type;
}
}
}
container exceed-set-clp-transmit {
container exceed-action {
leaf set-clp-transmit {
type empty;
}
}
}
container exceed-set-cos-transmit {
container exceed-action {
leaf set-cos-transmit {
type cos_value-type;
}
}
}
container exceed-set-discard-class-transmit {
container exceed-action {
leaf set-discard-class-transmit {
type uint8;
}
}
}
container exceed-set-dscp-transmit {
container exceed-action {
leaf set-dscp-transmit {
type dscp-type;
}
container set-dscp-transmit-c {
container dscp {
leaf table {
type enumeration;
}
}
}
}
}
container exceed-set-frde-transmit {
container exceed-action {
leaf set-frde-transmit {
type empty;
}
}
}
container exceed-set-mpls-exp-imposition-transmit {
container exceed-action {
leaf set-mpls-exp-imposition-transmit {
type exp_value-type;
}
}
}
container exceed-set-mpls-exp-topmost-transmit {
container exceed-action {
leaf set-mpls-exp-topmost-transmit {
type exp_value-type;
}
}
}
container exceed-set-prec-transmit {
container exceed-action {
leaf set-prec-transmit {
type prec_value-type;
}
}
}
container exceed-set-qos-transmit {
container exceed-action {
leaf set-qos-transmit {
type qos_value-type;
}
}
}
container exceed-transmit {
container exceed-action {
leaf transmit {
type empty;
}
uses police-action-transmit-grouping;
}
}
container exceed-drop {
container exceed-action {
leaf drop {
type empty;
}
uses police-action-drop-grouping;
}
}
uses police-violate-action-grouping;
uses police-conform-action-grouping;
uses police-exceed-action-grouping;
}
uses police-action-grouping;
}
}
}
case police-rate-pdp-case {
container police-rate-pdp {
container police {
container rate {
container pdp {
leaf burst {
type police-burst-type;
}
leaf peak-rate {
type enumeration;
}
leaf peak-burst {
type police-burst-type;
}
container actions {
container conform-set-clp-transmit {
container conform-action {
leaf set-clp-transmit {
type empty;
}
}
}
container conform-set-cos-transmit {
container conform-action {
leaf set-cos-transmit {
type cos_value-type;
}
}
}
container conform-set-cos-transmit-table {
container conform-action {
leaf set-cos-transmit {
type cos_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-discard-class-transmit {
container conform-action {
leaf set-discard-class-transmit {
type uint8;
}
}
}
container conform-set-dscp-transmit {
container conform-action {
leaf set-dscp-transmit {
type dscp-type;
}
}
}
container conform-set-dscp-transmit-table {
container conform-action {
leaf set-dscp-transmit {
type dscp-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-frde-transmit {
container conform-action {
leaf set-frde-transmit {
type empty;
}
}
}
container conform-set-mpls-exp-imposition-transmit {
container conform-action {
leaf set-mpls-exp-imposition-transmit {
type exp_value-type;
}
}
}
container conform-set-mpls-exp-imposition-transmit-table {
container conform-action {
leaf set-mpls-exp-imposition-transmit {
type exp_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-mpls-exp-topmost-transmit {
container conform-action {
leaf set-mpls-exp-topmost-transmit {
type exp_value-type;
}
}
}
container conform-set-mpls-exp-topmost-transmit-table {
container conform-action {
leaf set-mpls-exp-topmost-transmit {
type exp_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-prec-transmit {
container conform-action {
leaf set-prec-transmit {
type prec_value-type;
}
}
}
container conform-set-prec-transmit-table {
container conform-action {
leaf set-prec-transmit {
type prec_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-qos-transmit {
container conform-action {
leaf set-qos-transmit {
type qos_value-type;
}
}
}
container conform-set-qos-transmit-table {
container conform-action {
leaf set-qos-transmit {
type qos_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-transmit {
container conform-action {
leaf transmit {
type empty;
}
uses police-action-transmit-grouping;
}
}
container conform-drop {
container conform-action {
leaf drop {
type empty;
}
uses police-action-drop-grouping;
}
}
container violate-set-clp-transmit {
container violate-action {
leaf set-clp-transmit {
type empty;
}
}
}
container violate-set-cos-transmit {
container violate-action {
leaf set-cos-transmit {
type cos_value-type;
}
}
}
container violate-set-discard-class-transmit {
container violate-action {
leaf set-discard-class-transmit {
type uint8;
}
}
}
container violate-set-dscp-transmit {
container violate-action {
leaf set-dscp-transmit {
type dscp-type;
}
}
}
container violate-set-frde-transmit {
container violate-action {
leaf set-frde-transmit {
type empty;
}
}
}
container violate-set-mpls-exp-imposition-transmit {
container violate-action {
leaf set-mpls-exp-imposition-transmit {
type exp_value-type;
}
}
}
container violate-set-mpls-exp-topmost-transmit {
container violate-action {
leaf set-mpls-exp-topmost-transmit {
type exp_value-type;
}
}
}
container violate-set-prec-transmit {
container violate-action {
leaf set-prec-transmit {
type prec_value-type;
}
}
}
container violate-set-qos-transmit {
container violate-action {
leaf set-qos-transmit {
type qos_value-type;
}
}
}
container violate-transmit {
container violate-action {
leaf transmit {
type empty;
}
uses police-action-transmit-grouping;
}
}
container violate-drop {
container violate-action {
leaf drop {
type empty;
}
uses police-action-drop-grouping;
}
}
container exceed-dscp {
container exceed-action {
leaf dscp {
type dscp-type;
}
}
}
container exceed-set-clp-transmit {
container exceed-action {
leaf set-clp-transmit {
type empty;
}
}
}
container exceed-set-cos-transmit {
container exceed-action {
leaf set-cos-transmit {
type cos_value-type;
}
}
}
container exceed-set-discard-class-transmit {
container exceed-action {
leaf set-discard-class-transmit {
type uint8;
}
}
}
container exceed-set-dscp-transmit {
container exceed-action {
leaf set-dscp-transmit {
type dscp-type;
}
container set-dscp-transmit-c {
container dscp {
leaf table {
type enumeration;
}
}
}
}
}
container exceed-set-frde-transmit {
container exceed-action {
leaf set-frde-transmit {
type empty;
}
}
}
container exceed-set-mpls-exp-imposition-transmit {
container exceed-action {
leaf set-mpls-exp-imposition-transmit {
type exp_value-type;
}
}
}
container exceed-set-mpls-exp-topmost-transmit {
container exceed-action {
leaf set-mpls-exp-topmost-transmit {
type exp_value-type;
}
}
}
container exceed-set-prec-transmit {
container exceed-action {
leaf set-prec-transmit {
type prec_value-type;
}
}
}
container exceed-set-qos-transmit {
container exceed-action {
leaf set-qos-transmit {
type qos_value-type;
}
}
}
container exceed-transmit {
container exceed-action {
leaf transmit {
type empty;
}
uses police-action-transmit-grouping;
}
}
container exceed-drop {
container exceed-action {
leaf drop {
type empty;
}
uses police-action-drop-grouping;
}
}
uses police-violate-action-grouping;
uses police-conform-action-grouping;
uses police-exceed-action-grouping;
}
uses police-action-grouping;
}
}
}
}
}
case police-rate-percent-case {
container police-rate-percent {
container police {
container rate {
container percent {
leaf percentage {
type percentage-type;
}
leaf burst {
type uint16;
}
leaf ms {
type empty;
}
container peak-rate {
leaf percent {
type percentage-type;
}
}
leaf peak-burst {
type uint16;
}
container peak-burst-ms {
leaf ms {
type empty;
}
}
container actions {
container conform-set-clp-transmit {
container conform-action {
leaf set-clp-transmit {
type empty;
}
}
}
container conform-set-cos-transmit {
container conform-action {
leaf set-cos-transmit {
type cos_value-type;
}
}
}
container conform-set-cos-transmit-table {
container conform-action {
leaf set-cos-transmit {
type cos_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-discard-class-transmit {
container conform-action {
leaf set-discard-class-transmit {
type uint8;
}
}
}
container conform-set-dscp-transmit {
container conform-action {
leaf set-dscp-transmit {
type dscp-type;
}
}
}
container conform-set-dscp-transmit-table {
container conform-action {
leaf set-dscp-transmit {
type dscp-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-frde-transmit {
container conform-action {
leaf set-frde-transmit {
type empty;
}
}
}
container conform-set-mpls-exp-imposition-transmit {
container conform-action {
leaf set-mpls-exp-imposition-transmit {
type exp_value-type;
}
}
}
container conform-set-mpls-exp-imposition-transmit-table {
container conform-action {
leaf set-mpls-exp-imposition-transmit {
type exp_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-mpls-exp-topmost-transmit {
container conform-action {
leaf set-mpls-exp-topmost-transmit {
type exp_value-type;
}
}
}
container conform-set-mpls-exp-topmost-transmit-table {
container conform-action {
leaf set-mpls-exp-topmost-transmit {
type exp_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-prec-transmit {
container conform-action {
leaf set-prec-transmit {
type prec_value-type;
}
}
}
container conform-set-prec-transmit-table {
container conform-action {
leaf set-prec-transmit {
type prec_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-qos-transmit {
container conform-action {
leaf set-qos-transmit {
type qos_value-type;
}
}
}
container conform-set-qos-transmit-table {
container conform-action {
leaf set-qos-transmit {
type qos_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-transmit {
container conform-action {
leaf transmit {
type empty;
}
uses police-action-transmit-grouping;
}
}
container conform-drop {
container conform-action {
leaf drop {
type empty;
}
uses police-action-drop-grouping;
}
}
container violate-set-clp-transmit {
container violate-action {
leaf set-clp-transmit {
type empty;
}
}
}
container violate-set-cos-transmit {
container violate-action {
leaf set-cos-transmit {
type cos_value-type;
}
}
}
container violate-set-discard-class-transmit {
container violate-action {
leaf set-discard-class-transmit {
type uint8;
}
}
}
container violate-set-dscp-transmit {
container violate-action {
leaf set-dscp-transmit {
type dscp-type;
}
}
}
container violate-set-frde-transmit {
container violate-action {
leaf set-frde-transmit {
type empty;
}
}
}
container violate-set-mpls-exp-imposition-transmit {
container violate-action {
leaf set-mpls-exp-imposition-transmit {
type exp_value-type;
}
}
}
container violate-set-mpls-exp-topmost-transmit {
container violate-action {
leaf set-mpls-exp-topmost-transmit {
type exp_value-type;
}
}
}
container violate-set-prec-transmit {
container violate-action {
leaf set-prec-transmit {
type prec_value-type;
}
}
}
container violate-set-qos-transmit {
container violate-action {
leaf set-qos-transmit {
type qos_value-type;
}
}
}
container violate-transmit {
container violate-action {
leaf transmit {
type empty;
}
uses police-action-transmit-grouping;
}
}
container violate-drop {
container violate-action {
leaf drop {
type empty;
}
uses police-action-drop-grouping;
}
}
container exceed-dscp {
container exceed-action {
leaf dscp {
type dscp-type;
}
}
}
container exceed-set-clp-transmit {
container exceed-action {
leaf set-clp-transmit {
type empty;
}
}
}
container exceed-set-cos-transmit {
container exceed-action {
leaf set-cos-transmit {
type cos_value-type;
}
}
}
container exceed-set-discard-class-transmit {
container exceed-action {
leaf set-discard-class-transmit {
type uint8;
}
}
}
container exceed-set-dscp-transmit {
container exceed-action {
leaf set-dscp-transmit {
type dscp-type;
}
container set-dscp-transmit-c {
container dscp {
leaf table {
type enumeration;
}
}
}
}
}
container exceed-set-frde-transmit {
container exceed-action {
leaf set-frde-transmit {
type empty;
}
}
}
container exceed-set-mpls-exp-imposition-transmit {
container exceed-action {
leaf set-mpls-exp-imposition-transmit {
type exp_value-type;
}
}
}
container exceed-set-mpls-exp-topmost-transmit {
container exceed-action {
leaf set-mpls-exp-topmost-transmit {
type exp_value-type;
}
}
}
container exceed-set-prec-transmit {
container exceed-action {
leaf set-prec-transmit {
type prec_value-type;
}
}
}
container exceed-set-qos-transmit {
container exceed-action {
leaf set-qos-transmit {
type qos_value-type;
}
}
}
container exceed-transmit {
container exceed-action {
leaf transmit {
type empty;
}
uses police-action-transmit-grouping;
}
}
container exceed-drop {
container exceed-action {
leaf drop {
type empty;
}
uses police-action-drop-grouping;
}
}
uses police-violate-action-grouping;
uses police-conform-action-grouping;
uses police-exceed-action-grouping;
}
uses police-action-grouping;
}
}
}
}
}
case police-rate-unit-case {
container police-rate-unit {
container police {
container rate {
leaf units {
type uint64;
}
leaf xps {
type police-pps-bps-type;
}
container burst {
leaf burst-value {
type uint32;
}
leaf burst-type {
type police-packets-bytes-type;
}
}
container peak-rate {
leaf peak-rate-value {
type uint32;
}
leaf xps {
type police-pps-bps-type;
}
}
container peak-burst {
leaf burst-value {
type uint32;
}
leaf burst-type {
type police-packets-bytes-type;
}
}
container actions {
container conform-set-clp-transmit {
container conform-action {
leaf set-clp-transmit {
type empty;
}
}
}
container conform-set-cos-transmit {
container conform-action {
leaf set-cos-transmit {
type cos_value-type;
}
}
}
container conform-set-cos-transmit-table {
container conform-action {
leaf set-cos-transmit {
type cos_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-discard-class-transmit {
container conform-action {
leaf set-discard-class-transmit {
type uint8;
}
}
}
container conform-set-dscp-transmit {
container conform-action {
leaf set-dscp-transmit {
type dscp-type;
}
}
}
container conform-set-dscp-transmit-table {
container conform-action {
leaf set-dscp-transmit {
type dscp-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-frde-transmit {
container conform-action {
leaf set-frde-transmit {
type empty;
}
}
}
container conform-set-mpls-exp-imposition-transmit {
container conform-action {
leaf set-mpls-exp-imposition-transmit {
type exp_value-type;
}
}
}
container conform-set-mpls-exp-imposition-transmit-table {
container conform-action {
leaf set-mpls-exp-imposition-transmit {
type exp_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-mpls-exp-topmost-transmit {
container conform-action {
leaf set-mpls-exp-topmost-transmit {
type exp_value-type;
}
}
}
container conform-set-mpls-exp-topmost-transmit-table {
container conform-action {
leaf set-mpls-exp-topmost-transmit {
type exp_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-prec-transmit {
container conform-action {
leaf set-prec-transmit {
type prec_value-type;
}
}
}
container conform-set-prec-transmit-table {
container conform-action {
leaf set-prec-transmit {
type prec_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-qos-transmit {
container conform-action {
leaf set-qos-transmit {
type qos_value-type;
}
}
}
container conform-set-qos-transmit-table {
container conform-action {
leaf set-qos-transmit {
type qos_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-transmit {
container conform-action {
leaf transmit {
type empty;
}
uses police-action-transmit-grouping;
}
}
container conform-drop {
container conform-action {
leaf drop {
type empty;
}
uses police-action-drop-grouping;
}
}
container violate-set-clp-transmit {
container violate-action {
leaf set-clp-transmit {
type empty;
}
}
}
container violate-set-cos-transmit {
container violate-action {
leaf set-cos-transmit {
type cos_value-type;
}
}
}
container violate-set-discard-class-transmit {
container violate-action {
leaf set-discard-class-transmit {
type uint8;
}
}
}
container violate-set-dscp-transmit {
container violate-action {
leaf set-dscp-transmit {
type dscp-type;
}
}
}
container violate-set-frde-transmit {
container violate-action {
leaf set-frde-transmit {
type empty;
}
}
}
container violate-set-mpls-exp-imposition-transmit {
container violate-action {
leaf set-mpls-exp-imposition-transmit {
type exp_value-type;
}
}
}
container violate-set-mpls-exp-topmost-transmit {
container violate-action {
leaf set-mpls-exp-topmost-transmit {
type exp_value-type;
}
}
}
container violate-set-prec-transmit {
container violate-action {
leaf set-prec-transmit {
type prec_value-type;
}
}
}
container violate-set-qos-transmit {
container violate-action {
leaf set-qos-transmit {
type qos_value-type;
}
}
}
container violate-transmit {
container violate-action {
leaf transmit {
type empty;
}
uses police-action-transmit-grouping;
}
}
container violate-drop {
container violate-action {
leaf drop {
type empty;
}
uses police-action-drop-grouping;
}
}
container exceed-dscp {
container exceed-action {
leaf dscp {
type dscp-type;
}
}
}
container exceed-set-clp-transmit {
container exceed-action {
leaf set-clp-transmit {
type empty;
}
}
}
container exceed-set-cos-transmit {
container exceed-action {
leaf set-cos-transmit {
type cos_value-type;
}
}
}
container exceed-set-discard-class-transmit {
container exceed-action {
leaf set-discard-class-transmit {
type uint8;
}
}
}
container exceed-set-dscp-transmit {
container exceed-action {
leaf set-dscp-transmit {
type dscp-type;
}
container set-dscp-transmit-c {
container dscp {
leaf table {
type enumeration;
}
}
}
}
}
container exceed-set-frde-transmit {
container exceed-action {
leaf set-frde-transmit {
type empty;
}
}
}
container exceed-set-mpls-exp-imposition-transmit {
container exceed-action {
leaf set-mpls-exp-imposition-transmit {
type exp_value-type;
}
}
}
container exceed-set-mpls-exp-topmost-transmit {
container exceed-action {
leaf set-mpls-exp-topmost-transmit {
type exp_value-type;
}
}
}
container exceed-set-prec-transmit {
container exceed-action {
leaf set-prec-transmit {
type prec_value-type;
}
}
}
container exceed-set-qos-transmit {
container exceed-action {
leaf set-qos-transmit {
type qos_value-type;
}
}
}
container exceed-transmit {
container exceed-action {
leaf transmit {
type empty;
}
uses police-action-transmit-grouping;
}
}
container exceed-drop {
container exceed-action {
leaf drop {
type empty;
}
uses police-action-drop-grouping;
}
}
uses police-violate-action-grouping;
uses police-conform-action-grouping;
uses police-exceed-action-grouping;
}
uses police-action-grouping;
}
}
}
}
case police-switch-case {
container police-switch {
container police {
leaf cir {
type uint32;
}
leaf bc {
type uint32;
}
leaf exceed-action {
type enumeration;
}
}
}
}
case police-target-bitrate-case {
container police-target-bitrate {
container police {
leaf bit-rate {
type uint64;
}
container actions {
container conform-set-clp-transmit {
container conform-action {
leaf set-clp-transmit {
type empty;
}
}
}
container conform-set-cos-transmit {
container conform-action {
leaf set-cos-transmit {
type cos_value-type;
}
}
}
container conform-set-cos-transmit-table {
container conform-action {
leaf set-cos-transmit {
type cos_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-discard-class-transmit {
container conform-action {
leaf set-discard-class-transmit {
type uint8;
}
}
}
container conform-set-dscp-transmit {
container conform-action {
leaf set-dscp-transmit {
type dscp-type;
}
}
}
container conform-set-dscp-transmit-table {
container conform-action {
leaf set-dscp-transmit {
type dscp-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-frde-transmit {
container conform-action {
leaf set-frde-transmit {
type empty;
}
}
}
container conform-set-mpls-exp-imposition-transmit {
container conform-action {
leaf set-mpls-exp-imposition-transmit {
type exp_value-type;
}
}
}
container conform-set-mpls-exp-imposition-transmit-table {
container conform-action {
leaf set-mpls-exp-imposition-transmit {
type exp_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-mpls-exp-topmost-transmit {
container conform-action {
leaf set-mpls-exp-topmost-transmit {
type exp_value-type;
}
}
}
container conform-set-mpls-exp-topmost-transmit-table {
container conform-action {
leaf set-mpls-exp-topmost-transmit {
type exp_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-prec-transmit {
container conform-action {
leaf set-prec-transmit {
type prec_value-type;
}
}
}
container conform-set-prec-transmit-table {
container conform-action {
leaf set-prec-transmit {
type prec_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-set-qos-transmit {
container conform-action {
leaf set-qos-transmit {
type qos_value-type;
}
}
}
container conform-set-qos-transmit-table {
container conform-action {
leaf set-qos-transmit {
type qos_value-type;
}
leaf table {
type leafref;
}
}
}
container conform-transmit {
container conform-action {
leaf transmit {
type empty;
}
uses police-action-transmit-grouping;
}
}
container conform-drop {
container conform-action {
leaf drop {
type empty;
}
uses police-action-drop-grouping;
}
}
container violate-set-clp-transmit {
container violate-action {
leaf set-clp-transmit {
type empty;
}
}
}
container violate-set-cos-transmit {
container violate-action {
leaf set-cos-transmit {
type cos_value-type;
}
}
}
container violate-set-discard-class-transmit {
container violate-action {
leaf set-discard-class-transmit {
type uint8;
}
}
}
container violate-set-dscp-transmit {
container violate-action {
leaf set-dscp-transmit {
type dscp-type;
}
}
}
container violate-set-frde-transmit {
container violate-action {
leaf set-frde-transmit {
type empty;
}
}
}
container violate-set-mpls-exp-imposition-transmit {
container violate-action {
leaf set-mpls-exp-imposition-transmit {
type exp_value-type;
}
}
}
container violate-set-mpls-exp-topmost-transmit {
container violate-action {
leaf set-mpls-exp-topmost-transmit {
type exp_value-type;
}
}
}
container violate-set-prec-transmit {
container violate-action {
leaf set-prec-transmit {
type prec_value-type;
}
}
}
container violate-set-qos-transmit {
container violate-action {
leaf set-qos-transmit {
type qos_value-type;
}
}
}
container violate-transmit {
container violate-action {
leaf transmit {
type empty;
}
uses police-action-transmit-grouping;
}
}
container violate-drop {
container violate-action {
leaf drop {
type empty;
}
uses police-action-drop-grouping;
}
}
container exceed-dscp {
container exceed-action {
leaf dscp {
type dscp-type;
}
}
}
container exceed-set-clp-transmit {
container exceed-action {
leaf set-clp-transmit {
type empty;
}
}
}
container exceed-set-cos-transmit {
container exceed-action {
leaf set-cos-transmit {
type cos_value-type;
}
}
}
container exceed-set-discard-class-transmit {
container exceed-action {
leaf set-discard-class-transmit {
type uint8;
}
}
}
container exceed-set-dscp-transmit {
container exceed-action {
leaf set-dscp-transmit {
type dscp-type;
}
container set-dscp-transmit-c {
container dscp {
leaf table {
type enumeration;
}
}
}
}
}
container exceed-set-frde-transmit {
container exceed-action {
leaf set-frde-transmit {
type empty;
}
}
}
container exceed-set-mpls-exp-imposition-transmit {
container exceed-action {
leaf set-mpls-exp-imposition-transmit {
type exp_value-type;
}
}
}
container exceed-set-mpls-exp-topmost-transmit {
container exceed-action {
leaf set-mpls-exp-topmost-transmit {
type exp_value-type;
}
}
}
container exceed-set-prec-transmit {
container exceed-action {
leaf set-prec-transmit {
type prec_value-type;
}
}
}
container exceed-set-qos-transmit {
container exceed-action {
leaf set-qos-transmit {
type qos_value-type;
}
}
}
container exceed-transmit {
container exceed-action {
leaf transmit {
type empty;
}
uses police-action-transmit-grouping;
}
}
container exceed-drop {
container exceed-action {
leaf drop {
type empty;
}
uses police-action-drop-grouping;
}
}
uses police-violate-action-grouping;
uses police-conform-action-grouping;
uses police-exceed-action-grouping;
}
uses police-action-grouping;
}
}
}
}
}
case priority-case {
container priority {
leaf level {
type uint8;
}
choice priority-type {
case kilo-bits {
leaf kilo-bits {
type uint32;
}
}
case percent {
leaf percent {
type uint16;
}
}
}
leaf burst {
type uint32;
}
}
}
case queue-buffers-case {
container queue-buffers {
leaf ratio {
type uint8;
}
}
}
case queue-limit-case {
container queue-limit {
leaf queue-limit-value {
type uint32;
}
leaf queue-limit-type {
type enumeration;
}
}
container queue-limit-dscp {
leaf dscp {
type empty;
}
leaf values {
type empty;
}
leaf-list sdcp-val {
type dscp-type;
}
leaf percent {
type uint8;
}
}
}
case random-detect {
container random-detect {
container aggregate {
leaf minimum-thresh {
type uint32;
}
leaf maximum-thresh {
type uint32;
}
leaf mark-probability {
type empty;
}
leaf denominator {
type uint32;
}
}
container discard-class {
leaf dclass {
type uint16;
}
leaf min-threshold {
type uint16;
}
leaf max-threshold {
type uint16;
}
leaf denominator {
type uint32;
}
uses random-detect-grouping;
}
leaf discard-class-based {
type empty;
}
leaf dscp-based {
type empty;
}
list dscp {
key "dscp-val"
leaf dscp-val {
type dscp-type;
}
leaf min-threshold {
type uint16;
}
leaf max-threshold {
type uint16;
}
leaf denominator {
type uint32;
}
uses random-detect-grouping;
}
leaf ecn {
type empty;
}
leaf exponential-weighting-constant {
type uint16;
}
leaf prec-based {
type empty;
}
container precedence {
leaf prec {
type precedence-type2;
}
leaf min-threshold {
type uint16;
}
leaf max-threshold {
type uint16;
}
leaf denominator {
type uint32;
}
uses random-detect-grouping;
}
}
}
case service-policy-case {
leaf service-policy {
type string;
}
}
case set-case {
container set {
leaf atm-clp {
type empty;
}
container cos {
choice cos-type {
case a {
leaf val {
type uint16;
}
}
case b {
leaf pack {
type enumeration;
}
leaf table {
type string;
}
}
}
}
leaf discard-class {
type uint16;
}
container dscp {
leaf tunnel {
type empty;
}
leaf dscp-val {
type dscp-type;
}
}
leaf fr-de {
type empty;
}
container ip {
choice ip-choice {
case dscp {
container dscp {
leaf tunnel {
type empty;
}
leaf dscp-val {
type dscp-type;
}
}
}
case precedence {
container precedence {
leaf precedence-val {
type precedence-type;
}
}
}
}
}
container mpls {
container experimental {
container imposition {
leaf exp-value {
type uint8;
}
}
container topmost {
leaf exp-value {
type uint8;
}
}
}
}
container qos-group {
leaf qos-group-value {
type uint8;
}
}
}
}
case shape-case {
container shape {
leaf adaptive {
type uint32;
}
container average {
choice average-choice {
case a {
leaf bit-rate {
type uint64;
}
leaf bits-per-interval-sustained {
type uint32;
}
leaf bits-per-interval-excess {
type uint32;
}
}
case b {
leaf percent {
type percentage-type;
}
leaf burst-size-sustained {
type uint16;
}
leaf ms {
type empty;
}
container bse {
leaf burst-size-excess {
type uint16;
}
leaf ms {
type empty;
}
}
}
}
}
leaf fecn-adapt {
type empty;
}
container fr-voice-adapt {
leaf deactivation {
type uint16;
}
}
leaf max-buffers {
type uint16;
}
}
}
case trust-case {
leaf trust {
type enumeration;
}
}
}
}
}
leaf description {
type string;
}
leaf sequence-interval {
type uint16;
}
}
The schema path to identify an instance is
ned/native/policy-map
To create instances of this class use PolicyMapBuilder.
PolicyMapBuilder,
PolicyMapKey| Modifier and Type | Interface and Description |
|---|---|
static class |
PolicyMap.Protocol |
static class |
PolicyMap.Type |
| Modifier and Type | Field and Description |
|---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Policy-Map description
|
PolicyMapKey |
getKey()
Returns Primary Key of Yang List Type
|
String |
getName() |
PolicyMap.Protocol |
getProtocol() |
Integer |
getSequenceInterval()
Enable sequence number capability
|
PolicyMap.Type |
getType()
type of the policy-map
|
List<Class> |
getXmlClass()
policy criteria
|
String getName()
java.lang.String name, or null if not presentPolicyMap.Type getType()
org.opendaylight.yang.gen.v1.urn.ios.rev160308._native.PolicyMap.Type type, or null if not presentPolicyMap.Protocol getProtocol()
org.opendaylight.yang.gen.v1.urn.ios.rev160308._native.PolicyMap.Protocol protocol, or null if not presentList<Class> getXmlClass()
java.util.List xmlClass, or null if not presentString getDescription()
java.lang.String description, or null if not presentInteger getSequenceInterval()
java.lang.Integer sequenceInterval, or null if not presentPolicyMapKey getKey()
getKey in interface org.opendaylight.yangtools.yang.binding.Identifiable<PolicyMapKey>org.opendaylight.yang.gen.v1.urn.ios.rev160308._native.PolicyMapKey key, or null if not presentCopyright © 2017 OpenDaylight. All rights reserved.