(file) Return to Network27_Filtering.mof CVS log (file) (dir) Up to [Pegasus] / pegasus / Schemas / CIMPrelim271

File: [Pegasus] / pegasus / Schemas / CIMPrelim271 / Attic / Network27_Filtering.mof (download)
Revision: 1.2, Thu Feb 24 20:47:25 2005 UTC (19 years, 3 months ago) by a.dunfey
Branch: MAIN
CVS Tags: TASK-PEP362_RestfulService-merged_out_from_trunk, TASK-PEP348_SCMO-merged_out_from_trunk, TASK-PEP317_pullop-merged_out_from_trunk, TASK-PEP317_pullop-merged_in_to_trunk, TASK-PEP311_WSMan-root, TASK-PEP311_WSMan-branch, RELEASE_2_5_0-RC1, HPUX_TEST, HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
PEP#: 215
TITLE: Remove old schemas

DESCRIPTION:

Removing old, unneeded schema files from the repository:

CIM 2.7
CIM 2.7.1 Preliminary
CIM 2.8 Preliminary
CIM 2.9 Preliminary

// ===================================================================
// Title:       Network Filtering 2.7
// Filename:    Network27_Filtering.mof
// Version:     2.7.0
// Status:      Preliminary
// Date:        07/31/2002
// ===================================================================
// Copyright 1998-2002 Distributed Management Task Force, Inc. (DMTF).
// All rights reserved.  
// DMTF is a not-for-profit association of industry members dedicated 
// to promoting enterprise and systems management and interoperability. 
// DMTF specifications and documents may be reproduced for uses
// consistent with this purpose by members and non-members, 
// provided that correct attribution is given. 
// As DMTF specifications may be revised from time to time, 
// the particular version and release date should always be noted.
//
// Implementation of certain elements of this standard or proposed 
// standard may be subject to third party patent rights, including 
// provisional patent rights (herein "patent rights"). DMTF makes 
// no representations to users of the standard as to the existence 
// of such rights, and is not responsible to recognize, disclose, or
// identify any or all such third party patent right, owners or 
// claimants, nor for any incomplete or inaccurate identification or 
// disclosure of such rights, owners or claimants. DMTF shall have no 
// liability to any party, in any manner or circumstance, under any 
// legal theory whatsoever, for failure to recognize, disclose, or 
// identify any such third party patent rights, or for such party's
// reliance on the standard or incorporation thereof in its product, 
// protocols or testing procedures. DMTF shall have no liability to 
// any party implementing such standard, whether such implementation 
// is foreseeable or not, nor to any patent owner or claimant, and shall 
// have no liability or responsibility for costs or losses incurred if 
// a standard is withdrawn or modified after publication, and shall be
// indemnified and held harmless by any party implementing the 
// standard from any and all claims of infringement by a patent owner 
// for such implementations.
//
// For information about patents held by third-parties which have 
// notified the DMTF that, in their opinion, such patent may relate to 
// or impact implementations of DMTF standards, visit 
// http://www.dmtf.org/about/policies/disclosures.php.
// ===================================================================
// Description: The Network Model extends the management concepts to
//              represent protocol interfaces and network/protocol 
//              services.  This file defines filtering - filter lists
//              and filter entries. 
//
//              The object classes below are listed in an order that
//              avoids forward references. Required objects, defined 
//              by other working groups, are omitted.
// ==================================================================
// Change Log for v2.7
// CR793 - Add the Abstract qualifier to FilterEntryBase and update 
//         the description
//       - Update the description for EntriesInFilterList.EntrySequence
//       - Deprecate FilterEntriesInSystem and FilterListInSystem
//       - Add HostedFilterEntryBase and HostedFilterList
//       - Add 8021Filter and PreambleFilter
//       - FilterEntry.TrafficType needs an Other value in its 
//         enumerated list, and an OtherTrafficType property should be 
//         defined  
// CR800 - Remove FilterEntry.TrafficClass' ModelCorrespondence
// CR849 - 8021Filter property names must be changed from 8021HdrXXX to
//         HdrXXX8021 to comply with the CIM Spec
// CR867 - Add Override qualifier to FilterEntryBase and 
//         FilterList.Name
// ===================================================================
 
#pragma Locale ("en_US")


// ===================================================================
// FilterEntryBase 
// ===================================================================
   [Abstract, Version ("2.7.0"), Description (
      "A FilterList aggregates instances of (subclasses of) "
      "FilterEntryBase via the aggregation EntriesInFilterList. "
      "The filter entries are always ANDed together when grouped "
      "by the FilterList. Note that it is possible to aggregate "
      "different types of filters into a single FilterList - "
      "for example, packet header filters (represented by the "
      "IpHeadersFilter class) and IPsec security filters. \n" 
      "\n"
      "A FilterList is weak to the network device (e.g., the "
      "ComputerSystem) that contains it. Hence, the ComputerSystem "
      "keys are propagated to this class.") ]
class CIM_FilterEntryBase : CIM_LogicalElement {

        [Propagated ("CIM_ComputerSystem.CreationClassName"), Key, 
         MaxLen (256), 
         Description (
         "The scoping ComputerSystem's CreationClassName.") ] 
    string SystemCreationClassName;

        [Propagated ("CIM_ComputerSystem.Name"), Key, MaxLen (256),
         Description (
         "The scoping ComputerSystem's Name.") ] 
    string SystemName;

        [Key, MaxLen (256), 
         Description (
         "CreationClassName indicates the name of the class or the "
         "subclass used in the creation of an instance. When used "
         "with the other key properties of this class, this property "
         "allows all instances of this class and its subclasses to "
         "be uniquely identified.") ]
    string CreationClassName;

        [Override ("Name"), Key, MaxLen (256), 
         Description (
         "The Name property defines the label by which the Filter"
         "Entry is known and uniquely identified.") ] 
    string Name;

        [Description (
          "Boolean indicating that the match condition described "
          "in the properties of the FilterEntryBase subclass "
          "should be negated.") ]
    boolean IsNegated;
};


// ==================================================================
// FilterEntry
// ==================================================================
   [Version ("2.7.0"), Description (
      "A FilterEntry is used by network devices to identify "
      "traffic and either forward it (with possibly further "
      "processing) to its destination, or to deny its "
      "forwarding. It is one of the building block of "
      "FilterLists. \n"
      "\n"
      "This class is oriented towards packet filtering. Other "
      "subclasses of FilterEntryBase can be defined to do other "
      "types of filtering. \n"
      "\n"
      "A FilterEntry is weak to the network device (i.e., the "
      "ComputerSystem) that contains it. Hence, the ComputerSystem "
      "keys are propagated to this class.") ]
class CIM_FilterEntry : CIM_FilterEntryBase {

        [Description (
         "This defines the type of traffic that is being filtered. "
         "This will affect the filtering rules in the MatchCondition "
         "property of this class."),
         ValueMap {"0", "1", "2", "3", "4", "5"},
         Values {"Unknown", "IPv4", "IPX", "IPv6", "Any", "Other"},
         ModelCorrespondence {"CIM_FilterEntry.OtherTrafficType"} ]
    uint16 TrafficType;

        [Description (
         "If the value of the TrafficType property in this "
         "class is 5 (i.e., \"Other\"), then the specific type of "
         "traffic is specified in this property."),
         ModelCorrespondence {"CIM_FilterEntry.TrafficType"} ]
    string OtherTrafficType;

        [Description (
         "This specifies one of a set of ways to identify traffic. "
         "If the value is 1 (i.e., \"Other\"), then the specific "
         "type of filtering is specified in the "
         "OtherMatchConditionType property of this class."),
         ValueMap {"1", "2", "3", "4", "5", "6", "7", "8", "9",
            "10", "11", "12", "13"},
         Values {"Other", "Source Address and Mask",
            "Destination Address and Mask", "Source Port",
            "Source Port Range", "Destination Port",
            "Destination Port Range", "Protocol Type",
            "Protocol Type and Option", "DSCP", "ToS Value",
            "802.1P Priority Value", "Any"},
         ModelCorrespondence { 
            "CIM_FilterEntry.OtherMatchConditionType"} ]
    uint16 MatchConditionType;

        [Description (
         "If the value of the MatchConditionType property in this "
         "class is 1 (i.e., \"Other\"), then the specific type of "
         "filtering is specified in this property."),
         ModelCorrespondence { 
            "CIM_FilterEntry.MatchConditionType"} ]
    string OtherMatchConditionType;

        [Description (
         "This is the value of the condition that filters the "
         "traffic. It corresponds to the condition specified in the "
         "MatchConditionType property. If, however, the value of the "
         "MatchConditionProperty is 1, then it corresponds to the "
         "condition specified in the OtherMatchConditionType "
         "property.") ]
    string MatchConditionValue;
 
        [Description (
         "This defines whether the action should be to forward or "
         "deny traffic meeting the match condition specified in "
         "this filter."),
         ValueMap {"1", "2"},
         Values {"Permit", "Deny"} ]
    uint16 Action;

        [Description (
         "This defines whether this FilterEntry is the default "
         "entry to use by its FilterList.") ]
    boolean DefaultFilter;

        [Description (
         "This defines the traffic class that is being matched by "
         "this FilterEntry. Note that FilterEntries are aggregated "
         "into FilterLists by the EntriesInFilterList "
         "relationship. If the EntrySequence property of the "
         "aggregation is set to 0, this means that all the Filter"
         "Entries should be ANDed together. Consequently, the "
         "TrafficClass property of each of the aggregated Entries "
         "should be set to the same value.") ]
    string TrafficClass;
}; 


// =================================================================== 
// IPHeadersFilter 
// =================================================================== 
   [Version ("2.6.0"), Description (
      "IPHeadersFilter contains the most commonly " 
      "required properties for performing filtering on IP, TCP or " 
      "UDP headers. Properties not present in an instance of the " 
      "IPHeadersFilter are treated as 'all values'.") ] 
class CIM_IPHeadersFilter : CIM_FilterEntryBase {
 
        [Description (
         "HdrIPVersion identifies the version of the IP "
         "addresses for IP header filters. It is also used to "
         "determine the sizes of the OctetStrings in the six "
         "properties HdrSrcAddress, HdrSrcAddressEndOfRange, "
         "HdrSrcMask, HdrDestAddress, HdrDestAddressEndOfRange "
         "and HdrDestMask, as follows: \n"
         "ipv4(4): OctetString(SIZE (4)) \n"
         "ipv6(6): OctetString(SIZE (16|20)), \n"
         "depending on whether a scope identifier is present. \n"
         "\n"
         "If a value for this property is not provided, then the "
         "filter does not consider IP version in selecting matching "
         "packets, i.e., IP version matches for all values. In this "
         "case, the HdrSrcAddress, HdrSrcAddressEndOfRange, "
         "HdrSrcMask, HdrDestAddress, HdrDestAddressEndOfRange and "
         "HdrDestMask must also be not present."),
         ValueMap {"4", "6"},
         Values {"IPv4", "IPv6"},
         ModelCorrespondence {"CIM_IPHeadersFilter.HdrSrcAddress",
            "CIM_IPHeadersFilter.HdrSrcAddressEndOfRange",
            "CIM_IPHeadersFilter.HdrSrcMask",
            "CIM_IPHeadersFilter.HdrDestAddress",
            "CIM_IPHeadersFilter.HdrDestAddressEndOfRange",
            "CIM_IPHeadersFilter.HdrDestMask"} ]
    uint8 HdrIPVersion;

        [OctetString, Description (
         "HdrSrcAddress is an OctetString, of a size "
         "determined by the value of the HdrIPVersion property, "
         "representing a source IP address. When there is no "
         "HdrSrcAddressEndOfRange value, this value is compared to "
         "the source address in the IP header, subject to the mask "
         "represented in the HdrSrcMask property. (Note that the "
         "mask is ANDed with the address.) When there is a "
         "HdrSrcAddressEndOfRange value, this value is the start of "
         "the specified range (i.e., the HdrSrcAddress is lower than "
         "the HdrSrcAddressEndOfRange) that is compared to the source "
         "address in the IP header and matches on any value in the "
         "range. \n"
         "\n"
         "If a value for this property is not provided, then the "
         "filter does not consider HdrSrcAddress in selecting "
         "matching packets, i.e., HdrSrcAddress matches for all "
         "values."), 
         ModelCorrespondence {"CIM_IPHeadersFilter.HdrIPVersion"} ]
    uint8 HdrSrcAddress[];

        [OctetString, Description (
         "HdrSrcAddressEndOfRange is an OctetString, of "
         "a size determined by the value of the HdrIPVersion property, "
         "representing the end of a range of source IP addresses "
         "(inclusive), where the start of the range is the "
         "HdrSrcAddress property value. \n"
         "\n"
         "If a value for HdrSrcAddress is not provided, then this "
         "property also MUST NOT be provided. If a value for this "
         "property is provided, then HdrSrcMask MUST NOT be provided."), 
         ModelCorrespondence {"CIM_IPHeadersFilter.HdrIPVersion"} ]
    uint8 HdrSrcAddressEndOfRange[];

        [OctetString, Description (
         "HdrSrcMask is an OctetString, of a size "
         "determined by the value of the HdrIPVersion property, "
         "representing a mask to be used in comparing the source "
         "address in the IP header with the value represented in "
         "the HdrSrcAddress property. \n"
         "\n"
         "If a value for this property is not provided, then the "
         "filter does not consider HdrSrcMask in selecting "
         "matching packets, i.e., the value of the HdrSrcAddress or "
         "the source address range must match the source address "
         "in the packet exactly. If a value for this "
         "property is provided, then HdrSrcAddressEndOfRange "
         "MUST NOT be provided."), 
         ModelCorrespondence {"CIM_IPHeadersFilter.HdrIPVersion"} ]
    uint8 HdrSrcMask[];

        [OctetString, Description (
         "HdrDestAddress is an OctetString, of a size "
         "determined by the value of the HdrIPVersion property, "
         "representing a destination IP address. When there is no "
         "HdrDestAddressEndOfRange value, this value is compared to "
         "the destination address in the IP header, subject to the "
         "mask represented in the HdrDestMask property. (Note that "
         "the mask is ANDed with the address.) When there is a "
         "HdrDestAddressEndOfRange value, this value is the start of "
         "the specified range (i.e., the HdrDestAddress is lower than "
         "the HdrDestAddressEndOfRange) that is compared to the source "
         "address in the IP header and matches on any value in the "
         "range. \n"
         "\n"
         "If a value for this property is not provided, then the "
         "filter does not consider HdrDestAddress in selecting "
         "matching packets, i.e., HdrDestAddress matches for all "
         "values."), 
         ModelCorrespondence {"CIM_IPHeadersFilter.HdrIPVersion"} ]
    uint8 HdrDestAddress[];

        [OctetString, Description (
         "HdrDestAddressEndOfRange is an OctetString, of "
         "a size determined by the value of the HdrIPVersion property, "
         "representing the end of a range of destination IP addresses "
         "(inclusive), where the start of the range is the "
         "HdrDestAddress property value. \n"
         "\n"
         "If a value for HdrDestAddress is not provided, then this "
         "property also MUST NOT be provided. If a value for this "
         "property is provided, then HdrDestMask MUST NOT be provided."), 
         ModelCorrespondence {"CIM_IPHeadersFilter.HdrIPVersion"} ]
    uint8 HdrDestAddressEndOfRange[];

        [OctetString, Description (
         "HdrDestMask is an OctetString, of a size "
         "determined by the value of the HdrIPVersion property, "
         "representing a mask to be used in comparing the destination "
         "address in the IP header with the value represented in the "
         "HdrDestAddress property. \n"
         "\n"
         "If a value for this property is not provided, then the "
         "filter does not consider HdrDestMask in selecting "
         "matching packets, i.e., the value of the HdrDestAddress or "
         "the destination address range must match the destination "
         "address in the packet exactly. If a value for this "
         "property is provided, then HdrDestAddressEndOfRange "
         "MUST NOT be provided."), 
         ModelCorrespondence {"CIM_IPHeadersFilter.HdrIPVersion"} ]
    uint8 HdrDestMask[];

        [Description (
         "HdrProtocolID is an 8-bit unsigned integer, "
         "representing an IP protocol type. This value is compared "
         "to the Protocol field in the IP header. \n"
         "\n"
         "If a value for this property is not provided, then the "
         "filter does not consider HdrProtocolID in selecting "
         "matching packets, i.e., HdrProtocolID matches for all "
         "values.") ]
    uint8 HdrProtocolID;

        [Description (
         "HdrSrcPortStart represents the lower end of "
         "a range of UDP or TCP source ports. The upper end of the "
         "range is represented by the HdrSrcPortEnd property. "
         "The value of HdrSrcPortStart MUST be no greater than the "
         "value of HdrSrcPortEnd. \n"
         "\n"
         "A source port filter is evaluated by testing whether the "
         "source port identified in the IP header falls within the "
         "range of values between HdrSrcPortStart and HdrSrcPortEnd, "
         "INCLUDING these two end points. \n"
         "\n"
         "If a value for this property is not provided, then the "
         "filter does not consider HdrSrcPortStart in selecting "
         "matching packets, i.e., there is no lower bound in "
         "matching source port values.") ]
    uint16 HdrSrcPortStart;

        [Description (
         "HdrSrcPortEnd represents the upper end of a "
         "range of UDP or TCP source ports. The lower end of the "
         "range is represented by the HdrSrcPortStart property. The "
         "value of HdrSrcPortEnd MUST be no less than the value of "
         "HdrSrcPortStart. A single port is indicated by equal values "
         "for HdrSrcPortStart and HdrSrcPortEnd. \n"
         "\n"
         "A source port filter is evaluated by testing whether the "
         "source port identified in the IP header falls within the "
         "range of values between HdrSrcPortStart and HdrSrcPortEnd, "
         "INCLUDING these two end points. \n"
         "\n"
         "If a value for this property is not provided, then the "
         "filter does not consider HdrSrcPortEnd in selecting "
         "matching packets, i.e., there is no upper bound in "
         "matching source port values.") ]
    uint16 HdrSrcPortEnd;

        [Description (
         "HdrDestPortStart represents the lower end of "
         "a range of UDP or TCP destination ports. The upper end of "
         "the range is represented by the HdrDestPortEnd property. "
         "The value of HdrDestPortStart MUST be no greater than the "
         "value of HdrDestPortEnd. A single port is indicated by " 
         "equal values for HdrDestPortStart and HdrDestPortEnd. \n"
         "\n"
         "A destination port filter is evaluated by testing whether "
         "the destination port identified in the IP header falls "
         "within the range of values between HdrDestPortStart and "
         "HdrDestPortEnd, INCLUDING these two end points. \n"
         "\n"
         "If a value for this property is not provided, then the "
         "filter does not consider HdrDestPortStart in selecting "
         "matching packets, i.e., there is no lower bound in "
         "matching destination port values.") ]
    uint16 HdrDestPortStart;

        [Description (
         "HdrDestPortEnd represents the upper end of a "
         "range of UDP or TCP destination ports. The lower end of the "
         "range is represented by the HdrDestPortStart property. The "
         "value of HdrDestPortEnd MUST be no less than the value of "
         "HdrDestPortStart. A single port is indicated by equal "
         "values for HdrDestPortStart and HdrDestPortEnd. \n"
         "\n"
         "A destination port filter is evaluated by testing whether "
         "the destination port identified in the IP header falls "
         "within the range of values between HdrDestPortStart and "
         "HdrDestPortEnd, INCLUDING these two end points. \n"
         "\n"
         "If a value for this property is not provided, then the "
         "filter does not consider HdrDestPortEnd in selecting "
         "matching packets, i.e., there is no upper bound in "
         "matching destination port values.") ]
    uint16 HdrDestPortEnd;

        [MaxValue (63), Description (
         "HdrDSCP is defined as a set of discrete "
         "DiffServ code points, with no inherent structure. There "
         "is no semantically significant relationship between "
         "different HdrDSCPs. Consequently, there is no "
         "provision for specifying a range of HdrDSCPs. \n"
         "\n"
         "Since, in IPv4, the HdrDSCP field may contain bits "
         "to be interpreted as the TOS IP Precedence, this "
         "property is also used to filter on IP Precedence. "
         "Similarly, the IPv6 Traffic Class field is also "
         "filtered using the value(s) in this property. \n"
         "\n"
         "HdrDSCP is defined as an array, to provide the "
         "ability to specify several discrete DSCPs in a single "
         "instance of IPHeadersFilter, that would be OR'ed "
         "together to define the filter criteria. \n"
         "\n"
         "If a value for this property is not provided, then the "
         "filter does not consider HdrDSCP in selecting matching "
         "packets, i.e., HdrDSCP matches for all values.") ]
    uint8 HdrDSCP[];

        [OctetString, Description (
         "The 20-bit Flow Label field in the IPv6 header "
         "may be used by a source to label sequences of packets for "
         "which it requests special handling by the IPv6 devices, such "
         "as non-default quality of service or 'real-time' service. "
         "In the filter, this 20-bit string is encoded in a 24-bit " 
         "octetstring by right-adjusting the value and padding on "
         "the left with b'0000'. \n"
         "\n"
         "If a value for this property is not provided, then the "
         "filter does not consider HdrFlowLabel in selecting matching "
         "packets, i.e., HdrFlowLabel matches for all values.") ]
    uint8 HdrFlowLabel[];
}; 

    
// ==================================================================
// 8021Filter
// ==================================================================
   [Experimental, Version ("2.7.0"), Description (
      "8021Filter allows 802.1.source and destination MAC addresses, "
      "as well as the 802.1 protocol ID, priority, and VLAN "
      "identifier fields, to be expressed in a single object to "
      "classify and identify traffic.") ]
class CIM_8021Filter : CIM_FilterEntryBase {

        [OctetString, Description (
         "This property is an OctetString of size 6, representing "
         "a 48-bit source MAC address in canonical format. This "
         "value is compared to the SourceAddress field in the "
         "MAC header, subject to the mask represented in the "
         "8021HdrSrcMACMask property. If a value for this "
         "property is not provided, then the filter does not "
         "consider 8021HdrSrcMACAddr in selecting matching packets, "
         "i.e., 8021HdrSrcMACAddr matches for all values.") ]
    uint8 HdrSrcMACAddr8021[6];

        [OctetString, Description (
         "This property is an OctetString of size 6, representing "
         "a 48-bit mask to be used in comparing the SourceAddress "
         "field in the MAC header with the value represented in "
         "the 8021HdrSrcMACAddr property. If a value for this "
         "property is not provided, then the filter does not "
         "consider 8021HdrSrcMACMask in selecting matching packets, "
         "i.e., the value of 8021HdrSrcMACAddr must match the source "
         "MAC address in the packet exactly.") ]
    uint8 HdrSrcMACMask8021[6];

        [OctetString, Description (
         "This property is an OctetString of size 6, representing "
         "a 48-bit destination MAC address in canonical format. This "
         "value is compared to the DestinationAddress field in the "
         "MAC header, subject to the mask represented in the "
         "8021HdrDestMACMask property. If a value for this "
         "property is not provided, then the filter does not "
         "consider 8021HdrDestMACAddr in selecting matching packets, "
         "i.e., 8021HdrDestMACAddr matches for all values.") ]
    uint8 HdrDestMACAddr8021[6];

        [OctetString, Description (
         "This property is an OctetString of size 6, representing "
         "a 48-bit mask to be used in comparing the DestinationAddress "
         "field in the MAC header with the value represented in "
         "the 8021HdrDestMACAddr property. If a value for this "
         "property is not provided, then the filter does not "
         "consider 8021HdrDestMACMask in selecting matching packets, "
         "i.e., the value of 8021HdrDestMACAddr must match the "
         "destination MAC address in the packet exactly.") ]
    uint8 HdrDestMACMask8021[6];

        [Description (
         "This property is a 16-bit unsigned integer, representing "
         "an Ethernet protocol type. This value is compared to the "
         "Ethernet Type field in the 802.3 MAC header. If a value "
         "for this property is not provided, then the filter does not "
         "consider 8021HdrProtocolID in selecting matching packets, "
         "i.e., 8021HdrProtocolID matches for all values.") ]
    uint16 HdrProtocolID8021;

        [MinValue (0), MaxValue (7), Description (
         "This property is an 8-bit unsigned integer, representing "
         "an 802.1Q priority. This value is compared to the Priority "
         "field in the 802.1Q header. Since the 802.1Q Priority field "
         "consists of 3 bits, the values for this property are "
         "limited to the range 0..7. If a value for this property "
         "is not provided, then the filter does not consider "
         "8021HdrPriorityValue in selecting matching packets, i.e., "
         "8021HdrPriorityValue matches for all values.") ]
    uint8 HdrPriorityValue8021;

        [MinValue (0), MaxValue (4095), Description (
         "This property is an 32-bit unsigned integer, representing an "
         "802.1Q VLAN Identifier. This value is compared to the VLAN "
         "ID field in the 802.1Q header. Since the 802.1Q VLAN ID field "
         "consists of 12 bits, the values for this property are limited "
         "to the range 0..4095. If a value for this property is not "
         "provided, then the filter does not consider 8021HdrVLANID in "
         "selecting matching packets, i.e., 8021HdrVLANID matches for "
         "all values.") ]
    uint32 HdrVLANID8021;
};


// ==================================================================
// PreambleFilter
// ==================================================================
   [Experimental, Version ("2.7.0"), Description (
      "PreambleFilter allows the classification of packets "
      "using traffic-conditioning results (where the results are "
      "determined by a PreambleMarkerService and stored in a "
      "'packet preamble'). This permits information "
      "about the treatment that a packet receives on an ingress "
      "interface to be communicated along with the packet to the "
      "egress interface. An instance of PreambleFilter selects "
      "packets based on a two-part string (type and value pair) "
      "identifying a specific entry in the preamble. The logic "
      "for this match is 'at least one.' That is, a packet with "
      "multiple entries/results in its preamble matches "
      "a filter if at least one of these matches the filter.") ]
class CIM_PreambleFilter : CIM_FilterEntryBase {

        [Description  (
         "To foster interoperability, the basic format of the "
         "information captured by a PreambleMarker is specified. "
         "That information is contained in the FilterItemList "
         "property (an ordered, string array). Each entry in the "
         "array takes the form 'type,value'. When entries are added, "
         "they are appended to the end of the list. \n"
         "\n"
         "A limited set of standardized 'type's exist. They are: \n"
         "   - ConformingFromMeter, NonConformingFromMeter and "
         "PartConformingFromMeter to convey metering results "
         "(where the 'value' is the name of the meter) \n"
         "   - VlanId to describe the traffic's VLAN information "
         "(where the 'value' is the VLAN ID). \n"
         "  An implementation is free to define and use other "
         "preamble 'types'. \n"
         "\n"          
         "Note that a wildcard value of \"any\" is allowed to "
         "indicate that the preamble entry matches for any 'value' "
         "of the specified 'type'. For example, using the wildcard, "
         "an administrator can define a filter to select all "
         "packets that were found to be conforming ('type' = "
         "\"ConformingFromMeter\") without having to name each "
         "meter individually."),
         ArrayType ("Ordered") ]
    string FilterItemList[];
};


// ==================================================================
// FilterList
// ==================================================================
   [Version ("2.7.0"), Description (
      "A FilterList is used by network devices to identify routes "
      "by aggregating a set of FilterEntries into a unit, called a "
      "FilterList. FilterLists can also be used to accept or deny "
      "routing updates. \n" 
      "\n"
      "A FilterList is weak to the network device (i.e., the "
      "ComputerSystem) that contains it. Hence, the ComputerSystem "
      "keys are propagated to this class.") ]
class CIM_FilterList : CIM_LogicalElement {

        [Propagated ("CIM_ComputerSystem.CreationClassName"), Key, 
         MaxLen (256), Description (
         "The scoping ComputerSystem's CreationClassName.") ] 
    string SystemCreationClassName;

        [Propagated ("CIM_ComputerSystem.Name"), Key, MaxLen (256),
         Description ("The scoping ComputerSystem's Name.") ] 
    string SystemName;

        [Key, Description (
         "The type of class that this instance is.") ]
    string CreationClassName;

        [Override ("Name"), Key, MaxLen(256), Description (
         "This is the name of the FilterList.") ]
    string Name;

        [Description (
         "This defines whether the FilterList is used "
         "for input, output, or both input and output "
         "filtering. All values are used with respect to "
         "the interface for which the FilterList applies. \n"
         "\n" 
         "\"Not Applicable\" (0) is used when there is no "
         "direction applicable to the FilterList. "
         "\"Input\" (1) is used when the FilterList applies "
         "to packets that are inbound on the related "
         "interface. "
         "\"Output\" (2) is used when the FilterList applies "
         "to packets that are outbound on the related "
         "interface. "
         "\"Both\" (3) is used to indicate that "
         "the direction is immaterial, e.g., to filter on "
         "a source subnet regardless of whether the flow is "
         "inbound or outbound. "
         "\"Mirrored\" (4) is also applicable to "
         "both inbound and outbound flow processing, but "
         "indicates that the filter criteria are applied "
         "asymmetrically to traffic in both directions "
         "and, thus, specifies the reversal of source and "
         "destination criteria (as opposed to the equality "
         "of these criteria as indicated by \"Both\"). "
         "The match conditions in the aggregated "
         "FilterEntryBase subclass instances are defined "
         "from the perspective of outbound flows and applied "
         "to inbound flows as well by reversing the source "
         "and destination criteria. So, for example, "
         "consider a FilterList with 3 FilterEntries "
         "indicating destination port = 80, and source and "
         "destination addresses of a and b, respectively. "
         "Then, for the outbound direction, the filter "
         "entries match as specified and the 'mirror' (for "
         "the inbound direction) matches on source "
         "port = 80 and source and destination addresses "
         "of b and a, respectively."),
         ValueMap {"0", "1", "2", "3", "4"}, 
         Values {"Not Applicable", "Input", "Output",
            "Both", "Mirrored"} ]
    uint16 Direction;
};


// ==================================================================
// FilterEntryInSystem
// ==================================================================
   [Association, Aggregation, Version ("2.7.0"), 
    Deprecated {"CIM_HostedFilterEntryBase"}, 
    Description (
      "All filter entries (FilterEntryBase and its subclasses) "
      "are defined in the context of a ComputerSystem/network "
      "device, where they are used to identify and act on network "
      "traffic. Note that this class is deprecated since its "
      "subclassing is not correct. It subclasses from System"
      "Component, but a FilterEntryBase is NOT a Component of a "
      "System. Instead, it is hosted/scoped by the System. "
      "In versions up to CIM 2.6, FilterEntryInSystem was a "
      "mandatory, Weak relationship. This is no longer true, "
      "beginning with CIM V2.7.") ]
class CIM_FilterEntryInSystem : CIM_SystemComponent {

        [Override ("GroupComponent"), Aggregate, Max (1), 
         Deprecated {"CIM_HostedFilterEntryBase.Antecedent"}, 
         Description (
         "The ComputerSystem/network device that scopes the "
         "FilterEntryBase.") ]
    CIM_ComputerSystem REF GroupComponent;

        [Override ("PartComponent"), 
         Deprecated {"CIM_HostedFilterEntryBase.Dependent"}, 
         Description (
         "The FilterEntryBase on the System.") ]
    CIM_FilterEntryBase REF PartComponent;
};


// ==================================================================
// FilterListInSystem
// ==================================================================
   [Association, Aggregation, Version ("2.7.0"),
    Deprecated {"CIM_HostedFilterList"}, 
    Description (
      "FilterLists are defined in the context of a ComputerSystem "
      "(e.g., a router, firewall or host). Note that this class is "
      "deprecated since its subclassing is not correct. It "
      "subclasses from SystemComponent, but a FilterList is "
      "NOT a Component of a System. Instead, it is hosted/scoped "
      "by the System. In versions up to CIM 2.6, FilterListInSystem "
      "was a mandatory, Weak relationship. This is no longer true, "
      "beginning with CIM V2.7.") ]
class CIM_FilterListInSystem : CIM_SystemComponent {

        [Override ("GroupComponent"), Aggregate, Max (1),
         Deprecated {"CIM_HostedFilterList.Antecedent"}, 
         Description (
         "The ComputerSystem/network device that scopes the "
         "FilterList and administers it.") ]
    CIM_ComputerSystem REF GroupComponent;

        [Override ("PartComponent"), 
         Deprecated {"CIM_HostedFilterList.Dependent"}, 
         Description (
         "The FilterList on the System.") ]
    CIM_FilterList REF PartComponent; 
};


// ==================================================================
// HostedFilterEntryBase
// ==================================================================
   [Association, Experimental, Version ("2.7.0"), 
    Description (
      "All filter entries (FilterEntryBase and its subclasses) "
      "are defined in the context of a ComputerSystem/network "
      "device, where the filter entries are used and administered.") ]
class CIM_HostedFilterEntryBase : CIM_Dependency {

        [Override ("Antecedent"), Min (1), Max (1), 
         Description (
         "The ComputerSystem/network device that scopes the "
         "FilterEntryBase.") ]
    CIM_ComputerSystem REF Antecedent;

        [Override ("Dependent"), Weak, Description (
         "The FilterEntryBase on the System.") ]
    CIM_FilterEntryBase REF Dependent;
};


// ==================================================================
// HostedFilterList
// ==================================================================
   [Association, Experimental, Version ("2.7.0"), 
    Description (
      "FilterLists are defined in the context of a ComputerSystem/"
      "network device, where the list is used and administered.") ]
class CIM_HostedFilterList : CIM_Dependency {

        [Override ("Antecedent"), Min (1), Max (1), 
         Description (
         "The ComputerSystem/network device that scopes the "
         "FilterList.") ]
    CIM_ComputerSystem REF Antecedent;

        [Override ("Dependent"), Weak, Description (
         "The FilterList on the System.") ]
    CIM_FilterList REF Dependent; 
};


// ==================================================================
// EntriesInFilterList
// ==================================================================
   [Association, Aggregation, Version ("2.7.0"), 
    Description (
      "This is a specialization of the CIM_Component aggregation "
      "which is used to define a set of filter entries (subclasses "
      "of FilterEntryBase) that are aggregated by a particular "
      "FilterList.") ]
class CIM_EntriesInFilterList : CIM_Component {

        [Override ("GroupComponent"), Aggregate, Max (1), 
         Description (
         "The FilterList, which aggregates the set "
         "of FilterEntries.") ] 
    CIM_FilterList REF GroupComponent;

        [Override ("PartComponent"), 
         Description (
         "Any subclass of FilterEntryBase which is a part of "
         "the FilterList.") ] 
    CIM_FilterEntryBase REF PartComponent;

        [ValueMap {"0"}, Description (
          "The order of the Entry relative to all others in the "
          "FilterList. The only permissible value is zero - "
          "indicating that all the Entries are ANDed together.") ]
    uint16 EntrySequence = 0;
};


// ===================================================================
// end of file
// ===================================================================

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2