1 krisbash 1.1 // Copyright (c) 2012 DMTF. All rights reserved.
2 [Experimental, Version ( "2.32.0" ),
3 UMLPackagePath ( "CIM::Network" ),
4 Description ( "This class describes the network policy action." )]
5 class CIM_NetworkPolicyAction : CIM_Policy {
6
7 [Key, Override ( "InstanceID" ),
8 Description (
9 "InstanceID is an optional property that may be used to "
10 "opaquely and uniquely identify an instance of this class "
11 "within the scope of the instantiating Namespace. Various "
12 "subclasses of this class may override this property to "
13 "make it required, or a key. Such subclasses may also "
14 "modify the preferred algorithms for ensuring uniqueness "
15 "that are defined below.\n"
16 "To ensure uniqueness within the NameSpace, the value of "
17 "InstanceID should be constructed using the following "
18 "\"preferred\" algorithm: \n"
19 "<OrgID>:<LocalID> \n"
20 "Where <OrgID> and <LocalID> are separated by a colon "
21 "(:), and where <OrgID> must include a copyrighted, "
22 krisbash 1.1 "trademarked, or otherwise unique name that is owned by "
23 "the business entity that is creating or defining the "
24 "InstanceID or that is a registered ID assigned to the "
25 "business entity by a recognized global authority. (This "
26 "requirement is similar to the <Schema Name>_<Class Name> "
27 "structure of Schema class names.) In addition, to ensure "
28 "uniqueness, <OrgID> must not contain a colon (:). When "
29 "using this algorithm, the first colon to appear in "
30 "InstanceID must appear between <OrgID> and <LocalID>. \n"
31 "<LocalID> is chosen by the business entity and should "
32 "not be reused to identify different underlying "
33 "(real-world) elements. If not null and the above "
34 "\"preferred\" algorithm is not used, the defining entity "
35 "must assure that the resulting InstanceID is not reused "
36 "across any InstanceIDs produced by this or other "
37 "providers for the NameSpace of this instance. \n"
38 "If not set to null for DMTF-defined instances, the "
39 "\"preferred\" algorithm must be used with the <OrgID> "
40 "set to CIM." )]
41 string InstanceID;
42
43 krisbash 1.1 [Description (
44 "This describes the type of network policy action. If a "
45 "specific action as defined by an element of this array "
46 "requires additional information, then it is contained in "
47 "the corresponding indexed array element of ActionTypeValue.\n"
48 "Permit: this action allows the passing of the "
49 "corresponding packet. \n"
50 "Deny: this action drops the packet. \n"
51 "LoadBalance: this action implies the application of load "
52 "balancing rules. \n"
53 "ForwardOnly: implies the traffic forwarding to the "
54 "destination. \n"
55 "Persistence: this action implies the application of a "
56 "persistence policy. The LoadBalancingActionSettingData "
57 "may provide extra configuration information for this "
58 "action. \n"
59 "HealthCheck: this action implies the application of a "
60 "health check policy. The LoadBalancingActionSettingData "
61 "may provide extra configuration information for this action.\n"
62 "RewriteHTTPHeader: this action implies to rewrite a HTTP "
63 "Header inside the HTTP traffic. \n"
64 krisbash 1.1 "InsertHTTPHeader: this action implies the insertion of a "
65 "HTTP header inside the HTTP traffic. \n"
66 "CompressHTTP: this action implies the compression of the "
67 "HTTP traffic. \n"
68 "SSLProxy: this action implies the application of SSL to "
69 "the corresponding HTTP connection. \n"
70 "SourceNAT: this action implies that the origin address "
71 "of the request is translated. \n"
72 "DestinationNAT: this action implies that the destination "
73 "address of the request is translated. \n"
74 "SourceAndDestinationNAT: this action implies that the "
75 "origin and destination addresses of the request are "
76 "translated. \n"
77 "DirectRouting: this action implies the application of "
78 "Direct Routing request dispatching techniques, the "
79 "server sends the response directly to the sender. \n"
80 "PortTranslation: this action implies the application of "
81 "port address translation techniques." ),
82 ValueMap { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10",
83 "11", "12", "13", "14", "15", "16", "..", "32767..65535" },
84 Values { "Other", "Permit", "Deny", "LoadBalance",
85 krisbash 1.1 "ForwardOnly", "Persistence", "HealthCheck",
86 "RewriteHTTPHeader", "InsertHTTPHeader", "CompressHTTP",
87 "SSLProxy", "SourceNAT", "DestinationNAT",
88 "SourceAndDestinationNAT", "DirectRouting",
89 "PortTranslation", "DMTF Reserved", "Vendor Reserved" },
90 ArrayType ( "Indexed" )]
91 uint16 ActionType[];
92
93 [Description (
94 "An element of this array may not be NULL if the "
95 "corresponding ActionType array element contains value "
96 "\"Persistence\", \"InsertHTTPHeader\", "
97 "\"DeleteHTTPHeader\", or \"CompressHTTP\". An element of "
98 "this array contains HTTP header name if the "
99 "corresponding ActionType array element contains value "
100 "\"InsertHTTPHeader\", \"DeleteHTTPHeader\", or "
101 "\"CompressHTTP\". An element of this array contains "
102 "cookie name if the corresponding ActionType array "
103 "element contains value \"Persistence\".\n"
104 "ActionTypeValue for \"Persistent\" ActionType may "
105 "contain a cookie name or HTTP header in the "
106 krisbash 1.1 "corresponding ActionTypeValue." ),
107 ArrayType ( "Indexed" ),
108 ModelCorrespondence { "CIM_NetworkPolicyAction.ActionType" }]
109 string ActionTypeValue[];
110
111
112 };
|