Client RPC proto file for Policy RPCs. More...
RPC Calls | |
rpc | SLPolicy::SLPolicyOp (SLPolicyOpMsg) returns(SLPolicyOpRsp) |
Policy-object operations. More... | |
rpc | SLPolicy::SLPolicyGet (SLPolicyGetMsg) returns(stream SLPolicyGetMsgRsp) |
Retrieve all Policies and its rules and the interfaces where the policy is applied from the server. | |
rpc | SLPolicy::SLPolicyGlobalGet (SLPolicyGlobalGetMsg) returns(SLPolicyGlobalGetMsgRsp) |
Retrieve Global Policy capabilities. | |
Messages | |
message | SLPolicyOpMsg |
message | SLPolicyEntry |
Policy-map object. More... | |
message | PolicyRuleList |
List of rules. More... | |
message | PolicyIntfList |
List of interfaces. More... | |
message | SLPolicyKey |
message | SLPolicyRule |
Each rule in a policy is associated with a Rule name - that identifies a rule Priority - priority of the rule within the policy Match - Contains at least one or more match criteria. More... | |
message | SLRuleMatch |
Attributes to match within a rule in a policy. More... | |
message | SLDscpMatch |
Dscp match type Oneof is used here for future extensibility. More... | |
message | SLRuleAction |
Action applied on the packet that matches a rule. More... | |
message | SLPolicyIntf |
Policy intf object. More... | |
message | SLPolicyOpRsp |
message | SLPolicyRes |
message | SLPolicyRuleStatusList |
message | SLPolicyIntfStatusList |
message | SLPolicyRuleStatus |
message | SLPolicyIntfStatus |
message | SLPolicyGetMsg |
Get all the policies and the interfaces where it is applied. More... | |
message | SLPolicyInfo |
List of policies, rules and the interfaces where it is applied. More... | |
message | SLPolicyGetMsgRsp |
message | SLPolicyGlobalGetMsg |
Policy Global Get Capabilities Message. More... | |
message | SLPolicyGlobalGetMsgRsp |
Policy Global Get Capabilities Message Response. More... | |
Enumerations | |
enum | SLPolicyObjectOp { SL_OBJOP_POLICY_RESERVED = 0x0, SL_OBJOP_POLICY_ADD = 0x1, SL_OBJOP_POLICY_DELETE = 0x2, SL_OBJOP_RULE_ADD = 0x3, SL_OBJOP_RULE_DELETE = 0x4, SL_OBJOP_POLICY_APPLY = 0x5, SL_OBJOP_POLICY_UNAPPLY = 0x6 } |
Policy Object Operations. More... | |
enum | SLPolicyType { SL_PM_PTYPE_RESERVED = 0x0, SL_PM_PTYPE_PBR = 0x1 } |
Policy types supported. More... | |
enum | SLApplyDirection { SL_APPLY_TYPE_RESERVED = 0x0, SL_APPLY_DIRECTION_INGRESS = 0x1 } |
Direction of policy apply Only ingress supported for pbr policies. More... | |
Attributes | |
syntax = "proto3" | |
package | service_layer |
option | go_package ="github.com/Cisco-service-layer/service-layer-objmodel/grpc/protos;service_layer" |
Client RPC proto file for Policy RPCs.
Declares calls for adding, deleting, updating the policies and apply, unapply policies from interfaces.
Copyright (c) 2024 by Cisco Systems, Inc.