William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 | // source: voltha_protos/voltha.proto |
| 3 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 4 | package voltha |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 5 | |
| 6 | import ( |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 7 | context "context" |
| 8 | fmt "fmt" |
| 9 | proto "github.com/golang/protobuf/proto" |
| 10 | empty "github.com/golang/protobuf/ptypes/empty" |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 11 | common "github.com/opencord/voltha-protos/v3/go/common" |
| 12 | omci "github.com/opencord/voltha-protos/v3/go/omci" |
| 13 | openflow_13 "github.com/opencord/voltha-protos/v3/go/openflow_13" |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 14 | _ "google.golang.org/genproto/googleapis/api/annotations" |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 15 | grpc "google.golang.org/grpc" |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 16 | math "math" |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 17 | ) |
| 18 | |
| 19 | // Reference imports to suppress errors if they are not otherwise used. |
| 20 | var _ = proto.Marshal |
| 21 | var _ = fmt.Errorf |
| 22 | var _ = math.Inf |
| 23 | |
| 24 | // This is a compile-time assertion to ensure that this generated file |
| 25 | // is compatible with the proto package it is being compiled against. |
| 26 | // A compilation error at this line likely means your copy of the |
| 27 | // proto package needs to be updated. |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 28 | const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 29 | |
| 30 | // ChildNode from public import voltha_protos/meta.proto |
| 31 | type ChildNode = common.ChildNode |
| 32 | |
| 33 | // Access from public import voltha_protos/meta.proto |
| 34 | type Access = common.Access |
| 35 | |
| 36 | var Access_name = common.Access_name |
| 37 | var Access_value = common.Access_value |
| 38 | |
| 39 | const Access_CONFIG = Access(common.Access_CONFIG) |
| 40 | const Access_READ_ONLY = Access(common.Access_READ_ONLY) |
| 41 | const Access_REAL_TIME = Access(common.Access_REAL_TIME) |
| 42 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 43 | var E_ChildNode = common.E_ChildNode |
| 44 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 45 | var E_Access = common.E_Access |
| 46 | |
| 47 | // ID from public import voltha_protos/common.proto |
| 48 | type ID = common.ID |
| 49 | |
| 50 | // IDs from public import voltha_protos/common.proto |
| 51 | type IDs = common.IDs |
| 52 | |
| 53 | // LogLevel from public import voltha_protos/common.proto |
| 54 | type LogLevel = common.LogLevel |
| 55 | |
Scott Baker | 99af94e | 2019-08-20 10:45:06 -0700 | [diff] [blame] | 56 | // Logging from public import voltha_protos/common.proto |
| 57 | type Logging = common.Logging |
| 58 | |
| 59 | // LoggingComponent from public import voltha_protos/common.proto |
| 60 | type LoggingComponent = common.LoggingComponent |
| 61 | |
| 62 | // Loggings from public import voltha_protos/common.proto |
| 63 | type Loggings = common.Loggings |
| 64 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 65 | // AdminState from public import voltha_protos/common.proto |
| 66 | type AdminState = common.AdminState |
| 67 | |
| 68 | // OperStatus from public import voltha_protos/common.proto |
| 69 | type OperStatus = common.OperStatus |
| 70 | |
| 71 | // ConnectStatus from public import voltha_protos/common.proto |
| 72 | type ConnectStatus = common.ConnectStatus |
| 73 | |
| 74 | // OperationResp from public import voltha_protos/common.proto |
| 75 | type OperationResp = common.OperationResp |
| 76 | |
| 77 | // TestModeKeys from public import voltha_protos/common.proto |
| 78 | type TestModeKeys = common.TestModeKeys |
| 79 | |
| 80 | var TestModeKeys_name = common.TestModeKeys_name |
| 81 | var TestModeKeys_value = common.TestModeKeys_value |
| 82 | |
| 83 | const TestModeKeys_api_test = TestModeKeys(common.TestModeKeys_api_test) |
| 84 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 85 | // LogLevel_Types from public import voltha_protos/common.proto |
| 86 | type LogLevel_Types = common.LogLevel_Types |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 87 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 88 | var LogLevel_Types_name = common.LogLevel_Types_name |
| 89 | var LogLevel_Types_value = common.LogLevel_Types_value |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 90 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 91 | const LogLevel_DEBUG = LogLevel_Types(common.LogLevel_DEBUG) |
| 92 | const LogLevel_INFO = LogLevel_Types(common.LogLevel_INFO) |
| 93 | const LogLevel_WARNING = LogLevel_Types(common.LogLevel_WARNING) |
| 94 | const LogLevel_ERROR = LogLevel_Types(common.LogLevel_ERROR) |
| 95 | const LogLevel_CRITICAL = LogLevel_Types(common.LogLevel_CRITICAL) |
| 96 | const LogLevel_FATAL = LogLevel_Types(common.LogLevel_FATAL) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 97 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 98 | // AdminState_Types from public import voltha_protos/common.proto |
| 99 | type AdminState_Types = common.AdminState_Types |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 100 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 101 | var AdminState_Types_name = common.AdminState_Types_name |
| 102 | var AdminState_Types_value = common.AdminState_Types_value |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 103 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 104 | const AdminState_UNKNOWN = AdminState_Types(common.AdminState_UNKNOWN) |
| 105 | const AdminState_PREPROVISIONED = AdminState_Types(common.AdminState_PREPROVISIONED) |
| 106 | const AdminState_ENABLED = AdminState_Types(common.AdminState_ENABLED) |
| 107 | const AdminState_DISABLED = AdminState_Types(common.AdminState_DISABLED) |
| 108 | const AdminState_DOWNLOADING_IMAGE = AdminState_Types(common.AdminState_DOWNLOADING_IMAGE) |
| 109 | const AdminState_DELETED = AdminState_Types(common.AdminState_DELETED) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 110 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 111 | // OperStatus_Types from public import voltha_protos/common.proto |
| 112 | type OperStatus_Types = common.OperStatus_Types |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 113 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 114 | var OperStatus_Types_name = common.OperStatus_Types_name |
| 115 | var OperStatus_Types_value = common.OperStatus_Types_value |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 116 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 117 | const OperStatus_UNKNOWN = OperStatus_Types(common.OperStatus_UNKNOWN) |
| 118 | const OperStatus_DISCOVERED = OperStatus_Types(common.OperStatus_DISCOVERED) |
| 119 | const OperStatus_ACTIVATING = OperStatus_Types(common.OperStatus_ACTIVATING) |
| 120 | const OperStatus_TESTING = OperStatus_Types(common.OperStatus_TESTING) |
| 121 | const OperStatus_ACTIVE = OperStatus_Types(common.OperStatus_ACTIVE) |
| 122 | const OperStatus_FAILED = OperStatus_Types(common.OperStatus_FAILED) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 123 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 124 | // ConnectStatus_Types from public import voltha_protos/common.proto |
| 125 | type ConnectStatus_Types = common.ConnectStatus_Types |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 126 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 127 | var ConnectStatus_Types_name = common.ConnectStatus_Types_name |
| 128 | var ConnectStatus_Types_value = common.ConnectStatus_Types_value |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 129 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 130 | const ConnectStatus_UNKNOWN = ConnectStatus_Types(common.ConnectStatus_UNKNOWN) |
| 131 | const ConnectStatus_UNREACHABLE = ConnectStatus_Types(common.ConnectStatus_UNREACHABLE) |
| 132 | const ConnectStatus_REACHABLE = ConnectStatus_Types(common.ConnectStatus_REACHABLE) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 133 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 134 | // OperationResp_OperationReturnCode from public import voltha_protos/common.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 135 | type OperationResp_OperationReturnCode = common.OperationResp_OperationReturnCode |
| 136 | |
| 137 | var OperationResp_OperationReturnCode_name = common.OperationResp_OperationReturnCode_name |
| 138 | var OperationResp_OperationReturnCode_value = common.OperationResp_OperationReturnCode_value |
| 139 | |
| 140 | const OperationResp_OPERATION_SUCCESS = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_SUCCESS) |
| 141 | const OperationResp_OPERATION_FAILURE = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_FAILURE) |
| 142 | const OperationResp_OPERATION_UNSUPPORTED = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_UNSUPPORTED) |
| 143 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 144 | // OfpHeader from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 145 | type OfpHeader = openflow_13.OfpHeader |
| 146 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 147 | // OfpHelloElemHeader from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 148 | type OfpHelloElemHeader = openflow_13.OfpHelloElemHeader |
| 149 | type OfpHelloElemHeader_Versionbitmap = openflow_13.OfpHelloElemHeader_Versionbitmap |
| 150 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 151 | // OfpHelloElemVersionbitmap from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 152 | type OfpHelloElemVersionbitmap = openflow_13.OfpHelloElemVersionbitmap |
| 153 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 154 | // OfpHello from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 155 | type OfpHello = openflow_13.OfpHello |
| 156 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 157 | // OfpSwitchConfig from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 158 | type OfpSwitchConfig = openflow_13.OfpSwitchConfig |
| 159 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 160 | // OfpTableMod from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 161 | type OfpTableMod = openflow_13.OfpTableMod |
| 162 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 163 | // OfpPort from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 164 | type OfpPort = openflow_13.OfpPort |
| 165 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 166 | // OfpSwitchFeatures from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 167 | type OfpSwitchFeatures = openflow_13.OfpSwitchFeatures |
| 168 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 169 | // OfpPortStatus from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 170 | type OfpPortStatus = openflow_13.OfpPortStatus |
| 171 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 172 | // OfpPortMod from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 173 | type OfpPortMod = openflow_13.OfpPortMod |
| 174 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 175 | // OfpMatch from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 176 | type OfpMatch = openflow_13.OfpMatch |
| 177 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 178 | // OfpOxmField from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 179 | type OfpOxmField = openflow_13.OfpOxmField |
| 180 | type OfpOxmField_OfbField = openflow_13.OfpOxmField_OfbField |
| 181 | type OfpOxmField_ExperimenterField = openflow_13.OfpOxmField_ExperimenterField |
| 182 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 183 | // OfpOxmOfbField from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 184 | type OfpOxmOfbField = openflow_13.OfpOxmOfbField |
| 185 | type OfpOxmOfbField_Port = openflow_13.OfpOxmOfbField_Port |
| 186 | type OfpOxmOfbField_PhysicalPort = openflow_13.OfpOxmOfbField_PhysicalPort |
| 187 | type OfpOxmOfbField_TableMetadata = openflow_13.OfpOxmOfbField_TableMetadata |
| 188 | type OfpOxmOfbField_EthDst = openflow_13.OfpOxmOfbField_EthDst |
| 189 | type OfpOxmOfbField_EthSrc = openflow_13.OfpOxmOfbField_EthSrc |
| 190 | type OfpOxmOfbField_EthType = openflow_13.OfpOxmOfbField_EthType |
| 191 | type OfpOxmOfbField_VlanVid = openflow_13.OfpOxmOfbField_VlanVid |
| 192 | type OfpOxmOfbField_VlanPcp = openflow_13.OfpOxmOfbField_VlanPcp |
| 193 | type OfpOxmOfbField_IpDscp = openflow_13.OfpOxmOfbField_IpDscp |
| 194 | type OfpOxmOfbField_IpEcn = openflow_13.OfpOxmOfbField_IpEcn |
| 195 | type OfpOxmOfbField_IpProto = openflow_13.OfpOxmOfbField_IpProto |
| 196 | type OfpOxmOfbField_Ipv4Src = openflow_13.OfpOxmOfbField_Ipv4Src |
| 197 | type OfpOxmOfbField_Ipv4Dst = openflow_13.OfpOxmOfbField_Ipv4Dst |
| 198 | type OfpOxmOfbField_TcpSrc = openflow_13.OfpOxmOfbField_TcpSrc |
| 199 | type OfpOxmOfbField_TcpDst = openflow_13.OfpOxmOfbField_TcpDst |
| 200 | type OfpOxmOfbField_UdpSrc = openflow_13.OfpOxmOfbField_UdpSrc |
| 201 | type OfpOxmOfbField_UdpDst = openflow_13.OfpOxmOfbField_UdpDst |
| 202 | type OfpOxmOfbField_SctpSrc = openflow_13.OfpOxmOfbField_SctpSrc |
| 203 | type OfpOxmOfbField_SctpDst = openflow_13.OfpOxmOfbField_SctpDst |
| 204 | type OfpOxmOfbField_Icmpv4Type = openflow_13.OfpOxmOfbField_Icmpv4Type |
| 205 | type OfpOxmOfbField_Icmpv4Code = openflow_13.OfpOxmOfbField_Icmpv4Code |
| 206 | type OfpOxmOfbField_ArpOp = openflow_13.OfpOxmOfbField_ArpOp |
| 207 | type OfpOxmOfbField_ArpSpa = openflow_13.OfpOxmOfbField_ArpSpa |
| 208 | type OfpOxmOfbField_ArpTpa = openflow_13.OfpOxmOfbField_ArpTpa |
| 209 | type OfpOxmOfbField_ArpSha = openflow_13.OfpOxmOfbField_ArpSha |
| 210 | type OfpOxmOfbField_ArpTha = openflow_13.OfpOxmOfbField_ArpTha |
| 211 | type OfpOxmOfbField_Ipv6Src = openflow_13.OfpOxmOfbField_Ipv6Src |
| 212 | type OfpOxmOfbField_Ipv6Dst = openflow_13.OfpOxmOfbField_Ipv6Dst |
| 213 | type OfpOxmOfbField_Ipv6Flabel = openflow_13.OfpOxmOfbField_Ipv6Flabel |
| 214 | type OfpOxmOfbField_Icmpv6Type = openflow_13.OfpOxmOfbField_Icmpv6Type |
| 215 | type OfpOxmOfbField_Icmpv6Code = openflow_13.OfpOxmOfbField_Icmpv6Code |
| 216 | type OfpOxmOfbField_Ipv6NdTarget = openflow_13.OfpOxmOfbField_Ipv6NdTarget |
| 217 | type OfpOxmOfbField_Ipv6NdSsl = openflow_13.OfpOxmOfbField_Ipv6NdSsl |
| 218 | type OfpOxmOfbField_Ipv6NdTll = openflow_13.OfpOxmOfbField_Ipv6NdTll |
| 219 | type OfpOxmOfbField_MplsLabel = openflow_13.OfpOxmOfbField_MplsLabel |
| 220 | type OfpOxmOfbField_MplsTc = openflow_13.OfpOxmOfbField_MplsTc |
| 221 | type OfpOxmOfbField_MplsBos = openflow_13.OfpOxmOfbField_MplsBos |
| 222 | type OfpOxmOfbField_PbbIsid = openflow_13.OfpOxmOfbField_PbbIsid |
| 223 | type OfpOxmOfbField_TunnelId = openflow_13.OfpOxmOfbField_TunnelId |
| 224 | type OfpOxmOfbField_Ipv6Exthdr = openflow_13.OfpOxmOfbField_Ipv6Exthdr |
| 225 | type OfpOxmOfbField_TableMetadataMask = openflow_13.OfpOxmOfbField_TableMetadataMask |
| 226 | type OfpOxmOfbField_EthDstMask = openflow_13.OfpOxmOfbField_EthDstMask |
| 227 | type OfpOxmOfbField_EthSrcMask = openflow_13.OfpOxmOfbField_EthSrcMask |
| 228 | type OfpOxmOfbField_VlanVidMask = openflow_13.OfpOxmOfbField_VlanVidMask |
| 229 | type OfpOxmOfbField_Ipv4SrcMask = openflow_13.OfpOxmOfbField_Ipv4SrcMask |
| 230 | type OfpOxmOfbField_Ipv4DstMask = openflow_13.OfpOxmOfbField_Ipv4DstMask |
| 231 | type OfpOxmOfbField_ArpSpaMask = openflow_13.OfpOxmOfbField_ArpSpaMask |
| 232 | type OfpOxmOfbField_ArpTpaMask = openflow_13.OfpOxmOfbField_ArpTpaMask |
| 233 | type OfpOxmOfbField_Ipv6SrcMask = openflow_13.OfpOxmOfbField_Ipv6SrcMask |
| 234 | type OfpOxmOfbField_Ipv6DstMask = openflow_13.OfpOxmOfbField_Ipv6DstMask |
| 235 | type OfpOxmOfbField_Ipv6FlabelMask = openflow_13.OfpOxmOfbField_Ipv6FlabelMask |
| 236 | type OfpOxmOfbField_PbbIsidMask = openflow_13.OfpOxmOfbField_PbbIsidMask |
| 237 | type OfpOxmOfbField_TunnelIdMask = openflow_13.OfpOxmOfbField_TunnelIdMask |
| 238 | type OfpOxmOfbField_Ipv6ExthdrMask = openflow_13.OfpOxmOfbField_Ipv6ExthdrMask |
| 239 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 240 | // OfpOxmExperimenterField from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 241 | type OfpOxmExperimenterField = openflow_13.OfpOxmExperimenterField |
| 242 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 243 | // OfpAction from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 244 | type OfpAction = openflow_13.OfpAction |
| 245 | type OfpAction_Output = openflow_13.OfpAction_Output |
| 246 | type OfpAction_MplsTtl = openflow_13.OfpAction_MplsTtl |
| 247 | type OfpAction_Push = openflow_13.OfpAction_Push |
| 248 | type OfpAction_PopMpls = openflow_13.OfpAction_PopMpls |
| 249 | type OfpAction_Group = openflow_13.OfpAction_Group |
| 250 | type OfpAction_NwTtl = openflow_13.OfpAction_NwTtl |
| 251 | type OfpAction_SetField = openflow_13.OfpAction_SetField |
| 252 | type OfpAction_Experimenter = openflow_13.OfpAction_Experimenter |
| 253 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 254 | // OfpActionOutput from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 255 | type OfpActionOutput = openflow_13.OfpActionOutput |
| 256 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 257 | // OfpActionMplsTtl from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 258 | type OfpActionMplsTtl = openflow_13.OfpActionMplsTtl |
| 259 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 260 | // OfpActionPush from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 261 | type OfpActionPush = openflow_13.OfpActionPush |
| 262 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 263 | // OfpActionPopMpls from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 264 | type OfpActionPopMpls = openflow_13.OfpActionPopMpls |
| 265 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 266 | // OfpActionGroup from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 267 | type OfpActionGroup = openflow_13.OfpActionGroup |
| 268 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 269 | // OfpActionNwTtl from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 270 | type OfpActionNwTtl = openflow_13.OfpActionNwTtl |
| 271 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 272 | // OfpActionSetField from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 273 | type OfpActionSetField = openflow_13.OfpActionSetField |
| 274 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 275 | // OfpActionExperimenter from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 276 | type OfpActionExperimenter = openflow_13.OfpActionExperimenter |
| 277 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 278 | // OfpInstruction from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 279 | type OfpInstruction = openflow_13.OfpInstruction |
| 280 | type OfpInstruction_GotoTable = openflow_13.OfpInstruction_GotoTable |
| 281 | type OfpInstruction_WriteMetadata = openflow_13.OfpInstruction_WriteMetadata |
| 282 | type OfpInstruction_Actions = openflow_13.OfpInstruction_Actions |
| 283 | type OfpInstruction_Meter = openflow_13.OfpInstruction_Meter |
| 284 | type OfpInstruction_Experimenter = openflow_13.OfpInstruction_Experimenter |
| 285 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 286 | // OfpInstructionGotoTable from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 287 | type OfpInstructionGotoTable = openflow_13.OfpInstructionGotoTable |
| 288 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 289 | // OfpInstructionWriteMetadata from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 290 | type OfpInstructionWriteMetadata = openflow_13.OfpInstructionWriteMetadata |
| 291 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 292 | // OfpInstructionActions from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 293 | type OfpInstructionActions = openflow_13.OfpInstructionActions |
| 294 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 295 | // OfpInstructionMeter from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 296 | type OfpInstructionMeter = openflow_13.OfpInstructionMeter |
| 297 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 298 | // OfpInstructionExperimenter from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 299 | type OfpInstructionExperimenter = openflow_13.OfpInstructionExperimenter |
| 300 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 301 | // OfpFlowMod from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 302 | type OfpFlowMod = openflow_13.OfpFlowMod |
| 303 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 304 | // OfpBucket from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 305 | type OfpBucket = openflow_13.OfpBucket |
| 306 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 307 | // OfpGroupMod from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 308 | type OfpGroupMod = openflow_13.OfpGroupMod |
| 309 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 310 | // OfpPacketOut from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 311 | type OfpPacketOut = openflow_13.OfpPacketOut |
| 312 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 313 | // OfpPacketIn from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 314 | type OfpPacketIn = openflow_13.OfpPacketIn |
| 315 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 316 | // OfpFlowRemoved from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 317 | type OfpFlowRemoved = openflow_13.OfpFlowRemoved |
| 318 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 319 | // OfpMeterBandHeader from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 320 | type OfpMeterBandHeader = openflow_13.OfpMeterBandHeader |
| 321 | type OfpMeterBandHeader_Drop = openflow_13.OfpMeterBandHeader_Drop |
| 322 | type OfpMeterBandHeader_DscpRemark = openflow_13.OfpMeterBandHeader_DscpRemark |
| 323 | type OfpMeterBandHeader_Experimenter = openflow_13.OfpMeterBandHeader_Experimenter |
| 324 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 325 | // OfpMeterBandDrop from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 326 | type OfpMeterBandDrop = openflow_13.OfpMeterBandDrop |
| 327 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 328 | // OfpMeterBandDscpRemark from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 329 | type OfpMeterBandDscpRemark = openflow_13.OfpMeterBandDscpRemark |
| 330 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 331 | // OfpMeterBandExperimenter from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 332 | type OfpMeterBandExperimenter = openflow_13.OfpMeterBandExperimenter |
| 333 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 334 | // OfpMeterMod from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 335 | type OfpMeterMod = openflow_13.OfpMeterMod |
| 336 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 337 | // OfpErrorMsg from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 338 | type OfpErrorMsg = openflow_13.OfpErrorMsg |
| 339 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 340 | // OfpErrorExperimenterMsg from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 341 | type OfpErrorExperimenterMsg = openflow_13.OfpErrorExperimenterMsg |
| 342 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 343 | // OfpMultipartRequest from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 344 | type OfpMultipartRequest = openflow_13.OfpMultipartRequest |
| 345 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 346 | // OfpMultipartReply from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 347 | type OfpMultipartReply = openflow_13.OfpMultipartReply |
| 348 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 349 | // OfpDesc from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 350 | type OfpDesc = openflow_13.OfpDesc |
| 351 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 352 | // OfpFlowStatsRequest from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 353 | type OfpFlowStatsRequest = openflow_13.OfpFlowStatsRequest |
| 354 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 355 | // OfpFlowStats from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 356 | type OfpFlowStats = openflow_13.OfpFlowStats |
| 357 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 358 | // OfpAggregateStatsRequest from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 359 | type OfpAggregateStatsRequest = openflow_13.OfpAggregateStatsRequest |
| 360 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 361 | // OfpAggregateStatsReply from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 362 | type OfpAggregateStatsReply = openflow_13.OfpAggregateStatsReply |
| 363 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 364 | // OfpTableFeatureProperty from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 365 | type OfpTableFeatureProperty = openflow_13.OfpTableFeatureProperty |
| 366 | type OfpTableFeatureProperty_Instructions = openflow_13.OfpTableFeatureProperty_Instructions |
| 367 | type OfpTableFeatureProperty_NextTables = openflow_13.OfpTableFeatureProperty_NextTables |
| 368 | type OfpTableFeatureProperty_Actions = openflow_13.OfpTableFeatureProperty_Actions |
| 369 | type OfpTableFeatureProperty_Oxm = openflow_13.OfpTableFeatureProperty_Oxm |
| 370 | type OfpTableFeatureProperty_Experimenter = openflow_13.OfpTableFeatureProperty_Experimenter |
| 371 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 372 | // OfpTableFeaturePropInstructions from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 373 | type OfpTableFeaturePropInstructions = openflow_13.OfpTableFeaturePropInstructions |
| 374 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 375 | // OfpTableFeaturePropNextTables from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 376 | type OfpTableFeaturePropNextTables = openflow_13.OfpTableFeaturePropNextTables |
| 377 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 378 | // OfpTableFeaturePropActions from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 379 | type OfpTableFeaturePropActions = openflow_13.OfpTableFeaturePropActions |
| 380 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 381 | // OfpTableFeaturePropOxm from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 382 | type OfpTableFeaturePropOxm = openflow_13.OfpTableFeaturePropOxm |
| 383 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 384 | // OfpTableFeaturePropExperimenter from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 385 | type OfpTableFeaturePropExperimenter = openflow_13.OfpTableFeaturePropExperimenter |
| 386 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 387 | // OfpTableFeatures from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 388 | type OfpTableFeatures = openflow_13.OfpTableFeatures |
| 389 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 390 | // OfpTableStats from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 391 | type OfpTableStats = openflow_13.OfpTableStats |
| 392 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 393 | // OfpPortStatsRequest from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 394 | type OfpPortStatsRequest = openflow_13.OfpPortStatsRequest |
| 395 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 396 | // OfpPortStats from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 397 | type OfpPortStats = openflow_13.OfpPortStats |
| 398 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 399 | // OfpGroupStatsRequest from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 400 | type OfpGroupStatsRequest = openflow_13.OfpGroupStatsRequest |
| 401 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 402 | // OfpBucketCounter from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 403 | type OfpBucketCounter = openflow_13.OfpBucketCounter |
| 404 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 405 | // OfpGroupStats from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 406 | type OfpGroupStats = openflow_13.OfpGroupStats |
| 407 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 408 | // OfpGroupDesc from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 409 | type OfpGroupDesc = openflow_13.OfpGroupDesc |
| 410 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 411 | // OfpGroupEntry from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 412 | type OfpGroupEntry = openflow_13.OfpGroupEntry |
| 413 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 414 | // OfpGroupFeatures from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 415 | type OfpGroupFeatures = openflow_13.OfpGroupFeatures |
| 416 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 417 | // OfpMeterMultipartRequest from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 418 | type OfpMeterMultipartRequest = openflow_13.OfpMeterMultipartRequest |
| 419 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 420 | // OfpMeterBandStats from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 421 | type OfpMeterBandStats = openflow_13.OfpMeterBandStats |
| 422 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 423 | // OfpMeterStats from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 424 | type OfpMeterStats = openflow_13.OfpMeterStats |
| 425 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 426 | // OfpMeterConfig from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 427 | type OfpMeterConfig = openflow_13.OfpMeterConfig |
| 428 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 429 | // OfpMeterFeatures from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 430 | type OfpMeterFeatures = openflow_13.OfpMeterFeatures |
| 431 | |
Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 432 | // OfpMeterEntry from public import voltha_protos/openflow_13.proto |
| 433 | type OfpMeterEntry = openflow_13.OfpMeterEntry |
| 434 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 435 | // OfpExperimenterMultipartHeader from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 436 | type OfpExperimenterMultipartHeader = openflow_13.OfpExperimenterMultipartHeader |
| 437 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 438 | // OfpExperimenterHeader from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 439 | type OfpExperimenterHeader = openflow_13.OfpExperimenterHeader |
| 440 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 441 | // OfpQueuePropHeader from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 442 | type OfpQueuePropHeader = openflow_13.OfpQueuePropHeader |
| 443 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 444 | // OfpQueuePropMinRate from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 445 | type OfpQueuePropMinRate = openflow_13.OfpQueuePropMinRate |
| 446 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 447 | // OfpQueuePropMaxRate from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 448 | type OfpQueuePropMaxRate = openflow_13.OfpQueuePropMaxRate |
| 449 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 450 | // OfpQueuePropExperimenter from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 451 | type OfpQueuePropExperimenter = openflow_13.OfpQueuePropExperimenter |
| 452 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 453 | // OfpPacketQueue from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 454 | type OfpPacketQueue = openflow_13.OfpPacketQueue |
| 455 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 456 | // OfpQueueGetConfigRequest from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 457 | type OfpQueueGetConfigRequest = openflow_13.OfpQueueGetConfigRequest |
| 458 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 459 | // OfpQueueGetConfigReply from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 460 | type OfpQueueGetConfigReply = openflow_13.OfpQueueGetConfigReply |
| 461 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 462 | // OfpActionSetQueue from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 463 | type OfpActionSetQueue = openflow_13.OfpActionSetQueue |
| 464 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 465 | // OfpQueueStatsRequest from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 466 | type OfpQueueStatsRequest = openflow_13.OfpQueueStatsRequest |
| 467 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 468 | // OfpQueueStats from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 469 | type OfpQueueStats = openflow_13.OfpQueueStats |
| 470 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 471 | // OfpRoleRequest from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 472 | type OfpRoleRequest = openflow_13.OfpRoleRequest |
| 473 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 474 | // OfpAsyncConfig from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 475 | type OfpAsyncConfig = openflow_13.OfpAsyncConfig |
| 476 | |
| 477 | // MeterModUpdate from public import voltha_protos/openflow_13.proto |
| 478 | type MeterModUpdate = openflow_13.MeterModUpdate |
| 479 | |
| 480 | // MeterStatsReply from public import voltha_protos/openflow_13.proto |
| 481 | type MeterStatsReply = openflow_13.MeterStatsReply |
| 482 | |
| 483 | // FlowTableUpdate from public import voltha_protos/openflow_13.proto |
| 484 | type FlowTableUpdate = openflow_13.FlowTableUpdate |
| 485 | |
| 486 | // FlowGroupTableUpdate from public import voltha_protos/openflow_13.proto |
| 487 | type FlowGroupTableUpdate = openflow_13.FlowGroupTableUpdate |
| 488 | |
| 489 | // Flows from public import voltha_protos/openflow_13.proto |
| 490 | type Flows = openflow_13.Flows |
| 491 | |
| 492 | // Meters from public import voltha_protos/openflow_13.proto |
| 493 | type Meters = openflow_13.Meters |
| 494 | |
| 495 | // FlowGroups from public import voltha_protos/openflow_13.proto |
| 496 | type FlowGroups = openflow_13.FlowGroups |
| 497 | |
| 498 | // FlowChanges from public import voltha_protos/openflow_13.proto |
| 499 | type FlowChanges = openflow_13.FlowChanges |
| 500 | |
| 501 | // FlowGroupChanges from public import voltha_protos/openflow_13.proto |
| 502 | type FlowGroupChanges = openflow_13.FlowGroupChanges |
| 503 | |
| 504 | // PacketIn from public import voltha_protos/openflow_13.proto |
| 505 | type PacketIn = openflow_13.PacketIn |
| 506 | |
| 507 | // PacketOut from public import voltha_protos/openflow_13.proto |
| 508 | type PacketOut = openflow_13.PacketOut |
| 509 | |
| 510 | // ChangeEvent from public import voltha_protos/openflow_13.proto |
| 511 | type ChangeEvent = openflow_13.ChangeEvent |
| 512 | type ChangeEvent_PortStatus = openflow_13.ChangeEvent_PortStatus |
| 513 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 514 | // OfpPortNo from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 515 | type OfpPortNo = openflow_13.OfpPortNo |
| 516 | |
| 517 | var OfpPortNo_name = openflow_13.OfpPortNo_name |
| 518 | var OfpPortNo_value = openflow_13.OfpPortNo_value |
| 519 | |
| 520 | const OfpPortNo_OFPP_INVALID = OfpPortNo(openflow_13.OfpPortNo_OFPP_INVALID) |
| 521 | const OfpPortNo_OFPP_MAX = OfpPortNo(openflow_13.OfpPortNo_OFPP_MAX) |
| 522 | const OfpPortNo_OFPP_IN_PORT = OfpPortNo(openflow_13.OfpPortNo_OFPP_IN_PORT) |
| 523 | const OfpPortNo_OFPP_TABLE = OfpPortNo(openflow_13.OfpPortNo_OFPP_TABLE) |
| 524 | const OfpPortNo_OFPP_NORMAL = OfpPortNo(openflow_13.OfpPortNo_OFPP_NORMAL) |
| 525 | const OfpPortNo_OFPP_FLOOD = OfpPortNo(openflow_13.OfpPortNo_OFPP_FLOOD) |
| 526 | const OfpPortNo_OFPP_ALL = OfpPortNo(openflow_13.OfpPortNo_OFPP_ALL) |
| 527 | const OfpPortNo_OFPP_CONTROLLER = OfpPortNo(openflow_13.OfpPortNo_OFPP_CONTROLLER) |
| 528 | const OfpPortNo_OFPP_LOCAL = OfpPortNo(openflow_13.OfpPortNo_OFPP_LOCAL) |
| 529 | const OfpPortNo_OFPP_ANY = OfpPortNo(openflow_13.OfpPortNo_OFPP_ANY) |
| 530 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 531 | // OfpType from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 532 | type OfpType = openflow_13.OfpType |
| 533 | |
| 534 | var OfpType_name = openflow_13.OfpType_name |
| 535 | var OfpType_value = openflow_13.OfpType_value |
| 536 | |
| 537 | const OfpType_OFPT_HELLO = OfpType(openflow_13.OfpType_OFPT_HELLO) |
| 538 | const OfpType_OFPT_ERROR = OfpType(openflow_13.OfpType_OFPT_ERROR) |
| 539 | const OfpType_OFPT_ECHO_REQUEST = OfpType(openflow_13.OfpType_OFPT_ECHO_REQUEST) |
| 540 | const OfpType_OFPT_ECHO_REPLY = OfpType(openflow_13.OfpType_OFPT_ECHO_REPLY) |
| 541 | const OfpType_OFPT_EXPERIMENTER = OfpType(openflow_13.OfpType_OFPT_EXPERIMENTER) |
| 542 | const OfpType_OFPT_FEATURES_REQUEST = OfpType(openflow_13.OfpType_OFPT_FEATURES_REQUEST) |
| 543 | const OfpType_OFPT_FEATURES_REPLY = OfpType(openflow_13.OfpType_OFPT_FEATURES_REPLY) |
| 544 | const OfpType_OFPT_GET_CONFIG_REQUEST = OfpType(openflow_13.OfpType_OFPT_GET_CONFIG_REQUEST) |
| 545 | const OfpType_OFPT_GET_CONFIG_REPLY = OfpType(openflow_13.OfpType_OFPT_GET_CONFIG_REPLY) |
| 546 | const OfpType_OFPT_SET_CONFIG = OfpType(openflow_13.OfpType_OFPT_SET_CONFIG) |
| 547 | const OfpType_OFPT_PACKET_IN = OfpType(openflow_13.OfpType_OFPT_PACKET_IN) |
| 548 | const OfpType_OFPT_FLOW_REMOVED = OfpType(openflow_13.OfpType_OFPT_FLOW_REMOVED) |
| 549 | const OfpType_OFPT_PORT_STATUS = OfpType(openflow_13.OfpType_OFPT_PORT_STATUS) |
| 550 | const OfpType_OFPT_PACKET_OUT = OfpType(openflow_13.OfpType_OFPT_PACKET_OUT) |
| 551 | const OfpType_OFPT_FLOW_MOD = OfpType(openflow_13.OfpType_OFPT_FLOW_MOD) |
| 552 | const OfpType_OFPT_GROUP_MOD = OfpType(openflow_13.OfpType_OFPT_GROUP_MOD) |
| 553 | const OfpType_OFPT_PORT_MOD = OfpType(openflow_13.OfpType_OFPT_PORT_MOD) |
| 554 | const OfpType_OFPT_TABLE_MOD = OfpType(openflow_13.OfpType_OFPT_TABLE_MOD) |
| 555 | const OfpType_OFPT_MULTIPART_REQUEST = OfpType(openflow_13.OfpType_OFPT_MULTIPART_REQUEST) |
| 556 | const OfpType_OFPT_MULTIPART_REPLY = OfpType(openflow_13.OfpType_OFPT_MULTIPART_REPLY) |
| 557 | const OfpType_OFPT_BARRIER_REQUEST = OfpType(openflow_13.OfpType_OFPT_BARRIER_REQUEST) |
| 558 | const OfpType_OFPT_BARRIER_REPLY = OfpType(openflow_13.OfpType_OFPT_BARRIER_REPLY) |
| 559 | const OfpType_OFPT_QUEUE_GET_CONFIG_REQUEST = OfpType(openflow_13.OfpType_OFPT_QUEUE_GET_CONFIG_REQUEST) |
| 560 | const OfpType_OFPT_QUEUE_GET_CONFIG_REPLY = OfpType(openflow_13.OfpType_OFPT_QUEUE_GET_CONFIG_REPLY) |
| 561 | const OfpType_OFPT_ROLE_REQUEST = OfpType(openflow_13.OfpType_OFPT_ROLE_REQUEST) |
| 562 | const OfpType_OFPT_ROLE_REPLY = OfpType(openflow_13.OfpType_OFPT_ROLE_REPLY) |
| 563 | const OfpType_OFPT_GET_ASYNC_REQUEST = OfpType(openflow_13.OfpType_OFPT_GET_ASYNC_REQUEST) |
| 564 | const OfpType_OFPT_GET_ASYNC_REPLY = OfpType(openflow_13.OfpType_OFPT_GET_ASYNC_REPLY) |
| 565 | const OfpType_OFPT_SET_ASYNC = OfpType(openflow_13.OfpType_OFPT_SET_ASYNC) |
| 566 | const OfpType_OFPT_METER_MOD = OfpType(openflow_13.OfpType_OFPT_METER_MOD) |
| 567 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 568 | // OfpHelloElemType from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 569 | type OfpHelloElemType = openflow_13.OfpHelloElemType |
| 570 | |
| 571 | var OfpHelloElemType_name = openflow_13.OfpHelloElemType_name |
| 572 | var OfpHelloElemType_value = openflow_13.OfpHelloElemType_value |
| 573 | |
| 574 | const OfpHelloElemType_OFPHET_INVALID = OfpHelloElemType(openflow_13.OfpHelloElemType_OFPHET_INVALID) |
| 575 | const OfpHelloElemType_OFPHET_VERSIONBITMAP = OfpHelloElemType(openflow_13.OfpHelloElemType_OFPHET_VERSIONBITMAP) |
| 576 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 577 | // OfpConfigFlags from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 578 | type OfpConfigFlags = openflow_13.OfpConfigFlags |
| 579 | |
| 580 | var OfpConfigFlags_name = openflow_13.OfpConfigFlags_name |
| 581 | var OfpConfigFlags_value = openflow_13.OfpConfigFlags_value |
| 582 | |
| 583 | const OfpConfigFlags_OFPC_FRAG_NORMAL = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_NORMAL) |
| 584 | const OfpConfigFlags_OFPC_FRAG_DROP = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_DROP) |
| 585 | const OfpConfigFlags_OFPC_FRAG_REASM = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_REASM) |
| 586 | const OfpConfigFlags_OFPC_FRAG_MASK = OfpConfigFlags(openflow_13.OfpConfigFlags_OFPC_FRAG_MASK) |
| 587 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 588 | // OfpTableConfig from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 589 | type OfpTableConfig = openflow_13.OfpTableConfig |
| 590 | |
| 591 | var OfpTableConfig_name = openflow_13.OfpTableConfig_name |
| 592 | var OfpTableConfig_value = openflow_13.OfpTableConfig_value |
| 593 | |
| 594 | const OfpTableConfig_OFPTC_INVALID = OfpTableConfig(openflow_13.OfpTableConfig_OFPTC_INVALID) |
| 595 | const OfpTableConfig_OFPTC_DEPRECATED_MASK = OfpTableConfig(openflow_13.OfpTableConfig_OFPTC_DEPRECATED_MASK) |
| 596 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 597 | // OfpTable from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 598 | type OfpTable = openflow_13.OfpTable |
| 599 | |
| 600 | var OfpTable_name = openflow_13.OfpTable_name |
| 601 | var OfpTable_value = openflow_13.OfpTable_value |
| 602 | |
| 603 | const OfpTable_OFPTT_INVALID = OfpTable(openflow_13.OfpTable_OFPTT_INVALID) |
| 604 | const OfpTable_OFPTT_MAX = OfpTable(openflow_13.OfpTable_OFPTT_MAX) |
| 605 | const OfpTable_OFPTT_ALL = OfpTable(openflow_13.OfpTable_OFPTT_ALL) |
| 606 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 607 | // OfpCapabilities from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 608 | type OfpCapabilities = openflow_13.OfpCapabilities |
| 609 | |
| 610 | var OfpCapabilities_name = openflow_13.OfpCapabilities_name |
| 611 | var OfpCapabilities_value = openflow_13.OfpCapabilities_value |
| 612 | |
| 613 | const OfpCapabilities_OFPC_INVALID = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_INVALID) |
| 614 | const OfpCapabilities_OFPC_FLOW_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_FLOW_STATS) |
| 615 | const OfpCapabilities_OFPC_TABLE_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_TABLE_STATS) |
| 616 | const OfpCapabilities_OFPC_PORT_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_PORT_STATS) |
| 617 | const OfpCapabilities_OFPC_GROUP_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_GROUP_STATS) |
| 618 | const OfpCapabilities_OFPC_IP_REASM = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_IP_REASM) |
| 619 | const OfpCapabilities_OFPC_QUEUE_STATS = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_QUEUE_STATS) |
| 620 | const OfpCapabilities_OFPC_PORT_BLOCKED = OfpCapabilities(openflow_13.OfpCapabilities_OFPC_PORT_BLOCKED) |
| 621 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 622 | // OfpPortConfig from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 623 | type OfpPortConfig = openflow_13.OfpPortConfig |
| 624 | |
| 625 | var OfpPortConfig_name = openflow_13.OfpPortConfig_name |
| 626 | var OfpPortConfig_value = openflow_13.OfpPortConfig_value |
| 627 | |
| 628 | const OfpPortConfig_OFPPC_INVALID = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_INVALID) |
| 629 | const OfpPortConfig_OFPPC_PORT_DOWN = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_PORT_DOWN) |
| 630 | const OfpPortConfig_OFPPC_NO_RECV = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_RECV) |
| 631 | const OfpPortConfig_OFPPC_NO_FWD = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_FWD) |
| 632 | const OfpPortConfig_OFPPC_NO_PACKET_IN = OfpPortConfig(openflow_13.OfpPortConfig_OFPPC_NO_PACKET_IN) |
| 633 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 634 | // OfpPortState from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 635 | type OfpPortState = openflow_13.OfpPortState |
| 636 | |
| 637 | var OfpPortState_name = openflow_13.OfpPortState_name |
| 638 | var OfpPortState_value = openflow_13.OfpPortState_value |
| 639 | |
| 640 | const OfpPortState_OFPPS_INVALID = OfpPortState(openflow_13.OfpPortState_OFPPS_INVALID) |
| 641 | const OfpPortState_OFPPS_LINK_DOWN = OfpPortState(openflow_13.OfpPortState_OFPPS_LINK_DOWN) |
| 642 | const OfpPortState_OFPPS_BLOCKED = OfpPortState(openflow_13.OfpPortState_OFPPS_BLOCKED) |
| 643 | const OfpPortState_OFPPS_LIVE = OfpPortState(openflow_13.OfpPortState_OFPPS_LIVE) |
| 644 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 645 | // OfpPortFeatures from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 646 | type OfpPortFeatures = openflow_13.OfpPortFeatures |
| 647 | |
| 648 | var OfpPortFeatures_name = openflow_13.OfpPortFeatures_name |
| 649 | var OfpPortFeatures_value = openflow_13.OfpPortFeatures_value |
| 650 | |
| 651 | const OfpPortFeatures_OFPPF_INVALID = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_INVALID) |
| 652 | const OfpPortFeatures_OFPPF_10MB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10MB_HD) |
| 653 | const OfpPortFeatures_OFPPF_10MB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10MB_FD) |
| 654 | const OfpPortFeatures_OFPPF_100MB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100MB_HD) |
| 655 | const OfpPortFeatures_OFPPF_100MB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100MB_FD) |
| 656 | const OfpPortFeatures_OFPPF_1GB_HD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1GB_HD) |
| 657 | const OfpPortFeatures_OFPPF_1GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1GB_FD) |
| 658 | const OfpPortFeatures_OFPPF_10GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_10GB_FD) |
| 659 | const OfpPortFeatures_OFPPF_40GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_40GB_FD) |
| 660 | const OfpPortFeatures_OFPPF_100GB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_100GB_FD) |
| 661 | const OfpPortFeatures_OFPPF_1TB_FD = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_1TB_FD) |
| 662 | const OfpPortFeatures_OFPPF_OTHER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_OTHER) |
| 663 | const OfpPortFeatures_OFPPF_COPPER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_COPPER) |
| 664 | const OfpPortFeatures_OFPPF_FIBER = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_FIBER) |
| 665 | const OfpPortFeatures_OFPPF_AUTONEG = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_AUTONEG) |
| 666 | const OfpPortFeatures_OFPPF_PAUSE = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_PAUSE) |
| 667 | const OfpPortFeatures_OFPPF_PAUSE_ASYM = OfpPortFeatures(openflow_13.OfpPortFeatures_OFPPF_PAUSE_ASYM) |
| 668 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 669 | // OfpPortReason from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 670 | type OfpPortReason = openflow_13.OfpPortReason |
| 671 | |
| 672 | var OfpPortReason_name = openflow_13.OfpPortReason_name |
| 673 | var OfpPortReason_value = openflow_13.OfpPortReason_value |
| 674 | |
| 675 | const OfpPortReason_OFPPR_ADD = OfpPortReason(openflow_13.OfpPortReason_OFPPR_ADD) |
| 676 | const OfpPortReason_OFPPR_DELETE = OfpPortReason(openflow_13.OfpPortReason_OFPPR_DELETE) |
| 677 | const OfpPortReason_OFPPR_MODIFY = OfpPortReason(openflow_13.OfpPortReason_OFPPR_MODIFY) |
| 678 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 679 | // OfpMatchType from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 680 | type OfpMatchType = openflow_13.OfpMatchType |
| 681 | |
| 682 | var OfpMatchType_name = openflow_13.OfpMatchType_name |
| 683 | var OfpMatchType_value = openflow_13.OfpMatchType_value |
| 684 | |
| 685 | const OfpMatchType_OFPMT_STANDARD = OfpMatchType(openflow_13.OfpMatchType_OFPMT_STANDARD) |
| 686 | const OfpMatchType_OFPMT_OXM = OfpMatchType(openflow_13.OfpMatchType_OFPMT_OXM) |
| 687 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 688 | // OfpOxmClass from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 689 | type OfpOxmClass = openflow_13.OfpOxmClass |
| 690 | |
| 691 | var OfpOxmClass_name = openflow_13.OfpOxmClass_name |
| 692 | var OfpOxmClass_value = openflow_13.OfpOxmClass_value |
| 693 | |
| 694 | const OfpOxmClass_OFPXMC_NXM_0 = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_NXM_0) |
| 695 | const OfpOxmClass_OFPXMC_NXM_1 = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_NXM_1) |
| 696 | const OfpOxmClass_OFPXMC_OPENFLOW_BASIC = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_OPENFLOW_BASIC) |
| 697 | const OfpOxmClass_OFPXMC_EXPERIMENTER = OfpOxmClass(openflow_13.OfpOxmClass_OFPXMC_EXPERIMENTER) |
| 698 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 699 | // OxmOfbFieldTypes from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 700 | type OxmOfbFieldTypes = openflow_13.OxmOfbFieldTypes |
| 701 | |
| 702 | var OxmOfbFieldTypes_name = openflow_13.OxmOfbFieldTypes_name |
| 703 | var OxmOfbFieldTypes_value = openflow_13.OxmOfbFieldTypes_value |
| 704 | |
| 705 | const OxmOfbFieldTypes_OFPXMT_OFB_IN_PORT = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IN_PORT) |
| 706 | const OxmOfbFieldTypes_OFPXMT_OFB_IN_PHY_PORT = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IN_PHY_PORT) |
| 707 | const OxmOfbFieldTypes_OFPXMT_OFB_METADATA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_METADATA) |
| 708 | const OxmOfbFieldTypes_OFPXMT_OFB_ETH_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_DST) |
| 709 | const OxmOfbFieldTypes_OFPXMT_OFB_ETH_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_SRC) |
| 710 | const OxmOfbFieldTypes_OFPXMT_OFB_ETH_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ETH_TYPE) |
| 711 | const OxmOfbFieldTypes_OFPXMT_OFB_VLAN_VID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_VLAN_VID) |
| 712 | const OxmOfbFieldTypes_OFPXMT_OFB_VLAN_PCP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_VLAN_PCP) |
| 713 | const OxmOfbFieldTypes_OFPXMT_OFB_IP_DSCP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_DSCP) |
| 714 | const OxmOfbFieldTypes_OFPXMT_OFB_IP_ECN = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_ECN) |
| 715 | const OxmOfbFieldTypes_OFPXMT_OFB_IP_PROTO = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IP_PROTO) |
| 716 | const OxmOfbFieldTypes_OFPXMT_OFB_IPV4_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV4_SRC) |
| 717 | const OxmOfbFieldTypes_OFPXMT_OFB_IPV4_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV4_DST) |
| 718 | const OxmOfbFieldTypes_OFPXMT_OFB_TCP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TCP_SRC) |
| 719 | const OxmOfbFieldTypes_OFPXMT_OFB_TCP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TCP_DST) |
| 720 | const OxmOfbFieldTypes_OFPXMT_OFB_UDP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_UDP_SRC) |
| 721 | const OxmOfbFieldTypes_OFPXMT_OFB_UDP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_UDP_DST) |
| 722 | const OxmOfbFieldTypes_OFPXMT_OFB_SCTP_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_SCTP_SRC) |
| 723 | const OxmOfbFieldTypes_OFPXMT_OFB_SCTP_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_SCTP_DST) |
| 724 | const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_TYPE) |
| 725 | const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_CODE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_CODE) |
| 726 | const OxmOfbFieldTypes_OFPXMT_OFB_ARP_OP = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_OP) |
| 727 | const OxmOfbFieldTypes_OFPXMT_OFB_ARP_SPA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_SPA) |
| 728 | const OxmOfbFieldTypes_OFPXMT_OFB_ARP_TPA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_TPA) |
| 729 | const OxmOfbFieldTypes_OFPXMT_OFB_ARP_SHA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_SHA) |
| 730 | const OxmOfbFieldTypes_OFPXMT_OFB_ARP_THA = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ARP_THA) |
| 731 | const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_SRC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_SRC) |
| 732 | const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_DST = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_DST) |
| 733 | const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_FLABEL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_FLABEL) |
| 734 | const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_TYPE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_TYPE) |
| 735 | const OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_CODE = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_CODE) |
| 736 | const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TARGET = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TARGET) |
| 737 | const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_SLL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_SLL) |
| 738 | const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TLL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TLL) |
| 739 | const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_LABEL = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_LABEL) |
| 740 | const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_TC = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_TC) |
| 741 | const OxmOfbFieldTypes_OFPXMT_OFB_MPLS_BOS = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_MPLS_BOS) |
| 742 | const OxmOfbFieldTypes_OFPXMT_OFB_PBB_ISID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_PBB_ISID) |
| 743 | const OxmOfbFieldTypes_OFPXMT_OFB_TUNNEL_ID = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_TUNNEL_ID) |
| 744 | const OxmOfbFieldTypes_OFPXMT_OFB_IPV6_EXTHDR = OxmOfbFieldTypes(openflow_13.OxmOfbFieldTypes_OFPXMT_OFB_IPV6_EXTHDR) |
| 745 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 746 | // OfpVlanId from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 747 | type OfpVlanId = openflow_13.OfpVlanId |
| 748 | |
| 749 | var OfpVlanId_name = openflow_13.OfpVlanId_name |
| 750 | var OfpVlanId_value = openflow_13.OfpVlanId_value |
| 751 | |
| 752 | const OfpVlanId_OFPVID_NONE = OfpVlanId(openflow_13.OfpVlanId_OFPVID_NONE) |
| 753 | const OfpVlanId_OFPVID_PRESENT = OfpVlanId(openflow_13.OfpVlanId_OFPVID_PRESENT) |
| 754 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 755 | // OfpIpv6ExthdrFlags from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 756 | type OfpIpv6ExthdrFlags = openflow_13.OfpIpv6ExthdrFlags |
| 757 | |
| 758 | var OfpIpv6ExthdrFlags_name = openflow_13.OfpIpv6ExthdrFlags_name |
| 759 | var OfpIpv6ExthdrFlags_value = openflow_13.OfpIpv6ExthdrFlags_value |
| 760 | |
| 761 | const OfpIpv6ExthdrFlags_OFPIEH_INVALID = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_INVALID) |
| 762 | const OfpIpv6ExthdrFlags_OFPIEH_NONEXT = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_NONEXT) |
| 763 | const OfpIpv6ExthdrFlags_OFPIEH_ESP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_ESP) |
| 764 | const OfpIpv6ExthdrFlags_OFPIEH_AUTH = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_AUTH) |
| 765 | const OfpIpv6ExthdrFlags_OFPIEH_DEST = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_DEST) |
| 766 | const OfpIpv6ExthdrFlags_OFPIEH_FRAG = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_FRAG) |
| 767 | const OfpIpv6ExthdrFlags_OFPIEH_ROUTER = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_ROUTER) |
| 768 | const OfpIpv6ExthdrFlags_OFPIEH_HOP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_HOP) |
| 769 | const OfpIpv6ExthdrFlags_OFPIEH_UNREP = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_UNREP) |
| 770 | const OfpIpv6ExthdrFlags_OFPIEH_UNSEQ = OfpIpv6ExthdrFlags(openflow_13.OfpIpv6ExthdrFlags_OFPIEH_UNSEQ) |
| 771 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 772 | // OfpActionType from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 773 | type OfpActionType = openflow_13.OfpActionType |
| 774 | |
| 775 | var OfpActionType_name = openflow_13.OfpActionType_name |
| 776 | var OfpActionType_value = openflow_13.OfpActionType_value |
| 777 | |
| 778 | const OfpActionType_OFPAT_OUTPUT = OfpActionType(openflow_13.OfpActionType_OFPAT_OUTPUT) |
| 779 | const OfpActionType_OFPAT_COPY_TTL_OUT = OfpActionType(openflow_13.OfpActionType_OFPAT_COPY_TTL_OUT) |
| 780 | const OfpActionType_OFPAT_COPY_TTL_IN = OfpActionType(openflow_13.OfpActionType_OFPAT_COPY_TTL_IN) |
| 781 | const OfpActionType_OFPAT_SET_MPLS_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_MPLS_TTL) |
| 782 | const OfpActionType_OFPAT_DEC_MPLS_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_DEC_MPLS_TTL) |
| 783 | const OfpActionType_OFPAT_PUSH_VLAN = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_VLAN) |
| 784 | const OfpActionType_OFPAT_POP_VLAN = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_VLAN) |
| 785 | const OfpActionType_OFPAT_PUSH_MPLS = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_MPLS) |
| 786 | const OfpActionType_OFPAT_POP_MPLS = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_MPLS) |
| 787 | const OfpActionType_OFPAT_SET_QUEUE = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_QUEUE) |
| 788 | const OfpActionType_OFPAT_GROUP = OfpActionType(openflow_13.OfpActionType_OFPAT_GROUP) |
| 789 | const OfpActionType_OFPAT_SET_NW_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_NW_TTL) |
| 790 | const OfpActionType_OFPAT_DEC_NW_TTL = OfpActionType(openflow_13.OfpActionType_OFPAT_DEC_NW_TTL) |
| 791 | const OfpActionType_OFPAT_SET_FIELD = OfpActionType(openflow_13.OfpActionType_OFPAT_SET_FIELD) |
| 792 | const OfpActionType_OFPAT_PUSH_PBB = OfpActionType(openflow_13.OfpActionType_OFPAT_PUSH_PBB) |
| 793 | const OfpActionType_OFPAT_POP_PBB = OfpActionType(openflow_13.OfpActionType_OFPAT_POP_PBB) |
| 794 | const OfpActionType_OFPAT_EXPERIMENTER = OfpActionType(openflow_13.OfpActionType_OFPAT_EXPERIMENTER) |
| 795 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 796 | // OfpControllerMaxLen from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 797 | type OfpControllerMaxLen = openflow_13.OfpControllerMaxLen |
| 798 | |
| 799 | var OfpControllerMaxLen_name = openflow_13.OfpControllerMaxLen_name |
| 800 | var OfpControllerMaxLen_value = openflow_13.OfpControllerMaxLen_value |
| 801 | |
| 802 | const OfpControllerMaxLen_OFPCML_INVALID = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_INVALID) |
| 803 | const OfpControllerMaxLen_OFPCML_MAX = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_MAX) |
| 804 | const OfpControllerMaxLen_OFPCML_NO_BUFFER = OfpControllerMaxLen(openflow_13.OfpControllerMaxLen_OFPCML_NO_BUFFER) |
| 805 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 806 | // OfpInstructionType from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 807 | type OfpInstructionType = openflow_13.OfpInstructionType |
| 808 | |
| 809 | var OfpInstructionType_name = openflow_13.OfpInstructionType_name |
| 810 | var OfpInstructionType_value = openflow_13.OfpInstructionType_value |
| 811 | |
| 812 | const OfpInstructionType_OFPIT_INVALID = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_INVALID) |
| 813 | const OfpInstructionType_OFPIT_GOTO_TABLE = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_GOTO_TABLE) |
| 814 | const OfpInstructionType_OFPIT_WRITE_METADATA = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_WRITE_METADATA) |
| 815 | const OfpInstructionType_OFPIT_WRITE_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_WRITE_ACTIONS) |
| 816 | const OfpInstructionType_OFPIT_APPLY_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_APPLY_ACTIONS) |
| 817 | const OfpInstructionType_OFPIT_CLEAR_ACTIONS = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_CLEAR_ACTIONS) |
| 818 | const OfpInstructionType_OFPIT_METER = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_METER) |
| 819 | const OfpInstructionType_OFPIT_EXPERIMENTER = OfpInstructionType(openflow_13.OfpInstructionType_OFPIT_EXPERIMENTER) |
| 820 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 821 | // OfpFlowModCommand from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 822 | type OfpFlowModCommand = openflow_13.OfpFlowModCommand |
| 823 | |
| 824 | var OfpFlowModCommand_name = openflow_13.OfpFlowModCommand_name |
| 825 | var OfpFlowModCommand_value = openflow_13.OfpFlowModCommand_value |
| 826 | |
| 827 | const OfpFlowModCommand_OFPFC_ADD = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_ADD) |
| 828 | const OfpFlowModCommand_OFPFC_MODIFY = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_MODIFY) |
| 829 | const OfpFlowModCommand_OFPFC_MODIFY_STRICT = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_MODIFY_STRICT) |
| 830 | const OfpFlowModCommand_OFPFC_DELETE = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_DELETE) |
| 831 | const OfpFlowModCommand_OFPFC_DELETE_STRICT = OfpFlowModCommand(openflow_13.OfpFlowModCommand_OFPFC_DELETE_STRICT) |
| 832 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 833 | // OfpFlowModFlags from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 834 | type OfpFlowModFlags = openflow_13.OfpFlowModFlags |
| 835 | |
| 836 | var OfpFlowModFlags_name = openflow_13.OfpFlowModFlags_name |
| 837 | var OfpFlowModFlags_value = openflow_13.OfpFlowModFlags_value |
| 838 | |
| 839 | const OfpFlowModFlags_OFPFF_INVALID = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_INVALID) |
| 840 | const OfpFlowModFlags_OFPFF_SEND_FLOW_REM = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_SEND_FLOW_REM) |
| 841 | const OfpFlowModFlags_OFPFF_CHECK_OVERLAP = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_CHECK_OVERLAP) |
| 842 | const OfpFlowModFlags_OFPFF_RESET_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_RESET_COUNTS) |
| 843 | const OfpFlowModFlags_OFPFF_NO_PKT_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_NO_PKT_COUNTS) |
| 844 | const OfpFlowModFlags_OFPFF_NO_BYT_COUNTS = OfpFlowModFlags(openflow_13.OfpFlowModFlags_OFPFF_NO_BYT_COUNTS) |
| 845 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 846 | // OfpGroup from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 847 | type OfpGroup = openflow_13.OfpGroup |
| 848 | |
| 849 | var OfpGroup_name = openflow_13.OfpGroup_name |
| 850 | var OfpGroup_value = openflow_13.OfpGroup_value |
| 851 | |
| 852 | const OfpGroup_OFPG_INVALID = OfpGroup(openflow_13.OfpGroup_OFPG_INVALID) |
| 853 | const OfpGroup_OFPG_MAX = OfpGroup(openflow_13.OfpGroup_OFPG_MAX) |
| 854 | const OfpGroup_OFPG_ALL = OfpGroup(openflow_13.OfpGroup_OFPG_ALL) |
| 855 | const OfpGroup_OFPG_ANY = OfpGroup(openflow_13.OfpGroup_OFPG_ANY) |
| 856 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 857 | // OfpGroupModCommand from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 858 | type OfpGroupModCommand = openflow_13.OfpGroupModCommand |
| 859 | |
| 860 | var OfpGroupModCommand_name = openflow_13.OfpGroupModCommand_name |
| 861 | var OfpGroupModCommand_value = openflow_13.OfpGroupModCommand_value |
| 862 | |
| 863 | const OfpGroupModCommand_OFPGC_ADD = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_ADD) |
| 864 | const OfpGroupModCommand_OFPGC_MODIFY = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_MODIFY) |
| 865 | const OfpGroupModCommand_OFPGC_DELETE = OfpGroupModCommand(openflow_13.OfpGroupModCommand_OFPGC_DELETE) |
| 866 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 867 | // OfpGroupType from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 868 | type OfpGroupType = openflow_13.OfpGroupType |
| 869 | |
| 870 | var OfpGroupType_name = openflow_13.OfpGroupType_name |
| 871 | var OfpGroupType_value = openflow_13.OfpGroupType_value |
| 872 | |
| 873 | const OfpGroupType_OFPGT_ALL = OfpGroupType(openflow_13.OfpGroupType_OFPGT_ALL) |
| 874 | const OfpGroupType_OFPGT_SELECT = OfpGroupType(openflow_13.OfpGroupType_OFPGT_SELECT) |
| 875 | const OfpGroupType_OFPGT_INDIRECT = OfpGroupType(openflow_13.OfpGroupType_OFPGT_INDIRECT) |
| 876 | const OfpGroupType_OFPGT_FF = OfpGroupType(openflow_13.OfpGroupType_OFPGT_FF) |
| 877 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 878 | // OfpPacketInReason from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 879 | type OfpPacketInReason = openflow_13.OfpPacketInReason |
| 880 | |
| 881 | var OfpPacketInReason_name = openflow_13.OfpPacketInReason_name |
| 882 | var OfpPacketInReason_value = openflow_13.OfpPacketInReason_value |
| 883 | |
| 884 | const OfpPacketInReason_OFPR_NO_MATCH = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_NO_MATCH) |
| 885 | const OfpPacketInReason_OFPR_ACTION = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_ACTION) |
| 886 | const OfpPacketInReason_OFPR_INVALID_TTL = OfpPacketInReason(openflow_13.OfpPacketInReason_OFPR_INVALID_TTL) |
| 887 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 888 | // OfpFlowRemovedReason from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 889 | type OfpFlowRemovedReason = openflow_13.OfpFlowRemovedReason |
| 890 | |
| 891 | var OfpFlowRemovedReason_name = openflow_13.OfpFlowRemovedReason_name |
| 892 | var OfpFlowRemovedReason_value = openflow_13.OfpFlowRemovedReason_value |
| 893 | |
| 894 | const OfpFlowRemovedReason_OFPRR_IDLE_TIMEOUT = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_IDLE_TIMEOUT) |
| 895 | const OfpFlowRemovedReason_OFPRR_HARD_TIMEOUT = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_HARD_TIMEOUT) |
| 896 | const OfpFlowRemovedReason_OFPRR_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_DELETE) |
| 897 | const OfpFlowRemovedReason_OFPRR_GROUP_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_GROUP_DELETE) |
| 898 | const OfpFlowRemovedReason_OFPRR_METER_DELETE = OfpFlowRemovedReason(openflow_13.OfpFlowRemovedReason_OFPRR_METER_DELETE) |
| 899 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 900 | // OfpMeter from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 901 | type OfpMeter = openflow_13.OfpMeter |
| 902 | |
| 903 | var OfpMeter_name = openflow_13.OfpMeter_name |
| 904 | var OfpMeter_value = openflow_13.OfpMeter_value |
| 905 | |
| 906 | const OfpMeter_OFPM_ZERO = OfpMeter(openflow_13.OfpMeter_OFPM_ZERO) |
| 907 | const OfpMeter_OFPM_MAX = OfpMeter(openflow_13.OfpMeter_OFPM_MAX) |
| 908 | const OfpMeter_OFPM_SLOWPATH = OfpMeter(openflow_13.OfpMeter_OFPM_SLOWPATH) |
| 909 | const OfpMeter_OFPM_CONTROLLER = OfpMeter(openflow_13.OfpMeter_OFPM_CONTROLLER) |
| 910 | const OfpMeter_OFPM_ALL = OfpMeter(openflow_13.OfpMeter_OFPM_ALL) |
| 911 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 912 | // OfpMeterBandType from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 913 | type OfpMeterBandType = openflow_13.OfpMeterBandType |
| 914 | |
| 915 | var OfpMeterBandType_name = openflow_13.OfpMeterBandType_name |
| 916 | var OfpMeterBandType_value = openflow_13.OfpMeterBandType_value |
| 917 | |
| 918 | const OfpMeterBandType_OFPMBT_INVALID = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_INVALID) |
| 919 | const OfpMeterBandType_OFPMBT_DROP = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_DROP) |
| 920 | const OfpMeterBandType_OFPMBT_DSCP_REMARK = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_DSCP_REMARK) |
| 921 | const OfpMeterBandType_OFPMBT_EXPERIMENTER = OfpMeterBandType(openflow_13.OfpMeterBandType_OFPMBT_EXPERIMENTER) |
| 922 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 923 | // OfpMeterModCommand from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 924 | type OfpMeterModCommand = openflow_13.OfpMeterModCommand |
| 925 | |
| 926 | var OfpMeterModCommand_name = openflow_13.OfpMeterModCommand_name |
| 927 | var OfpMeterModCommand_value = openflow_13.OfpMeterModCommand_value |
| 928 | |
| 929 | const OfpMeterModCommand_OFPMC_ADD = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_ADD) |
| 930 | const OfpMeterModCommand_OFPMC_MODIFY = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_MODIFY) |
| 931 | const OfpMeterModCommand_OFPMC_DELETE = OfpMeterModCommand(openflow_13.OfpMeterModCommand_OFPMC_DELETE) |
| 932 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 933 | // OfpMeterFlags from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 934 | type OfpMeterFlags = openflow_13.OfpMeterFlags |
| 935 | |
| 936 | var OfpMeterFlags_name = openflow_13.OfpMeterFlags_name |
| 937 | var OfpMeterFlags_value = openflow_13.OfpMeterFlags_value |
| 938 | |
| 939 | const OfpMeterFlags_OFPMF_INVALID = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_INVALID) |
| 940 | const OfpMeterFlags_OFPMF_KBPS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_KBPS) |
| 941 | const OfpMeterFlags_OFPMF_PKTPS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_PKTPS) |
| 942 | const OfpMeterFlags_OFPMF_BURST = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_BURST) |
| 943 | const OfpMeterFlags_OFPMF_STATS = OfpMeterFlags(openflow_13.OfpMeterFlags_OFPMF_STATS) |
| 944 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 945 | // OfpErrorType from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 946 | type OfpErrorType = openflow_13.OfpErrorType |
| 947 | |
| 948 | var OfpErrorType_name = openflow_13.OfpErrorType_name |
| 949 | var OfpErrorType_value = openflow_13.OfpErrorType_value |
| 950 | |
| 951 | const OfpErrorType_OFPET_HELLO_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_HELLO_FAILED) |
| 952 | const OfpErrorType_OFPET_BAD_REQUEST = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_REQUEST) |
| 953 | const OfpErrorType_OFPET_BAD_ACTION = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_ACTION) |
| 954 | const OfpErrorType_OFPET_BAD_INSTRUCTION = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_INSTRUCTION) |
| 955 | const OfpErrorType_OFPET_BAD_MATCH = OfpErrorType(openflow_13.OfpErrorType_OFPET_BAD_MATCH) |
| 956 | const OfpErrorType_OFPET_FLOW_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_FLOW_MOD_FAILED) |
| 957 | const OfpErrorType_OFPET_GROUP_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_GROUP_MOD_FAILED) |
| 958 | const OfpErrorType_OFPET_PORT_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_PORT_MOD_FAILED) |
| 959 | const OfpErrorType_OFPET_TABLE_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_TABLE_MOD_FAILED) |
| 960 | const OfpErrorType_OFPET_QUEUE_OP_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_QUEUE_OP_FAILED) |
| 961 | const OfpErrorType_OFPET_SWITCH_CONFIG_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_SWITCH_CONFIG_FAILED) |
| 962 | const OfpErrorType_OFPET_ROLE_REQUEST_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_ROLE_REQUEST_FAILED) |
| 963 | const OfpErrorType_OFPET_METER_MOD_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_METER_MOD_FAILED) |
| 964 | const OfpErrorType_OFPET_TABLE_FEATURES_FAILED = OfpErrorType(openflow_13.OfpErrorType_OFPET_TABLE_FEATURES_FAILED) |
| 965 | const OfpErrorType_OFPET_EXPERIMENTER = OfpErrorType(openflow_13.OfpErrorType_OFPET_EXPERIMENTER) |
| 966 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 967 | // OfpHelloFailedCode from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 968 | type OfpHelloFailedCode = openflow_13.OfpHelloFailedCode |
| 969 | |
| 970 | var OfpHelloFailedCode_name = openflow_13.OfpHelloFailedCode_name |
| 971 | var OfpHelloFailedCode_value = openflow_13.OfpHelloFailedCode_value |
| 972 | |
| 973 | const OfpHelloFailedCode_OFPHFC_INCOMPATIBLE = OfpHelloFailedCode(openflow_13.OfpHelloFailedCode_OFPHFC_INCOMPATIBLE) |
| 974 | const OfpHelloFailedCode_OFPHFC_EPERM = OfpHelloFailedCode(openflow_13.OfpHelloFailedCode_OFPHFC_EPERM) |
| 975 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 976 | // OfpBadRequestCode from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 977 | type OfpBadRequestCode = openflow_13.OfpBadRequestCode |
| 978 | |
| 979 | var OfpBadRequestCode_name = openflow_13.OfpBadRequestCode_name |
| 980 | var OfpBadRequestCode_value = openflow_13.OfpBadRequestCode_value |
| 981 | |
| 982 | const OfpBadRequestCode_OFPBRC_BAD_VERSION = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_VERSION) |
| 983 | const OfpBadRequestCode_OFPBRC_BAD_TYPE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_TYPE) |
| 984 | const OfpBadRequestCode_OFPBRC_BAD_MULTIPART = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_MULTIPART) |
| 985 | const OfpBadRequestCode_OFPBRC_BAD_EXPERIMENTER = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_EXPERIMENTER) |
| 986 | const OfpBadRequestCode_OFPBRC_BAD_EXP_TYPE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_EXP_TYPE) |
| 987 | const OfpBadRequestCode_OFPBRC_EPERM = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_EPERM) |
| 988 | const OfpBadRequestCode_OFPBRC_BAD_LEN = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_LEN) |
| 989 | const OfpBadRequestCode_OFPBRC_BUFFER_EMPTY = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BUFFER_EMPTY) |
| 990 | const OfpBadRequestCode_OFPBRC_BUFFER_UNKNOWN = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BUFFER_UNKNOWN) |
| 991 | const OfpBadRequestCode_OFPBRC_BAD_TABLE_ID = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_TABLE_ID) |
| 992 | const OfpBadRequestCode_OFPBRC_IS_SLAVE = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_IS_SLAVE) |
| 993 | const OfpBadRequestCode_OFPBRC_BAD_PORT = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_PORT) |
| 994 | const OfpBadRequestCode_OFPBRC_BAD_PACKET = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_BAD_PACKET) |
| 995 | const OfpBadRequestCode_OFPBRC_MULTIPART_BUFFER_OVERFLOW = OfpBadRequestCode(openflow_13.OfpBadRequestCode_OFPBRC_MULTIPART_BUFFER_OVERFLOW) |
| 996 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 997 | // OfpBadActionCode from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 998 | type OfpBadActionCode = openflow_13.OfpBadActionCode |
| 999 | |
| 1000 | var OfpBadActionCode_name = openflow_13.OfpBadActionCode_name |
| 1001 | var OfpBadActionCode_value = openflow_13.OfpBadActionCode_value |
| 1002 | |
| 1003 | const OfpBadActionCode_OFPBAC_BAD_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_TYPE) |
| 1004 | const OfpBadActionCode_OFPBAC_BAD_LEN = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_LEN) |
| 1005 | const OfpBadActionCode_OFPBAC_BAD_EXPERIMENTER = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_EXPERIMENTER) |
| 1006 | const OfpBadActionCode_OFPBAC_BAD_EXP_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_EXP_TYPE) |
| 1007 | const OfpBadActionCode_OFPBAC_BAD_OUT_PORT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_OUT_PORT) |
| 1008 | const OfpBadActionCode_OFPBAC_BAD_ARGUMENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_ARGUMENT) |
| 1009 | const OfpBadActionCode_OFPBAC_EPERM = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_EPERM) |
| 1010 | const OfpBadActionCode_OFPBAC_TOO_MANY = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_TOO_MANY) |
| 1011 | const OfpBadActionCode_OFPBAC_BAD_QUEUE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_QUEUE) |
| 1012 | const OfpBadActionCode_OFPBAC_BAD_OUT_GROUP = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_OUT_GROUP) |
| 1013 | const OfpBadActionCode_OFPBAC_MATCH_INCONSISTENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_MATCH_INCONSISTENT) |
| 1014 | const OfpBadActionCode_OFPBAC_UNSUPPORTED_ORDER = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_UNSUPPORTED_ORDER) |
| 1015 | const OfpBadActionCode_OFPBAC_BAD_TAG = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_TAG) |
| 1016 | const OfpBadActionCode_OFPBAC_BAD_SET_TYPE = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_TYPE) |
| 1017 | const OfpBadActionCode_OFPBAC_BAD_SET_LEN = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_LEN) |
| 1018 | const OfpBadActionCode_OFPBAC_BAD_SET_ARGUMENT = OfpBadActionCode(openflow_13.OfpBadActionCode_OFPBAC_BAD_SET_ARGUMENT) |
| 1019 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1020 | // OfpBadInstructionCode from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1021 | type OfpBadInstructionCode = openflow_13.OfpBadInstructionCode |
| 1022 | |
| 1023 | var OfpBadInstructionCode_name = openflow_13.OfpBadInstructionCode_name |
| 1024 | var OfpBadInstructionCode_value = openflow_13.OfpBadInstructionCode_value |
| 1025 | |
| 1026 | const OfpBadInstructionCode_OFPBIC_UNKNOWN_INST = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNKNOWN_INST) |
| 1027 | const OfpBadInstructionCode_OFPBIC_UNSUP_INST = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_INST) |
| 1028 | const OfpBadInstructionCode_OFPBIC_BAD_TABLE_ID = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_TABLE_ID) |
| 1029 | const OfpBadInstructionCode_OFPBIC_UNSUP_METADATA = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_METADATA) |
| 1030 | const OfpBadInstructionCode_OFPBIC_UNSUP_METADATA_MASK = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_UNSUP_METADATA_MASK) |
| 1031 | const OfpBadInstructionCode_OFPBIC_BAD_EXPERIMENTER = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_EXPERIMENTER) |
| 1032 | const OfpBadInstructionCode_OFPBIC_BAD_EXP_TYPE = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_EXP_TYPE) |
| 1033 | const OfpBadInstructionCode_OFPBIC_BAD_LEN = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_BAD_LEN) |
| 1034 | const OfpBadInstructionCode_OFPBIC_EPERM = OfpBadInstructionCode(openflow_13.OfpBadInstructionCode_OFPBIC_EPERM) |
| 1035 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1036 | // OfpBadMatchCode from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1037 | type OfpBadMatchCode = openflow_13.OfpBadMatchCode |
| 1038 | |
| 1039 | var OfpBadMatchCode_name = openflow_13.OfpBadMatchCode_name |
| 1040 | var OfpBadMatchCode_value = openflow_13.OfpBadMatchCode_value |
| 1041 | |
| 1042 | const OfpBadMatchCode_OFPBMC_BAD_TYPE = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_TYPE) |
| 1043 | const OfpBadMatchCode_OFPBMC_BAD_LEN = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_LEN) |
| 1044 | const OfpBadMatchCode_OFPBMC_BAD_TAG = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_TAG) |
| 1045 | const OfpBadMatchCode_OFPBMC_BAD_DL_ADDR_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_DL_ADDR_MASK) |
| 1046 | const OfpBadMatchCode_OFPBMC_BAD_NW_ADDR_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_NW_ADDR_MASK) |
| 1047 | const OfpBadMatchCode_OFPBMC_BAD_WILDCARDS = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_WILDCARDS) |
| 1048 | const OfpBadMatchCode_OFPBMC_BAD_FIELD = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_FIELD) |
| 1049 | const OfpBadMatchCode_OFPBMC_BAD_VALUE = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_VALUE) |
| 1050 | const OfpBadMatchCode_OFPBMC_BAD_MASK = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_MASK) |
| 1051 | const OfpBadMatchCode_OFPBMC_BAD_PREREQ = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_BAD_PREREQ) |
| 1052 | const OfpBadMatchCode_OFPBMC_DUP_FIELD = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_DUP_FIELD) |
| 1053 | const OfpBadMatchCode_OFPBMC_EPERM = OfpBadMatchCode(openflow_13.OfpBadMatchCode_OFPBMC_EPERM) |
| 1054 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1055 | // OfpFlowModFailedCode from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1056 | type OfpFlowModFailedCode = openflow_13.OfpFlowModFailedCode |
| 1057 | |
| 1058 | var OfpFlowModFailedCode_name = openflow_13.OfpFlowModFailedCode_name |
| 1059 | var OfpFlowModFailedCode_value = openflow_13.OfpFlowModFailedCode_value |
| 1060 | |
| 1061 | const OfpFlowModFailedCode_OFPFMFC_UNKNOWN = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_UNKNOWN) |
| 1062 | const OfpFlowModFailedCode_OFPFMFC_TABLE_FULL = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_TABLE_FULL) |
| 1063 | const OfpFlowModFailedCode_OFPFMFC_BAD_TABLE_ID = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_TABLE_ID) |
| 1064 | const OfpFlowModFailedCode_OFPFMFC_OVERLAP = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_OVERLAP) |
| 1065 | const OfpFlowModFailedCode_OFPFMFC_EPERM = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_EPERM) |
| 1066 | const OfpFlowModFailedCode_OFPFMFC_BAD_TIMEOUT = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_TIMEOUT) |
| 1067 | const OfpFlowModFailedCode_OFPFMFC_BAD_COMMAND = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_COMMAND) |
| 1068 | const OfpFlowModFailedCode_OFPFMFC_BAD_FLAGS = OfpFlowModFailedCode(openflow_13.OfpFlowModFailedCode_OFPFMFC_BAD_FLAGS) |
| 1069 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1070 | // OfpGroupModFailedCode from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1071 | type OfpGroupModFailedCode = openflow_13.OfpGroupModFailedCode |
| 1072 | |
| 1073 | var OfpGroupModFailedCode_name = openflow_13.OfpGroupModFailedCode_name |
| 1074 | var OfpGroupModFailedCode_value = openflow_13.OfpGroupModFailedCode_value |
| 1075 | |
| 1076 | const OfpGroupModFailedCode_OFPGMFC_GROUP_EXISTS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_GROUP_EXISTS) |
| 1077 | const OfpGroupModFailedCode_OFPGMFC_INVALID_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_INVALID_GROUP) |
| 1078 | const OfpGroupModFailedCode_OFPGMFC_WEIGHT_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_WEIGHT_UNSUPPORTED) |
| 1079 | const OfpGroupModFailedCode_OFPGMFC_OUT_OF_GROUPS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_OUT_OF_GROUPS) |
| 1080 | const OfpGroupModFailedCode_OFPGMFC_OUT_OF_BUCKETS = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_OUT_OF_BUCKETS) |
| 1081 | const OfpGroupModFailedCode_OFPGMFC_CHAINING_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_CHAINING_UNSUPPORTED) |
| 1082 | const OfpGroupModFailedCode_OFPGMFC_WATCH_UNSUPPORTED = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_WATCH_UNSUPPORTED) |
| 1083 | const OfpGroupModFailedCode_OFPGMFC_LOOP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_LOOP) |
| 1084 | const OfpGroupModFailedCode_OFPGMFC_UNKNOWN_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_UNKNOWN_GROUP) |
| 1085 | const OfpGroupModFailedCode_OFPGMFC_CHAINED_GROUP = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_CHAINED_GROUP) |
| 1086 | const OfpGroupModFailedCode_OFPGMFC_BAD_TYPE = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_TYPE) |
| 1087 | const OfpGroupModFailedCode_OFPGMFC_BAD_COMMAND = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_COMMAND) |
| 1088 | const OfpGroupModFailedCode_OFPGMFC_BAD_BUCKET = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_BUCKET) |
| 1089 | const OfpGroupModFailedCode_OFPGMFC_BAD_WATCH = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_BAD_WATCH) |
| 1090 | const OfpGroupModFailedCode_OFPGMFC_EPERM = OfpGroupModFailedCode(openflow_13.OfpGroupModFailedCode_OFPGMFC_EPERM) |
| 1091 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1092 | // OfpPortModFailedCode from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1093 | type OfpPortModFailedCode = openflow_13.OfpPortModFailedCode |
| 1094 | |
| 1095 | var OfpPortModFailedCode_name = openflow_13.OfpPortModFailedCode_name |
| 1096 | var OfpPortModFailedCode_value = openflow_13.OfpPortModFailedCode_value |
| 1097 | |
| 1098 | const OfpPortModFailedCode_OFPPMFC_BAD_PORT = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_PORT) |
| 1099 | const OfpPortModFailedCode_OFPPMFC_BAD_HW_ADDR = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_HW_ADDR) |
| 1100 | const OfpPortModFailedCode_OFPPMFC_BAD_CONFIG = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_CONFIG) |
| 1101 | const OfpPortModFailedCode_OFPPMFC_BAD_ADVERTISE = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_BAD_ADVERTISE) |
| 1102 | const OfpPortModFailedCode_OFPPMFC_EPERM = OfpPortModFailedCode(openflow_13.OfpPortModFailedCode_OFPPMFC_EPERM) |
| 1103 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1104 | // OfpTableModFailedCode from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1105 | type OfpTableModFailedCode = openflow_13.OfpTableModFailedCode |
| 1106 | |
| 1107 | var OfpTableModFailedCode_name = openflow_13.OfpTableModFailedCode_name |
| 1108 | var OfpTableModFailedCode_value = openflow_13.OfpTableModFailedCode_value |
| 1109 | |
| 1110 | const OfpTableModFailedCode_OFPTMFC_BAD_TABLE = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_BAD_TABLE) |
| 1111 | const OfpTableModFailedCode_OFPTMFC_BAD_CONFIG = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_BAD_CONFIG) |
| 1112 | const OfpTableModFailedCode_OFPTMFC_EPERM = OfpTableModFailedCode(openflow_13.OfpTableModFailedCode_OFPTMFC_EPERM) |
| 1113 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1114 | // OfpQueueOpFailedCode from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1115 | type OfpQueueOpFailedCode = openflow_13.OfpQueueOpFailedCode |
| 1116 | |
| 1117 | var OfpQueueOpFailedCode_name = openflow_13.OfpQueueOpFailedCode_name |
| 1118 | var OfpQueueOpFailedCode_value = openflow_13.OfpQueueOpFailedCode_value |
| 1119 | |
| 1120 | const OfpQueueOpFailedCode_OFPQOFC_BAD_PORT = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_BAD_PORT) |
| 1121 | const OfpQueueOpFailedCode_OFPQOFC_BAD_QUEUE = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_BAD_QUEUE) |
| 1122 | const OfpQueueOpFailedCode_OFPQOFC_EPERM = OfpQueueOpFailedCode(openflow_13.OfpQueueOpFailedCode_OFPQOFC_EPERM) |
| 1123 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1124 | // OfpSwitchConfigFailedCode from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1125 | type OfpSwitchConfigFailedCode = openflow_13.OfpSwitchConfigFailedCode |
| 1126 | |
| 1127 | var OfpSwitchConfigFailedCode_name = openflow_13.OfpSwitchConfigFailedCode_name |
| 1128 | var OfpSwitchConfigFailedCode_value = openflow_13.OfpSwitchConfigFailedCode_value |
| 1129 | |
| 1130 | const OfpSwitchConfigFailedCode_OFPSCFC_BAD_FLAGS = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_BAD_FLAGS) |
| 1131 | const OfpSwitchConfigFailedCode_OFPSCFC_BAD_LEN = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_BAD_LEN) |
| 1132 | const OfpSwitchConfigFailedCode_OFPSCFC_EPERM = OfpSwitchConfigFailedCode(openflow_13.OfpSwitchConfigFailedCode_OFPSCFC_EPERM) |
| 1133 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1134 | // OfpRoleRequestFailedCode from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1135 | type OfpRoleRequestFailedCode = openflow_13.OfpRoleRequestFailedCode |
| 1136 | |
| 1137 | var OfpRoleRequestFailedCode_name = openflow_13.OfpRoleRequestFailedCode_name |
| 1138 | var OfpRoleRequestFailedCode_value = openflow_13.OfpRoleRequestFailedCode_value |
| 1139 | |
| 1140 | const OfpRoleRequestFailedCode_OFPRRFC_STALE = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_STALE) |
| 1141 | const OfpRoleRequestFailedCode_OFPRRFC_UNSUP = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_UNSUP) |
| 1142 | const OfpRoleRequestFailedCode_OFPRRFC_BAD_ROLE = OfpRoleRequestFailedCode(openflow_13.OfpRoleRequestFailedCode_OFPRRFC_BAD_ROLE) |
| 1143 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1144 | // OfpMeterModFailedCode from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1145 | type OfpMeterModFailedCode = openflow_13.OfpMeterModFailedCode |
| 1146 | |
| 1147 | var OfpMeterModFailedCode_name = openflow_13.OfpMeterModFailedCode_name |
| 1148 | var OfpMeterModFailedCode_value = openflow_13.OfpMeterModFailedCode_value |
| 1149 | |
| 1150 | const OfpMeterModFailedCode_OFPMMFC_UNKNOWN = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_UNKNOWN) |
| 1151 | const OfpMeterModFailedCode_OFPMMFC_METER_EXISTS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_METER_EXISTS) |
| 1152 | const OfpMeterModFailedCode_OFPMMFC_INVALID_METER = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_INVALID_METER) |
| 1153 | const OfpMeterModFailedCode_OFPMMFC_UNKNOWN_METER = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_UNKNOWN_METER) |
| 1154 | const OfpMeterModFailedCode_OFPMMFC_BAD_COMMAND = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_COMMAND) |
| 1155 | const OfpMeterModFailedCode_OFPMMFC_BAD_FLAGS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_FLAGS) |
| 1156 | const OfpMeterModFailedCode_OFPMMFC_BAD_RATE = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_RATE) |
| 1157 | const OfpMeterModFailedCode_OFPMMFC_BAD_BURST = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BURST) |
| 1158 | const OfpMeterModFailedCode_OFPMMFC_BAD_BAND = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BAND) |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 1159 | const OfpMeterModFailedCode_OFPMMFC_BAD_BAND_DETAIL = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_BAD_BAND_DETAIL) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1160 | const OfpMeterModFailedCode_OFPMMFC_OUT_OF_METERS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_OUT_OF_METERS) |
| 1161 | const OfpMeterModFailedCode_OFPMMFC_OUT_OF_BANDS = OfpMeterModFailedCode(openflow_13.OfpMeterModFailedCode_OFPMMFC_OUT_OF_BANDS) |
| 1162 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1163 | // OfpTableFeaturesFailedCode from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1164 | type OfpTableFeaturesFailedCode = openflow_13.OfpTableFeaturesFailedCode |
| 1165 | |
| 1166 | var OfpTableFeaturesFailedCode_name = openflow_13.OfpTableFeaturesFailedCode_name |
| 1167 | var OfpTableFeaturesFailedCode_value = openflow_13.OfpTableFeaturesFailedCode_value |
| 1168 | |
| 1169 | const OfpTableFeaturesFailedCode_OFPTFFC_BAD_TABLE = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_TABLE) |
| 1170 | const OfpTableFeaturesFailedCode_OFPTFFC_BAD_METADATA = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_METADATA) |
| 1171 | const OfpTableFeaturesFailedCode_OFPTFFC_BAD_TYPE = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_TYPE) |
| 1172 | const OfpTableFeaturesFailedCode_OFPTFFC_BAD_LEN = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_LEN) |
| 1173 | const OfpTableFeaturesFailedCode_OFPTFFC_BAD_ARGUMENT = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_BAD_ARGUMENT) |
| 1174 | const OfpTableFeaturesFailedCode_OFPTFFC_EPERM = OfpTableFeaturesFailedCode(openflow_13.OfpTableFeaturesFailedCode_OFPTFFC_EPERM) |
| 1175 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1176 | // OfpMultipartType from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1177 | type OfpMultipartType = openflow_13.OfpMultipartType |
| 1178 | |
| 1179 | var OfpMultipartType_name = openflow_13.OfpMultipartType_name |
| 1180 | var OfpMultipartType_value = openflow_13.OfpMultipartType_value |
| 1181 | |
| 1182 | const OfpMultipartType_OFPMP_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_DESC) |
| 1183 | const OfpMultipartType_OFPMP_FLOW = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_FLOW) |
| 1184 | const OfpMultipartType_OFPMP_AGGREGATE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_AGGREGATE) |
| 1185 | const OfpMultipartType_OFPMP_TABLE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_TABLE) |
| 1186 | const OfpMultipartType_OFPMP_PORT_STATS = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_PORT_STATS) |
| 1187 | const OfpMultipartType_OFPMP_QUEUE = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_QUEUE) |
| 1188 | const OfpMultipartType_OFPMP_GROUP = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP) |
| 1189 | const OfpMultipartType_OFPMP_GROUP_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP_DESC) |
| 1190 | const OfpMultipartType_OFPMP_GROUP_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_GROUP_FEATURES) |
| 1191 | const OfpMultipartType_OFPMP_METER = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER) |
| 1192 | const OfpMultipartType_OFPMP_METER_CONFIG = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER_CONFIG) |
| 1193 | const OfpMultipartType_OFPMP_METER_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_METER_FEATURES) |
| 1194 | const OfpMultipartType_OFPMP_TABLE_FEATURES = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_TABLE_FEATURES) |
| 1195 | const OfpMultipartType_OFPMP_PORT_DESC = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_PORT_DESC) |
| 1196 | const OfpMultipartType_OFPMP_EXPERIMENTER = OfpMultipartType(openflow_13.OfpMultipartType_OFPMP_EXPERIMENTER) |
| 1197 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1198 | // OfpMultipartRequestFlags from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1199 | type OfpMultipartRequestFlags = openflow_13.OfpMultipartRequestFlags |
| 1200 | |
| 1201 | var OfpMultipartRequestFlags_name = openflow_13.OfpMultipartRequestFlags_name |
| 1202 | var OfpMultipartRequestFlags_value = openflow_13.OfpMultipartRequestFlags_value |
| 1203 | |
| 1204 | const OfpMultipartRequestFlags_OFPMPF_REQ_INVALID = OfpMultipartRequestFlags(openflow_13.OfpMultipartRequestFlags_OFPMPF_REQ_INVALID) |
| 1205 | const OfpMultipartRequestFlags_OFPMPF_REQ_MORE = OfpMultipartRequestFlags(openflow_13.OfpMultipartRequestFlags_OFPMPF_REQ_MORE) |
| 1206 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1207 | // OfpMultipartReplyFlags from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1208 | type OfpMultipartReplyFlags = openflow_13.OfpMultipartReplyFlags |
| 1209 | |
| 1210 | var OfpMultipartReplyFlags_name = openflow_13.OfpMultipartReplyFlags_name |
| 1211 | var OfpMultipartReplyFlags_value = openflow_13.OfpMultipartReplyFlags_value |
| 1212 | |
| 1213 | const OfpMultipartReplyFlags_OFPMPF_REPLY_INVALID = OfpMultipartReplyFlags(openflow_13.OfpMultipartReplyFlags_OFPMPF_REPLY_INVALID) |
| 1214 | const OfpMultipartReplyFlags_OFPMPF_REPLY_MORE = OfpMultipartReplyFlags(openflow_13.OfpMultipartReplyFlags_OFPMPF_REPLY_MORE) |
| 1215 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1216 | // OfpTableFeaturePropType from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1217 | type OfpTableFeaturePropType = openflow_13.OfpTableFeaturePropType |
| 1218 | |
| 1219 | var OfpTableFeaturePropType_name = openflow_13.OfpTableFeaturePropType_name |
| 1220 | var OfpTableFeaturePropType_value = openflow_13.OfpTableFeaturePropType_value |
| 1221 | |
| 1222 | const OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS) |
| 1223 | const OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS_MISS) |
| 1224 | const OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES) |
| 1225 | const OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES_MISS) |
| 1226 | const OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS) |
| 1227 | const OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS_MISS) |
| 1228 | const OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS) |
| 1229 | const OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS_MISS) |
| 1230 | const OfpTableFeaturePropType_OFPTFPT_MATCH = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_MATCH) |
| 1231 | const OfpTableFeaturePropType_OFPTFPT_WILDCARDS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WILDCARDS) |
| 1232 | const OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD) |
| 1233 | const OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD_MISS) |
| 1234 | const OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD) |
| 1235 | const OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD_MISS) |
| 1236 | const OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER) |
| 1237 | const OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER_MISS = OfpTableFeaturePropType(openflow_13.OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER_MISS) |
| 1238 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1239 | // OfpGroupCapabilities from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1240 | type OfpGroupCapabilities = openflow_13.OfpGroupCapabilities |
| 1241 | |
| 1242 | var OfpGroupCapabilities_name = openflow_13.OfpGroupCapabilities_name |
| 1243 | var OfpGroupCapabilities_value = openflow_13.OfpGroupCapabilities_value |
| 1244 | |
| 1245 | const OfpGroupCapabilities_OFPGFC_INVALID = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_INVALID) |
| 1246 | const OfpGroupCapabilities_OFPGFC_SELECT_WEIGHT = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_SELECT_WEIGHT) |
| 1247 | const OfpGroupCapabilities_OFPGFC_SELECT_LIVENESS = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_SELECT_LIVENESS) |
| 1248 | const OfpGroupCapabilities_OFPGFC_CHAINING = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_CHAINING) |
| 1249 | const OfpGroupCapabilities_OFPGFC_CHAINING_CHECKS = OfpGroupCapabilities(openflow_13.OfpGroupCapabilities_OFPGFC_CHAINING_CHECKS) |
| 1250 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1251 | // OfpQueueProperties from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1252 | type OfpQueueProperties = openflow_13.OfpQueueProperties |
| 1253 | |
| 1254 | var OfpQueueProperties_name = openflow_13.OfpQueueProperties_name |
| 1255 | var OfpQueueProperties_value = openflow_13.OfpQueueProperties_value |
| 1256 | |
| 1257 | const OfpQueueProperties_OFPQT_INVALID = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_INVALID) |
| 1258 | const OfpQueueProperties_OFPQT_MIN_RATE = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_MIN_RATE) |
| 1259 | const OfpQueueProperties_OFPQT_MAX_RATE = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_MAX_RATE) |
| 1260 | const OfpQueueProperties_OFPQT_EXPERIMENTER = OfpQueueProperties(openflow_13.OfpQueueProperties_OFPQT_EXPERIMENTER) |
| 1261 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1262 | // OfpControllerRole from public import voltha_protos/openflow_13.proto |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1263 | type OfpControllerRole = openflow_13.OfpControllerRole |
| 1264 | |
| 1265 | var OfpControllerRole_name = openflow_13.OfpControllerRole_name |
| 1266 | var OfpControllerRole_value = openflow_13.OfpControllerRole_value |
| 1267 | |
| 1268 | const OfpControllerRole_OFPCR_ROLE_NOCHANGE = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_NOCHANGE) |
| 1269 | const OfpControllerRole_OFPCR_ROLE_EQUAL = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_EQUAL) |
| 1270 | const OfpControllerRole_OFPCR_ROLE_MASTER = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_MASTER) |
| 1271 | const OfpControllerRole_OFPCR_ROLE_SLAVE = OfpControllerRole(openflow_13.OfpControllerRole_OFPCR_ROLE_SLAVE) |
| 1272 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1273 | type EventFilterRuleKey_EventFilterRuleType int32 |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1274 | |
| 1275 | const ( |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1276 | EventFilterRuleKey_filter_all EventFilterRuleKey_EventFilterRuleType = 0 |
| 1277 | EventFilterRuleKey_category EventFilterRuleKey_EventFilterRuleType = 1 |
| 1278 | EventFilterRuleKey_sub_category EventFilterRuleKey_EventFilterRuleType = 2 |
| 1279 | EventFilterRuleKey_kpi_event_type EventFilterRuleKey_EventFilterRuleType = 3 |
| 1280 | EventFilterRuleKey_config_event_type EventFilterRuleKey_EventFilterRuleType = 4 |
| 1281 | EventFilterRuleKey_device_event_type EventFilterRuleKey_EventFilterRuleType = 5 |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1282 | ) |
| 1283 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1284 | var EventFilterRuleKey_EventFilterRuleType_name = map[int32]string{ |
| 1285 | 0: "filter_all", |
| 1286 | 1: "category", |
| 1287 | 2: "sub_category", |
| 1288 | 3: "kpi_event_type", |
| 1289 | 4: "config_event_type", |
| 1290 | 5: "device_event_type", |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1291 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1292 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1293 | var EventFilterRuleKey_EventFilterRuleType_value = map[string]int32{ |
| 1294 | "filter_all": 0, |
| 1295 | "category": 1, |
| 1296 | "sub_category": 2, |
| 1297 | "kpi_event_type": 3, |
| 1298 | "config_event_type": 4, |
| 1299 | "device_event_type": 5, |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1300 | } |
| 1301 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1302 | func (x EventFilterRuleKey_EventFilterRuleType) String() string { |
| 1303 | return proto.EnumName(EventFilterRuleKey_EventFilterRuleType_name, int32(x)) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1304 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1305 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1306 | func (EventFilterRuleKey_EventFilterRuleType) EnumDescriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1307 | return fileDescriptor_e084f1a60ce7016c, []int{2, 0} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1308 | } |
| 1309 | |
| 1310 | type SelfTestResponse_SelfTestResult int32 |
| 1311 | |
| 1312 | const ( |
| 1313 | SelfTestResponse_SUCCESS SelfTestResponse_SelfTestResult = 0 |
| 1314 | SelfTestResponse_FAILURE SelfTestResponse_SelfTestResult = 1 |
| 1315 | SelfTestResponse_NOT_SUPPORTED SelfTestResponse_SelfTestResult = 2 |
| 1316 | SelfTestResponse_UNKNOWN_ERROR SelfTestResponse_SelfTestResult = 3 |
| 1317 | ) |
| 1318 | |
| 1319 | var SelfTestResponse_SelfTestResult_name = map[int32]string{ |
| 1320 | 0: "SUCCESS", |
| 1321 | 1: "FAILURE", |
| 1322 | 2: "NOT_SUPPORTED", |
| 1323 | 3: "UNKNOWN_ERROR", |
| 1324 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1325 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1326 | var SelfTestResponse_SelfTestResult_value = map[string]int32{ |
| 1327 | "SUCCESS": 0, |
| 1328 | "FAILURE": 1, |
| 1329 | "NOT_SUPPORTED": 2, |
| 1330 | "UNKNOWN_ERROR": 3, |
| 1331 | } |
| 1332 | |
| 1333 | func (x SelfTestResponse_SelfTestResult) String() string { |
| 1334 | return proto.EnumName(SelfTestResponse_SelfTestResult_name, int32(x)) |
| 1335 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1336 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1337 | func (SelfTestResponse_SelfTestResult) EnumDescriptor() ([]byte, []int) { |
Scott Baker | 99af94e | 2019-08-20 10:45:06 -0700 | [diff] [blame] | 1338 | return fileDescriptor_e084f1a60ce7016c, []int{9, 0} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1339 | } |
| 1340 | |
| 1341 | type DeviceGroup struct { |
| 1342 | Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 1343 | LogicalDevices []*LogicalDevice `protobuf:"bytes,2,rep,name=logical_devices,json=logicalDevices,proto3" json:"logical_devices,omitempty"` |
| 1344 | Devices []*Device `protobuf:"bytes,3,rep,name=devices,proto3" json:"devices,omitempty"` |
| 1345 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1346 | XXX_unrecognized []byte `json:"-"` |
| 1347 | XXX_sizecache int32 `json:"-"` |
| 1348 | } |
| 1349 | |
| 1350 | func (m *DeviceGroup) Reset() { *m = DeviceGroup{} } |
| 1351 | func (m *DeviceGroup) String() string { return proto.CompactTextString(m) } |
| 1352 | func (*DeviceGroup) ProtoMessage() {} |
| 1353 | func (*DeviceGroup) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1354 | return fileDescriptor_e084f1a60ce7016c, []int{0} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1355 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1356 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1357 | func (m *DeviceGroup) XXX_Unmarshal(b []byte) error { |
| 1358 | return xxx_messageInfo_DeviceGroup.Unmarshal(m, b) |
| 1359 | } |
| 1360 | func (m *DeviceGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1361 | return xxx_messageInfo_DeviceGroup.Marshal(b, m, deterministic) |
| 1362 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1363 | func (m *DeviceGroup) XXX_Merge(src proto.Message) { |
| 1364 | xxx_messageInfo_DeviceGroup.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1365 | } |
| 1366 | func (m *DeviceGroup) XXX_Size() int { |
| 1367 | return xxx_messageInfo_DeviceGroup.Size(m) |
| 1368 | } |
| 1369 | func (m *DeviceGroup) XXX_DiscardUnknown() { |
| 1370 | xxx_messageInfo_DeviceGroup.DiscardUnknown(m) |
| 1371 | } |
| 1372 | |
| 1373 | var xxx_messageInfo_DeviceGroup proto.InternalMessageInfo |
| 1374 | |
| 1375 | func (m *DeviceGroup) GetId() string { |
| 1376 | if m != nil { |
| 1377 | return m.Id |
| 1378 | } |
| 1379 | return "" |
| 1380 | } |
| 1381 | |
| 1382 | func (m *DeviceGroup) GetLogicalDevices() []*LogicalDevice { |
| 1383 | if m != nil { |
| 1384 | return m.LogicalDevices |
| 1385 | } |
| 1386 | return nil |
| 1387 | } |
| 1388 | |
| 1389 | func (m *DeviceGroup) GetDevices() []*Device { |
| 1390 | if m != nil { |
| 1391 | return m.Devices |
| 1392 | } |
| 1393 | return nil |
| 1394 | } |
| 1395 | |
| 1396 | type DeviceGroups struct { |
| 1397 | Items []*DeviceGroup `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` |
| 1398 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1399 | XXX_unrecognized []byte `json:"-"` |
| 1400 | XXX_sizecache int32 `json:"-"` |
| 1401 | } |
| 1402 | |
| 1403 | func (m *DeviceGroups) Reset() { *m = DeviceGroups{} } |
| 1404 | func (m *DeviceGroups) String() string { return proto.CompactTextString(m) } |
| 1405 | func (*DeviceGroups) ProtoMessage() {} |
| 1406 | func (*DeviceGroups) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1407 | return fileDescriptor_e084f1a60ce7016c, []int{1} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1408 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1409 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1410 | func (m *DeviceGroups) XXX_Unmarshal(b []byte) error { |
| 1411 | return xxx_messageInfo_DeviceGroups.Unmarshal(m, b) |
| 1412 | } |
| 1413 | func (m *DeviceGroups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1414 | return xxx_messageInfo_DeviceGroups.Marshal(b, m, deterministic) |
| 1415 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1416 | func (m *DeviceGroups) XXX_Merge(src proto.Message) { |
| 1417 | xxx_messageInfo_DeviceGroups.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1418 | } |
| 1419 | func (m *DeviceGroups) XXX_Size() int { |
| 1420 | return xxx_messageInfo_DeviceGroups.Size(m) |
| 1421 | } |
| 1422 | func (m *DeviceGroups) XXX_DiscardUnknown() { |
| 1423 | xxx_messageInfo_DeviceGroups.DiscardUnknown(m) |
| 1424 | } |
| 1425 | |
| 1426 | var xxx_messageInfo_DeviceGroups proto.InternalMessageInfo |
| 1427 | |
| 1428 | func (m *DeviceGroups) GetItems() []*DeviceGroup { |
| 1429 | if m != nil { |
| 1430 | return m.Items |
| 1431 | } |
| 1432 | return nil |
| 1433 | } |
| 1434 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1435 | type EventFilterRuleKey struct { |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1436 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1437 | XXX_unrecognized []byte `json:"-"` |
| 1438 | XXX_sizecache int32 `json:"-"` |
| 1439 | } |
| 1440 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1441 | func (m *EventFilterRuleKey) Reset() { *m = EventFilterRuleKey{} } |
| 1442 | func (m *EventFilterRuleKey) String() string { return proto.CompactTextString(m) } |
| 1443 | func (*EventFilterRuleKey) ProtoMessage() {} |
| 1444 | func (*EventFilterRuleKey) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1445 | return fileDescriptor_e084f1a60ce7016c, []int{2} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1446 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1447 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1448 | func (m *EventFilterRuleKey) XXX_Unmarshal(b []byte) error { |
| 1449 | return xxx_messageInfo_EventFilterRuleKey.Unmarshal(m, b) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1450 | } |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1451 | func (m *EventFilterRuleKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1452 | return xxx_messageInfo_EventFilterRuleKey.Marshal(b, m, deterministic) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1453 | } |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1454 | func (m *EventFilterRuleKey) XXX_Merge(src proto.Message) { |
| 1455 | xxx_messageInfo_EventFilterRuleKey.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1456 | } |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1457 | func (m *EventFilterRuleKey) XXX_Size() int { |
| 1458 | return xxx_messageInfo_EventFilterRuleKey.Size(m) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1459 | } |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1460 | func (m *EventFilterRuleKey) XXX_DiscardUnknown() { |
| 1461 | xxx_messageInfo_EventFilterRuleKey.DiscardUnknown(m) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1462 | } |
| 1463 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1464 | var xxx_messageInfo_EventFilterRuleKey proto.InternalMessageInfo |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1465 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1466 | type EventFilterRule struct { |
| 1467 | Key EventFilterRuleKey_EventFilterRuleType `protobuf:"varint,1,opt,name=key,proto3,enum=voltha.EventFilterRuleKey_EventFilterRuleType" json:"key,omitempty"` |
| 1468 | Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` |
| 1469 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1470 | XXX_unrecognized []byte `json:"-"` |
| 1471 | XXX_sizecache int32 `json:"-"` |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1472 | } |
| 1473 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1474 | func (m *EventFilterRule) Reset() { *m = EventFilterRule{} } |
| 1475 | func (m *EventFilterRule) String() string { return proto.CompactTextString(m) } |
| 1476 | func (*EventFilterRule) ProtoMessage() {} |
| 1477 | func (*EventFilterRule) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1478 | return fileDescriptor_e084f1a60ce7016c, []int{3} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1479 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1480 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1481 | func (m *EventFilterRule) XXX_Unmarshal(b []byte) error { |
| 1482 | return xxx_messageInfo_EventFilterRule.Unmarshal(m, b) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1483 | } |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1484 | func (m *EventFilterRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1485 | return xxx_messageInfo_EventFilterRule.Marshal(b, m, deterministic) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1486 | } |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1487 | func (m *EventFilterRule) XXX_Merge(src proto.Message) { |
| 1488 | xxx_messageInfo_EventFilterRule.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1489 | } |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1490 | func (m *EventFilterRule) XXX_Size() int { |
| 1491 | return xxx_messageInfo_EventFilterRule.Size(m) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1492 | } |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1493 | func (m *EventFilterRule) XXX_DiscardUnknown() { |
| 1494 | xxx_messageInfo_EventFilterRule.DiscardUnknown(m) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1495 | } |
| 1496 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1497 | var xxx_messageInfo_EventFilterRule proto.InternalMessageInfo |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1498 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1499 | func (m *EventFilterRule) GetKey() EventFilterRuleKey_EventFilterRuleType { |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1500 | if m != nil { |
| 1501 | return m.Key |
| 1502 | } |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1503 | return EventFilterRuleKey_filter_all |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1504 | } |
| 1505 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1506 | func (m *EventFilterRule) GetValue() string { |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1507 | if m != nil { |
| 1508 | return m.Value |
| 1509 | } |
| 1510 | return "" |
| 1511 | } |
| 1512 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1513 | type EventFilter struct { |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1514 | Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1515 | Enable bool `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"` |
| 1516 | DeviceId string `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` |
| 1517 | EventType string `protobuf:"bytes,4,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"` |
| 1518 | Rules []*EventFilterRule `protobuf:"bytes,5,rep,name=rules,proto3" json:"rules,omitempty"` |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1519 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1520 | XXX_unrecognized []byte `json:"-"` |
| 1521 | XXX_sizecache int32 `json:"-"` |
| 1522 | } |
| 1523 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1524 | func (m *EventFilter) Reset() { *m = EventFilter{} } |
| 1525 | func (m *EventFilter) String() string { return proto.CompactTextString(m) } |
| 1526 | func (*EventFilter) ProtoMessage() {} |
| 1527 | func (*EventFilter) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1528 | return fileDescriptor_e084f1a60ce7016c, []int{4} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1529 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1530 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1531 | func (m *EventFilter) XXX_Unmarshal(b []byte) error { |
| 1532 | return xxx_messageInfo_EventFilter.Unmarshal(m, b) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1533 | } |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1534 | func (m *EventFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1535 | return xxx_messageInfo_EventFilter.Marshal(b, m, deterministic) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1536 | } |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1537 | func (m *EventFilter) XXX_Merge(src proto.Message) { |
| 1538 | xxx_messageInfo_EventFilter.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1539 | } |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1540 | func (m *EventFilter) XXX_Size() int { |
| 1541 | return xxx_messageInfo_EventFilter.Size(m) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1542 | } |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1543 | func (m *EventFilter) XXX_DiscardUnknown() { |
| 1544 | xxx_messageInfo_EventFilter.DiscardUnknown(m) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1545 | } |
| 1546 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1547 | var xxx_messageInfo_EventFilter proto.InternalMessageInfo |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1548 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1549 | func (m *EventFilter) GetId() string { |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1550 | if m != nil { |
| 1551 | return m.Id |
| 1552 | } |
| 1553 | return "" |
| 1554 | } |
| 1555 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1556 | func (m *EventFilter) GetEnable() bool { |
| 1557 | if m != nil { |
| 1558 | return m.Enable |
| 1559 | } |
| 1560 | return false |
| 1561 | } |
| 1562 | |
| 1563 | func (m *EventFilter) GetDeviceId() string { |
| 1564 | if m != nil { |
| 1565 | return m.DeviceId |
| 1566 | } |
| 1567 | return "" |
| 1568 | } |
| 1569 | |
| 1570 | func (m *EventFilter) GetEventType() string { |
| 1571 | if m != nil { |
| 1572 | return m.EventType |
| 1573 | } |
| 1574 | return "" |
| 1575 | } |
| 1576 | |
| 1577 | func (m *EventFilter) GetRules() []*EventFilterRule { |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1578 | if m != nil { |
| 1579 | return m.Rules |
| 1580 | } |
| 1581 | return nil |
| 1582 | } |
| 1583 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1584 | type EventFilters struct { |
| 1585 | Filters []*EventFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"` |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1586 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1587 | XXX_unrecognized []byte `json:"-"` |
| 1588 | XXX_sizecache int32 `json:"-"` |
| 1589 | } |
| 1590 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1591 | func (m *EventFilters) Reset() { *m = EventFilters{} } |
| 1592 | func (m *EventFilters) String() string { return proto.CompactTextString(m) } |
| 1593 | func (*EventFilters) ProtoMessage() {} |
| 1594 | func (*EventFilters) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1595 | return fileDescriptor_e084f1a60ce7016c, []int{5} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1596 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1597 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1598 | func (m *EventFilters) XXX_Unmarshal(b []byte) error { |
| 1599 | return xxx_messageInfo_EventFilters.Unmarshal(m, b) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1600 | } |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1601 | func (m *EventFilters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1602 | return xxx_messageInfo_EventFilters.Marshal(b, m, deterministic) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1603 | } |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1604 | func (m *EventFilters) XXX_Merge(src proto.Message) { |
| 1605 | xxx_messageInfo_EventFilters.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1606 | } |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1607 | func (m *EventFilters) XXX_Size() int { |
| 1608 | return xxx_messageInfo_EventFilters.Size(m) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1609 | } |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1610 | func (m *EventFilters) XXX_DiscardUnknown() { |
| 1611 | xxx_messageInfo_EventFilters.DiscardUnknown(m) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1612 | } |
| 1613 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1614 | var xxx_messageInfo_EventFilters proto.InternalMessageInfo |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1615 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1616 | func (m *EventFilters) GetFilters() []*EventFilter { |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1617 | if m != nil { |
| 1618 | return m.Filters |
| 1619 | } |
| 1620 | return nil |
| 1621 | } |
| 1622 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1623 | // CoreInstance represents a core instance. It is data held in memory when a core |
| 1624 | // is running. This data is not persistent. |
| 1625 | type CoreInstance struct { |
| 1626 | InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` |
| 1627 | Health *HealthStatus `protobuf:"bytes,2,opt,name=health,proto3" json:"health,omitempty"` |
| 1628 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1629 | XXX_unrecognized []byte `json:"-"` |
| 1630 | XXX_sizecache int32 `json:"-"` |
| 1631 | } |
| 1632 | |
| 1633 | func (m *CoreInstance) Reset() { *m = CoreInstance{} } |
| 1634 | func (m *CoreInstance) String() string { return proto.CompactTextString(m) } |
| 1635 | func (*CoreInstance) ProtoMessage() {} |
| 1636 | func (*CoreInstance) Descriptor() ([]byte, []int) { |
Scott Baker | 99af94e | 2019-08-20 10:45:06 -0700 | [diff] [blame] | 1637 | return fileDescriptor_e084f1a60ce7016c, []int{6} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1638 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1639 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1640 | func (m *CoreInstance) XXX_Unmarshal(b []byte) error { |
| 1641 | return xxx_messageInfo_CoreInstance.Unmarshal(m, b) |
| 1642 | } |
| 1643 | func (m *CoreInstance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1644 | return xxx_messageInfo_CoreInstance.Marshal(b, m, deterministic) |
| 1645 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1646 | func (m *CoreInstance) XXX_Merge(src proto.Message) { |
| 1647 | xxx_messageInfo_CoreInstance.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1648 | } |
| 1649 | func (m *CoreInstance) XXX_Size() int { |
| 1650 | return xxx_messageInfo_CoreInstance.Size(m) |
| 1651 | } |
| 1652 | func (m *CoreInstance) XXX_DiscardUnknown() { |
| 1653 | xxx_messageInfo_CoreInstance.DiscardUnknown(m) |
| 1654 | } |
| 1655 | |
| 1656 | var xxx_messageInfo_CoreInstance proto.InternalMessageInfo |
| 1657 | |
| 1658 | func (m *CoreInstance) GetInstanceId() string { |
| 1659 | if m != nil { |
| 1660 | return m.InstanceId |
| 1661 | } |
| 1662 | return "" |
| 1663 | } |
| 1664 | |
| 1665 | func (m *CoreInstance) GetHealth() *HealthStatus { |
| 1666 | if m != nil { |
| 1667 | return m.Health |
| 1668 | } |
| 1669 | return nil |
| 1670 | } |
| 1671 | |
| 1672 | type CoreInstances struct { |
| 1673 | Items []*CoreInstance `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` |
| 1674 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1675 | XXX_unrecognized []byte `json:"-"` |
| 1676 | XXX_sizecache int32 `json:"-"` |
| 1677 | } |
| 1678 | |
| 1679 | func (m *CoreInstances) Reset() { *m = CoreInstances{} } |
| 1680 | func (m *CoreInstances) String() string { return proto.CompactTextString(m) } |
| 1681 | func (*CoreInstances) ProtoMessage() {} |
| 1682 | func (*CoreInstances) Descriptor() ([]byte, []int) { |
Scott Baker | 99af94e | 2019-08-20 10:45:06 -0700 | [diff] [blame] | 1683 | return fileDescriptor_e084f1a60ce7016c, []int{7} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1684 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1685 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1686 | func (m *CoreInstances) XXX_Unmarshal(b []byte) error { |
| 1687 | return xxx_messageInfo_CoreInstances.Unmarshal(m, b) |
| 1688 | } |
| 1689 | func (m *CoreInstances) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1690 | return xxx_messageInfo_CoreInstances.Marshal(b, m, deterministic) |
| 1691 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1692 | func (m *CoreInstances) XXX_Merge(src proto.Message) { |
| 1693 | xxx_messageInfo_CoreInstances.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1694 | } |
| 1695 | func (m *CoreInstances) XXX_Size() int { |
| 1696 | return xxx_messageInfo_CoreInstances.Size(m) |
| 1697 | } |
| 1698 | func (m *CoreInstances) XXX_DiscardUnknown() { |
| 1699 | xxx_messageInfo_CoreInstances.DiscardUnknown(m) |
| 1700 | } |
| 1701 | |
| 1702 | var xxx_messageInfo_CoreInstances proto.InternalMessageInfo |
| 1703 | |
| 1704 | func (m *CoreInstances) GetItems() []*CoreInstance { |
| 1705 | if m != nil { |
| 1706 | return m.Items |
| 1707 | } |
| 1708 | return nil |
| 1709 | } |
| 1710 | |
| 1711 | // Voltha represents the Voltha cluster data. Each Core instance will hold a subset of |
| 1712 | // the entire cluster. However, some items (e.g. adapters) will be held by all cores |
| 1713 | // for better performance |
| 1714 | type Voltha struct { |
| 1715 | Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` |
| 1716 | Adapters []*Adapter `protobuf:"bytes,2,rep,name=adapters,proto3" json:"adapters,omitempty"` |
| 1717 | LogicalDevices []*LogicalDevice `protobuf:"bytes,3,rep,name=logical_devices,json=logicalDevices,proto3" json:"logical_devices,omitempty"` |
| 1718 | Devices []*Device `protobuf:"bytes,4,rep,name=devices,proto3" json:"devices,omitempty"` |
| 1719 | DeviceTypes []*DeviceType `protobuf:"bytes,5,rep,name=device_types,json=deviceTypes,proto3" json:"device_types,omitempty"` |
| 1720 | DeviceGroups []*DeviceGroup `protobuf:"bytes,6,rep,name=device_groups,json=deviceGroups,proto3" json:"device_groups,omitempty"` |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1721 | EventFilters []*EventFilter `protobuf:"bytes,7,rep,name=event_filters,json=eventFilters,proto3" json:"event_filters,omitempty"` |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1722 | OmciMibDatabase []*omci.MibDeviceData `protobuf:"bytes,28,rep,name=omci_mib_database,json=omciMibDatabase,proto3" json:"omci_mib_database,omitempty"` |
| 1723 | OmciAlarmDatabase []*omci.AlarmDeviceData `protobuf:"bytes,29,rep,name=omci_alarm_database,json=omciAlarmDatabase,proto3" json:"omci_alarm_database,omitempty"` |
| 1724 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1725 | XXX_unrecognized []byte `json:"-"` |
| 1726 | XXX_sizecache int32 `json:"-"` |
| 1727 | } |
| 1728 | |
| 1729 | func (m *Voltha) Reset() { *m = Voltha{} } |
| 1730 | func (m *Voltha) String() string { return proto.CompactTextString(m) } |
| 1731 | func (*Voltha) ProtoMessage() {} |
| 1732 | func (*Voltha) Descriptor() ([]byte, []int) { |
Scott Baker | 99af94e | 2019-08-20 10:45:06 -0700 | [diff] [blame] | 1733 | return fileDescriptor_e084f1a60ce7016c, []int{8} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1734 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1735 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1736 | func (m *Voltha) XXX_Unmarshal(b []byte) error { |
| 1737 | return xxx_messageInfo_Voltha.Unmarshal(m, b) |
| 1738 | } |
| 1739 | func (m *Voltha) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1740 | return xxx_messageInfo_Voltha.Marshal(b, m, deterministic) |
| 1741 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1742 | func (m *Voltha) XXX_Merge(src proto.Message) { |
| 1743 | xxx_messageInfo_Voltha.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1744 | } |
| 1745 | func (m *Voltha) XXX_Size() int { |
| 1746 | return xxx_messageInfo_Voltha.Size(m) |
| 1747 | } |
| 1748 | func (m *Voltha) XXX_DiscardUnknown() { |
| 1749 | xxx_messageInfo_Voltha.DiscardUnknown(m) |
| 1750 | } |
| 1751 | |
| 1752 | var xxx_messageInfo_Voltha proto.InternalMessageInfo |
| 1753 | |
| 1754 | func (m *Voltha) GetVersion() string { |
| 1755 | if m != nil { |
| 1756 | return m.Version |
| 1757 | } |
| 1758 | return "" |
| 1759 | } |
| 1760 | |
| 1761 | func (m *Voltha) GetAdapters() []*Adapter { |
| 1762 | if m != nil { |
| 1763 | return m.Adapters |
| 1764 | } |
| 1765 | return nil |
| 1766 | } |
| 1767 | |
| 1768 | func (m *Voltha) GetLogicalDevices() []*LogicalDevice { |
| 1769 | if m != nil { |
| 1770 | return m.LogicalDevices |
| 1771 | } |
| 1772 | return nil |
| 1773 | } |
| 1774 | |
| 1775 | func (m *Voltha) GetDevices() []*Device { |
| 1776 | if m != nil { |
| 1777 | return m.Devices |
| 1778 | } |
| 1779 | return nil |
| 1780 | } |
| 1781 | |
| 1782 | func (m *Voltha) GetDeviceTypes() []*DeviceType { |
| 1783 | if m != nil { |
| 1784 | return m.DeviceTypes |
| 1785 | } |
| 1786 | return nil |
| 1787 | } |
| 1788 | |
| 1789 | func (m *Voltha) GetDeviceGroups() []*DeviceGroup { |
| 1790 | if m != nil { |
| 1791 | return m.DeviceGroups |
| 1792 | } |
| 1793 | return nil |
| 1794 | } |
| 1795 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1796 | func (m *Voltha) GetEventFilters() []*EventFilter { |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1797 | if m != nil { |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1798 | return m.EventFilters |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1799 | } |
| 1800 | return nil |
| 1801 | } |
| 1802 | |
| 1803 | func (m *Voltha) GetOmciMibDatabase() []*omci.MibDeviceData { |
| 1804 | if m != nil { |
| 1805 | return m.OmciMibDatabase |
| 1806 | } |
| 1807 | return nil |
| 1808 | } |
| 1809 | |
| 1810 | func (m *Voltha) GetOmciAlarmDatabase() []*omci.AlarmDeviceData { |
| 1811 | if m != nil { |
| 1812 | return m.OmciAlarmDatabase |
| 1813 | } |
| 1814 | return nil |
| 1815 | } |
| 1816 | |
| 1817 | // Device Self Test Response |
| 1818 | type SelfTestResponse struct { |
| 1819 | Result SelfTestResponse_SelfTestResult `protobuf:"varint,1,opt,name=result,proto3,enum=voltha.SelfTestResponse_SelfTestResult" json:"result,omitempty"` |
| 1820 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1821 | XXX_unrecognized []byte `json:"-"` |
| 1822 | XXX_sizecache int32 `json:"-"` |
| 1823 | } |
| 1824 | |
| 1825 | func (m *SelfTestResponse) Reset() { *m = SelfTestResponse{} } |
| 1826 | func (m *SelfTestResponse) String() string { return proto.CompactTextString(m) } |
| 1827 | func (*SelfTestResponse) ProtoMessage() {} |
| 1828 | func (*SelfTestResponse) Descriptor() ([]byte, []int) { |
Scott Baker | 99af94e | 2019-08-20 10:45:06 -0700 | [diff] [blame] | 1829 | return fileDescriptor_e084f1a60ce7016c, []int{9} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1830 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1831 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1832 | func (m *SelfTestResponse) XXX_Unmarshal(b []byte) error { |
| 1833 | return xxx_messageInfo_SelfTestResponse.Unmarshal(m, b) |
| 1834 | } |
| 1835 | func (m *SelfTestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1836 | return xxx_messageInfo_SelfTestResponse.Marshal(b, m, deterministic) |
| 1837 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1838 | func (m *SelfTestResponse) XXX_Merge(src proto.Message) { |
| 1839 | xxx_messageInfo_SelfTestResponse.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1840 | } |
| 1841 | func (m *SelfTestResponse) XXX_Size() int { |
| 1842 | return xxx_messageInfo_SelfTestResponse.Size(m) |
| 1843 | } |
| 1844 | func (m *SelfTestResponse) XXX_DiscardUnknown() { |
| 1845 | xxx_messageInfo_SelfTestResponse.DiscardUnknown(m) |
| 1846 | } |
| 1847 | |
| 1848 | var xxx_messageInfo_SelfTestResponse proto.InternalMessageInfo |
| 1849 | |
| 1850 | func (m *SelfTestResponse) GetResult() SelfTestResponse_SelfTestResult { |
| 1851 | if m != nil { |
| 1852 | return m.Result |
| 1853 | } |
| 1854 | return SelfTestResponse_SUCCESS |
| 1855 | } |
| 1856 | |
| 1857 | type OfAgentSubscriber struct { |
| 1858 | // ID of ofagent instance |
| 1859 | OfagentId string `protobuf:"bytes,1,opt,name=ofagent_id,json=ofagentId,proto3" json:"ofagent_id,omitempty"` |
| 1860 | // ID of voltha instance to which the ofagent is subscribed |
| 1861 | VolthaId string `protobuf:"bytes,2,opt,name=voltha_id,json=volthaId,proto3" json:"voltha_id,omitempty"` |
| 1862 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1863 | XXX_unrecognized []byte `json:"-"` |
| 1864 | XXX_sizecache int32 `json:"-"` |
| 1865 | } |
| 1866 | |
| 1867 | func (m *OfAgentSubscriber) Reset() { *m = OfAgentSubscriber{} } |
| 1868 | func (m *OfAgentSubscriber) String() string { return proto.CompactTextString(m) } |
| 1869 | func (*OfAgentSubscriber) ProtoMessage() {} |
| 1870 | func (*OfAgentSubscriber) Descriptor() ([]byte, []int) { |
Scott Baker | 99af94e | 2019-08-20 10:45:06 -0700 | [diff] [blame] | 1871 | return fileDescriptor_e084f1a60ce7016c, []int{10} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1872 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1873 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1874 | func (m *OfAgentSubscriber) XXX_Unmarshal(b []byte) error { |
| 1875 | return xxx_messageInfo_OfAgentSubscriber.Unmarshal(m, b) |
| 1876 | } |
| 1877 | func (m *OfAgentSubscriber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1878 | return xxx_messageInfo_OfAgentSubscriber.Marshal(b, m, deterministic) |
| 1879 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1880 | func (m *OfAgentSubscriber) XXX_Merge(src proto.Message) { |
| 1881 | xxx_messageInfo_OfAgentSubscriber.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1882 | } |
| 1883 | func (m *OfAgentSubscriber) XXX_Size() int { |
| 1884 | return xxx_messageInfo_OfAgentSubscriber.Size(m) |
| 1885 | } |
| 1886 | func (m *OfAgentSubscriber) XXX_DiscardUnknown() { |
| 1887 | xxx_messageInfo_OfAgentSubscriber.DiscardUnknown(m) |
| 1888 | } |
| 1889 | |
| 1890 | var xxx_messageInfo_OfAgentSubscriber proto.InternalMessageInfo |
| 1891 | |
| 1892 | func (m *OfAgentSubscriber) GetOfagentId() string { |
| 1893 | if m != nil { |
| 1894 | return m.OfagentId |
| 1895 | } |
| 1896 | return "" |
| 1897 | } |
| 1898 | |
| 1899 | func (m *OfAgentSubscriber) GetVolthaId() string { |
| 1900 | if m != nil { |
| 1901 | return m.VolthaId |
| 1902 | } |
| 1903 | return "" |
| 1904 | } |
| 1905 | |
| 1906 | // Identifies a membership group a Core belongs to |
| 1907 | type Membership struct { |
| 1908 | // Group name |
| 1909 | GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` |
| 1910 | // Unique ID of a container within that group |
| 1911 | Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` |
| 1912 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1913 | XXX_unrecognized []byte `json:"-"` |
| 1914 | XXX_sizecache int32 `json:"-"` |
| 1915 | } |
| 1916 | |
| 1917 | func (m *Membership) Reset() { *m = Membership{} } |
| 1918 | func (m *Membership) String() string { return proto.CompactTextString(m) } |
| 1919 | func (*Membership) ProtoMessage() {} |
| 1920 | func (*Membership) Descriptor() ([]byte, []int) { |
Scott Baker | 99af94e | 2019-08-20 10:45:06 -0700 | [diff] [blame] | 1921 | return fileDescriptor_e084f1a60ce7016c, []int{11} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1922 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1923 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1924 | func (m *Membership) XXX_Unmarshal(b []byte) error { |
| 1925 | return xxx_messageInfo_Membership.Unmarshal(m, b) |
| 1926 | } |
| 1927 | func (m *Membership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1928 | return xxx_messageInfo_Membership.Marshal(b, m, deterministic) |
| 1929 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1930 | func (m *Membership) XXX_Merge(src proto.Message) { |
| 1931 | xxx_messageInfo_Membership.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1932 | } |
| 1933 | func (m *Membership) XXX_Size() int { |
| 1934 | return xxx_messageInfo_Membership.Size(m) |
| 1935 | } |
| 1936 | func (m *Membership) XXX_DiscardUnknown() { |
| 1937 | xxx_messageInfo_Membership.DiscardUnknown(m) |
| 1938 | } |
| 1939 | |
| 1940 | var xxx_messageInfo_Membership proto.InternalMessageInfo |
| 1941 | |
| 1942 | func (m *Membership) GetGroupName() string { |
| 1943 | if m != nil { |
| 1944 | return m.GroupName |
| 1945 | } |
| 1946 | return "" |
| 1947 | } |
| 1948 | |
| 1949 | func (m *Membership) GetId() string { |
| 1950 | if m != nil { |
| 1951 | return m.Id |
| 1952 | } |
| 1953 | return "" |
| 1954 | } |
| 1955 | |
manikkaraj k | 166cb20 | 2019-07-28 13:05:56 -0400 | [diff] [blame] | 1956 | // Additional information required to process flow at device adapters |
| 1957 | type FlowMetadata struct { |
| 1958 | // Meters associated with flow-update to adapter |
| 1959 | Meters []*openflow_13.OfpMeterConfig `protobuf:"bytes,1,rep,name=meters,proto3" json:"meters,omitempty"` |
| 1960 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1961 | XXX_unrecognized []byte `json:"-"` |
| 1962 | XXX_sizecache int32 `json:"-"` |
| 1963 | } |
| 1964 | |
| 1965 | func (m *FlowMetadata) Reset() { *m = FlowMetadata{} } |
| 1966 | func (m *FlowMetadata) String() string { return proto.CompactTextString(m) } |
| 1967 | func (*FlowMetadata) ProtoMessage() {} |
| 1968 | func (*FlowMetadata) Descriptor() ([]byte, []int) { |
Scott Baker | 99af94e | 2019-08-20 10:45:06 -0700 | [diff] [blame] | 1969 | return fileDescriptor_e084f1a60ce7016c, []int{12} |
manikkaraj k | 166cb20 | 2019-07-28 13:05:56 -0400 | [diff] [blame] | 1970 | } |
| 1971 | |
| 1972 | func (m *FlowMetadata) XXX_Unmarshal(b []byte) error { |
| 1973 | return xxx_messageInfo_FlowMetadata.Unmarshal(m, b) |
| 1974 | } |
| 1975 | func (m *FlowMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1976 | return xxx_messageInfo_FlowMetadata.Marshal(b, m, deterministic) |
| 1977 | } |
| 1978 | func (m *FlowMetadata) XXX_Merge(src proto.Message) { |
| 1979 | xxx_messageInfo_FlowMetadata.Merge(m, src) |
| 1980 | } |
| 1981 | func (m *FlowMetadata) XXX_Size() int { |
| 1982 | return xxx_messageInfo_FlowMetadata.Size(m) |
| 1983 | } |
| 1984 | func (m *FlowMetadata) XXX_DiscardUnknown() { |
| 1985 | xxx_messageInfo_FlowMetadata.DiscardUnknown(m) |
| 1986 | } |
| 1987 | |
| 1988 | var xxx_messageInfo_FlowMetadata proto.InternalMessageInfo |
| 1989 | |
| 1990 | func (m *FlowMetadata) GetMeters() []*openflow_13.OfpMeterConfig { |
| 1991 | if m != nil { |
| 1992 | return m.Meters |
| 1993 | } |
| 1994 | return nil |
| 1995 | } |
| 1996 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1997 | func init() { |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 1998 | proto.RegisterEnum("voltha.EventFilterRuleKey_EventFilterRuleType", EventFilterRuleKey_EventFilterRuleType_name, EventFilterRuleKey_EventFilterRuleType_value) |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1999 | proto.RegisterEnum("voltha.SelfTestResponse_SelfTestResult", SelfTestResponse_SelfTestResult_name, SelfTestResponse_SelfTestResult_value) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 2000 | proto.RegisterType((*DeviceGroup)(nil), "voltha.DeviceGroup") |
| 2001 | proto.RegisterType((*DeviceGroups)(nil), "voltha.DeviceGroups") |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 2002 | proto.RegisterType((*EventFilterRuleKey)(nil), "voltha.EventFilterRuleKey") |
| 2003 | proto.RegisterType((*EventFilterRule)(nil), "voltha.EventFilterRule") |
| 2004 | proto.RegisterType((*EventFilter)(nil), "voltha.EventFilter") |
| 2005 | proto.RegisterType((*EventFilters)(nil), "voltha.EventFilters") |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 2006 | proto.RegisterType((*CoreInstance)(nil), "voltha.CoreInstance") |
| 2007 | proto.RegisterType((*CoreInstances)(nil), "voltha.CoreInstances") |
| 2008 | proto.RegisterType((*Voltha)(nil), "voltha.Voltha") |
| 2009 | proto.RegisterType((*SelfTestResponse)(nil), "voltha.SelfTestResponse") |
| 2010 | proto.RegisterType((*OfAgentSubscriber)(nil), "voltha.OfAgentSubscriber") |
| 2011 | proto.RegisterType((*Membership)(nil), "voltha.Membership") |
manikkaraj k | 166cb20 | 2019-07-28 13:05:56 -0400 | [diff] [blame] | 2012 | proto.RegisterType((*FlowMetadata)(nil), "voltha.FlowMetadata") |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 2013 | } |
| 2014 | |
| 2015 | func init() { proto.RegisterFile("voltha_protos/voltha.proto", fileDescriptor_e084f1a60ce7016c) } |
| 2016 | |
| 2017 | var fileDescriptor_e084f1a60ce7016c = []byte{ |
kesavand | 4a002b0 | 2020-01-23 21:29:47 -0500 | [diff] [blame] | 2018 | // 2467 bytes of a gzipped FileDescriptorProto |
| 2019 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x9a, 0xcd, 0x73, 0xdb, 0xc6, |
| 2020 | 0x15, 0xc0, 0x05, 0x7d, 0xeb, 0x89, 0x92, 0xc8, 0xa5, 0x3e, 0x68, 0x4a, 0x8a, 0xed, 0x8d, 0x63, |
| 2021 | 0xab, 0x4a, 0x4c, 0xda, 0x96, 0xe3, 0x69, 0xed, 0x66, 0x1a, 0x89, 0x92, 0x55, 0xd6, 0x92, 0xc9, |
| 2022 | 0x42, 0x96, 0xdd, 0x8f, 0x78, 0x38, 0x20, 0xb1, 0xa4, 0x30, 0x06, 0x01, 0x16, 0xbb, 0xa4, 0xa3, |
| 2023 | 0xf1, 0xe4, 0x92, 0x7e, 0xa4, 0xf7, 0xdc, 0x7b, 0x6a, 0xa7, 0x33, 0xfd, 0x5f, 0x72, 0xea, 0xa9, |
| 2024 | 0xd7, 0x4e, 0x0f, 0xfd, 0x0b, 0x32, 0xd3, 0x5b, 0x67, 0x3f, 0x40, 0x02, 0x04, 0x20, 0x89, 0x69, |
| 2025 | 0x66, 0x7a, 0xb2, 0xb1, 0x6f, 0xf7, 0xf7, 0xde, 0xbe, 0xdd, 0x7d, 0xfb, 0xf6, 0x51, 0x90, 0xef, |
| 2026 | 0xb9, 0x36, 0x3b, 0x33, 0x6a, 0x1d, 0xcf, 0x65, 0x2e, 0x2d, 0xca, 0xaf, 0x82, 0xf8, 0x42, 0xd3, |
| 2027 | 0xf2, 0x2b, 0xbf, 0xd1, 0x72, 0xdd, 0x96, 0x4d, 0x8a, 0x46, 0xc7, 0x2a, 0x1a, 0x8e, 0xe3, 0x32, |
| 2028 | 0x83, 0x59, 0xae, 0x43, 0x65, 0xaf, 0xfc, 0xba, 0x92, 0x8a, 0xaf, 0x7a, 0xb7, 0x59, 0x24, 0xed, |
| 2029 | 0x0e, 0x3b, 0x57, 0xc2, 0x5c, 0x18, 0xdf, 0x26, 0x4c, 0xc1, 0xf3, 0x43, 0x8a, 0x1b, 0x6e, 0xbb, |
| 2030 | 0xed, 0x3a, 0xf1, 0xb2, 0x33, 0x62, 0xd8, 0xec, 0x4c, 0xc9, 0x70, 0x58, 0x66, 0xbb, 0x2d, 0xab, |
| 2031 | 0x61, 0xd8, 0x35, 0x93, 0xf4, 0xac, 0x06, 0x89, 0x1f, 0x1f, 0x92, 0xad, 0x87, 0x65, 0x86, 0x69, |
| 2032 | 0x74, 0x18, 0xf1, 0x94, 0xf0, 0x7a, 0x58, 0xe8, 0x76, 0x88, 0xd3, 0xb4, 0xdd, 0xb7, 0xb5, 0xfb, |
| 2033 | 0x3b, 0x09, 0x1d, 0xda, 0x0d, 0xab, 0xd6, 0xb6, 0xea, 0x35, 0xb3, 0xae, 0x3a, 0xdc, 0x8c, 0xe9, |
| 2034 | 0x60, 0xd8, 0x86, 0xd7, 0xee, 0x77, 0xc1, 0x7f, 0xd6, 0x60, 0x7e, 0x5f, 0x98, 0x74, 0xe8, 0xb9, |
| 2035 | 0xdd, 0x0e, 0x5a, 0x81, 0x71, 0xcb, 0xcc, 0x69, 0x37, 0xb4, 0xad, 0xb9, 0xbd, 0xa9, 0x7f, 0x7f, |
| 2036 | 0xfb, 0xcd, 0xa6, 0xa6, 0x8f, 0x5b, 0x26, 0x2a, 0xc3, 0x52, 0x78, 0x72, 0x34, 0x37, 0x7e, 0x63, |
| 2037 | 0x62, 0x6b, 0xfe, 0xc1, 0x4a, 0x41, 0xad, 0xd2, 0x91, 0x14, 0x4b, 0xd6, 0xde, 0xdc, 0x3f, 0xbf, |
| 2038 | 0xfd, 0x66, 0x73, 0x92, 0xb3, 0xf4, 0x45, 0x3b, 0x28, 0xa1, 0x68, 0x07, 0x66, 0x7c, 0xc4, 0x84, |
| 2039 | 0x40, 0x2c, 0xfa, 0x88, 0xe8, 0x58, 0xbf, 0x27, 0xfe, 0x11, 0xa4, 0x02, 0x56, 0x52, 0xf4, 0x03, |
| 2040 | 0x98, 0xb2, 0x18, 0x69, 0xd3, 0x9c, 0x26, 0x10, 0xd9, 0x30, 0x42, 0x74, 0xd2, 0x65, 0x0f, 0xfc, |
| 2041 | 0x27, 0x0d, 0xd0, 0x41, 0x8f, 0x38, 0xec, 0xa9, 0x65, 0x33, 0xe2, 0xe9, 0x5d, 0x9b, 0x3c, 0x23, |
| 2042 | 0xe7, 0xf8, 0x2b, 0x0d, 0xb2, 0x43, 0xcd, 0x2f, 0xce, 0x3b, 0x04, 0x2d, 0x02, 0x34, 0x45, 0x4b, |
| 2043 | 0xcd, 0xb0, 0xed, 0xf4, 0x18, 0x4a, 0xc1, 0x6c, 0xc3, 0x60, 0xa4, 0xe5, 0x7a, 0xe7, 0x69, 0x0d, |
| 2044 | 0xa5, 0x21, 0x45, 0xbb, 0xf5, 0x5a, 0xbf, 0x65, 0x1c, 0x21, 0x58, 0x7c, 0xd3, 0xb1, 0x6a, 0x84, |
| 2045 | 0xa3, 0x6a, 0xec, 0xbc, 0x43, 0xd2, 0x13, 0x68, 0x05, 0x32, 0x0d, 0xd7, 0x69, 0x5a, 0xad, 0x60, |
| 2046 | 0xf3, 0x24, 0x6f, 0x96, 0xf3, 0x09, 0x36, 0x4f, 0x61, 0x0b, 0x96, 0x86, 0x0c, 0x41, 0x9f, 0xc2, |
| 2047 | 0xc4, 0x1b, 0x72, 0x2e, 0x96, 0x61, 0xf1, 0x41, 0xc1, 0x9f, 0x5c, 0x74, 0x16, 0x85, 0x98, 0x19, |
| 2048 | 0xe8, 0x7c, 0x28, 0x5a, 0x86, 0xa9, 0x9e, 0x61, 0x77, 0x49, 0x6e, 0x9c, 0x2f, 0xa5, 0x2e, 0x3f, |
| 2049 | 0xf0, 0x5f, 0x35, 0x98, 0x0f, 0x0c, 0x49, 0x5a, 0xed, 0x55, 0x98, 0x26, 0x8e, 0x51, 0xb7, 0xe5, |
| 2050 | 0xe8, 0x59, 0x5d, 0x7d, 0xa1, 0x75, 0x98, 0x53, 0x13, 0xb0, 0xcc, 0xdc, 0x84, 0x00, 0xcf, 0xca, |
| 2051 | 0x86, 0xb2, 0x89, 0x36, 0x01, 0x06, 0xd3, 0xca, 0x4d, 0x0a, 0xe9, 0x9c, 0x68, 0x11, 0x7e, 0xbd, |
| 2052 | 0x0b, 0x53, 0x5e, 0xd7, 0x26, 0x34, 0x37, 0x25, 0x56, 0x6c, 0x2d, 0x61, 0x52, 0xba, 0xec, 0x85, |
| 2053 | 0x3f, 0x81, 0x54, 0x40, 0x42, 0xd1, 0x5d, 0x98, 0x91, 0xcb, 0x12, 0x59, 0xf2, 0x20, 0xc0, 0xef, |
| 2054 | 0x83, 0xdf, 0x40, 0xaa, 0xe4, 0x7a, 0xa4, 0xec, 0x50, 0x66, 0x38, 0x0d, 0x82, 0x6e, 0xc3, 0xbc, |
| 2055 | 0xa5, 0xfe, 0x5f, 0x1b, 0x9e, 0x31, 0xf8, 0x92, 0xb2, 0x89, 0x76, 0x60, 0x5a, 0x1e, 0x70, 0x31, |
| 2056 | 0xf3, 0xf9, 0x07, 0xcb, 0xbe, 0x96, 0x9f, 0x8a, 0xd6, 0x13, 0x66, 0xb0, 0x2e, 0xdd, 0x9b, 0xe2, |
| 2057 | 0x3b, 0x74, 0x4c, 0x57, 0x5d, 0xf1, 0x13, 0x58, 0x08, 0x2a, 0xa3, 0x68, 0x3b, 0xbc, 0x3b, 0xfb, |
| 2058 | 0x90, 0x60, 0x2f, 0x7f, 0x7b, 0xfe, 0x63, 0x12, 0xa6, 0x5f, 0x0a, 0x31, 0xba, 0x0e, 0x33, 0x3d, |
| 2059 | 0xe2, 0x51, 0xcb, 0x75, 0xc2, 0x06, 0xfa, 0xad, 0xe8, 0x11, 0xcc, 0xaa, 0x10, 0xe1, 0x1f, 0xbf, |
| 2060 | 0x25, 0x1f, 0xbd, 0x2b, 0xdb, 0x83, 0x87, 0xa7, 0xdf, 0x37, 0xee, 0xf4, 0x4e, 0xfc, 0xef, 0xa7, |
| 2061 | 0x77, 0xf2, 0xaa, 0xa7, 0x17, 0x7d, 0x0a, 0x29, 0xb5, 0x6f, 0xf8, 0xde, 0xf0, 0xb7, 0x00, 0x0a, |
| 2062 | 0x8f, 0xe4, 0xbb, 0x24, 0x38, 0x7a, 0xde, 0xec, 0x37, 0x53, 0x54, 0x82, 0x05, 0x45, 0x68, 0x89, |
| 2063 | 0x00, 0x90, 0x9b, 0x4e, 0x3c, 0xf7, 0x41, 0x86, 0x52, 0xab, 0x82, 0x46, 0x09, 0x16, 0xe4, 0x0e, |
| 2064 | 0xf5, 0x77, 0xd2, 0x4c, 0xe2, 0x4e, 0x0a, 0x41, 0x48, 0x70, 0x23, 0xfe, 0x1c, 0x32, 0x83, 0x40, |
| 2065 | 0x6b, 0x30, 0xa3, 0x6e, 0x50, 0x92, 0xdb, 0x50, 0x20, 0x2e, 0x29, 0x1c, 0x5b, 0x75, 0x69, 0xce, |
| 2066 | 0xbe, 0xc1, 0x8c, 0xbd, 0x34, 0x07, 0xcd, 0x07, 0x0e, 0x8e, 0xbe, 0xc4, 0x7b, 0xf1, 0x4e, 0x6a, |
| 2067 | 0x34, 0x7a, 0x05, 0xd9, 0x60, 0x68, 0xf6, 0xa1, 0x9b, 0x6a, 0x89, 0x04, 0x74, 0x97, 0xcb, 0x2e, |
| 2068 | 0xc4, 0x0a, 0xb3, 0x64, 0x37, 0x45, 0xc0, 0x7f, 0xd1, 0x20, 0x7d, 0x42, 0xec, 0xe6, 0x0b, 0x42, |
| 2069 | 0x99, 0x4e, 0x68, 0xc7, 0x75, 0x28, 0x41, 0x3f, 0x81, 0x69, 0x8f, 0xd0, 0xae, 0xcd, 0x54, 0x78, |
| 2070 | 0xb9, 0xe3, 0x4f, 0x7f, 0xb8, 0x67, 0xb0, 0xa1, 0x6b, 0x33, 0x5d, 0x0d, 0xc3, 0x55, 0x58, 0x0c, |
| 2071 | 0x4b, 0xd0, 0x3c, 0xcc, 0x9c, 0x9c, 0x96, 0x4a, 0x07, 0x27, 0x27, 0xe9, 0x31, 0xfe, 0xf1, 0x74, |
| 2072 | 0xb7, 0x7c, 0x74, 0xaa, 0x1f, 0xa4, 0x35, 0x94, 0x81, 0x85, 0xe7, 0x95, 0x17, 0xb5, 0x93, 0xd3, |
| 2073 | 0x6a, 0xb5, 0xa2, 0xbf, 0x38, 0xd8, 0x4f, 0x8f, 0xf3, 0xa6, 0xd3, 0xe7, 0xcf, 0x9e, 0x57, 0x5e, |
| 2074 | 0x3d, 0xaf, 0x1d, 0xe8, 0x7a, 0x45, 0x4f, 0x4f, 0xe0, 0x0a, 0x64, 0x2a, 0xcd, 0xdd, 0x16, 0x71, |
| 2075 | 0xd8, 0x49, 0xb7, 0x4e, 0x1b, 0x9e, 0x55, 0x27, 0x1e, 0x8f, 0x27, 0x6e, 0xd3, 0xe0, 0x8d, 0xfd, |
| 2076 | 0x13, 0xab, 0xcf, 0xa9, 0x96, 0xb2, 0xc9, 0x63, 0x91, 0xba, 0xdd, 0x2c, 0x53, 0x05, 0xb9, 0x59, |
| 2077 | 0xd9, 0x50, 0x36, 0xf1, 0x13, 0x80, 0x63, 0xd2, 0xae, 0x13, 0x8f, 0x9e, 0x59, 0x1d, 0x4e, 0x12, |
| 2078 | 0xbb, 0xa6, 0xe6, 0x18, 0x6d, 0xe2, 0x93, 0x44, 0xcb, 0x73, 0xa3, 0xcd, 0x23, 0xfe, 0x78, 0x1f, |
| 2079 | 0x31, 0x6e, 0x99, 0xf8, 0x00, 0x52, 0x4f, 0x6d, 0xf7, 0xed, 0x31, 0x61, 0x06, 0x5f, 0x0b, 0xf4, |
| 2080 | 0x31, 0x4c, 0xb7, 0x49, 0x20, 0xf2, 0x6c, 0x16, 0x82, 0x57, 0xb1, 0xdb, 0xec, 0xd4, 0x84, 0xb8, |
| 2081 | 0x26, 0x43, 0xbe, 0xae, 0x3a, 0x3f, 0xf8, 0x4f, 0x01, 0x16, 0xe4, 0xc1, 0x3e, 0x21, 0x1e, 0x5f, |
| 2082 | 0x24, 0xa4, 0xc3, 0xe2, 0x69, 0xc7, 0x34, 0x18, 0x39, 0x72, 0x5b, 0x47, 0xa4, 0x47, 0x6c, 0xb4, |
| 2083 | 0x54, 0x50, 0xa9, 0xc6, 0x91, 0xdb, 0x6a, 0x59, 0x4e, 0x2b, 0xbf, 0x5a, 0x90, 0x09, 0x4c, 0xc1, |
| 2084 | 0x4f, 0x60, 0x0a, 0x07, 0x3c, 0x81, 0xc1, 0x6b, 0x5f, 0xfe, 0xfd, 0x5f, 0x5f, 0x8f, 0x67, 0x70, |
| 2085 | 0x4a, 0xe4, 0x3d, 0xbd, 0xfb, 0x3c, 0xd5, 0xa0, 0x8f, 0xb5, 0x6d, 0x54, 0x85, 0xd4, 0x21, 0x61, |
| 2086 | 0x3e, 0x90, 0xa2, 0xdc, 0x10, 0xb1, 0xe4, 0xb6, 0x3b, 0xae, 0x43, 0x1c, 0x96, 0x4f, 0x0f, 0x49, |
| 2087 | 0x28, 0x5e, 0x16, 0xd0, 0x45, 0x14, 0x82, 0xa2, 0x57, 0xb0, 0x70, 0x48, 0x58, 0xc0, 0x7d, 0x09, |
| 2088 | 0x36, 0xe5, 0xfb, 0xe7, 0x77, 0xd0, 0x17, 0xe7, 0x05, 0x72, 0x19, 0x21, 0x1f, 0xd9, 0x1e, 0x70, |
| 2089 | 0x5e, 0x43, 0x5a, 0x4e, 0x3f, 0xc0, 0x8e, 0x61, 0x24, 0xfa, 0x60, 0x53, 0xb0, 0xd7, 0x70, 0x0c, |
| 2090 | 0x9b, 0x7b, 0x62, 0x1f, 0xe6, 0x0e, 0x09, 0x53, 0xa1, 0x34, 0xc9, 0xe6, 0x7e, 0xb4, 0x92, 0xfd, |
| 2091 | 0xf0, 0x92, 0x60, 0xce, 0xa1, 0x19, 0xc5, 0x44, 0xaf, 0x21, 0x73, 0x64, 0x51, 0x16, 0x8e, 0xe7, |
| 2092 | 0x49, 0xb4, 0x95, 0xb8, 0xc0, 0x4e, 0xf1, 0x35, 0x01, 0xcd, 0xa2, 0x8c, 0x6f, 0xa8, 0xd5, 0x27, |
| 2093 | 0x9d, 0xc0, 0xd2, 0x21, 0x09, 0xd1, 0x11, 0xf8, 0xeb, 0x52, 0xde, 0xcf, 0xc7, 0xde, 0x14, 0xf8, |
| 2094 | 0x3d, 0xc1, 0xcb, 0xa1, 0xd5, 0x08, 0xaf, 0xf8, 0xce, 0x32, 0xbf, 0x40, 0x3a, 0xa4, 0xb8, 0xcd, |
| 2095 | 0xbb, 0x7e, 0xb8, 0x4f, 0x32, 0x37, 0x3d, 0x74, 0x59, 0x50, 0x9c, 0x13, 0x64, 0x84, 0xd2, 0x3e, |
| 2096 | 0xb9, 0x7f, 0x65, 0x10, 0x40, 0x9c, 0x79, 0x14, 0x8e, 0xfe, 0x49, 0xe4, 0xd5, 0xd8, 0x7b, 0x84, |
| 2097 | 0xe2, 0xeb, 0x82, 0x7f, 0x0d, 0xad, 0x05, 0x76, 0x58, 0xf0, 0x1a, 0x42, 0xbf, 0x86, 0xb4, 0xdc, |
| 2098 | 0xbe, 0x83, 0x51, 0x21, 0x87, 0xc4, 0x5f, 0x50, 0xf8, 0x96, 0xe0, 0xbe, 0x87, 0x36, 0x12, 0xb8, |
| 2099 | 0xd2, 0x2f, 0x4d, 0x58, 0x8d, 0xcc, 0xa1, 0xea, 0x7a, 0x8c, 0xc6, 0xfb, 0x5c, 0xf5, 0x13, 0x3d, |
| 2100 | 0xf0, 0xb6, 0xd0, 0x70, 0x0b, 0xe1, 0x8b, 0x34, 0x14, 0x3b, 0x82, 0xf6, 0x39, 0x2c, 0x0f, 0x4f, |
| 2101 | 0x82, 0x43, 0xd0, 0x4a, 0x0c, 0xb9, 0x6c, 0xe6, 0xb3, 0x31, 0xcd, 0xf8, 0xa1, 0xd0, 0x57, 0x40, |
| 2102 | 0x1f, 0x5d, 0xae, 0xaf, 0xf8, 0x8e, 0xff, 0x53, 0xe3, 0x33, 0xfc, 0xbd, 0x06, 0x6b, 0x07, 0x22, |
| 2103 | 0x37, 0xbb, 0xb2, 0xf6, 0xa4, 0xd3, 0xf5, 0x44, 0x18, 0xf0, 0x31, 0xde, 0x19, 0xc5, 0x80, 0xa2, |
| 2104 | 0x4a, 0x0c, 0xbf, 0xd2, 0x20, 0xb7, 0x6f, 0xd1, 0xef, 0xc5, 0x90, 0x1f, 0x0b, 0x43, 0x1e, 0xe1, |
| 2105 | 0x87, 0x23, 0x19, 0x62, 0x4a, 0xed, 0xc8, 0x8c, 0x59, 0x73, 0x1e, 0xcd, 0xc3, 0x6b, 0x8e, 0x42, |
| 2106 | 0x21, 0x5c, 0xc8, 0xaf, 0xb8, 0xe2, 0x4d, 0xc1, 0xfa, 0xad, 0x06, 0x1b, 0xfd, 0x50, 0x1e, 0x56, |
| 2107 | 0xf4, 0x42, 0x98, 0xb1, 0x11, 0x51, 0x20, 0xda, 0xe5, 0x98, 0xc4, 0xa9, 0xdf, 0x15, 0x26, 0xdc, |
| 2108 | 0xc1, 0x57, 0x30, 0x81, 0x47, 0xbc, 0xdf, 0x69, 0xb0, 0x19, 0x63, 0xc5, 0x31, 0xbf, 0x7f, 0xa4, |
| 2109 | 0x19, 0xeb, 0x21, 0x33, 0x84, 0xe0, 0xd8, 0x35, 0x2f, 0xb1, 0xa2, 0x20, 0xac, 0xd8, 0xc2, 0xef, |
| 2110 | 0x5f, 0x68, 0x85, 0xbc, 0xe5, 0xb8, 0x19, 0x2d, 0x58, 0x8b, 0xb8, 0x5c, 0xa8, 0x0a, 0xfb, 0x3c, |
| 2111 | 0x1b, 0xb5, 0x85, 0xe2, 0x0f, 0x85, 0xae, 0x0f, 0xd0, 0x55, 0x74, 0x21, 0x06, 0xeb, 0xb1, 0x6b, |
| 2112 | 0xab, 0xd2, 0xbb, 0xa0, 0xb2, 0xb5, 0x88, 0xff, 0x65, 0x27, 0x7c, 0x4f, 0x28, 0xdc, 0x46, 0x5b, |
| 2113 | 0x97, 0xba, 0x58, 0x65, 0x9a, 0xe8, 0x6b, 0x0d, 0x6e, 0x26, 0xac, 0xb5, 0x60, 0x4a, 0x4f, 0xdf, |
| 2114 | 0x8c, 0x57, 0x78, 0x95, 0x55, 0xdf, 0x11, 0x26, 0xdd, 0xc5, 0x57, 0x36, 0x89, 0x3b, 0xbd, 0x02, |
| 2115 | 0xf3, 0xdc, 0x17, 0x97, 0x05, 0xe6, 0xa5, 0x70, 0x82, 0x4c, 0xfd, 0x44, 0x02, 0x2d, 0xf9, 0xca, |
| 2116 | 0xfc, 0x48, 0x5c, 0x81, 0x85, 0x01, 0xb0, 0x6c, 0x26, 0x23, 0xe7, 0x07, 0x6e, 0x8e, 0xb9, 0xea, |
| 2117 | 0x24, 0xce, 0x32, 0x29, 0x3a, 0x85, 0xb4, 0x4e, 0x1a, 0xae, 0xd3, 0xb0, 0x6c, 0xe2, 0x9b, 0x19, |
| 2118 | 0x1c, 0x9b, 0xe8, 0x8f, 0x0d, 0xc1, 0x5c, 0xc5, 0x51, 0x26, 0x9f, 0xf8, 0x81, 0xb8, 0xe6, 0x63, |
| 2119 | 0xae, 0x8a, 0xa1, 0x87, 0x88, 0x8f, 0x41, 0xcb, 0x43, 0x33, 0x95, 0x77, 0xc3, 0xcf, 0x20, 0x55, |
| 2120 | 0xf2, 0x88, 0xc1, 0x94, 0x69, 0x68, 0x68, 0x74, 0x84, 0xa6, 0x12, 0x1b, 0x3c, 0xec, 0x37, 0x6e, |
| 2121 | 0xd2, 0x2b, 0x48, 0xc9, 0x20, 0x1c, 0x63, 0x55, 0xd2, 0x24, 0xdf, 0x17, 0xbc, 0x4d, 0xbc, 0x1e, |
| 2122 | 0x67, 0x9d, 0x1f, 0x56, 0x7f, 0x09, 0x0b, 0x2a, 0xaa, 0x8e, 0x40, 0x56, 0x77, 0x23, 0xde, 0x88, |
| 2123 | 0x25, 0xfb, 0x71, 0xf2, 0x15, 0xa4, 0x74, 0x52, 0x77, 0x5d, 0xf6, 0xbd, 0xd9, 0xec, 0x09, 0x1c, |
| 2124 | 0x07, 0xef, 0x13, 0x9b, 0xb0, 0xef, 0xe0, 0x8c, 0xed, 0x78, 0xb0, 0x29, 0x70, 0xa8, 0x0b, 0x0b, |
| 2125 | 0xfb, 0xee, 0x5b, 0xc7, 0x76, 0x0d, 0xb3, 0xdc, 0x36, 0x5a, 0x64, 0x70, 0xaf, 0x88, 0x4f, 0x5f, |
| 2126 | 0x96, 0x5f, 0xf1, 0x15, 0x56, 0x3a, 0xc4, 0x13, 0xc5, 0x41, 0xfe, 0xa0, 0xc1, 0x8f, 0x84, 0x8e, |
| 2127 | 0x7b, 0xf8, 0xc3, 0x58, 0x1d, 0x16, 0x47, 0xd4, 0x4c, 0xc5, 0xa0, 0xc5, 0x77, 0xfc, 0xa9, 0xf0, |
| 2128 | 0x05, 0x5f, 0xdc, 0x2f, 0x35, 0x58, 0x3d, 0x24, 0x2c, 0xa4, 0x43, 0x96, 0x01, 0x92, 0x0d, 0x88, |
| 2129 | 0x6b, 0xc6, 0x8f, 0x85, 0x01, 0x0f, 0xd1, 0x83, 0x11, 0x0c, 0x28, 0x52, 0xa9, 0xa9, 0x2b, 0xd2, |
| 2130 | 0xa4, 0x10, 0x6f, 0x44, 0xed, 0x2a, 0xc8, 0xa0, 0x51, 0xa6, 0x8f, 0x9a, 0x32, 0x09, 0x0c, 0x91, |
| 2131 | 0xe8, 0xd0, 0x8a, 0xc6, 0x69, 0xa3, 0xf8, 0x23, 0xa1, 0xee, 0x36, 0xba, 0x75, 0x15, 0x75, 0xe8, |
| 2132 | 0x73, 0xc8, 0x96, 0x78, 0x3e, 0x6b, 0x5f, 0x71, 0x86, 0xb1, 0x0b, 0xac, 0x66, 0xb8, 0x3d, 0xd2, |
| 2133 | 0x0c, 0xff, 0xa8, 0x41, 0x76, 0xb7, 0xc1, 0xac, 0x9e, 0xc1, 0x88, 0xd0, 0x22, 0x63, 0xf5, 0x88, |
| 2134 | 0xaa, 0x4b, 0x42, 0xf5, 0x27, 0xf8, 0x87, 0xa3, 0x2c, 0xad, 0x6c, 0xee, 0x0a, 0x7d, 0x7c, 0xa3, |
| 2135 | 0xfd, 0x41, 0x83, 0x8c, 0x4e, 0x7a, 0xc4, 0x63, 0xff, 0x17, 0x43, 0x3c, 0xa1, 0x5a, 0x3e, 0x29, |
| 2136 | 0x97, 0x06, 0x37, 0x41, 0x34, 0x5f, 0x5e, 0xf0, 0x2d, 0x92, 0x89, 0x32, 0x16, 0x2a, 0x37, 0x50, |
| 2137 | 0x3e, 0x56, 0xa5, 0x4c, 0x90, 0x5f, 0x43, 0x36, 0x40, 0x6c, 0x97, 0xc4, 0x43, 0x39, 0x4c, 0xcd, |
| 2138 | 0xf4, 0xa9, 0xbe, 0x18, 0xdf, 0x11, 0xe4, 0x9b, 0xe8, 0x7a, 0x3c, 0xb9, 0xad, 0x1e, 0xdc, 0x14, |
| 2139 | 0x39, 0xb0, 0x22, 0xbd, 0x35, 0xac, 0x20, 0x0a, 0x4d, 0x0c, 0x41, 0x2a, 0xfb, 0xc3, 0x97, 0x29, |
| 2140 | 0xe3, 0x0e, 0x3a, 0x0d, 0x3a, 0xe8, 0x6a, 0xc9, 0xe5, 0xc5, 0x5e, 0x92, 0x49, 0x25, 0x81, 0xe5, |
| 2141 | 0x30, 0x76, 0x94, 0xbc, 0x66, 0x4b, 0x28, 0xc0, 0xe8, 0x46, 0xa2, 0x02, 0x3f, 0x9f, 0xf9, 0x2c, |
| 2142 | 0x68, 0xbd, 0xac, 0xae, 0x25, 0x5d, 0xf5, 0xd9, 0x68, 0x85, 0x8e, 0x26, 0xdd, 0xab, 0xb2, 0xb4, |
| 2143 | 0x87, 0x74, 0x51, 0x3d, 0x18, 0xf4, 0x1f, 0xf2, 0x4c, 0x84, 0x87, 0x6f, 0x0a, 0xdc, 0x3a, 0xba, |
| 2144 | 0x16, 0x87, 0x93, 0x77, 0x75, 0x0d, 0xd2, 0x03, 0x8b, 0x95, 0x53, 0x92, 0x4c, 0x5e, 0x8e, 0xa9, |
| 2145 | 0x08, 0x52, 0xbf, 0x74, 0x80, 0x56, 0x86, 0x94, 0x28, 0x97, 0x3c, 0x85, 0xf4, 0x09, 0xf3, 0x88, |
| 2146 | 0xd1, 0xae, 0x1a, 0x8d, 0x37, 0x84, 0xd1, 0x4a, 0x97, 0xa1, 0xd5, 0x90, 0xa7, 0xa5, 0xa0, 0xd2, |
| 2147 | 0x65, 0x89, 0x1b, 0x68, 0x6c, 0x4b, 0x43, 0x07, 0x22, 0xe5, 0x21, 0x56, 0x8f, 0x28, 0x50, 0xd9, |
| 2148 | 0xb9, 0xa0, 0x76, 0x10, 0xe5, 0x97, 0x1d, 0x3c, 0x76, 0x4f, 0x43, 0xcf, 0x20, 0xab, 0x30, 0xa5, |
| 2149 | 0x33, 0xc3, 0x69, 0x11, 0x51, 0x97, 0x4c, 0x9e, 0x72, 0x2e, 0x44, 0x0a, 0x0c, 0x11, 0xb0, 0x53, |
| 2150 | 0x58, 0xec, 0x2f, 0x88, 0xfc, 0x89, 0x27, 0x9c, 0x94, 0x47, 0xdd, 0x95, 0xb4, 0x59, 0x95, 0xb7, |
| 2151 | 0xfc, 0x35, 0xc9, 0xc8, 0xfc, 0x29, 0xf8, 0x73, 0x42, 0x5c, 0x25, 0x35, 0x1f, 0xd7, 0x88, 0x6f, |
| 2152 | 0x08, 0x15, 0x79, 0xdc, 0x5f, 0x90, 0x50, 0x61, 0x96, 0x1f, 0xb2, 0x97, 0xc2, 0xee, 0x20, 0x3d, |
| 2153 | 0xf6, 0xd1, 0x1e, 0xfc, 0x91, 0x20, 0x6a, 0x78, 0x88, 0x2a, 0x0d, 0x37, 0x21, 0x23, 0x83, 0xc5, |
| 2154 | 0x77, 0x33, 0xfc, 0x03, 0xa1, 0xe2, 0x7a, 0xfe, 0x02, 0x15, 0xdc, 0x7a, 0x13, 0x32, 0x32, 0x0b, |
| 2155 | 0xba, 0x54, 0x4b, 0xd2, 0x7e, 0x52, 0x73, 0xd9, 0xbe, 0x68, 0x2e, 0xea, 0x60, 0x84, 0x7e, 0x28, |
| 2156 | 0xb9, 0xf4, 0x60, 0x84, 0x3c, 0x16, 0x39, 0x18, 0x21, 0x2d, 0xe8, 0x48, 0x24, 0xdb, 0xe2, 0xea, |
| 2157 | 0xa1, 0xf1, 0xc9, 0xb6, 0x94, 0xf9, 0x19, 0x1c, 0x5a, 0x4f, 0xbe, 0x78, 0x28, 0xfa, 0x05, 0xcc, |
| 2158 | 0xfa, 0x85, 0xe3, 0x10, 0x2c, 0x97, 0x54, 0x81, 0xc6, 0xb7, 0x05, 0xf6, 0x06, 0x7e, 0x2f, 0x16, |
| 2159 | 0x4b, 0x89, 0xdd, 0xac, 0x31, 0x4e, 0x7b, 0x29, 0xf2, 0xa3, 0x50, 0xe1, 0x7d, 0xf8, 0xed, 0x19, |
| 2160 | 0xa9, 0xcc, 0x47, 0x23, 0x0f, 0x3f, 0x46, 0xbc, 0x9f, 0x7a, 0x74, 0x5a, 0x75, 0xf4, 0x19, 0xa0, |
| 2161 | 0x43, 0xc2, 0x86, 0x6a, 0xef, 0x43, 0x05, 0xaa, 0xb8, 0xf2, 0x7c, 0xd4, 0x1f, 0x61, 0xb6, 0xa8, |
| 2162 | 0xf4, 0x23, 0x0a, 0x0b, 0x27, 0x56, 0xbb, 0x6b, 0x1b, 0x8c, 0x88, 0xf1, 0x68, 0xa3, 0xef, 0x88, |
| 2163 | 0x60, 0xb3, 0x4e, 0x7e, 0xd3, 0x25, 0x94, 0x25, 0xdd, 0xf9, 0x91, 0xa2, 0x41, 0xd8, 0x47, 0x8a, |
| 2164 | 0x54, 0xe3, 0x24, 0xbe, 0x33, 0x4b, 0x30, 0xd7, 0x2f, 0xb2, 0xa3, 0x6b, 0xbe, 0xc2, 0x48, 0xf9, |
| 2165 | 0x3d, 0x9f, 0x2c, 0xc2, 0x63, 0xe8, 0x18, 0x40, 0xbe, 0x78, 0x44, 0x81, 0x27, 0x15, 0xcc, 0x08, |
| 2166 | 0x12, 0x37, 0xb4, 0x7a, 0x2a, 0xe2, 0x45, 0x6e, 0xe3, 0x60, 0xb4, 0x7a, 0xcc, 0xaa, 0x77, 0xce, |
| 2167 | 0x08, 0xbc, 0xc1, 0x8b, 0xac, 0x77, 0xbf, 0x18, 0x18, 0xfe, 0x58, 0xdb, 0xde, 0xb3, 0x21, 0xeb, |
| 2168 | 0x7a, 0x2d, 0x11, 0x17, 0x1b, 0xae, 0x67, 0x2a, 0xde, 0x5e, 0x4a, 0x56, 0x7d, 0xab, 0xe2, 0xe7, |
| 2169 | 0xf0, 0x5f, 0x15, 0x5a, 0x16, 0x3b, 0xeb, 0xd6, 0xb9, 0x57, 0x8b, 0x7e, 0x4f, 0xf5, 0x37, 0x07, |
| 2170 | 0x77, 0xfd, 0xbf, 0x40, 0xd8, 0x29, 0xb6, 0x5c, 0xd5, 0xf6, 0xb7, 0xf1, 0xd5, 0x8a, 0xcf, 0x7b, |
| 2171 | 0x19, 0x2c, 0x22, 0x57, 0xc7, 0xab, 0x13, 0xd5, 0xc9, 0xea, 0x54, 0x75, 0xba, 0x3a, 0x53, 0x9d, |
| 2172 | 0xad, 0x4f, 0x8b, 0xb1, 0x3b, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x70, 0x28, 0xbe, 0x4c, 0xcd, |
| 2173 | 0x20, 0x00, 0x00, |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 2174 | } |
| 2175 | |
| 2176 | // Reference imports to suppress errors if they are not otherwise used. |
| 2177 | var _ context.Context |
| 2178 | var _ grpc.ClientConn |
| 2179 | |
| 2180 | // This is a compile-time assertion to ensure that this generated file |
| 2181 | // is compatible with the grpc package it is being compiled against. |
| 2182 | const _ = grpc.SupportPackageIsVersion4 |
| 2183 | |
| 2184 | // VolthaServiceClient is the client API for VolthaService service. |
| 2185 | // |
| 2186 | // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 2187 | type VolthaServiceClient interface { |
| 2188 | // Get more information on a given physical device |
Scott Baker | 99af94e | 2019-08-20 10:45:06 -0700 | [diff] [blame] | 2189 | UpdateLogLevel(ctx context.Context, in *common.Logging, opts ...grpc.CallOption) (*empty.Empty, error) |
| 2190 | GetLogLevels(ctx context.Context, in *common.LoggingComponent, opts ...grpc.CallOption) (*common.Loggings, error) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 2191 | // Get the membership group of a Voltha Core |
| 2192 | GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error) |
| 2193 | // Set the membership group of a Voltha Core |
| 2194 | UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error) |
| 2195 | // Get high level information on the Voltha cluster |
| 2196 | GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error) |
| 2197 | // List all Voltha cluster core instances |
| 2198 | ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error) |
| 2199 | // Get details on a Voltha cluster instance |
| 2200 | GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error) |
| 2201 | // List all active adapters (plugins) in the Voltha cluster |
| 2202 | ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error) |
| 2203 | // List all logical devices managed by the Voltha cluster |
| 2204 | ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error) |
| 2205 | // Get additional information on a given logical device |
| 2206 | GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error) |
| 2207 | // List ports of a logical device |
| 2208 | ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error) |
| 2209 | // Gets a logical device port |
| 2210 | GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error) |
| 2211 | // Enables a logical device port |
| 2212 | EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) |
| 2213 | // Disables a logical device port |
| 2214 | DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) |
| 2215 | // List all flows of a logical device |
| 2216 | ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) |
| 2217 | // Update flow table for logical device |
| 2218 | UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) |
| 2219 | // Update meter table for logical device |
| 2220 | UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error) |
Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 2221 | // List all meters of a logical device |
| 2222 | ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 2223 | // List all flow groups of a logical device |
| 2224 | ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) |
| 2225 | // Update group table for device |
| 2226 | UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) |
| 2227 | // List all physical devices controlled by the Voltha cluster |
| 2228 | ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error) |
| 2229 | // List all physical devices IDs controlled by the Voltha cluster |
| 2230 | ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error) |
| 2231 | // Request to a voltha Core to reconcile a set of devices based on their IDs |
| 2232 | ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error) |
| 2233 | // Get more information on a given physical device |
| 2234 | GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error) |
| 2235 | // Pre-provision a new physical device |
| 2236 | CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error) |
| 2237 | // Enable a device. If the device was in pre-provisioned state then it |
| 2238 | // will transition to ENABLED state. If it was is DISABLED state then it |
| 2239 | // will transition to ENABLED state as well. |
| 2240 | EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) |
| 2241 | // Disable a device |
| 2242 | DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) |
| 2243 | // Reboot a device |
| 2244 | RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) |
| 2245 | // Delete a device |
| 2246 | DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) |
| 2247 | // Request an image download to the standby partition |
| 2248 | // of a device. |
| 2249 | // Note that the call is expected to be non-blocking. |
| 2250 | DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) |
| 2251 | // Get image download status on a device |
| 2252 | // The request retrieves progress on device and updates db record |
| 2253 | GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) |
| 2254 | // Get image download db record |
| 2255 | GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) |
| 2256 | // List image download db records for a given device |
| 2257 | ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error) |
| 2258 | // Cancel an existing image download process on a device |
| 2259 | CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) |
| 2260 | // Activate the specified image at a standby partition |
| 2261 | // to active partition. |
| 2262 | // Depending on the device implementation, this call |
| 2263 | // may or may not cause device reboot. |
| 2264 | // If no reboot, then a reboot is required to make the |
| 2265 | // activated image running on device |
| 2266 | // Note that the call is expected to be non-blocking. |
| 2267 | ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) |
| 2268 | // Revert the specified image at standby partition |
| 2269 | // to active partition, and revert to previous image |
| 2270 | // Depending on the device implementation, this call |
| 2271 | // may or may not cause device reboot. |
| 2272 | // If no reboot, then a reboot is required to make the |
| 2273 | // previous image running on device |
| 2274 | // Note that the call is expected to be non-blocking. |
| 2275 | RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) |
| 2276 | // List ports of a device |
| 2277 | ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error) |
| 2278 | // List pm config of a device |
| 2279 | ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error) |
| 2280 | // Update the pm config of a device |
| 2281 | UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error) |
| 2282 | // List all flows of a device |
| 2283 | ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) |
| 2284 | // List all flow groups of a device |
| 2285 | ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) |
| 2286 | // List device types known to Voltha |
| 2287 | ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error) |
| 2288 | // Get additional information on a device type |
| 2289 | GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error) |
| 2290 | // List all device sharding groups |
| 2291 | ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error) |
| 2292 | // Stream control packets to the dataplane |
| 2293 | StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error) |
| 2294 | // Receive control packet stream |
| 2295 | ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error) |
| 2296 | ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error) |
| 2297 | // Get additional information on a device group |
| 2298 | GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error) |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 2299 | CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) |
| 2300 | // Get all filters present for a device |
| 2301 | GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error) |
| 2302 | UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) |
| 2303 | DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error) |
| 2304 | // Get all the filters present |
| 2305 | ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 2306 | GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error) |
| 2307 | SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error) |
| 2308 | // OpenOMCI MIB information |
| 2309 | GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error) |
| 2310 | // OpenOMCI ALARM information |
| 2311 | GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error) |
| 2312 | // Simulate an Alarm |
| 2313 | SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error) |
| 2314 | Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error) |
kesavand | 4a002b0 | 2020-01-23 21:29:47 -0500 | [diff] [blame] | 2315 | EnablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) |
| 2316 | DisablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 2317 | } |
| 2318 | |
| 2319 | type volthaServiceClient struct { |
| 2320 | cc *grpc.ClientConn |
| 2321 | } |
| 2322 | |
| 2323 | func NewVolthaServiceClient(cc *grpc.ClientConn) VolthaServiceClient { |
| 2324 | return &volthaServiceClient{cc} |
| 2325 | } |
| 2326 | |
Scott Baker | 99af94e | 2019-08-20 10:45:06 -0700 | [diff] [blame] | 2327 | func (c *volthaServiceClient) UpdateLogLevel(ctx context.Context, in *common.Logging, opts ...grpc.CallOption) (*empty.Empty, error) { |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 2328 | out := new(empty.Empty) |
| 2329 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogLevel", in, out, opts...) |
| 2330 | if err != nil { |
| 2331 | return nil, err |
| 2332 | } |
| 2333 | return out, nil |
| 2334 | } |
| 2335 | |
Scott Baker | 99af94e | 2019-08-20 10:45:06 -0700 | [diff] [blame] | 2336 | func (c *volthaServiceClient) GetLogLevels(ctx context.Context, in *common.LoggingComponent, opts ...grpc.CallOption) (*common.Loggings, error) { |
| 2337 | out := new(common.Loggings) |
| 2338 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogLevels", in, out, opts...) |
| 2339 | if err != nil { |
| 2340 | return nil, err |
| 2341 | } |
| 2342 | return out, nil |
| 2343 | } |
| 2344 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 2345 | func (c *volthaServiceClient) GetMembership(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Membership, error) { |
| 2346 | out := new(Membership) |
| 2347 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMembership", in, out, opts...) |
| 2348 | if err != nil { |
| 2349 | return nil, err |
| 2350 | } |
| 2351 | return out, nil |
| 2352 | } |
| 2353 | |
| 2354 | func (c *volthaServiceClient) UpdateMembership(ctx context.Context, in *Membership, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 2355 | out := new(empty.Empty) |
| 2356 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateMembership", in, out, opts...) |
| 2357 | if err != nil { |
| 2358 | return nil, err |
| 2359 | } |
| 2360 | return out, nil |
| 2361 | } |
| 2362 | |
| 2363 | func (c *volthaServiceClient) GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Voltha, error) { |
| 2364 | out := new(Voltha) |
| 2365 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetVoltha", in, out, opts...) |
| 2366 | if err != nil { |
| 2367 | return nil, err |
| 2368 | } |
| 2369 | return out, nil |
| 2370 | } |
| 2371 | |
| 2372 | func (c *volthaServiceClient) ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CoreInstances, error) { |
| 2373 | out := new(CoreInstances) |
| 2374 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListCoreInstances", in, out, opts...) |
| 2375 | if err != nil { |
| 2376 | return nil, err |
| 2377 | } |
| 2378 | return out, nil |
| 2379 | } |
| 2380 | |
| 2381 | func (c *volthaServiceClient) GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*CoreInstance, error) { |
| 2382 | out := new(CoreInstance) |
| 2383 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetCoreInstance", in, out, opts...) |
| 2384 | if err != nil { |
| 2385 | return nil, err |
| 2386 | } |
| 2387 | return out, nil |
| 2388 | } |
| 2389 | |
| 2390 | func (c *volthaServiceClient) ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Adapters, error) { |
| 2391 | out := new(Adapters) |
| 2392 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListAdapters", in, out, opts...) |
| 2393 | if err != nil { |
| 2394 | return nil, err |
| 2395 | } |
| 2396 | return out, nil |
| 2397 | } |
| 2398 | |
| 2399 | func (c *volthaServiceClient) ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LogicalDevices, error) { |
| 2400 | out := new(LogicalDevices) |
| 2401 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevices", in, out, opts...) |
| 2402 | if err != nil { |
| 2403 | return nil, err |
| 2404 | } |
| 2405 | return out, nil |
| 2406 | } |
| 2407 | |
| 2408 | func (c *volthaServiceClient) GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalDevice, error) { |
| 2409 | out := new(LogicalDevice) |
| 2410 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevice", in, out, opts...) |
| 2411 | if err != nil { |
| 2412 | return nil, err |
| 2413 | } |
| 2414 | return out, nil |
| 2415 | } |
| 2416 | |
| 2417 | func (c *volthaServiceClient) ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*LogicalPorts, error) { |
| 2418 | out := new(LogicalPorts) |
| 2419 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDevicePorts", in, out, opts...) |
| 2420 | if err != nil { |
| 2421 | return nil, err |
| 2422 | } |
| 2423 | return out, nil |
| 2424 | } |
| 2425 | |
| 2426 | func (c *volthaServiceClient) GetLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*LogicalPort, error) { |
| 2427 | out := new(LogicalPort) |
| 2428 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetLogicalDevicePort", in, out, opts...) |
| 2429 | if err != nil { |
| 2430 | return nil, err |
| 2431 | } |
| 2432 | return out, nil |
| 2433 | } |
| 2434 | |
| 2435 | func (c *volthaServiceClient) EnableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 2436 | out := new(empty.Empty) |
| 2437 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableLogicalDevicePort", in, out, opts...) |
| 2438 | if err != nil { |
| 2439 | return nil, err |
| 2440 | } |
| 2441 | return out, nil |
| 2442 | } |
| 2443 | |
| 2444 | func (c *volthaServiceClient) DisableLogicalDevicePort(ctx context.Context, in *LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 2445 | out := new(empty.Empty) |
| 2446 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableLogicalDevicePort", in, out, opts...) |
| 2447 | if err != nil { |
| 2448 | return nil, err |
| 2449 | } |
| 2450 | return out, nil |
| 2451 | } |
| 2452 | |
| 2453 | func (c *volthaServiceClient) ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) { |
| 2454 | out := new(openflow_13.Flows) |
| 2455 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlows", in, out, opts...) |
| 2456 | if err != nil { |
| 2457 | return nil, err |
| 2458 | } |
| 2459 | return out, nil |
| 2460 | } |
| 2461 | |
| 2462 | func (c *volthaServiceClient) UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 2463 | out := new(empty.Empty) |
| 2464 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowTable", in, out, opts...) |
| 2465 | if err != nil { |
| 2466 | return nil, err |
| 2467 | } |
| 2468 | return out, nil |
| 2469 | } |
| 2470 | |
| 2471 | func (c *volthaServiceClient) UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 2472 | out := new(empty.Empty) |
| 2473 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceMeterTable", in, out, opts...) |
| 2474 | if err != nil { |
| 2475 | return nil, err |
| 2476 | } |
| 2477 | return out, nil |
| 2478 | } |
| 2479 | |
Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 2480 | func (c *volthaServiceClient) ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error) { |
| 2481 | out := new(openflow_13.Meters) |
| 2482 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceMeters", in, out, opts...) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 2483 | if err != nil { |
| 2484 | return nil, err |
| 2485 | } |
| 2486 | return out, nil |
| 2487 | } |
| 2488 | |
| 2489 | func (c *volthaServiceClient) ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) { |
| 2490 | out := new(openflow_13.FlowGroups) |
| 2491 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListLogicalDeviceFlowGroups", in, out, opts...) |
| 2492 | if err != nil { |
| 2493 | return nil, err |
| 2494 | } |
| 2495 | return out, nil |
| 2496 | } |
| 2497 | |
| 2498 | func (c *volthaServiceClient) UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 2499 | out := new(empty.Empty) |
| 2500 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable", in, out, opts...) |
| 2501 | if err != nil { |
| 2502 | return nil, err |
| 2503 | } |
| 2504 | return out, nil |
| 2505 | } |
| 2506 | |
| 2507 | func (c *volthaServiceClient) ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Devices, error) { |
| 2508 | out := new(Devices) |
| 2509 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevices", in, out, opts...) |
| 2510 | if err != nil { |
| 2511 | return nil, err |
| 2512 | } |
| 2513 | return out, nil |
| 2514 | } |
| 2515 | |
| 2516 | func (c *volthaServiceClient) ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error) { |
| 2517 | out := new(common.IDs) |
| 2518 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceIds", in, out, opts...) |
| 2519 | if err != nil { |
| 2520 | return nil, err |
| 2521 | } |
| 2522 | return out, nil |
| 2523 | } |
| 2524 | |
| 2525 | func (c *volthaServiceClient) ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 2526 | out := new(empty.Empty) |
| 2527 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ReconcileDevices", in, out, opts...) |
| 2528 | if err != nil { |
| 2529 | return nil, err |
| 2530 | } |
| 2531 | return out, nil |
| 2532 | } |
| 2533 | |
| 2534 | func (c *volthaServiceClient) GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Device, error) { |
| 2535 | out := new(Device) |
| 2536 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDevice", in, out, opts...) |
| 2537 | if err != nil { |
| 2538 | return nil, err |
| 2539 | } |
| 2540 | return out, nil |
| 2541 | } |
| 2542 | |
| 2543 | func (c *volthaServiceClient) CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error) { |
| 2544 | out := new(Device) |
| 2545 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateDevice", in, out, opts...) |
| 2546 | if err != nil { |
| 2547 | return nil, err |
| 2548 | } |
| 2549 | return out, nil |
| 2550 | } |
| 2551 | |
| 2552 | func (c *volthaServiceClient) EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 2553 | out := new(empty.Empty) |
| 2554 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnableDevice", in, out, opts...) |
| 2555 | if err != nil { |
| 2556 | return nil, err |
| 2557 | } |
| 2558 | return out, nil |
| 2559 | } |
| 2560 | |
| 2561 | func (c *volthaServiceClient) DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 2562 | out := new(empty.Empty) |
| 2563 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisableDevice", in, out, opts...) |
| 2564 | if err != nil { |
| 2565 | return nil, err |
| 2566 | } |
| 2567 | return out, nil |
| 2568 | } |
| 2569 | |
| 2570 | func (c *volthaServiceClient) RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 2571 | out := new(empty.Empty) |
| 2572 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/RebootDevice", in, out, opts...) |
| 2573 | if err != nil { |
| 2574 | return nil, err |
| 2575 | } |
| 2576 | return out, nil |
| 2577 | } |
| 2578 | |
| 2579 | func (c *volthaServiceClient) DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 2580 | out := new(empty.Empty) |
| 2581 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteDevice", in, out, opts...) |
| 2582 | if err != nil { |
| 2583 | return nil, err |
| 2584 | } |
| 2585 | return out, nil |
| 2586 | } |
| 2587 | |
| 2588 | func (c *volthaServiceClient) DownloadImage(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) { |
| 2589 | out := new(common.OperationResp) |
| 2590 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/DownloadImage", in, out, opts...) |
| 2591 | if err != nil { |
| 2592 | return nil, err |
| 2593 | } |
| 2594 | return out, nil |
| 2595 | } |
| 2596 | |
| 2597 | func (c *volthaServiceClient) GetImageDownloadStatus(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) { |
| 2598 | out := new(ImageDownload) |
| 2599 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownloadStatus", in, out, opts...) |
| 2600 | if err != nil { |
| 2601 | return nil, err |
| 2602 | } |
| 2603 | return out, nil |
| 2604 | } |
| 2605 | |
| 2606 | func (c *volthaServiceClient) GetImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*ImageDownload, error) { |
| 2607 | out := new(ImageDownload) |
| 2608 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImageDownload", in, out, opts...) |
| 2609 | if err != nil { |
| 2610 | return nil, err |
| 2611 | } |
| 2612 | return out, nil |
| 2613 | } |
| 2614 | |
| 2615 | func (c *volthaServiceClient) ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*ImageDownloads, error) { |
| 2616 | out := new(ImageDownloads) |
| 2617 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListImageDownloads", in, out, opts...) |
| 2618 | if err != nil { |
| 2619 | return nil, err |
| 2620 | } |
| 2621 | return out, nil |
| 2622 | } |
| 2623 | |
| 2624 | func (c *volthaServiceClient) CancelImageDownload(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) { |
| 2625 | out := new(common.OperationResp) |
| 2626 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/CancelImageDownload", in, out, opts...) |
| 2627 | if err != nil { |
| 2628 | return nil, err |
| 2629 | } |
| 2630 | return out, nil |
| 2631 | } |
| 2632 | |
| 2633 | func (c *volthaServiceClient) ActivateImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) { |
| 2634 | out := new(common.OperationResp) |
| 2635 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ActivateImageUpdate", in, out, opts...) |
| 2636 | if err != nil { |
| 2637 | return nil, err |
| 2638 | } |
| 2639 | return out, nil |
| 2640 | } |
| 2641 | |
| 2642 | func (c *volthaServiceClient) RevertImageUpdate(ctx context.Context, in *ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) { |
| 2643 | out := new(common.OperationResp) |
| 2644 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/RevertImageUpdate", in, out, opts...) |
| 2645 | if err != nil { |
| 2646 | return nil, err |
| 2647 | } |
| 2648 | return out, nil |
| 2649 | } |
| 2650 | |
| 2651 | func (c *volthaServiceClient) ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Ports, error) { |
| 2652 | out := new(Ports) |
| 2653 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePorts", in, out, opts...) |
| 2654 | if err != nil { |
| 2655 | return nil, err |
| 2656 | } |
| 2657 | return out, nil |
| 2658 | } |
| 2659 | |
| 2660 | func (c *volthaServiceClient) ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*PmConfigs, error) { |
| 2661 | out := new(PmConfigs) |
| 2662 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDevicePmConfigs", in, out, opts...) |
| 2663 | if err != nil { |
| 2664 | return nil, err |
| 2665 | } |
| 2666 | return out, nil |
| 2667 | } |
| 2668 | |
| 2669 | func (c *volthaServiceClient) UpdateDevicePmConfigs(ctx context.Context, in *PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 2670 | out := new(empty.Empty) |
| 2671 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateDevicePmConfigs", in, out, opts...) |
| 2672 | if err != nil { |
| 2673 | return nil, err |
| 2674 | } |
| 2675 | return out, nil |
| 2676 | } |
| 2677 | |
| 2678 | func (c *volthaServiceClient) ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) { |
| 2679 | out := new(openflow_13.Flows) |
| 2680 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlows", in, out, opts...) |
| 2681 | if err != nil { |
| 2682 | return nil, err |
| 2683 | } |
| 2684 | return out, nil |
| 2685 | } |
| 2686 | |
| 2687 | func (c *volthaServiceClient) ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) { |
| 2688 | out := new(openflow_13.FlowGroups) |
| 2689 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceFlowGroups", in, out, opts...) |
| 2690 | if err != nil { |
| 2691 | return nil, err |
| 2692 | } |
| 2693 | return out, nil |
| 2694 | } |
| 2695 | |
| 2696 | func (c *volthaServiceClient) ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceTypes, error) { |
| 2697 | out := new(DeviceTypes) |
| 2698 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceTypes", in, out, opts...) |
| 2699 | if err != nil { |
| 2700 | return nil, err |
| 2701 | } |
| 2702 | return out, nil |
| 2703 | } |
| 2704 | |
| 2705 | func (c *volthaServiceClient) GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceType, error) { |
| 2706 | out := new(DeviceType) |
| 2707 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceType", in, out, opts...) |
| 2708 | if err != nil { |
| 2709 | return nil, err |
| 2710 | } |
| 2711 | return out, nil |
| 2712 | } |
| 2713 | |
| 2714 | func (c *volthaServiceClient) ListDeviceGroups(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DeviceGroups, error) { |
| 2715 | out := new(DeviceGroups) |
| 2716 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListDeviceGroups", in, out, opts...) |
| 2717 | if err != nil { |
| 2718 | return nil, err |
| 2719 | } |
| 2720 | return out, nil |
| 2721 | } |
| 2722 | |
| 2723 | func (c *volthaServiceClient) StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (VolthaService_StreamPacketsOutClient, error) { |
| 2724 | stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[0], "/voltha.VolthaService/StreamPacketsOut", opts...) |
| 2725 | if err != nil { |
| 2726 | return nil, err |
| 2727 | } |
| 2728 | x := &volthaServiceStreamPacketsOutClient{stream} |
| 2729 | return x, nil |
| 2730 | } |
| 2731 | |
| 2732 | type VolthaService_StreamPacketsOutClient interface { |
| 2733 | Send(*openflow_13.PacketOut) error |
| 2734 | CloseAndRecv() (*empty.Empty, error) |
| 2735 | grpc.ClientStream |
| 2736 | } |
| 2737 | |
| 2738 | type volthaServiceStreamPacketsOutClient struct { |
| 2739 | grpc.ClientStream |
| 2740 | } |
| 2741 | |
| 2742 | func (x *volthaServiceStreamPacketsOutClient) Send(m *openflow_13.PacketOut) error { |
| 2743 | return x.ClientStream.SendMsg(m) |
| 2744 | } |
| 2745 | |
| 2746 | func (x *volthaServiceStreamPacketsOutClient) CloseAndRecv() (*empty.Empty, error) { |
| 2747 | if err := x.ClientStream.CloseSend(); err != nil { |
| 2748 | return nil, err |
| 2749 | } |
| 2750 | m := new(empty.Empty) |
| 2751 | if err := x.ClientStream.RecvMsg(m); err != nil { |
| 2752 | return nil, err |
| 2753 | } |
| 2754 | return m, nil |
| 2755 | } |
| 2756 | |
| 2757 | func (c *volthaServiceClient) ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceivePacketsInClient, error) { |
| 2758 | stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[1], "/voltha.VolthaService/ReceivePacketsIn", opts...) |
| 2759 | if err != nil { |
| 2760 | return nil, err |
| 2761 | } |
| 2762 | x := &volthaServiceReceivePacketsInClient{stream} |
| 2763 | if err := x.ClientStream.SendMsg(in); err != nil { |
| 2764 | return nil, err |
| 2765 | } |
| 2766 | if err := x.ClientStream.CloseSend(); err != nil { |
| 2767 | return nil, err |
| 2768 | } |
| 2769 | return x, nil |
| 2770 | } |
| 2771 | |
| 2772 | type VolthaService_ReceivePacketsInClient interface { |
| 2773 | Recv() (*openflow_13.PacketIn, error) |
| 2774 | grpc.ClientStream |
| 2775 | } |
| 2776 | |
| 2777 | type volthaServiceReceivePacketsInClient struct { |
| 2778 | grpc.ClientStream |
| 2779 | } |
| 2780 | |
| 2781 | func (x *volthaServiceReceivePacketsInClient) Recv() (*openflow_13.PacketIn, error) { |
| 2782 | m := new(openflow_13.PacketIn) |
| 2783 | if err := x.ClientStream.RecvMsg(m); err != nil { |
| 2784 | return nil, err |
| 2785 | } |
| 2786 | return m, nil |
| 2787 | } |
| 2788 | |
| 2789 | func (c *volthaServiceClient) ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VolthaService_ReceiveChangeEventsClient, error) { |
| 2790 | stream, err := c.cc.NewStream(ctx, &_VolthaService_serviceDesc.Streams[2], "/voltha.VolthaService/ReceiveChangeEvents", opts...) |
| 2791 | if err != nil { |
| 2792 | return nil, err |
| 2793 | } |
| 2794 | x := &volthaServiceReceiveChangeEventsClient{stream} |
| 2795 | if err := x.ClientStream.SendMsg(in); err != nil { |
| 2796 | return nil, err |
| 2797 | } |
| 2798 | if err := x.ClientStream.CloseSend(); err != nil { |
| 2799 | return nil, err |
| 2800 | } |
| 2801 | return x, nil |
| 2802 | } |
| 2803 | |
| 2804 | type VolthaService_ReceiveChangeEventsClient interface { |
| 2805 | Recv() (*openflow_13.ChangeEvent, error) |
| 2806 | grpc.ClientStream |
| 2807 | } |
| 2808 | |
| 2809 | type volthaServiceReceiveChangeEventsClient struct { |
| 2810 | grpc.ClientStream |
| 2811 | } |
| 2812 | |
| 2813 | func (x *volthaServiceReceiveChangeEventsClient) Recv() (*openflow_13.ChangeEvent, error) { |
| 2814 | m := new(openflow_13.ChangeEvent) |
| 2815 | if err := x.ClientStream.RecvMsg(m); err != nil { |
| 2816 | return nil, err |
| 2817 | } |
| 2818 | return m, nil |
| 2819 | } |
| 2820 | |
| 2821 | func (c *volthaServiceClient) GetDeviceGroup(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*DeviceGroup, error) { |
| 2822 | out := new(DeviceGroup) |
| 2823 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetDeviceGroup", in, out, opts...) |
| 2824 | if err != nil { |
| 2825 | return nil, err |
| 2826 | } |
| 2827 | return out, nil |
| 2828 | } |
| 2829 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 2830 | func (c *volthaServiceClient) CreateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) { |
| 2831 | out := new(EventFilter) |
| 2832 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/CreateEventFilter", in, out, opts...) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 2833 | if err != nil { |
| 2834 | return nil, err |
| 2835 | } |
| 2836 | return out, nil |
| 2837 | } |
| 2838 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 2839 | func (c *volthaServiceClient) GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*EventFilters, error) { |
| 2840 | out := new(EventFilters) |
| 2841 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetEventFilter", in, out, opts...) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 2842 | if err != nil { |
| 2843 | return nil, err |
| 2844 | } |
| 2845 | return out, nil |
| 2846 | } |
| 2847 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 2848 | func (c *volthaServiceClient) UpdateEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*EventFilter, error) { |
| 2849 | out := new(EventFilter) |
| 2850 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/UpdateEventFilter", in, out, opts...) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 2851 | if err != nil { |
| 2852 | return nil, err |
| 2853 | } |
| 2854 | return out, nil |
| 2855 | } |
| 2856 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 2857 | func (c *volthaServiceClient) DeleteEventFilter(ctx context.Context, in *EventFilter, opts ...grpc.CallOption) (*empty.Empty, error) { |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 2858 | out := new(empty.Empty) |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 2859 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/DeleteEventFilter", in, out, opts...) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 2860 | if err != nil { |
| 2861 | return nil, err |
| 2862 | } |
| 2863 | return out, nil |
| 2864 | } |
| 2865 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 2866 | func (c *volthaServiceClient) ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventFilters, error) { |
| 2867 | out := new(EventFilters) |
| 2868 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/ListEventFilters", in, out, opts...) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 2869 | if err != nil { |
| 2870 | return nil, err |
| 2871 | } |
| 2872 | return out, nil |
| 2873 | } |
| 2874 | |
| 2875 | func (c *volthaServiceClient) GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*Images, error) { |
| 2876 | out := new(Images) |
| 2877 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetImages", in, out, opts...) |
| 2878 | if err != nil { |
| 2879 | return nil, err |
| 2880 | } |
| 2881 | return out, nil |
| 2882 | } |
| 2883 | |
| 2884 | func (c *volthaServiceClient) SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*SelfTestResponse, error) { |
| 2885 | out := new(SelfTestResponse) |
| 2886 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/SelfTest", in, out, opts...) |
| 2887 | if err != nil { |
| 2888 | return nil, err |
| 2889 | } |
| 2890 | return out, nil |
| 2891 | } |
| 2892 | |
| 2893 | func (c *volthaServiceClient) GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error) { |
| 2894 | out := new(omci.MibDeviceData) |
| 2895 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetMibDeviceData", in, out, opts...) |
| 2896 | if err != nil { |
| 2897 | return nil, err |
| 2898 | } |
| 2899 | return out, nil |
| 2900 | } |
| 2901 | |
| 2902 | func (c *volthaServiceClient) GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error) { |
| 2903 | out := new(omci.AlarmDeviceData) |
| 2904 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/GetAlarmDeviceData", in, out, opts...) |
| 2905 | if err != nil { |
| 2906 | return nil, err |
| 2907 | } |
| 2908 | return out, nil |
| 2909 | } |
| 2910 | |
| 2911 | func (c *volthaServiceClient) SimulateAlarm(ctx context.Context, in *SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error) { |
| 2912 | out := new(common.OperationResp) |
| 2913 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/SimulateAlarm", in, out, opts...) |
| 2914 | if err != nil { |
| 2915 | return nil, err |
| 2916 | } |
| 2917 | return out, nil |
| 2918 | } |
| 2919 | |
| 2920 | func (c *volthaServiceClient) Subscribe(ctx context.Context, in *OfAgentSubscriber, opts ...grpc.CallOption) (*OfAgentSubscriber, error) { |
| 2921 | out := new(OfAgentSubscriber) |
| 2922 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/Subscribe", in, out, opts...) |
| 2923 | if err != nil { |
| 2924 | return nil, err |
| 2925 | } |
| 2926 | return out, nil |
| 2927 | } |
| 2928 | |
kesavand | 4a002b0 | 2020-01-23 21:29:47 -0500 | [diff] [blame] | 2929 | func (c *volthaServiceClient) EnablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 2930 | out := new(empty.Empty) |
| 2931 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/EnablePort", in, out, opts...) |
| 2932 | if err != nil { |
| 2933 | return nil, err |
| 2934 | } |
| 2935 | return out, nil |
| 2936 | } |
| 2937 | |
| 2938 | func (c *volthaServiceClient) DisablePort(ctx context.Context, in *Port, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 2939 | out := new(empty.Empty) |
| 2940 | err := c.cc.Invoke(ctx, "/voltha.VolthaService/DisablePort", in, out, opts...) |
| 2941 | if err != nil { |
| 2942 | return nil, err |
| 2943 | } |
| 2944 | return out, nil |
| 2945 | } |
| 2946 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 2947 | // VolthaServiceServer is the server API for VolthaService service. |
| 2948 | type VolthaServiceServer interface { |
| 2949 | // Get more information on a given physical device |
Scott Baker | 99af94e | 2019-08-20 10:45:06 -0700 | [diff] [blame] | 2950 | UpdateLogLevel(context.Context, *common.Logging) (*empty.Empty, error) |
| 2951 | GetLogLevels(context.Context, *common.LoggingComponent) (*common.Loggings, error) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 2952 | // Get the membership group of a Voltha Core |
| 2953 | GetMembership(context.Context, *empty.Empty) (*Membership, error) |
| 2954 | // Set the membership group of a Voltha Core |
| 2955 | UpdateMembership(context.Context, *Membership) (*empty.Empty, error) |
| 2956 | // Get high level information on the Voltha cluster |
| 2957 | GetVoltha(context.Context, *empty.Empty) (*Voltha, error) |
| 2958 | // List all Voltha cluster core instances |
| 2959 | ListCoreInstances(context.Context, *empty.Empty) (*CoreInstances, error) |
| 2960 | // Get details on a Voltha cluster instance |
| 2961 | GetCoreInstance(context.Context, *common.ID) (*CoreInstance, error) |
| 2962 | // List all active adapters (plugins) in the Voltha cluster |
| 2963 | ListAdapters(context.Context, *empty.Empty) (*Adapters, error) |
| 2964 | // List all logical devices managed by the Voltha cluster |
| 2965 | ListLogicalDevices(context.Context, *empty.Empty) (*LogicalDevices, error) |
| 2966 | // Get additional information on a given logical device |
| 2967 | GetLogicalDevice(context.Context, *common.ID) (*LogicalDevice, error) |
| 2968 | // List ports of a logical device |
| 2969 | ListLogicalDevicePorts(context.Context, *common.ID) (*LogicalPorts, error) |
| 2970 | // Gets a logical device port |
| 2971 | GetLogicalDevicePort(context.Context, *LogicalPortId) (*LogicalPort, error) |
| 2972 | // Enables a logical device port |
| 2973 | EnableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error) |
| 2974 | // Disables a logical device port |
| 2975 | DisableLogicalDevicePort(context.Context, *LogicalPortId) (*empty.Empty, error) |
| 2976 | // List all flows of a logical device |
| 2977 | ListLogicalDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error) |
| 2978 | // Update flow table for logical device |
| 2979 | UpdateLogicalDeviceFlowTable(context.Context, *openflow_13.FlowTableUpdate) (*empty.Empty, error) |
| 2980 | // Update meter table for logical device |
| 2981 | UpdateLogicalDeviceMeterTable(context.Context, *openflow_13.MeterModUpdate) (*empty.Empty, error) |
Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 2982 | // List all meters of a logical device |
| 2983 | ListLogicalDeviceMeters(context.Context, *common.ID) (*openflow_13.Meters, error) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 2984 | // List all flow groups of a logical device |
| 2985 | ListLogicalDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error) |
| 2986 | // Update group table for device |
| 2987 | UpdateLogicalDeviceFlowGroupTable(context.Context, *openflow_13.FlowGroupTableUpdate) (*empty.Empty, error) |
| 2988 | // List all physical devices controlled by the Voltha cluster |
| 2989 | ListDevices(context.Context, *empty.Empty) (*Devices, error) |
| 2990 | // List all physical devices IDs controlled by the Voltha cluster |
| 2991 | ListDeviceIds(context.Context, *empty.Empty) (*common.IDs, error) |
| 2992 | // Request to a voltha Core to reconcile a set of devices based on their IDs |
| 2993 | ReconcileDevices(context.Context, *common.IDs) (*empty.Empty, error) |
| 2994 | // Get more information on a given physical device |
| 2995 | GetDevice(context.Context, *common.ID) (*Device, error) |
| 2996 | // Pre-provision a new physical device |
| 2997 | CreateDevice(context.Context, *Device) (*Device, error) |
| 2998 | // Enable a device. If the device was in pre-provisioned state then it |
| 2999 | // will transition to ENABLED state. If it was is DISABLED state then it |
| 3000 | // will transition to ENABLED state as well. |
| 3001 | EnableDevice(context.Context, *common.ID) (*empty.Empty, error) |
| 3002 | // Disable a device |
| 3003 | DisableDevice(context.Context, *common.ID) (*empty.Empty, error) |
| 3004 | // Reboot a device |
| 3005 | RebootDevice(context.Context, *common.ID) (*empty.Empty, error) |
| 3006 | // Delete a device |
| 3007 | DeleteDevice(context.Context, *common.ID) (*empty.Empty, error) |
| 3008 | // Request an image download to the standby partition |
| 3009 | // of a device. |
| 3010 | // Note that the call is expected to be non-blocking. |
| 3011 | DownloadImage(context.Context, *ImageDownload) (*common.OperationResp, error) |
| 3012 | // Get image download status on a device |
| 3013 | // The request retrieves progress on device and updates db record |
| 3014 | GetImageDownloadStatus(context.Context, *ImageDownload) (*ImageDownload, error) |
| 3015 | // Get image download db record |
| 3016 | GetImageDownload(context.Context, *ImageDownload) (*ImageDownload, error) |
| 3017 | // List image download db records for a given device |
| 3018 | ListImageDownloads(context.Context, *common.ID) (*ImageDownloads, error) |
| 3019 | // Cancel an existing image download process on a device |
| 3020 | CancelImageDownload(context.Context, *ImageDownload) (*common.OperationResp, error) |
| 3021 | // Activate the specified image at a standby partition |
| 3022 | // to active partition. |
| 3023 | // Depending on the device implementation, this call |
| 3024 | // may or may not cause device reboot. |
| 3025 | // If no reboot, then a reboot is required to make the |
| 3026 | // activated image running on device |
| 3027 | // Note that the call is expected to be non-blocking. |
| 3028 | ActivateImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error) |
| 3029 | // Revert the specified image at standby partition |
| 3030 | // to active partition, and revert to previous image |
| 3031 | // Depending on the device implementation, this call |
| 3032 | // may or may not cause device reboot. |
| 3033 | // If no reboot, then a reboot is required to make the |
| 3034 | // previous image running on device |
| 3035 | // Note that the call is expected to be non-blocking. |
| 3036 | RevertImageUpdate(context.Context, *ImageDownload) (*common.OperationResp, error) |
| 3037 | // List ports of a device |
| 3038 | ListDevicePorts(context.Context, *common.ID) (*Ports, error) |
| 3039 | // List pm config of a device |
| 3040 | ListDevicePmConfigs(context.Context, *common.ID) (*PmConfigs, error) |
| 3041 | // Update the pm config of a device |
| 3042 | UpdateDevicePmConfigs(context.Context, *PmConfigs) (*empty.Empty, error) |
| 3043 | // List all flows of a device |
| 3044 | ListDeviceFlows(context.Context, *common.ID) (*openflow_13.Flows, error) |
| 3045 | // List all flow groups of a device |
| 3046 | ListDeviceFlowGroups(context.Context, *common.ID) (*openflow_13.FlowGroups, error) |
| 3047 | // List device types known to Voltha |
| 3048 | ListDeviceTypes(context.Context, *empty.Empty) (*DeviceTypes, error) |
| 3049 | // Get additional information on a device type |
| 3050 | GetDeviceType(context.Context, *common.ID) (*DeviceType, error) |
| 3051 | // List all device sharding groups |
| 3052 | ListDeviceGroups(context.Context, *empty.Empty) (*DeviceGroups, error) |
| 3053 | // Stream control packets to the dataplane |
| 3054 | StreamPacketsOut(VolthaService_StreamPacketsOutServer) error |
| 3055 | // Receive control packet stream |
| 3056 | ReceivePacketsIn(*empty.Empty, VolthaService_ReceivePacketsInServer) error |
| 3057 | ReceiveChangeEvents(*empty.Empty, VolthaService_ReceiveChangeEventsServer) error |
| 3058 | // Get additional information on a device group |
| 3059 | GetDeviceGroup(context.Context, *common.ID) (*DeviceGroup, error) |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 3060 | CreateEventFilter(context.Context, *EventFilter) (*EventFilter, error) |
| 3061 | // Get all filters present for a device |
| 3062 | GetEventFilter(context.Context, *common.ID) (*EventFilters, error) |
| 3063 | UpdateEventFilter(context.Context, *EventFilter) (*EventFilter, error) |
| 3064 | DeleteEventFilter(context.Context, *EventFilter) (*empty.Empty, error) |
| 3065 | // Get all the filters present |
| 3066 | ListEventFilters(context.Context, *empty.Empty) (*EventFilters, error) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 3067 | GetImages(context.Context, *common.ID) (*Images, error) |
| 3068 | SelfTest(context.Context, *common.ID) (*SelfTestResponse, error) |
| 3069 | // OpenOMCI MIB information |
| 3070 | GetMibDeviceData(context.Context, *common.ID) (*omci.MibDeviceData, error) |
| 3071 | // OpenOMCI ALARM information |
| 3072 | GetAlarmDeviceData(context.Context, *common.ID) (*omci.AlarmDeviceData, error) |
| 3073 | // Simulate an Alarm |
| 3074 | SimulateAlarm(context.Context, *SimulateAlarmRequest) (*common.OperationResp, error) |
| 3075 | Subscribe(context.Context, *OfAgentSubscriber) (*OfAgentSubscriber, error) |
kesavand | 4a002b0 | 2020-01-23 21:29:47 -0500 | [diff] [blame] | 3076 | EnablePort(context.Context, *Port) (*empty.Empty, error) |
| 3077 | DisablePort(context.Context, *Port) (*empty.Empty, error) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 3078 | } |
| 3079 | |
| 3080 | func RegisterVolthaServiceServer(s *grpc.Server, srv VolthaServiceServer) { |
| 3081 | s.RegisterService(&_VolthaService_serviceDesc, srv) |
| 3082 | } |
| 3083 | |
| 3084 | func _VolthaService_UpdateLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
Scott Baker | 99af94e | 2019-08-20 10:45:06 -0700 | [diff] [blame] | 3085 | in := new(common.Logging) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 3086 | if err := dec(in); err != nil { |
| 3087 | return nil, err |
| 3088 | } |
| 3089 | if interceptor == nil { |
| 3090 | return srv.(VolthaServiceServer).UpdateLogLevel(ctx, in) |
| 3091 | } |
| 3092 | info := &grpc.UnaryServerInfo{ |
| 3093 | Server: srv, |
| 3094 | FullMethod: "/voltha.VolthaService/UpdateLogLevel", |
| 3095 | } |
| 3096 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
Scott Baker | 99af94e | 2019-08-20 10:45:06 -0700 | [diff] [blame] | 3097 | return srv.(VolthaServiceServer).UpdateLogLevel(ctx, req.(*common.Logging)) |
| 3098 | } |
| 3099 | return interceptor(ctx, in, info, handler) |
| 3100 | } |
| 3101 | |
| 3102 | func _VolthaService_GetLogLevels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3103 | in := new(common.LoggingComponent) |
| 3104 | if err := dec(in); err != nil { |
| 3105 | return nil, err |
| 3106 | } |
| 3107 | if interceptor == nil { |
| 3108 | return srv.(VolthaServiceServer).GetLogLevels(ctx, in) |
| 3109 | } |
| 3110 | info := &grpc.UnaryServerInfo{ |
| 3111 | Server: srv, |
| 3112 | FullMethod: "/voltha.VolthaService/GetLogLevels", |
| 3113 | } |
| 3114 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3115 | return srv.(VolthaServiceServer).GetLogLevels(ctx, req.(*common.LoggingComponent)) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 3116 | } |
| 3117 | return interceptor(ctx, in, info, handler) |
| 3118 | } |
| 3119 | |
| 3120 | func _VolthaService_GetMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3121 | in := new(empty.Empty) |
| 3122 | if err := dec(in); err != nil { |
| 3123 | return nil, err |
| 3124 | } |
| 3125 | if interceptor == nil { |
| 3126 | return srv.(VolthaServiceServer).GetMembership(ctx, in) |
| 3127 | } |
| 3128 | info := &grpc.UnaryServerInfo{ |
| 3129 | Server: srv, |
| 3130 | FullMethod: "/voltha.VolthaService/GetMembership", |
| 3131 | } |
| 3132 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3133 | return srv.(VolthaServiceServer).GetMembership(ctx, req.(*empty.Empty)) |
| 3134 | } |
| 3135 | return interceptor(ctx, in, info, handler) |
| 3136 | } |
| 3137 | |
| 3138 | func _VolthaService_UpdateMembership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3139 | in := new(Membership) |
| 3140 | if err := dec(in); err != nil { |
| 3141 | return nil, err |
| 3142 | } |
| 3143 | if interceptor == nil { |
| 3144 | return srv.(VolthaServiceServer).UpdateMembership(ctx, in) |
| 3145 | } |
| 3146 | info := &grpc.UnaryServerInfo{ |
| 3147 | Server: srv, |
| 3148 | FullMethod: "/voltha.VolthaService/UpdateMembership", |
| 3149 | } |
| 3150 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3151 | return srv.(VolthaServiceServer).UpdateMembership(ctx, req.(*Membership)) |
| 3152 | } |
| 3153 | return interceptor(ctx, in, info, handler) |
| 3154 | } |
| 3155 | |
| 3156 | func _VolthaService_GetVoltha_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3157 | in := new(empty.Empty) |
| 3158 | if err := dec(in); err != nil { |
| 3159 | return nil, err |
| 3160 | } |
| 3161 | if interceptor == nil { |
| 3162 | return srv.(VolthaServiceServer).GetVoltha(ctx, in) |
| 3163 | } |
| 3164 | info := &grpc.UnaryServerInfo{ |
| 3165 | Server: srv, |
| 3166 | FullMethod: "/voltha.VolthaService/GetVoltha", |
| 3167 | } |
| 3168 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3169 | return srv.(VolthaServiceServer).GetVoltha(ctx, req.(*empty.Empty)) |
| 3170 | } |
| 3171 | return interceptor(ctx, in, info, handler) |
| 3172 | } |
| 3173 | |
| 3174 | func _VolthaService_ListCoreInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3175 | in := new(empty.Empty) |
| 3176 | if err := dec(in); err != nil { |
| 3177 | return nil, err |
| 3178 | } |
| 3179 | if interceptor == nil { |
| 3180 | return srv.(VolthaServiceServer).ListCoreInstances(ctx, in) |
| 3181 | } |
| 3182 | info := &grpc.UnaryServerInfo{ |
| 3183 | Server: srv, |
| 3184 | FullMethod: "/voltha.VolthaService/ListCoreInstances", |
| 3185 | } |
| 3186 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3187 | return srv.(VolthaServiceServer).ListCoreInstances(ctx, req.(*empty.Empty)) |
| 3188 | } |
| 3189 | return interceptor(ctx, in, info, handler) |
| 3190 | } |
| 3191 | |
| 3192 | func _VolthaService_GetCoreInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3193 | in := new(common.ID) |
| 3194 | if err := dec(in); err != nil { |
| 3195 | return nil, err |
| 3196 | } |
| 3197 | if interceptor == nil { |
| 3198 | return srv.(VolthaServiceServer).GetCoreInstance(ctx, in) |
| 3199 | } |
| 3200 | info := &grpc.UnaryServerInfo{ |
| 3201 | Server: srv, |
| 3202 | FullMethod: "/voltha.VolthaService/GetCoreInstance", |
| 3203 | } |
| 3204 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3205 | return srv.(VolthaServiceServer).GetCoreInstance(ctx, req.(*common.ID)) |
| 3206 | } |
| 3207 | return interceptor(ctx, in, info, handler) |
| 3208 | } |
| 3209 | |
| 3210 | func _VolthaService_ListAdapters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3211 | in := new(empty.Empty) |
| 3212 | if err := dec(in); err != nil { |
| 3213 | return nil, err |
| 3214 | } |
| 3215 | if interceptor == nil { |
| 3216 | return srv.(VolthaServiceServer).ListAdapters(ctx, in) |
| 3217 | } |
| 3218 | info := &grpc.UnaryServerInfo{ |
| 3219 | Server: srv, |
| 3220 | FullMethod: "/voltha.VolthaService/ListAdapters", |
| 3221 | } |
| 3222 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3223 | return srv.(VolthaServiceServer).ListAdapters(ctx, req.(*empty.Empty)) |
| 3224 | } |
| 3225 | return interceptor(ctx, in, info, handler) |
| 3226 | } |
| 3227 | |
| 3228 | func _VolthaService_ListLogicalDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3229 | in := new(empty.Empty) |
| 3230 | if err := dec(in); err != nil { |
| 3231 | return nil, err |
| 3232 | } |
| 3233 | if interceptor == nil { |
| 3234 | return srv.(VolthaServiceServer).ListLogicalDevices(ctx, in) |
| 3235 | } |
| 3236 | info := &grpc.UnaryServerInfo{ |
| 3237 | Server: srv, |
| 3238 | FullMethod: "/voltha.VolthaService/ListLogicalDevices", |
| 3239 | } |
| 3240 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3241 | return srv.(VolthaServiceServer).ListLogicalDevices(ctx, req.(*empty.Empty)) |
| 3242 | } |
| 3243 | return interceptor(ctx, in, info, handler) |
| 3244 | } |
| 3245 | |
| 3246 | func _VolthaService_GetLogicalDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3247 | in := new(common.ID) |
| 3248 | if err := dec(in); err != nil { |
| 3249 | return nil, err |
| 3250 | } |
| 3251 | if interceptor == nil { |
| 3252 | return srv.(VolthaServiceServer).GetLogicalDevice(ctx, in) |
| 3253 | } |
| 3254 | info := &grpc.UnaryServerInfo{ |
| 3255 | Server: srv, |
| 3256 | FullMethod: "/voltha.VolthaService/GetLogicalDevice", |
| 3257 | } |
| 3258 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3259 | return srv.(VolthaServiceServer).GetLogicalDevice(ctx, req.(*common.ID)) |
| 3260 | } |
| 3261 | return interceptor(ctx, in, info, handler) |
| 3262 | } |
| 3263 | |
| 3264 | func _VolthaService_ListLogicalDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3265 | in := new(common.ID) |
| 3266 | if err := dec(in); err != nil { |
| 3267 | return nil, err |
| 3268 | } |
| 3269 | if interceptor == nil { |
| 3270 | return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, in) |
| 3271 | } |
| 3272 | info := &grpc.UnaryServerInfo{ |
| 3273 | Server: srv, |
| 3274 | FullMethod: "/voltha.VolthaService/ListLogicalDevicePorts", |
| 3275 | } |
| 3276 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3277 | return srv.(VolthaServiceServer).ListLogicalDevicePorts(ctx, req.(*common.ID)) |
| 3278 | } |
| 3279 | return interceptor(ctx, in, info, handler) |
| 3280 | } |
| 3281 | |
| 3282 | func _VolthaService_GetLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3283 | in := new(LogicalPortId) |
| 3284 | if err := dec(in); err != nil { |
| 3285 | return nil, err |
| 3286 | } |
| 3287 | if interceptor == nil { |
| 3288 | return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, in) |
| 3289 | } |
| 3290 | info := &grpc.UnaryServerInfo{ |
| 3291 | Server: srv, |
| 3292 | FullMethod: "/voltha.VolthaService/GetLogicalDevicePort", |
| 3293 | } |
| 3294 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3295 | return srv.(VolthaServiceServer).GetLogicalDevicePort(ctx, req.(*LogicalPortId)) |
| 3296 | } |
| 3297 | return interceptor(ctx, in, info, handler) |
| 3298 | } |
| 3299 | |
| 3300 | func _VolthaService_EnableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3301 | in := new(LogicalPortId) |
| 3302 | if err := dec(in); err != nil { |
| 3303 | return nil, err |
| 3304 | } |
| 3305 | if interceptor == nil { |
| 3306 | return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, in) |
| 3307 | } |
| 3308 | info := &grpc.UnaryServerInfo{ |
| 3309 | Server: srv, |
| 3310 | FullMethod: "/voltha.VolthaService/EnableLogicalDevicePort", |
| 3311 | } |
| 3312 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3313 | return srv.(VolthaServiceServer).EnableLogicalDevicePort(ctx, req.(*LogicalPortId)) |
| 3314 | } |
| 3315 | return interceptor(ctx, in, info, handler) |
| 3316 | } |
| 3317 | |
| 3318 | func _VolthaService_DisableLogicalDevicePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3319 | in := new(LogicalPortId) |
| 3320 | if err := dec(in); err != nil { |
| 3321 | return nil, err |
| 3322 | } |
| 3323 | if interceptor == nil { |
| 3324 | return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, in) |
| 3325 | } |
| 3326 | info := &grpc.UnaryServerInfo{ |
| 3327 | Server: srv, |
| 3328 | FullMethod: "/voltha.VolthaService/DisableLogicalDevicePort", |
| 3329 | } |
| 3330 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3331 | return srv.(VolthaServiceServer).DisableLogicalDevicePort(ctx, req.(*LogicalPortId)) |
| 3332 | } |
| 3333 | return interceptor(ctx, in, info, handler) |
| 3334 | } |
| 3335 | |
| 3336 | func _VolthaService_ListLogicalDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3337 | in := new(common.ID) |
| 3338 | if err := dec(in); err != nil { |
| 3339 | return nil, err |
| 3340 | } |
| 3341 | if interceptor == nil { |
| 3342 | return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, in) |
| 3343 | } |
| 3344 | info := &grpc.UnaryServerInfo{ |
| 3345 | Server: srv, |
| 3346 | FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlows", |
| 3347 | } |
| 3348 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3349 | return srv.(VolthaServiceServer).ListLogicalDeviceFlows(ctx, req.(*common.ID)) |
| 3350 | } |
| 3351 | return interceptor(ctx, in, info, handler) |
| 3352 | } |
| 3353 | |
| 3354 | func _VolthaService_UpdateLogicalDeviceFlowTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3355 | in := new(openflow_13.FlowTableUpdate) |
| 3356 | if err := dec(in); err != nil { |
| 3357 | return nil, err |
| 3358 | } |
| 3359 | if interceptor == nil { |
| 3360 | return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, in) |
| 3361 | } |
| 3362 | info := &grpc.UnaryServerInfo{ |
| 3363 | Server: srv, |
| 3364 | FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowTable", |
| 3365 | } |
| 3366 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3367 | return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowTable(ctx, req.(*openflow_13.FlowTableUpdate)) |
| 3368 | } |
| 3369 | return interceptor(ctx, in, info, handler) |
| 3370 | } |
| 3371 | |
| 3372 | func _VolthaService_UpdateLogicalDeviceMeterTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3373 | in := new(openflow_13.MeterModUpdate) |
| 3374 | if err := dec(in); err != nil { |
| 3375 | return nil, err |
| 3376 | } |
| 3377 | if interceptor == nil { |
| 3378 | return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, in) |
| 3379 | } |
| 3380 | info := &grpc.UnaryServerInfo{ |
| 3381 | Server: srv, |
| 3382 | FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceMeterTable", |
| 3383 | } |
| 3384 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3385 | return srv.(VolthaServiceServer).UpdateLogicalDeviceMeterTable(ctx, req.(*openflow_13.MeterModUpdate)) |
| 3386 | } |
| 3387 | return interceptor(ctx, in, info, handler) |
| 3388 | } |
| 3389 | |
Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 3390 | func _VolthaService_ListLogicalDeviceMeters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 3391 | in := new(common.ID) |
| 3392 | if err := dec(in); err != nil { |
| 3393 | return nil, err |
| 3394 | } |
| 3395 | if interceptor == nil { |
Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 3396 | return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, in) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 3397 | } |
| 3398 | info := &grpc.UnaryServerInfo{ |
| 3399 | Server: srv, |
Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 3400 | FullMethod: "/voltha.VolthaService/ListLogicalDeviceMeters", |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 3401 | } |
| 3402 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 3403 | return srv.(VolthaServiceServer).ListLogicalDeviceMeters(ctx, req.(*common.ID)) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 3404 | } |
| 3405 | return interceptor(ctx, in, info, handler) |
| 3406 | } |
| 3407 | |
| 3408 | func _VolthaService_ListLogicalDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3409 | in := new(common.ID) |
| 3410 | if err := dec(in); err != nil { |
| 3411 | return nil, err |
| 3412 | } |
| 3413 | if interceptor == nil { |
| 3414 | return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, in) |
| 3415 | } |
| 3416 | info := &grpc.UnaryServerInfo{ |
| 3417 | Server: srv, |
| 3418 | FullMethod: "/voltha.VolthaService/ListLogicalDeviceFlowGroups", |
| 3419 | } |
| 3420 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3421 | return srv.(VolthaServiceServer).ListLogicalDeviceFlowGroups(ctx, req.(*common.ID)) |
| 3422 | } |
| 3423 | return interceptor(ctx, in, info, handler) |
| 3424 | } |
| 3425 | |
| 3426 | func _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3427 | in := new(openflow_13.FlowGroupTableUpdate) |
| 3428 | if err := dec(in); err != nil { |
| 3429 | return nil, err |
| 3430 | } |
| 3431 | if interceptor == nil { |
| 3432 | return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, in) |
| 3433 | } |
| 3434 | info := &grpc.UnaryServerInfo{ |
| 3435 | Server: srv, |
| 3436 | FullMethod: "/voltha.VolthaService/UpdateLogicalDeviceFlowGroupTable", |
| 3437 | } |
| 3438 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3439 | return srv.(VolthaServiceServer).UpdateLogicalDeviceFlowGroupTable(ctx, req.(*openflow_13.FlowGroupTableUpdate)) |
| 3440 | } |
| 3441 | return interceptor(ctx, in, info, handler) |
| 3442 | } |
| 3443 | |
| 3444 | func _VolthaService_ListDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3445 | in := new(empty.Empty) |
| 3446 | if err := dec(in); err != nil { |
| 3447 | return nil, err |
| 3448 | } |
| 3449 | if interceptor == nil { |
| 3450 | return srv.(VolthaServiceServer).ListDevices(ctx, in) |
| 3451 | } |
| 3452 | info := &grpc.UnaryServerInfo{ |
| 3453 | Server: srv, |
| 3454 | FullMethod: "/voltha.VolthaService/ListDevices", |
| 3455 | } |
| 3456 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3457 | return srv.(VolthaServiceServer).ListDevices(ctx, req.(*empty.Empty)) |
| 3458 | } |
| 3459 | return interceptor(ctx, in, info, handler) |
| 3460 | } |
| 3461 | |
| 3462 | func _VolthaService_ListDeviceIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3463 | in := new(empty.Empty) |
| 3464 | if err := dec(in); err != nil { |
| 3465 | return nil, err |
| 3466 | } |
| 3467 | if interceptor == nil { |
| 3468 | return srv.(VolthaServiceServer).ListDeviceIds(ctx, in) |
| 3469 | } |
| 3470 | info := &grpc.UnaryServerInfo{ |
| 3471 | Server: srv, |
| 3472 | FullMethod: "/voltha.VolthaService/ListDeviceIds", |
| 3473 | } |
| 3474 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3475 | return srv.(VolthaServiceServer).ListDeviceIds(ctx, req.(*empty.Empty)) |
| 3476 | } |
| 3477 | return interceptor(ctx, in, info, handler) |
| 3478 | } |
| 3479 | |
| 3480 | func _VolthaService_ReconcileDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3481 | in := new(common.IDs) |
| 3482 | if err := dec(in); err != nil { |
| 3483 | return nil, err |
| 3484 | } |
| 3485 | if interceptor == nil { |
| 3486 | return srv.(VolthaServiceServer).ReconcileDevices(ctx, in) |
| 3487 | } |
| 3488 | info := &grpc.UnaryServerInfo{ |
| 3489 | Server: srv, |
| 3490 | FullMethod: "/voltha.VolthaService/ReconcileDevices", |
| 3491 | } |
| 3492 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3493 | return srv.(VolthaServiceServer).ReconcileDevices(ctx, req.(*common.IDs)) |
| 3494 | } |
| 3495 | return interceptor(ctx, in, info, handler) |
| 3496 | } |
| 3497 | |
| 3498 | func _VolthaService_GetDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3499 | in := new(common.ID) |
| 3500 | if err := dec(in); err != nil { |
| 3501 | return nil, err |
| 3502 | } |
| 3503 | if interceptor == nil { |
| 3504 | return srv.(VolthaServiceServer).GetDevice(ctx, in) |
| 3505 | } |
| 3506 | info := &grpc.UnaryServerInfo{ |
| 3507 | Server: srv, |
| 3508 | FullMethod: "/voltha.VolthaService/GetDevice", |
| 3509 | } |
| 3510 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3511 | return srv.(VolthaServiceServer).GetDevice(ctx, req.(*common.ID)) |
| 3512 | } |
| 3513 | return interceptor(ctx, in, info, handler) |
| 3514 | } |
| 3515 | |
| 3516 | func _VolthaService_CreateDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3517 | in := new(Device) |
| 3518 | if err := dec(in); err != nil { |
| 3519 | return nil, err |
| 3520 | } |
| 3521 | if interceptor == nil { |
| 3522 | return srv.(VolthaServiceServer).CreateDevice(ctx, in) |
| 3523 | } |
| 3524 | info := &grpc.UnaryServerInfo{ |
| 3525 | Server: srv, |
| 3526 | FullMethod: "/voltha.VolthaService/CreateDevice", |
| 3527 | } |
| 3528 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3529 | return srv.(VolthaServiceServer).CreateDevice(ctx, req.(*Device)) |
| 3530 | } |
| 3531 | return interceptor(ctx, in, info, handler) |
| 3532 | } |
| 3533 | |
| 3534 | func _VolthaService_EnableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3535 | in := new(common.ID) |
| 3536 | if err := dec(in); err != nil { |
| 3537 | return nil, err |
| 3538 | } |
| 3539 | if interceptor == nil { |
| 3540 | return srv.(VolthaServiceServer).EnableDevice(ctx, in) |
| 3541 | } |
| 3542 | info := &grpc.UnaryServerInfo{ |
| 3543 | Server: srv, |
| 3544 | FullMethod: "/voltha.VolthaService/EnableDevice", |
| 3545 | } |
| 3546 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3547 | return srv.(VolthaServiceServer).EnableDevice(ctx, req.(*common.ID)) |
| 3548 | } |
| 3549 | return interceptor(ctx, in, info, handler) |
| 3550 | } |
| 3551 | |
| 3552 | func _VolthaService_DisableDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3553 | in := new(common.ID) |
| 3554 | if err := dec(in); err != nil { |
| 3555 | return nil, err |
| 3556 | } |
| 3557 | if interceptor == nil { |
| 3558 | return srv.(VolthaServiceServer).DisableDevice(ctx, in) |
| 3559 | } |
| 3560 | info := &grpc.UnaryServerInfo{ |
| 3561 | Server: srv, |
| 3562 | FullMethod: "/voltha.VolthaService/DisableDevice", |
| 3563 | } |
| 3564 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3565 | return srv.(VolthaServiceServer).DisableDevice(ctx, req.(*common.ID)) |
| 3566 | } |
| 3567 | return interceptor(ctx, in, info, handler) |
| 3568 | } |
| 3569 | |
| 3570 | func _VolthaService_RebootDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3571 | in := new(common.ID) |
| 3572 | if err := dec(in); err != nil { |
| 3573 | return nil, err |
| 3574 | } |
| 3575 | if interceptor == nil { |
| 3576 | return srv.(VolthaServiceServer).RebootDevice(ctx, in) |
| 3577 | } |
| 3578 | info := &grpc.UnaryServerInfo{ |
| 3579 | Server: srv, |
| 3580 | FullMethod: "/voltha.VolthaService/RebootDevice", |
| 3581 | } |
| 3582 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3583 | return srv.(VolthaServiceServer).RebootDevice(ctx, req.(*common.ID)) |
| 3584 | } |
| 3585 | return interceptor(ctx, in, info, handler) |
| 3586 | } |
| 3587 | |
| 3588 | func _VolthaService_DeleteDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3589 | in := new(common.ID) |
| 3590 | if err := dec(in); err != nil { |
| 3591 | return nil, err |
| 3592 | } |
| 3593 | if interceptor == nil { |
| 3594 | return srv.(VolthaServiceServer).DeleteDevice(ctx, in) |
| 3595 | } |
| 3596 | info := &grpc.UnaryServerInfo{ |
| 3597 | Server: srv, |
| 3598 | FullMethod: "/voltha.VolthaService/DeleteDevice", |
| 3599 | } |
| 3600 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3601 | return srv.(VolthaServiceServer).DeleteDevice(ctx, req.(*common.ID)) |
| 3602 | } |
| 3603 | return interceptor(ctx, in, info, handler) |
| 3604 | } |
| 3605 | |
| 3606 | func _VolthaService_DownloadImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3607 | in := new(ImageDownload) |
| 3608 | if err := dec(in); err != nil { |
| 3609 | return nil, err |
| 3610 | } |
| 3611 | if interceptor == nil { |
| 3612 | return srv.(VolthaServiceServer).DownloadImage(ctx, in) |
| 3613 | } |
| 3614 | info := &grpc.UnaryServerInfo{ |
| 3615 | Server: srv, |
| 3616 | FullMethod: "/voltha.VolthaService/DownloadImage", |
| 3617 | } |
| 3618 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3619 | return srv.(VolthaServiceServer).DownloadImage(ctx, req.(*ImageDownload)) |
| 3620 | } |
| 3621 | return interceptor(ctx, in, info, handler) |
| 3622 | } |
| 3623 | |
| 3624 | func _VolthaService_GetImageDownloadStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3625 | in := new(ImageDownload) |
| 3626 | if err := dec(in); err != nil { |
| 3627 | return nil, err |
| 3628 | } |
| 3629 | if interceptor == nil { |
| 3630 | return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, in) |
| 3631 | } |
| 3632 | info := &grpc.UnaryServerInfo{ |
| 3633 | Server: srv, |
| 3634 | FullMethod: "/voltha.VolthaService/GetImageDownloadStatus", |
| 3635 | } |
| 3636 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3637 | return srv.(VolthaServiceServer).GetImageDownloadStatus(ctx, req.(*ImageDownload)) |
| 3638 | } |
| 3639 | return interceptor(ctx, in, info, handler) |
| 3640 | } |
| 3641 | |
| 3642 | func _VolthaService_GetImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3643 | in := new(ImageDownload) |
| 3644 | if err := dec(in); err != nil { |
| 3645 | return nil, err |
| 3646 | } |
| 3647 | if interceptor == nil { |
| 3648 | return srv.(VolthaServiceServer).GetImageDownload(ctx, in) |
| 3649 | } |
| 3650 | info := &grpc.UnaryServerInfo{ |
| 3651 | Server: srv, |
| 3652 | FullMethod: "/voltha.VolthaService/GetImageDownload", |
| 3653 | } |
| 3654 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3655 | return srv.(VolthaServiceServer).GetImageDownload(ctx, req.(*ImageDownload)) |
| 3656 | } |
| 3657 | return interceptor(ctx, in, info, handler) |
| 3658 | } |
| 3659 | |
| 3660 | func _VolthaService_ListImageDownloads_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3661 | in := new(common.ID) |
| 3662 | if err := dec(in); err != nil { |
| 3663 | return nil, err |
| 3664 | } |
| 3665 | if interceptor == nil { |
| 3666 | return srv.(VolthaServiceServer).ListImageDownloads(ctx, in) |
| 3667 | } |
| 3668 | info := &grpc.UnaryServerInfo{ |
| 3669 | Server: srv, |
| 3670 | FullMethod: "/voltha.VolthaService/ListImageDownloads", |
| 3671 | } |
| 3672 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3673 | return srv.(VolthaServiceServer).ListImageDownloads(ctx, req.(*common.ID)) |
| 3674 | } |
| 3675 | return interceptor(ctx, in, info, handler) |
| 3676 | } |
| 3677 | |
| 3678 | func _VolthaService_CancelImageDownload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3679 | in := new(ImageDownload) |
| 3680 | if err := dec(in); err != nil { |
| 3681 | return nil, err |
| 3682 | } |
| 3683 | if interceptor == nil { |
| 3684 | return srv.(VolthaServiceServer).CancelImageDownload(ctx, in) |
| 3685 | } |
| 3686 | info := &grpc.UnaryServerInfo{ |
| 3687 | Server: srv, |
| 3688 | FullMethod: "/voltha.VolthaService/CancelImageDownload", |
| 3689 | } |
| 3690 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3691 | return srv.(VolthaServiceServer).CancelImageDownload(ctx, req.(*ImageDownload)) |
| 3692 | } |
| 3693 | return interceptor(ctx, in, info, handler) |
| 3694 | } |
| 3695 | |
| 3696 | func _VolthaService_ActivateImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3697 | in := new(ImageDownload) |
| 3698 | if err := dec(in); err != nil { |
| 3699 | return nil, err |
| 3700 | } |
| 3701 | if interceptor == nil { |
| 3702 | return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, in) |
| 3703 | } |
| 3704 | info := &grpc.UnaryServerInfo{ |
| 3705 | Server: srv, |
| 3706 | FullMethod: "/voltha.VolthaService/ActivateImageUpdate", |
| 3707 | } |
| 3708 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3709 | return srv.(VolthaServiceServer).ActivateImageUpdate(ctx, req.(*ImageDownload)) |
| 3710 | } |
| 3711 | return interceptor(ctx, in, info, handler) |
| 3712 | } |
| 3713 | |
| 3714 | func _VolthaService_RevertImageUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3715 | in := new(ImageDownload) |
| 3716 | if err := dec(in); err != nil { |
| 3717 | return nil, err |
| 3718 | } |
| 3719 | if interceptor == nil { |
| 3720 | return srv.(VolthaServiceServer).RevertImageUpdate(ctx, in) |
| 3721 | } |
| 3722 | info := &grpc.UnaryServerInfo{ |
| 3723 | Server: srv, |
| 3724 | FullMethod: "/voltha.VolthaService/RevertImageUpdate", |
| 3725 | } |
| 3726 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3727 | return srv.(VolthaServiceServer).RevertImageUpdate(ctx, req.(*ImageDownload)) |
| 3728 | } |
| 3729 | return interceptor(ctx, in, info, handler) |
| 3730 | } |
| 3731 | |
| 3732 | func _VolthaService_ListDevicePorts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3733 | in := new(common.ID) |
| 3734 | if err := dec(in); err != nil { |
| 3735 | return nil, err |
| 3736 | } |
| 3737 | if interceptor == nil { |
| 3738 | return srv.(VolthaServiceServer).ListDevicePorts(ctx, in) |
| 3739 | } |
| 3740 | info := &grpc.UnaryServerInfo{ |
| 3741 | Server: srv, |
| 3742 | FullMethod: "/voltha.VolthaService/ListDevicePorts", |
| 3743 | } |
| 3744 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3745 | return srv.(VolthaServiceServer).ListDevicePorts(ctx, req.(*common.ID)) |
| 3746 | } |
| 3747 | return interceptor(ctx, in, info, handler) |
| 3748 | } |
| 3749 | |
| 3750 | func _VolthaService_ListDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3751 | in := new(common.ID) |
| 3752 | if err := dec(in); err != nil { |
| 3753 | return nil, err |
| 3754 | } |
| 3755 | if interceptor == nil { |
| 3756 | return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, in) |
| 3757 | } |
| 3758 | info := &grpc.UnaryServerInfo{ |
| 3759 | Server: srv, |
| 3760 | FullMethod: "/voltha.VolthaService/ListDevicePmConfigs", |
| 3761 | } |
| 3762 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3763 | return srv.(VolthaServiceServer).ListDevicePmConfigs(ctx, req.(*common.ID)) |
| 3764 | } |
| 3765 | return interceptor(ctx, in, info, handler) |
| 3766 | } |
| 3767 | |
| 3768 | func _VolthaService_UpdateDevicePmConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3769 | in := new(PmConfigs) |
| 3770 | if err := dec(in); err != nil { |
| 3771 | return nil, err |
| 3772 | } |
| 3773 | if interceptor == nil { |
| 3774 | return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, in) |
| 3775 | } |
| 3776 | info := &grpc.UnaryServerInfo{ |
| 3777 | Server: srv, |
| 3778 | FullMethod: "/voltha.VolthaService/UpdateDevicePmConfigs", |
| 3779 | } |
| 3780 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3781 | return srv.(VolthaServiceServer).UpdateDevicePmConfigs(ctx, req.(*PmConfigs)) |
| 3782 | } |
| 3783 | return interceptor(ctx, in, info, handler) |
| 3784 | } |
| 3785 | |
| 3786 | func _VolthaService_ListDeviceFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3787 | in := new(common.ID) |
| 3788 | if err := dec(in); err != nil { |
| 3789 | return nil, err |
| 3790 | } |
| 3791 | if interceptor == nil { |
| 3792 | return srv.(VolthaServiceServer).ListDeviceFlows(ctx, in) |
| 3793 | } |
| 3794 | info := &grpc.UnaryServerInfo{ |
| 3795 | Server: srv, |
| 3796 | FullMethod: "/voltha.VolthaService/ListDeviceFlows", |
| 3797 | } |
| 3798 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3799 | return srv.(VolthaServiceServer).ListDeviceFlows(ctx, req.(*common.ID)) |
| 3800 | } |
| 3801 | return interceptor(ctx, in, info, handler) |
| 3802 | } |
| 3803 | |
| 3804 | func _VolthaService_ListDeviceFlowGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3805 | in := new(common.ID) |
| 3806 | if err := dec(in); err != nil { |
| 3807 | return nil, err |
| 3808 | } |
| 3809 | if interceptor == nil { |
| 3810 | return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, in) |
| 3811 | } |
| 3812 | info := &grpc.UnaryServerInfo{ |
| 3813 | Server: srv, |
| 3814 | FullMethod: "/voltha.VolthaService/ListDeviceFlowGroups", |
| 3815 | } |
| 3816 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3817 | return srv.(VolthaServiceServer).ListDeviceFlowGroups(ctx, req.(*common.ID)) |
| 3818 | } |
| 3819 | return interceptor(ctx, in, info, handler) |
| 3820 | } |
| 3821 | |
| 3822 | func _VolthaService_ListDeviceTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3823 | in := new(empty.Empty) |
| 3824 | if err := dec(in); err != nil { |
| 3825 | return nil, err |
| 3826 | } |
| 3827 | if interceptor == nil { |
| 3828 | return srv.(VolthaServiceServer).ListDeviceTypes(ctx, in) |
| 3829 | } |
| 3830 | info := &grpc.UnaryServerInfo{ |
| 3831 | Server: srv, |
| 3832 | FullMethod: "/voltha.VolthaService/ListDeviceTypes", |
| 3833 | } |
| 3834 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3835 | return srv.(VolthaServiceServer).ListDeviceTypes(ctx, req.(*empty.Empty)) |
| 3836 | } |
| 3837 | return interceptor(ctx, in, info, handler) |
| 3838 | } |
| 3839 | |
| 3840 | func _VolthaService_GetDeviceType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3841 | in := new(common.ID) |
| 3842 | if err := dec(in); err != nil { |
| 3843 | return nil, err |
| 3844 | } |
| 3845 | if interceptor == nil { |
| 3846 | return srv.(VolthaServiceServer).GetDeviceType(ctx, in) |
| 3847 | } |
| 3848 | info := &grpc.UnaryServerInfo{ |
| 3849 | Server: srv, |
| 3850 | FullMethod: "/voltha.VolthaService/GetDeviceType", |
| 3851 | } |
| 3852 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3853 | return srv.(VolthaServiceServer).GetDeviceType(ctx, req.(*common.ID)) |
| 3854 | } |
| 3855 | return interceptor(ctx, in, info, handler) |
| 3856 | } |
| 3857 | |
| 3858 | func _VolthaService_ListDeviceGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3859 | in := new(empty.Empty) |
| 3860 | if err := dec(in); err != nil { |
| 3861 | return nil, err |
| 3862 | } |
| 3863 | if interceptor == nil { |
| 3864 | return srv.(VolthaServiceServer).ListDeviceGroups(ctx, in) |
| 3865 | } |
| 3866 | info := &grpc.UnaryServerInfo{ |
| 3867 | Server: srv, |
| 3868 | FullMethod: "/voltha.VolthaService/ListDeviceGroups", |
| 3869 | } |
| 3870 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3871 | return srv.(VolthaServiceServer).ListDeviceGroups(ctx, req.(*empty.Empty)) |
| 3872 | } |
| 3873 | return interceptor(ctx, in, info, handler) |
| 3874 | } |
| 3875 | |
| 3876 | func _VolthaService_StreamPacketsOut_Handler(srv interface{}, stream grpc.ServerStream) error { |
| 3877 | return srv.(VolthaServiceServer).StreamPacketsOut(&volthaServiceStreamPacketsOutServer{stream}) |
| 3878 | } |
| 3879 | |
| 3880 | type VolthaService_StreamPacketsOutServer interface { |
| 3881 | SendAndClose(*empty.Empty) error |
| 3882 | Recv() (*openflow_13.PacketOut, error) |
| 3883 | grpc.ServerStream |
| 3884 | } |
| 3885 | |
| 3886 | type volthaServiceStreamPacketsOutServer struct { |
| 3887 | grpc.ServerStream |
| 3888 | } |
| 3889 | |
| 3890 | func (x *volthaServiceStreamPacketsOutServer) SendAndClose(m *empty.Empty) error { |
| 3891 | return x.ServerStream.SendMsg(m) |
| 3892 | } |
| 3893 | |
| 3894 | func (x *volthaServiceStreamPacketsOutServer) Recv() (*openflow_13.PacketOut, error) { |
| 3895 | m := new(openflow_13.PacketOut) |
| 3896 | if err := x.ServerStream.RecvMsg(m); err != nil { |
| 3897 | return nil, err |
| 3898 | } |
| 3899 | return m, nil |
| 3900 | } |
| 3901 | |
| 3902 | func _VolthaService_ReceivePacketsIn_Handler(srv interface{}, stream grpc.ServerStream) error { |
| 3903 | m := new(empty.Empty) |
| 3904 | if err := stream.RecvMsg(m); err != nil { |
| 3905 | return err |
| 3906 | } |
| 3907 | return srv.(VolthaServiceServer).ReceivePacketsIn(m, &volthaServiceReceivePacketsInServer{stream}) |
| 3908 | } |
| 3909 | |
| 3910 | type VolthaService_ReceivePacketsInServer interface { |
| 3911 | Send(*openflow_13.PacketIn) error |
| 3912 | grpc.ServerStream |
| 3913 | } |
| 3914 | |
| 3915 | type volthaServiceReceivePacketsInServer struct { |
| 3916 | grpc.ServerStream |
| 3917 | } |
| 3918 | |
| 3919 | func (x *volthaServiceReceivePacketsInServer) Send(m *openflow_13.PacketIn) error { |
| 3920 | return x.ServerStream.SendMsg(m) |
| 3921 | } |
| 3922 | |
| 3923 | func _VolthaService_ReceiveChangeEvents_Handler(srv interface{}, stream grpc.ServerStream) error { |
| 3924 | m := new(empty.Empty) |
| 3925 | if err := stream.RecvMsg(m); err != nil { |
| 3926 | return err |
| 3927 | } |
| 3928 | return srv.(VolthaServiceServer).ReceiveChangeEvents(m, &volthaServiceReceiveChangeEventsServer{stream}) |
| 3929 | } |
| 3930 | |
| 3931 | type VolthaService_ReceiveChangeEventsServer interface { |
| 3932 | Send(*openflow_13.ChangeEvent) error |
| 3933 | grpc.ServerStream |
| 3934 | } |
| 3935 | |
| 3936 | type volthaServiceReceiveChangeEventsServer struct { |
| 3937 | grpc.ServerStream |
| 3938 | } |
| 3939 | |
| 3940 | func (x *volthaServiceReceiveChangeEventsServer) Send(m *openflow_13.ChangeEvent) error { |
| 3941 | return x.ServerStream.SendMsg(m) |
| 3942 | } |
| 3943 | |
| 3944 | func _VolthaService_GetDeviceGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3945 | in := new(common.ID) |
| 3946 | if err := dec(in); err != nil { |
| 3947 | return nil, err |
| 3948 | } |
| 3949 | if interceptor == nil { |
| 3950 | return srv.(VolthaServiceServer).GetDeviceGroup(ctx, in) |
| 3951 | } |
| 3952 | info := &grpc.UnaryServerInfo{ |
| 3953 | Server: srv, |
| 3954 | FullMethod: "/voltha.VolthaService/GetDeviceGroup", |
| 3955 | } |
| 3956 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3957 | return srv.(VolthaServiceServer).GetDeviceGroup(ctx, req.(*common.ID)) |
| 3958 | } |
| 3959 | return interceptor(ctx, in, info, handler) |
| 3960 | } |
| 3961 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 3962 | func _VolthaService_CreateEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3963 | in := new(EventFilter) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 3964 | if err := dec(in); err != nil { |
| 3965 | return nil, err |
| 3966 | } |
| 3967 | if interceptor == nil { |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 3968 | return srv.(VolthaServiceServer).CreateEventFilter(ctx, in) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 3969 | } |
| 3970 | info := &grpc.UnaryServerInfo{ |
| 3971 | Server: srv, |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 3972 | FullMethod: "/voltha.VolthaService/CreateEventFilter", |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 3973 | } |
| 3974 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 3975 | return srv.(VolthaServiceServer).CreateEventFilter(ctx, req.(*EventFilter)) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 3976 | } |
| 3977 | return interceptor(ctx, in, info, handler) |
| 3978 | } |
| 3979 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 3980 | func _VolthaService_GetEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 3981 | in := new(common.ID) |
| 3982 | if err := dec(in); err != nil { |
| 3983 | return nil, err |
| 3984 | } |
| 3985 | if interceptor == nil { |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 3986 | return srv.(VolthaServiceServer).GetEventFilter(ctx, in) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 3987 | } |
| 3988 | info := &grpc.UnaryServerInfo{ |
| 3989 | Server: srv, |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 3990 | FullMethod: "/voltha.VolthaService/GetEventFilter", |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 3991 | } |
| 3992 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 3993 | return srv.(VolthaServiceServer).GetEventFilter(ctx, req.(*common.ID)) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 3994 | } |
| 3995 | return interceptor(ctx, in, info, handler) |
| 3996 | } |
| 3997 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 3998 | func _VolthaService_UpdateEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3999 | in := new(EventFilter) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 4000 | if err := dec(in); err != nil { |
| 4001 | return nil, err |
| 4002 | } |
| 4003 | if interceptor == nil { |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 4004 | return srv.(VolthaServiceServer).UpdateEventFilter(ctx, in) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 4005 | } |
| 4006 | info := &grpc.UnaryServerInfo{ |
| 4007 | Server: srv, |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 4008 | FullMethod: "/voltha.VolthaService/UpdateEventFilter", |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 4009 | } |
| 4010 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 4011 | return srv.(VolthaServiceServer).UpdateEventFilter(ctx, req.(*EventFilter)) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 4012 | } |
| 4013 | return interceptor(ctx, in, info, handler) |
| 4014 | } |
| 4015 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 4016 | func _VolthaService_DeleteEventFilter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 4017 | in := new(EventFilter) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 4018 | if err := dec(in); err != nil { |
| 4019 | return nil, err |
| 4020 | } |
| 4021 | if interceptor == nil { |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 4022 | return srv.(VolthaServiceServer).DeleteEventFilter(ctx, in) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 4023 | } |
| 4024 | info := &grpc.UnaryServerInfo{ |
| 4025 | Server: srv, |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 4026 | FullMethod: "/voltha.VolthaService/DeleteEventFilter", |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 4027 | } |
| 4028 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 4029 | return srv.(VolthaServiceServer).DeleteEventFilter(ctx, req.(*EventFilter)) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 4030 | } |
| 4031 | return interceptor(ctx, in, info, handler) |
| 4032 | } |
| 4033 | |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 4034 | func _VolthaService_ListEventFilters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 4035 | in := new(empty.Empty) |
| 4036 | if err := dec(in); err != nil { |
| 4037 | return nil, err |
| 4038 | } |
| 4039 | if interceptor == nil { |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 4040 | return srv.(VolthaServiceServer).ListEventFilters(ctx, in) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 4041 | } |
| 4042 | info := &grpc.UnaryServerInfo{ |
| 4043 | Server: srv, |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 4044 | FullMethod: "/voltha.VolthaService/ListEventFilters", |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 4045 | } |
| 4046 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 4047 | return srv.(VolthaServiceServer).ListEventFilters(ctx, req.(*empty.Empty)) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 4048 | } |
| 4049 | return interceptor(ctx, in, info, handler) |
| 4050 | } |
| 4051 | |
| 4052 | func _VolthaService_GetImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 4053 | in := new(common.ID) |
| 4054 | if err := dec(in); err != nil { |
| 4055 | return nil, err |
| 4056 | } |
| 4057 | if interceptor == nil { |
| 4058 | return srv.(VolthaServiceServer).GetImages(ctx, in) |
| 4059 | } |
| 4060 | info := &grpc.UnaryServerInfo{ |
| 4061 | Server: srv, |
| 4062 | FullMethod: "/voltha.VolthaService/GetImages", |
| 4063 | } |
| 4064 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 4065 | return srv.(VolthaServiceServer).GetImages(ctx, req.(*common.ID)) |
| 4066 | } |
| 4067 | return interceptor(ctx, in, info, handler) |
| 4068 | } |
| 4069 | |
| 4070 | func _VolthaService_SelfTest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 4071 | in := new(common.ID) |
| 4072 | if err := dec(in); err != nil { |
| 4073 | return nil, err |
| 4074 | } |
| 4075 | if interceptor == nil { |
| 4076 | return srv.(VolthaServiceServer).SelfTest(ctx, in) |
| 4077 | } |
| 4078 | info := &grpc.UnaryServerInfo{ |
| 4079 | Server: srv, |
| 4080 | FullMethod: "/voltha.VolthaService/SelfTest", |
| 4081 | } |
| 4082 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 4083 | return srv.(VolthaServiceServer).SelfTest(ctx, req.(*common.ID)) |
| 4084 | } |
| 4085 | return interceptor(ctx, in, info, handler) |
| 4086 | } |
| 4087 | |
| 4088 | func _VolthaService_GetMibDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 4089 | in := new(common.ID) |
| 4090 | if err := dec(in); err != nil { |
| 4091 | return nil, err |
| 4092 | } |
| 4093 | if interceptor == nil { |
| 4094 | return srv.(VolthaServiceServer).GetMibDeviceData(ctx, in) |
| 4095 | } |
| 4096 | info := &grpc.UnaryServerInfo{ |
| 4097 | Server: srv, |
| 4098 | FullMethod: "/voltha.VolthaService/GetMibDeviceData", |
| 4099 | } |
| 4100 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 4101 | return srv.(VolthaServiceServer).GetMibDeviceData(ctx, req.(*common.ID)) |
| 4102 | } |
| 4103 | return interceptor(ctx, in, info, handler) |
| 4104 | } |
| 4105 | |
| 4106 | func _VolthaService_GetAlarmDeviceData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 4107 | in := new(common.ID) |
| 4108 | if err := dec(in); err != nil { |
| 4109 | return nil, err |
| 4110 | } |
| 4111 | if interceptor == nil { |
| 4112 | return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, in) |
| 4113 | } |
| 4114 | info := &grpc.UnaryServerInfo{ |
| 4115 | Server: srv, |
| 4116 | FullMethod: "/voltha.VolthaService/GetAlarmDeviceData", |
| 4117 | } |
| 4118 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 4119 | return srv.(VolthaServiceServer).GetAlarmDeviceData(ctx, req.(*common.ID)) |
| 4120 | } |
| 4121 | return interceptor(ctx, in, info, handler) |
| 4122 | } |
| 4123 | |
| 4124 | func _VolthaService_SimulateAlarm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 4125 | in := new(SimulateAlarmRequest) |
| 4126 | if err := dec(in); err != nil { |
| 4127 | return nil, err |
| 4128 | } |
| 4129 | if interceptor == nil { |
| 4130 | return srv.(VolthaServiceServer).SimulateAlarm(ctx, in) |
| 4131 | } |
| 4132 | info := &grpc.UnaryServerInfo{ |
| 4133 | Server: srv, |
| 4134 | FullMethod: "/voltha.VolthaService/SimulateAlarm", |
| 4135 | } |
| 4136 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 4137 | return srv.(VolthaServiceServer).SimulateAlarm(ctx, req.(*SimulateAlarmRequest)) |
| 4138 | } |
| 4139 | return interceptor(ctx, in, info, handler) |
| 4140 | } |
| 4141 | |
| 4142 | func _VolthaService_Subscribe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 4143 | in := new(OfAgentSubscriber) |
| 4144 | if err := dec(in); err != nil { |
| 4145 | return nil, err |
| 4146 | } |
| 4147 | if interceptor == nil { |
| 4148 | return srv.(VolthaServiceServer).Subscribe(ctx, in) |
| 4149 | } |
| 4150 | info := &grpc.UnaryServerInfo{ |
| 4151 | Server: srv, |
| 4152 | FullMethod: "/voltha.VolthaService/Subscribe", |
| 4153 | } |
| 4154 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 4155 | return srv.(VolthaServiceServer).Subscribe(ctx, req.(*OfAgentSubscriber)) |
| 4156 | } |
| 4157 | return interceptor(ctx, in, info, handler) |
| 4158 | } |
| 4159 | |
kesavand | 4a002b0 | 2020-01-23 21:29:47 -0500 | [diff] [blame] | 4160 | func _VolthaService_EnablePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 4161 | in := new(Port) |
| 4162 | if err := dec(in); err != nil { |
| 4163 | return nil, err |
| 4164 | } |
| 4165 | if interceptor == nil { |
| 4166 | return srv.(VolthaServiceServer).EnablePort(ctx, in) |
| 4167 | } |
| 4168 | info := &grpc.UnaryServerInfo{ |
| 4169 | Server: srv, |
| 4170 | FullMethod: "/voltha.VolthaService/EnablePort", |
| 4171 | } |
| 4172 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 4173 | return srv.(VolthaServiceServer).EnablePort(ctx, req.(*Port)) |
| 4174 | } |
| 4175 | return interceptor(ctx, in, info, handler) |
| 4176 | } |
| 4177 | |
| 4178 | func _VolthaService_DisablePort_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 4179 | in := new(Port) |
| 4180 | if err := dec(in); err != nil { |
| 4181 | return nil, err |
| 4182 | } |
| 4183 | if interceptor == nil { |
| 4184 | return srv.(VolthaServiceServer).DisablePort(ctx, in) |
| 4185 | } |
| 4186 | info := &grpc.UnaryServerInfo{ |
| 4187 | Server: srv, |
| 4188 | FullMethod: "/voltha.VolthaService/DisablePort", |
| 4189 | } |
| 4190 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 4191 | return srv.(VolthaServiceServer).DisablePort(ctx, req.(*Port)) |
| 4192 | } |
| 4193 | return interceptor(ctx, in, info, handler) |
| 4194 | } |
| 4195 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 4196 | var _VolthaService_serviceDesc = grpc.ServiceDesc{ |
| 4197 | ServiceName: "voltha.VolthaService", |
| 4198 | HandlerType: (*VolthaServiceServer)(nil), |
| 4199 | Methods: []grpc.MethodDesc{ |
| 4200 | { |
| 4201 | MethodName: "UpdateLogLevel", |
| 4202 | Handler: _VolthaService_UpdateLogLevel_Handler, |
| 4203 | }, |
| 4204 | { |
Scott Baker | 99af94e | 2019-08-20 10:45:06 -0700 | [diff] [blame] | 4205 | MethodName: "GetLogLevels", |
| 4206 | Handler: _VolthaService_GetLogLevels_Handler, |
| 4207 | }, |
| 4208 | { |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 4209 | MethodName: "GetMembership", |
| 4210 | Handler: _VolthaService_GetMembership_Handler, |
| 4211 | }, |
| 4212 | { |
| 4213 | MethodName: "UpdateMembership", |
| 4214 | Handler: _VolthaService_UpdateMembership_Handler, |
| 4215 | }, |
| 4216 | { |
| 4217 | MethodName: "GetVoltha", |
| 4218 | Handler: _VolthaService_GetVoltha_Handler, |
| 4219 | }, |
| 4220 | { |
| 4221 | MethodName: "ListCoreInstances", |
| 4222 | Handler: _VolthaService_ListCoreInstances_Handler, |
| 4223 | }, |
| 4224 | { |
| 4225 | MethodName: "GetCoreInstance", |
| 4226 | Handler: _VolthaService_GetCoreInstance_Handler, |
| 4227 | }, |
| 4228 | { |
| 4229 | MethodName: "ListAdapters", |
| 4230 | Handler: _VolthaService_ListAdapters_Handler, |
| 4231 | }, |
| 4232 | { |
| 4233 | MethodName: "ListLogicalDevices", |
| 4234 | Handler: _VolthaService_ListLogicalDevices_Handler, |
| 4235 | }, |
| 4236 | { |
| 4237 | MethodName: "GetLogicalDevice", |
| 4238 | Handler: _VolthaService_GetLogicalDevice_Handler, |
| 4239 | }, |
| 4240 | { |
| 4241 | MethodName: "ListLogicalDevicePorts", |
| 4242 | Handler: _VolthaService_ListLogicalDevicePorts_Handler, |
| 4243 | }, |
| 4244 | { |
| 4245 | MethodName: "GetLogicalDevicePort", |
| 4246 | Handler: _VolthaService_GetLogicalDevicePort_Handler, |
| 4247 | }, |
| 4248 | { |
| 4249 | MethodName: "EnableLogicalDevicePort", |
| 4250 | Handler: _VolthaService_EnableLogicalDevicePort_Handler, |
| 4251 | }, |
| 4252 | { |
| 4253 | MethodName: "DisableLogicalDevicePort", |
| 4254 | Handler: _VolthaService_DisableLogicalDevicePort_Handler, |
| 4255 | }, |
| 4256 | { |
| 4257 | MethodName: "ListLogicalDeviceFlows", |
| 4258 | Handler: _VolthaService_ListLogicalDeviceFlows_Handler, |
| 4259 | }, |
| 4260 | { |
| 4261 | MethodName: "UpdateLogicalDeviceFlowTable", |
| 4262 | Handler: _VolthaService_UpdateLogicalDeviceFlowTable_Handler, |
| 4263 | }, |
| 4264 | { |
| 4265 | MethodName: "UpdateLogicalDeviceMeterTable", |
| 4266 | Handler: _VolthaService_UpdateLogicalDeviceMeterTable_Handler, |
| 4267 | }, |
| 4268 | { |
Abhilash Laxmeshwar | dfbb74d | 2019-07-23 08:03:08 -0400 | [diff] [blame] | 4269 | MethodName: "ListLogicalDeviceMeters", |
| 4270 | Handler: _VolthaService_ListLogicalDeviceMeters_Handler, |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 4271 | }, |
| 4272 | { |
| 4273 | MethodName: "ListLogicalDeviceFlowGroups", |
| 4274 | Handler: _VolthaService_ListLogicalDeviceFlowGroups_Handler, |
| 4275 | }, |
| 4276 | { |
| 4277 | MethodName: "UpdateLogicalDeviceFlowGroupTable", |
| 4278 | Handler: _VolthaService_UpdateLogicalDeviceFlowGroupTable_Handler, |
| 4279 | }, |
| 4280 | { |
| 4281 | MethodName: "ListDevices", |
| 4282 | Handler: _VolthaService_ListDevices_Handler, |
| 4283 | }, |
| 4284 | { |
| 4285 | MethodName: "ListDeviceIds", |
| 4286 | Handler: _VolthaService_ListDeviceIds_Handler, |
| 4287 | }, |
| 4288 | { |
| 4289 | MethodName: "ReconcileDevices", |
| 4290 | Handler: _VolthaService_ReconcileDevices_Handler, |
| 4291 | }, |
| 4292 | { |
| 4293 | MethodName: "GetDevice", |
| 4294 | Handler: _VolthaService_GetDevice_Handler, |
| 4295 | }, |
| 4296 | { |
| 4297 | MethodName: "CreateDevice", |
| 4298 | Handler: _VolthaService_CreateDevice_Handler, |
| 4299 | }, |
| 4300 | { |
| 4301 | MethodName: "EnableDevice", |
| 4302 | Handler: _VolthaService_EnableDevice_Handler, |
| 4303 | }, |
| 4304 | { |
| 4305 | MethodName: "DisableDevice", |
| 4306 | Handler: _VolthaService_DisableDevice_Handler, |
| 4307 | }, |
| 4308 | { |
| 4309 | MethodName: "RebootDevice", |
| 4310 | Handler: _VolthaService_RebootDevice_Handler, |
| 4311 | }, |
| 4312 | { |
| 4313 | MethodName: "DeleteDevice", |
| 4314 | Handler: _VolthaService_DeleteDevice_Handler, |
| 4315 | }, |
| 4316 | { |
| 4317 | MethodName: "DownloadImage", |
| 4318 | Handler: _VolthaService_DownloadImage_Handler, |
| 4319 | }, |
| 4320 | { |
| 4321 | MethodName: "GetImageDownloadStatus", |
| 4322 | Handler: _VolthaService_GetImageDownloadStatus_Handler, |
| 4323 | }, |
| 4324 | { |
| 4325 | MethodName: "GetImageDownload", |
| 4326 | Handler: _VolthaService_GetImageDownload_Handler, |
| 4327 | }, |
| 4328 | { |
| 4329 | MethodName: "ListImageDownloads", |
| 4330 | Handler: _VolthaService_ListImageDownloads_Handler, |
| 4331 | }, |
| 4332 | { |
| 4333 | MethodName: "CancelImageDownload", |
| 4334 | Handler: _VolthaService_CancelImageDownload_Handler, |
| 4335 | }, |
| 4336 | { |
| 4337 | MethodName: "ActivateImageUpdate", |
| 4338 | Handler: _VolthaService_ActivateImageUpdate_Handler, |
| 4339 | }, |
| 4340 | { |
| 4341 | MethodName: "RevertImageUpdate", |
| 4342 | Handler: _VolthaService_RevertImageUpdate_Handler, |
| 4343 | }, |
| 4344 | { |
| 4345 | MethodName: "ListDevicePorts", |
| 4346 | Handler: _VolthaService_ListDevicePorts_Handler, |
| 4347 | }, |
| 4348 | { |
| 4349 | MethodName: "ListDevicePmConfigs", |
| 4350 | Handler: _VolthaService_ListDevicePmConfigs_Handler, |
| 4351 | }, |
| 4352 | { |
| 4353 | MethodName: "UpdateDevicePmConfigs", |
| 4354 | Handler: _VolthaService_UpdateDevicePmConfigs_Handler, |
| 4355 | }, |
| 4356 | { |
| 4357 | MethodName: "ListDeviceFlows", |
| 4358 | Handler: _VolthaService_ListDeviceFlows_Handler, |
| 4359 | }, |
| 4360 | { |
| 4361 | MethodName: "ListDeviceFlowGroups", |
| 4362 | Handler: _VolthaService_ListDeviceFlowGroups_Handler, |
| 4363 | }, |
| 4364 | { |
| 4365 | MethodName: "ListDeviceTypes", |
| 4366 | Handler: _VolthaService_ListDeviceTypes_Handler, |
| 4367 | }, |
| 4368 | { |
| 4369 | MethodName: "GetDeviceType", |
| 4370 | Handler: _VolthaService_GetDeviceType_Handler, |
| 4371 | }, |
| 4372 | { |
| 4373 | MethodName: "ListDeviceGroups", |
| 4374 | Handler: _VolthaService_ListDeviceGroups_Handler, |
| 4375 | }, |
| 4376 | { |
| 4377 | MethodName: "GetDeviceGroup", |
| 4378 | Handler: _VolthaService_GetDeviceGroup_Handler, |
| 4379 | }, |
| 4380 | { |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 4381 | MethodName: "CreateEventFilter", |
| 4382 | Handler: _VolthaService_CreateEventFilter_Handler, |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 4383 | }, |
| 4384 | { |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 4385 | MethodName: "GetEventFilter", |
| 4386 | Handler: _VolthaService_GetEventFilter_Handler, |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 4387 | }, |
| 4388 | { |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 4389 | MethodName: "UpdateEventFilter", |
| 4390 | Handler: _VolthaService_UpdateEventFilter_Handler, |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 4391 | }, |
| 4392 | { |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 4393 | MethodName: "DeleteEventFilter", |
| 4394 | Handler: _VolthaService_DeleteEventFilter_Handler, |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 4395 | }, |
| 4396 | { |
Devmalya Paul | 96a2c9e | 2019-11-06 07:17:44 +0000 | [diff] [blame] | 4397 | MethodName: "ListEventFilters", |
| 4398 | Handler: _VolthaService_ListEventFilters_Handler, |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 4399 | }, |
| 4400 | { |
| 4401 | MethodName: "GetImages", |
| 4402 | Handler: _VolthaService_GetImages_Handler, |
| 4403 | }, |
| 4404 | { |
| 4405 | MethodName: "SelfTest", |
| 4406 | Handler: _VolthaService_SelfTest_Handler, |
| 4407 | }, |
| 4408 | { |
| 4409 | MethodName: "GetMibDeviceData", |
| 4410 | Handler: _VolthaService_GetMibDeviceData_Handler, |
| 4411 | }, |
| 4412 | { |
| 4413 | MethodName: "GetAlarmDeviceData", |
| 4414 | Handler: _VolthaService_GetAlarmDeviceData_Handler, |
| 4415 | }, |
| 4416 | { |
| 4417 | MethodName: "SimulateAlarm", |
| 4418 | Handler: _VolthaService_SimulateAlarm_Handler, |
| 4419 | }, |
| 4420 | { |
| 4421 | MethodName: "Subscribe", |
| 4422 | Handler: _VolthaService_Subscribe_Handler, |
| 4423 | }, |
kesavand | 4a002b0 | 2020-01-23 21:29:47 -0500 | [diff] [blame] | 4424 | { |
| 4425 | MethodName: "EnablePort", |
| 4426 | Handler: _VolthaService_EnablePort_Handler, |
| 4427 | }, |
| 4428 | { |
| 4429 | MethodName: "DisablePort", |
| 4430 | Handler: _VolthaService_DisablePort_Handler, |
| 4431 | }, |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 4432 | }, |
| 4433 | Streams: []grpc.StreamDesc{ |
| 4434 | { |
| 4435 | StreamName: "StreamPacketsOut", |
| 4436 | Handler: _VolthaService_StreamPacketsOut_Handler, |
| 4437 | ClientStreams: true, |
| 4438 | }, |
| 4439 | { |
| 4440 | StreamName: "ReceivePacketsIn", |
| 4441 | Handler: _VolthaService_ReceivePacketsIn_Handler, |
| 4442 | ServerStreams: true, |
| 4443 | }, |
| 4444 | { |
| 4445 | StreamName: "ReceiveChangeEvents", |
| 4446 | Handler: _VolthaService_ReceiveChangeEvents_Handler, |
| 4447 | ServerStreams: true, |
| 4448 | }, |
| 4449 | }, |
| 4450 | Metadata: "voltha_protos/voltha.proto", |
| 4451 | } |