module DIFFSERV-CONFIG-MIB {
yang-version 1;
namespace
"urn:ietf:params:xml:ns:yang:smiv2:DIFFSERV-CONFIG-MIB";
prefix diffserv-config;
import SNMP-FRAMEWORK-MIB {
prefix snmp-framework;
}
import SNMPv2-TC {
prefix smiv2;
}
import yang-smi {
prefix smi;
}
organization "SNMPCONF WG";
contact
"SNMPCONF Working Group
http://www.ietf.org/html.charters/snmpconf-charter.html
WG mailing list: snmpconf@snmp.com
Editors:
Harrie Hazewinkel
I.Net
via Darwin 85
20019 - Settimo Milanese (MI)
Italy
EMail: harrie@inet.it
David Partain
Ericsson AB
P.O. Box 1248
SE-581 12 Linkoping
Sweden
E-mail: David.Partain@ericsson.com";
description
"This MIB module contains differentiated services
specific managed objects to perform higher-level
configuration management. This MIB allows policies
to use 'templates' to instantiate Differentiated
Services functional datapath configurations to
be assigned (associated with an interface and
direction) when a policy is activated.
Copyright (C) The Internet Society (2004). This version
of this MIB module is part of RFC 3747; see the RFC
itself for full legal notices.";
revision "2004-01-22" {
description
"Initial version published as RFC 3747";
}
container diffServConfigMIBObjects {
smi:oid "1.3.6.1.2.1.108.1";
list diffServConfigEntry {
smi:oid "1.3.6.1.2.1.108.1.2.1";
key "diffServConfigId";
description
"An entry defining a per-hop-behavior. Each entry in
this table combines the various parameters (entries)
into a specific per-hop-behavior. Entries in this
table might be defined by a vendor (pre-configured)
or defined by a management application.";
leaf diffServConfigId {
smi:oid "1.3.6.1.2.1.108.1.2.1.1";
type snmp-framework:SnmpAdminString {
length "1..116";
}
description
"A unique id for the per-hop-behavior policy for at
least the SNMP agent. For ease of administration the
value may be unique within an administrative domain,
but this is not required.
The range of up to 116 octets is chosen to stay within
the SMI limit of 128 sub-identifiers in an object
identifier.";
}
leaf diffServConfigDescr {
smi:oid "1.3.6.1.2.1.108.1.2.1.2";
type snmp-framework:SnmpAdminString;
description
"A human-readable description to identify this defined
per-hop-behavior. Note that this is an SnmpAdminString,
which permits UTF-8 strings. An administratively assigned
identifier for a template that would be unique within
an administrative domain. It is up to the management
applications to agree how these are assigned within the
administrative domain. Once a description, such as
'EF' is assigned, that has a certain set of parameters
that achieve 'EF' from box to box. Management
application code or script code can then scan
the table to find the proper template and then
assign it.";
}
leaf diffServConfigOwner {
smi:oid "1.3.6.1.2.1.108.1.2.1.3";
type snmp-framework:SnmpAdminString;
description
"The owner who created this entry.";
}
leaf diffServConfigLastChange {
smi:oid "1.3.6.1.2.1.108.1.2.1.4";
type smiv2:DateAndTime;
config false;
description
"The date and time when this entry was last changed.";
}
leaf diffServConfigStart {
smi:default "zeroDotZero";
smi:oid "1.3.6.1.2.1.108.1.2.1.5";
type smiv2:RowPointer;
description
"The pointer to a functional datapath configuration template as
set up in the DIFFSERV-MIB. This RowPointer should
point to an instance of one of:
diffServClfrEntry
diffServMeterEntry
diffServActionEntry
diffServAlgDropEntry
diffServQEntry
A value of zeroDotZero in this attribute indicates no
further Diffserv treatment is performed on traffic of
this functional datapath. This also means that the
template described by this row is not defined.
If the row pointed to does not exist, the treatment
is as if this attribute contains a value of zeroDotZero.";
reference
"Differentiated Services MIB module";
}
leaf diffServConfigStorage {
smi:default "nonVolatile";
smi:oid "1.3.6.1.2.1.108.1.2.1.6";
type smiv2:StorageType;
description
"The type of storage used for this row.
Since an entry in this table serves as a starting
point for a configuration, it is recommended that
all entries comprising the configuration started by
diffServConfigStart follow the storage type of this
entry. Otherwise, after agent reboots a configuration
may differ. It may very well be that the agent is
not capable of detecting such changes and therefore,
the management application should verify the correct
configuration after a reboot. Rows with a StorageType
of 'permanent' do not need to allow write access to
any of the columnar objects in that row.";
}
leaf diffServConfigStatus {
smi:default "notInService";
smi:oid "1.3.6.1.2.1.108.1.2.1.7";
type smiv2:RowStatus;
description
"RowStatus object used for creation and deletion of
rows in this table. All writable objects in this row
may be modified at any time.";
}
} // list diffServConfigEntry
} // container diffServConfigMIBObjects
} // module DIFFSERV-CONFIG-MIB