| 1 |
# Generated by the protocol buffer compiler. DO NOT EDIT! |
| 2 |
# source: ems_grpc.proto |
| 3 |
from __future__ import absolute_import, division, print_function |
| 4 |
|
| 5 |
|
| 6 |
__metaclass__ = type |
| 7 |
|
| 8 |
import sys |
| 9 |
|
| 10 |
|
| 11 |
_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) |
| 12 |
from google.protobuf import descriptor as _descriptor |
| 13 |
from google.protobuf import message as _message |
| 14 |
from google.protobuf import reflection as _reflection |
| 15 |
from google.protobuf import symbol_database as _symbol_database |
| 16 |
from google.protobuf.internal import enum_type_wrapper |
| 17 |
|
| 18 |
|
| 19 |
# @@protoc_insertion_point(imports) |
| 20 |
|
| 21 |
_sym_db = _symbol_database.Default() |
| 22 |
|
| 23 |
|
| 24 |
DESCRIPTOR = _descriptor.FileDescriptor( |
| 25 |
name="ems_grpc.proto", |
| 26 |
package="IOSXRExtensibleManagabilityService", |
| 27 |
syntax="proto3", |
| 28 |
serialized_pb=_b( |
| 29 |
'\n\x0e\x65ms_grpc.proto\x12"IOSXRExtensibleManagabilityService"4\n\rConfigGetArgs\x12\r\n\x05ReqId\x18\x01 \x01(\x03\x12\x14\n\x0cyangpathjson\x18\x02 \x01(\t"D\n\x0e\x43onfigGetReply\x12\x10\n\x08ResReqId\x18\x01 \x01(\x03\x12\x10\n\x08yangjson\x18\x02 \x01(\t\x12\x0e\n\x06\x65rrors\x18\x03 \x01(\t"2\n\x0bGetOperArgs\x12\r\n\x05ReqId\x18\x01 \x01(\x03\x12\x14\n\x0cyangpathjson\x18\x02 \x01(\t"B\n\x0cGetOperReply\x12\x10\n\x08ResReqId\x18\x01 \x01(\x03\x12\x10\n\x08yangjson\x18\x02 \x01(\t\x12\x0e\n\x06\x65rrors\x18\x03 \x01(\t"-\n\nConfigArgs\x12\r\n\x05ReqId\x18\x01 \x01(\x03\x12\x10\n\x08yangjson\x18\x02 \x01(\t"/\n\x0b\x43onfigReply\x12\x10\n\x08ResReqId\x18\x01 \x01(\x03\x12\x0e\n\x06\x65rrors\x18\x02 \x01(\t"+\n\rCliConfigArgs\x12\r\n\x05ReqId\x18\x01 \x01(\x03\x12\x0b\n\x03\x63li\x18\x02 \x01(\t"2\n\x0e\x43liConfigReply\x12\x10\n\x08ResReqId\x18\x01 \x01(\x03\x12\x0e\n\x06\x65rrors\x18\x02 \x01(\t"A\n\x11\x43ommitReplaceArgs\x12\r\n\x05ReqId\x18\x01 \x01(\x03\x12\x0b\n\x03\x63li\x18\x02 \x01(\t\x12\x10\n\x08yangjson\x18\x03 \x01(\t"6\n\x12\x43ommitReplaceReply\x12\x10\n\x08ResReqId\x18\x01 \x01(\x03\x12\x0e\n\x06\x65rrors\x18\x02 \x01(\t"+\n\tCommitMsg\x12\r\n\x05label\x18\x01 \x01(\t\x12\x0f\n\x07\x63omment\x18\x02 \x01(\t"W\n\nCommitArgs\x12:\n\x03msg\x18\x01 \x01(\x0b\x32-.IOSXRExtensibleManagabilityService.CommitMsg\x12\r\n\x05ReqId\x18\x02 \x01(\x03"q\n\x0b\x43ommitReply\x12@\n\x06result\x18\x01 \x01(\x0e\x32\x30.IOSXRExtensibleManagabilityService.CommitResult\x12\x10\n\x08ResReqId\x18\x02 \x01(\x03\x12\x0e\n\x06\x65rrors\x18\x03 \x01(\t"#\n\x12\x44iscardChangesArgs\x12\r\n\x05ReqId\x18\x01 \x01(\x03"7\n\x13\x44iscardChangesReply\x12\x10\n\x08ResReqId\x18\x01 \x01(\x03\x12\x0e\n\x06\x65rrors\x18\x02 \x01(\t")\n\x0bShowCmdArgs\x12\r\n\x05ReqId\x18\x01 \x01(\x03\x12\x0b\n\x03\x63li\x18\x02 \x01(\t"D\n\x10ShowCmdTextReply\x12\x10\n\x08ResReqId\x18\x01 \x01(\x03\x12\x0e\n\x06output\x18\x02 \x01(\t\x12\x0e\n\x06\x65rrors\x18\x03 \x01(\t"H\n\x10ShowCmdJSONReply\x12\x10\n\x08ResReqId\x18\x01 \x01(\x03\x12\x12\n\njsonoutput\x18\x02 \x01(\t\x12\x0e\n\x06\x65rrors\x18\x03 \x01(\t"A\n\x0e\x43reateSubsArgs\x12\r\n\x05ReqId\x18\x01 \x01(\x03\x12\x0e\n\x06\x65ncode\x18\x02 \x01(\x03\x12\x10\n\x08subidstr\x18\x03 \x01(\t"A\n\x0f\x43reateSubsReply\x12\x10\n\x08ResReqId\x18\x01 \x01(\x03\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0e\n\x06\x65rrors\x18\x03 \x01(\t*3\n\x0c\x43ommitResult\x12\n\n\x06\x43HANGE\x10\x00\x12\r\n\tNO_CHANGE\x10\x01\x12\x08\n\x04\x46\x41IL\x10\x02\x32\xc6\t\n\x0egRPCConfigOper\x12v\n\tGetConfig\x12\x31.IOSXRExtensibleManagabilityService.ConfigGetArgs\x1a\x32.IOSXRExtensibleManagabilityService.ConfigGetReply"\x00\x30\x01\x12p\n\x0bMergeConfig\x12..IOSXRExtensibleManagabilityService.ConfigArgs\x1a/.IOSXRExtensibleManagabilityService.ConfigReply"\x00\x12q\n\x0c\x44\x65leteConfig\x12..IOSXRExtensibleManagabilityService.ConfigArgs\x1a/.IOSXRExtensibleManagabilityService.ConfigReply"\x00\x12r\n\rReplaceConfig\x12..IOSXRExtensibleManagabilityService.ConfigArgs\x1a/.IOSXRExtensibleManagabilityService.ConfigReply"\x00\x12t\n\tCliConfig\x12\x31.IOSXRExtensibleManagabilityService.CliConfigArgs\x1a\x32.IOSXRExtensibleManagabilityService.CliConfigReply"\x00\x12\x80\x01\n\rCommitReplace\x12\x35.IOSXRExtensibleManagabilityService.CommitReplaceArgs\x1a\x36.IOSXRExtensibleManagabilityService.CommitReplaceReply"\x00\x12q\n\x0c\x43ommitConfig\x12..IOSXRExtensibleManagabilityService.CommitArgs\x1a/.IOSXRExtensibleManagabilityService.CommitReply"\x00\x12\x89\x01\n\x14\x43onfigDiscardChanges\x12\x36.IOSXRExtensibleManagabilityService.DiscardChangesArgs\x1a\x37.IOSXRExtensibleManagabilityService.DiscardChangesReply"\x00\x12p\n\x07GetOper\x12/.IOSXRExtensibleManagabilityService.GetOperArgs\x1a\x30.IOSXRExtensibleManagabilityService.GetOperReply"\x00\x30\x01\x12y\n\nCreateSubs\x12\x32.IOSXRExtensibleManagabilityService.CreateSubsArgs\x1a\x33.IOSXRExtensibleManagabilityService.CreateSubsReply"\x00\x30\x01\x32\x8a\x02\n\x08gRPCExec\x12~\n\x11ShowCmdTextOutput\x12/.IOSXRExtensibleManagabilityService.ShowCmdArgs\x1a\x34.IOSXRExtensibleManagabilityService.ShowCmdTextReply"\x00\x30\x01\x12~\n\x11ShowCmdJSONOutput\x12/.IOSXRExtensibleManagabilityService.ShowCmdArgs\x1a\x34.IOSXRExtensibleManagabilityService.ShowCmdJSONReply"\x00\x30\x01\x62\x06proto3', # noqa: E501 |
| 30 |
), |
| 31 |
) |
| 32 |
_sym_db.RegisterFileDescriptor(DESCRIPTOR) |
| 33 |
|
| 34 |
_COMMITRESULT = _descriptor.EnumDescriptor( |
| 35 |
name="CommitResult", |
| 36 |
full_name="IOSXRExtensibleManagabilityService.CommitResult", |
| 37 |
filename=None, |
| 38 |
file=DESCRIPTOR, |
| 39 |
values=[ |
| 40 |
_descriptor.EnumValueDescriptor( |
| 41 |
name="CHANGE", |
| 42 |
index=0, |
| 43 |
number=0, |
| 44 |
options=None, |
| 45 |
type=None, |
| 46 |
), |
| 47 |
_descriptor.EnumValueDescriptor( |
| 48 |
name="NO_CHANGE", |
| 49 |
index=1, |
| 50 |
number=1, |
| 51 |
options=None, |
| 52 |
type=None, |
| 53 |
), |
| 54 |
_descriptor.EnumValueDescriptor( |
| 55 |
name="FAIL", |
| 56 |
index=2, |
| 57 |
number=2, |
| 58 |
options=None, |
| 59 |
type=None, |
| 60 |
), |
| 61 |
], |
| 62 |
containing_type=None, |
| 63 |
options=None, |
| 64 |
serialized_start=1278, |
| 65 |
serialized_end=1329, |
| 66 |
) |
| 67 |
_sym_db.RegisterEnumDescriptor(_COMMITRESULT) |
| 68 |
|
| 69 |
CommitResult = enum_type_wrapper.EnumTypeWrapper(_COMMITRESULT) |
| 70 |
CHANGE = 0 |
| 71 |
NO_CHANGE = 1 |
| 72 |
FAIL = 2 |
| 73 |
|
| 74 |
|
| 75 |
_CONFIGGETARGS = _descriptor.Descriptor( |
| 76 |
name="ConfigGetArgs", |
| 77 |
full_name="IOSXRExtensibleManagabilityService.ConfigGetArgs", |
| 78 |
filename=None, |
| 79 |
file=DESCRIPTOR, |
| 80 |
containing_type=None, |
| 81 |
fields=[ |
| 82 |
_descriptor.FieldDescriptor( |
| 83 |
name="ReqId", |
| 84 |
full_name="IOSXRExtensibleManagabilityService.ConfigGetArgs.ReqId", |
| 85 |
index=0, |
| 86 |
number=1, |
| 87 |
type=3, |
| 88 |
cpp_type=2, |
| 89 |
label=1, |
| 90 |
has_default_value=False, |
| 91 |
default_value=0, |
| 92 |
message_type=None, |
| 93 |
enum_type=None, |
| 94 |
containing_type=None, |
| 95 |
is_extension=False, |
| 96 |
extension_scope=None, |
| 97 |
options=None, |
| 98 |
), |
| 99 |
_descriptor.FieldDescriptor( |
| 100 |
name="yangpathjson", |
| 101 |
full_name="IOSXRExtensibleManagabilityService.ConfigGetArgs.yangpathjson", |
| 102 |
index=1, |
| 103 |
number=2, |
| 104 |
type=9, |
| 105 |
cpp_type=9, |
| 106 |
label=1, |
| 107 |
has_default_value=False, |
| 108 |
default_value=_b("").decode("utf-8"), |
| 109 |
message_type=None, |
| 110 |
enum_type=None, |
| 111 |
containing_type=None, |
| 112 |
is_extension=False, |
| 113 |
extension_scope=None, |
| 114 |
options=None, |
| 115 |
), |
| 116 |
], |
| 117 |
extensions=[], |
| 118 |
nested_types=[], |
| 119 |
enum_types=[], |
| 120 |
options=None, |
| 121 |
is_extendable=False, |
| 122 |
syntax="proto3", |
| 123 |
extension_ranges=[], |
| 124 |
oneofs=[], |
| 125 |
serialized_start=54, |
| 126 |
serialized_end=106, |
| 127 |
) |
| 128 |
|
| 129 |
|
| 130 |
_CONFIGGETREPLY = _descriptor.Descriptor( |
| 131 |
name="ConfigGetReply", |
| 132 |
full_name="IOSXRExtensibleManagabilityService.ConfigGetReply", |
| 133 |
filename=None, |
| 134 |
file=DESCRIPTOR, |
| 135 |
containing_type=None, |
| 136 |
fields=[ |
| 137 |
_descriptor.FieldDescriptor( |
| 138 |
name="ResReqId", |
| 139 |
full_name="IOSXRExtensibleManagabilityService.ConfigGetReply.ResReqId", |
| 140 |
index=0, |
| 141 |
number=1, |
| 142 |
type=3, |
| 143 |
cpp_type=2, |
| 144 |
label=1, |
| 145 |
has_default_value=False, |
| 146 |
default_value=0, |
| 147 |
message_type=None, |
| 148 |
enum_type=None, |
| 149 |
containing_type=None, |
| 150 |
is_extension=False, |
| 151 |
extension_scope=None, |
| 152 |
options=None, |
| 153 |
), |
| 154 |
_descriptor.FieldDescriptor( |
| 155 |
name="yangjson", |
| 156 |
full_name="IOSXRExtensibleManagabilityService.ConfigGetReply.yangjson", |
| 157 |
index=1, |
| 158 |
number=2, |
| 159 |
type=9, |
| 160 |
cpp_type=9, |
| 161 |
label=1, |
| 162 |
has_default_value=False, |
| 163 |
default_value=_b("").decode("utf-8"), |
| 164 |
message_type=None, |
| 165 |
enum_type=None, |
| 166 |
containing_type=None, |
| 167 |
is_extension=False, |
| 168 |
extension_scope=None, |
| 169 |
options=None, |
| 170 |
), |
| 171 |
_descriptor.FieldDescriptor( |
| 172 |
name="errors", |
| 173 |
full_name="IOSXRExtensibleManagabilityService.ConfigGetReply.errors", |
| 174 |
index=2, |
| 175 |
number=3, |
| 176 |
type=9, |
| 177 |
cpp_type=9, |
| 178 |
label=1, |
| 179 |
has_default_value=False, |
| 180 |
default_value=_b("").decode("utf-8"), |
| 181 |
message_type=None, |
| 182 |
enum_type=None, |
| 183 |
containing_type=None, |
| 184 |
is_extension=False, |
| 185 |
extension_scope=None, |
| 186 |
options=None, |
| 187 |
), |
| 188 |
], |
| 189 |
extensions=[], |
| 190 |
nested_types=[], |
| 191 |
enum_types=[], |
| 192 |
options=None, |
| 193 |
is_extendable=False, |
| 194 |
syntax="proto3", |
| 195 |
extension_ranges=[], |
| 196 |
oneofs=[], |
| 197 |
serialized_start=108, |
| 198 |
serialized_end=176, |
| 199 |
) |
| 200 |
|
| 201 |
|
| 202 |
_GETOPERARGS = _descriptor.Descriptor( |
| 203 |
name="GetOperArgs", |
| 204 |
full_name="IOSXRExtensibleManagabilityService.GetOperArgs", |
| 205 |
filename=None, |
| 206 |
file=DESCRIPTOR, |
| 207 |
containing_type=None, |
| 208 |
fields=[ |
| 209 |
_descriptor.FieldDescriptor( |
| 210 |
name="ReqId", |
| 211 |
full_name="IOSXRExtensibleManagabilityService.GetOperArgs.ReqId", |
| 212 |
index=0, |
| 213 |
number=1, |
| 214 |
type=3, |
| 215 |
cpp_type=2, |
| 216 |
label=1, |
| 217 |
has_default_value=False, |
| 218 |
default_value=0, |
| 219 |
message_type=None, |
| 220 |
enum_type=None, |
| 221 |
containing_type=None, |
| 222 |
is_extension=False, |
| 223 |
extension_scope=None, |
| 224 |
options=None, |
| 225 |
), |
| 226 |
_descriptor.FieldDescriptor( |
| 227 |
name="yangpathjson", |
| 228 |
full_name="IOSXRExtensibleManagabilityService.GetOperArgs.yangpathjson", |
| 229 |
index=1, |
| 230 |
number=2, |
| 231 |
type=9, |
| 232 |
cpp_type=9, |
| 233 |
label=1, |
| 234 |
has_default_value=False, |
| 235 |
default_value=_b("").decode("utf-8"), |
| 236 |
message_type=None, |
| 237 |
enum_type=None, |
| 238 |
containing_type=None, |
| 239 |
is_extension=False, |
| 240 |
extension_scope=None, |
| 241 |
options=None, |
| 242 |
), |
| 243 |
], |
| 244 |
extensions=[], |
| 245 |
nested_types=[], |
| 246 |
enum_types=[], |
| 247 |
options=None, |
| 248 |
is_extendable=False, |
| 249 |
syntax="proto3", |
| 250 |
extension_ranges=[], |
| 251 |
oneofs=[], |
| 252 |
serialized_start=178, |
| 253 |
serialized_end=228, |
| 254 |
) |
| 255 |
|
| 256 |
|
| 257 |
_GETOPERREPLY = _descriptor.Descriptor( |
| 258 |
name="GetOperReply", |
| 259 |
full_name="IOSXRExtensibleManagabilityService.GetOperReply", |
| 260 |
filename=None, |
| 261 |
file=DESCRIPTOR, |
| 262 |
containing_type=None, |
| 263 |
fields=[ |
| 264 |
_descriptor.FieldDescriptor( |
| 265 |
name="ResReqId", |
| 266 |
full_name="IOSXRExtensibleManagabilityService.GetOperReply.ResReqId", |
| 267 |
index=0, |
| 268 |
number=1, |
| 269 |
type=3, |
| 270 |
cpp_type=2, |
| 271 |
label=1, |
| 272 |
has_default_value=False, |
| 273 |
default_value=0, |
| 274 |
message_type=None, |
| 275 |
enum_type=None, |
| 276 |
containing_type=None, |
| 277 |
is_extension=False, |
| 278 |
extension_scope=None, |
| 279 |
options=None, |
| 280 |
), |
| 281 |
_descriptor.FieldDescriptor( |
| 282 |
name="yangjson", |
| 283 |
full_name="IOSXRExtensibleManagabilityService.GetOperReply.yangjson", |
| 284 |
index=1, |
| 285 |
number=2, |
| 286 |
type=9, |
| 287 |
cpp_type=9, |
| 288 |
label=1, |
| 289 |
has_default_value=False, |
| 290 |
default_value=_b("").decode("utf-8"), |
| 291 |
message_type=None, |
| 292 |
enum_type=None, |
| 293 |
containing_type=None, |
| 294 |
is_extension=False, |
| 295 |
extension_scope=None, |
| 296 |
options=None, |
| 297 |
), |
| 298 |
_descriptor.FieldDescriptor( |
| 299 |
name="errors", |
| 300 |
full_name="IOSXRExtensibleManagabilityService.GetOperReply.errors", |
| 301 |
index=2, |
| 302 |
number=3, |
| 303 |
type=9, |
| 304 |
cpp_type=9, |
| 305 |
label=1, |
| 306 |
has_default_value=False, |
| 307 |
default_value=_b("").decode("utf-8"), |
| 308 |
message_type=None, |
| 309 |
enum_type=None, |
| 310 |
containing_type=None, |
| 311 |
is_extension=False, |
| 312 |
extension_scope=None, |
| 313 |
options=None, |
| 314 |
), |
| 315 |
], |
| 316 |
extensions=[], |
| 317 |
nested_types=[], |
| 318 |
enum_types=[], |
| 319 |
options=None, |
| 320 |
is_extendable=False, |
| 321 |
syntax="proto3", |
| 322 |
extension_ranges=[], |
| 323 |
oneofs=[], |
| 324 |
serialized_start=230, |
| 325 |
serialized_end=296, |
| 326 |
) |
| 327 |
|
| 328 |
|
| 329 |
_CONFIGARGS = _descriptor.Descriptor( |
| 330 |
name="ConfigArgs", |
| 331 |
full_name="IOSXRExtensibleManagabilityService.ConfigArgs", |
| 332 |
filename=None, |
| 333 |
file=DESCRIPTOR, |
| 334 |
containing_type=None, |
| 335 |
fields=[ |
| 336 |
_descriptor.FieldDescriptor( |
| 337 |
name="ReqId", |
| 338 |
full_name="IOSXRExtensibleManagabilityService.ConfigArgs.ReqId", |
| 339 |
index=0, |
| 340 |
number=1, |
| 341 |
type=3, |
| 342 |
cpp_type=2, |
| 343 |
label=1, |
| 344 |
has_default_value=False, |
| 345 |
default_value=0, |
| 346 |
message_type=None, |
| 347 |
enum_type=None, |
| 348 |
containing_type=None, |
| 349 |
is_extension=False, |
| 350 |
extension_scope=None, |
| 351 |
options=None, |
| 352 |
), |
| 353 |
_descriptor.FieldDescriptor( |
| 354 |
name="yangjson", |
| 355 |
full_name="IOSXRExtensibleManagabilityService.ConfigArgs.yangjson", |
| 356 |
index=1, |
| 357 |
number=2, |
| 358 |
type=9, |
| 359 |
cpp_type=9, |
| 360 |
label=1, |
| 361 |
has_default_value=False, |
| 362 |
default_value=_b("").decode("utf-8"), |
| 363 |
message_type=None, |
| 364 |
enum_type=None, |
| 365 |
containing_type=None, |
| 366 |
is_extension=False, |
| 367 |
extension_scope=None, |
| 368 |
options=None, |
| 369 |
), |
| 370 |
], |
| 371 |
extensions=[], |
| 372 |
nested_types=[], |
| 373 |
enum_types=[], |
| 374 |
options=None, |
| 375 |
is_extendable=False, |
| 376 |
syntax="proto3", |
| 377 |
extension_ranges=[], |
| 378 |
oneofs=[], |
| 379 |
serialized_start=298, |
| 380 |
serialized_end=343, |
| 381 |
) |
| 382 |
|
| 383 |
|
| 384 |
_CONFIGREPLY = _descriptor.Descriptor( |
| 385 |
name="ConfigReply", |
| 386 |
full_name="IOSXRExtensibleManagabilityService.ConfigReply", |
| 387 |
filename=None, |
| 388 |
file=DESCRIPTOR, |
| 389 |
containing_type=None, |
| 390 |
fields=[ |
| 391 |
_descriptor.FieldDescriptor( |
| 392 |
name="ResReqId", |
| 393 |
full_name="IOSXRExtensibleManagabilityService.ConfigReply.ResReqId", |
| 394 |
index=0, |
| 395 |
number=1, |
| 396 |
type=3, |
| 397 |
cpp_type=2, |
| 398 |
label=1, |
| 399 |
has_default_value=False, |
| 400 |
default_value=0, |
| 401 |
message_type=None, |
| 402 |
enum_type=None, |
| 403 |
containing_type=None, |
| 404 |
is_extension=False, |
| 405 |
extension_scope=None, |
| 406 |
options=None, |
| 407 |
), |
| 408 |
_descriptor.FieldDescriptor( |
| 409 |
name="errors", |
| 410 |
full_name="IOSXRExtensibleManagabilityService.ConfigReply.errors", |
| 411 |
index=1, |
| 412 |
number=2, |
| 413 |
type=9, |
| 414 |
cpp_type=9, |
| 415 |
label=1, |
| 416 |
has_default_value=False, |
| 417 |
default_value=_b("").decode("utf-8"), |
| 418 |
message_type=None, |
| 419 |
enum_type=None, |
| 420 |
containing_type=None, |
| 421 |
is_extension=False, |
| 422 |
extension_scope=None, |
| 423 |
options=None, |
| 424 |
), |
| 425 |
], |
| 426 |
extensions=[], |
| 427 |
nested_types=[], |
| 428 |
enum_types=[], |
| 429 |
options=None, |
| 430 |
is_extendable=False, |
| 431 |
syntax="proto3", |
| 432 |
extension_ranges=[], |
| 433 |
oneofs=[], |
| 434 |
serialized_start=345, |
| 435 |
serialized_end=392, |
| 436 |
) |
| 437 |
|
| 438 |
|
| 439 |
_CLICONFIGARGS = _descriptor.Descriptor( |
| 440 |
name="CliConfigArgs", |
| 441 |
full_name="IOSXRExtensibleManagabilityService.CliConfigArgs", |
| 442 |
filename=None, |
| 443 |
file=DESCRIPTOR, |
| 444 |
containing_type=None, |
| 445 |
fields=[ |
| 446 |
_descriptor.FieldDescriptor( |
| 447 |
name="ReqId", |
| 448 |
full_name="IOSXRExtensibleManagabilityService.CliConfigArgs.ReqId", |
| 449 |
index=0, |
| 450 |
number=1, |
| 451 |
type=3, |
| 452 |
cpp_type=2, |
| 453 |
label=1, |
| 454 |
has_default_value=False, |
| 455 |
default_value=0, |
| 456 |
message_type=None, |
| 457 |
enum_type=None, |
| 458 |
containing_type=None, |
| 459 |
is_extension=False, |
| 460 |
extension_scope=None, |
| 461 |
options=None, |
| 462 |
), |
| 463 |
_descriptor.FieldDescriptor( |
| 464 |
name="cli", |
| 465 |
full_name="IOSXRExtensibleManagabilityService.CliConfigArgs.cli", |
| 466 |
index=1, |
| 467 |
number=2, |
| 468 |
type=9, |
| 469 |
cpp_type=9, |
| 470 |
label=1, |
| 471 |
has_default_value=False, |
| 472 |
default_value=_b("").decode("utf-8"), |
| 473 |
message_type=None, |
| 474 |
enum_type=None, |
| 475 |
containing_type=None, |
| 476 |
is_extension=False, |
| 477 |
extension_scope=None, |
| 478 |
options=None, |
| 479 |
), |
| 480 |
], |
| 481 |
extensions=[], |
| 482 |
nested_types=[], |
| 483 |
enum_types=[], |
| 484 |
options=None, |
| 485 |
is_extendable=False, |
| 486 |
syntax="proto3", |
| 487 |
extension_ranges=[], |
| 488 |
oneofs=[], |
| 489 |
serialized_start=394, |
| 490 |
serialized_end=437, |
| 491 |
) |
| 492 |
|
| 493 |
|
| 494 |
_CLICONFIGREPLY = _descriptor.Descriptor( |
| 495 |
name="CliConfigReply", |
| 496 |
full_name="IOSXRExtensibleManagabilityService.CliConfigReply", |
| 497 |
filename=None, |
| 498 |
file=DESCRIPTOR, |
| 499 |
containing_type=None, |
| 500 |
fields=[ |
| 501 |
_descriptor.FieldDescriptor( |
| 502 |
name="ResReqId", |
| 503 |
full_name="IOSXRExtensibleManagabilityService.CliConfigReply.ResReqId", |
| 504 |
index=0, |
| 505 |
number=1, |
| 506 |
type=3, |
| 507 |
cpp_type=2, |
| 508 |
label=1, |
| 509 |
has_default_value=False, |
| 510 |
default_value=0, |
| 511 |
message_type=None, |
| 512 |
enum_type=None, |
| 513 |
containing_type=None, |
| 514 |
is_extension=False, |
| 515 |
extension_scope=None, |
| 516 |
options=None, |
| 517 |
), |
| 518 |
_descriptor.FieldDescriptor( |
| 519 |
name="errors", |
| 520 |
full_name="IOSXRExtensibleManagabilityService.CliConfigReply.errors", |
| 521 |
index=1, |
| 522 |
number=2, |
| 523 |
type=9, |
| 524 |
cpp_type=9, |
| 525 |
label=1, |
| 526 |
has_default_value=False, |
| 527 |
default_value=_b("").decode("utf-8"), |
| 528 |
message_type=None, |
| 529 |
enum_type=None, |
| 530 |
containing_type=None, |
| 531 |
is_extension=False, |
| 532 |
extension_scope=None, |
| 533 |
options=None, |
| 534 |
), |
| 535 |
], |
| 536 |
extensions=[], |
| 537 |
nested_types=[], |
| 538 |
enum_types=[], |
| 539 |
options=None, |
| 540 |
is_extendable=False, |
| 541 |
syntax="proto3", |
| 542 |
extension_ranges=[], |
| 543 |
oneofs=[], |
| 544 |
serialized_start=439, |
| 545 |
serialized_end=489, |
| 546 |
) |
| 547 |
|
| 548 |
|
| 549 |
_COMMITREPLACEARGS = _descriptor.Descriptor( |
| 550 |
name="CommitReplaceArgs", |
| 551 |
full_name="IOSXRExtensibleManagabilityService.CommitReplaceArgs", |
| 552 |
filename=None, |
| 553 |
file=DESCRIPTOR, |
| 554 |
containing_type=None, |
| 555 |
fields=[ |
| 556 |
_descriptor.FieldDescriptor( |
| 557 |
name="ReqId", |
| 558 |
full_name="IOSXRExtensibleManagabilityService.CommitReplaceArgs.ReqId", |
| 559 |
index=0, |
| 560 |
number=1, |
| 561 |
type=3, |
| 562 |
cpp_type=2, |
| 563 |
label=1, |
| 564 |
has_default_value=False, |
| 565 |
default_value=0, |
| 566 |
message_type=None, |
| 567 |
enum_type=None, |
| 568 |
containing_type=None, |
| 569 |
is_extension=False, |
| 570 |
extension_scope=None, |
| 571 |
options=None, |
| 572 |
), |
| 573 |
_descriptor.FieldDescriptor( |
| 574 |
name="cli", |
| 575 |
full_name="IOSXRExtensibleManagabilityService.CommitReplaceArgs.cli", |
| 576 |
index=1, |
| 577 |
number=2, |
| 578 |
type=9, |
| 579 |
cpp_type=9, |
| 580 |
label=1, |
| 581 |
has_default_value=False, |
| 582 |
default_value=_b("").decode("utf-8"), |
| 583 |
message_type=None, |
| 584 |
enum_type=None, |
| 585 |
containing_type=None, |
| 586 |
is_extension=False, |
| 587 |
extension_scope=None, |
| 588 |
options=None, |
| 589 |
), |
| 590 |
_descriptor.FieldDescriptor( |
| 591 |
name="yangjson", |
| 592 |
full_name="IOSXRExtensibleManagabilityService.CommitReplaceArgs.yangjson", |
| 593 |
index=2, |
| 594 |
number=3, |
| 595 |
type=9, |
| 596 |
cpp_type=9, |
| 597 |
label=1, |
| 598 |
has_default_value=False, |
| 599 |
default_value=_b("").decode("utf-8"), |
| 600 |
message_type=None, |
| 601 |
enum_type=None, |
| 602 |
containing_type=None, |
| 603 |
is_extension=False, |
| 604 |
extension_scope=None, |
| 605 |
options=None, |
| 606 |
), |
| 607 |
], |
| 608 |
extensions=[], |
| 609 |
nested_types=[], |
| 610 |
enum_types=[], |
| 611 |
options=None, |
| 612 |
is_extendable=False, |
| 613 |
syntax="proto3", |
| 614 |
extension_ranges=[], |
| 615 |
oneofs=[], |
| 616 |
serialized_start=491, |
| 617 |
serialized_end=556, |
| 618 |
) |
| 619 |
|
| 620 |
|
| 621 |
_COMMITREPLACEREPLY = _descriptor.Descriptor( |
| 622 |
name="CommitReplaceReply", |
| 623 |
full_name="IOSXRExtensibleManagabilityService.CommitReplaceReply", |
| 624 |
filename=None, |
| 625 |
file=DESCRIPTOR, |
| 626 |
containing_type=None, |
| 627 |
fields=[ |
| 628 |
_descriptor.FieldDescriptor( |
| 629 |
name="ResReqId", |
| 630 |
full_name="IOSXRExtensibleManagabilityService.CommitReplaceReply.ResReqId", |
| 631 |
index=0, |
| 632 |
number=1, |
| 633 |
type=3, |
| 634 |
cpp_type=2, |
| 635 |
label=1, |
| 636 |
has_default_value=False, |
| 637 |
default_value=0, |
| 638 |
message_type=None, |
| 639 |
enum_type=None, |
| 640 |
containing_type=None, |
| 641 |
is_extension=False, |
| 642 |
extension_scope=None, |
| 643 |
options=None, |
| 644 |
), |
| 645 |
_descriptor.FieldDescriptor( |
| 646 |
name="errors", |
| 647 |
full_name="IOSXRExtensibleManagabilityService.CommitReplaceReply.errors", |
| 648 |
index=1, |
| 649 |
number=2, |
| 650 |
type=9, |
| 651 |
cpp_type=9, |
| 652 |
label=1, |
| 653 |
has_default_value=False, |
| 654 |
default_value=_b("").decode("utf-8"), |
| 655 |
message_type=None, |
| 656 |
enum_type=None, |
| 657 |
containing_type=None, |
| 658 |
is_extension=False, |
| 659 |
extension_scope=None, |
| 660 |
options=None, |
| 661 |
), |
| 662 |
], |
| 663 |
extensions=[], |
| 664 |
nested_types=[], |
| 665 |
enum_types=[], |
| 666 |
options=None, |
| 667 |
is_extendable=False, |
| 668 |
syntax="proto3", |
| 669 |
extension_ranges=[], |
| 670 |
oneofs=[], |
| 671 |
serialized_start=558, |
| 672 |
serialized_end=612, |
| 673 |
) |
| 674 |
|
| 675 |
|
| 676 |
_COMMITMSG = _descriptor.Descriptor( |
| 677 |
name="CommitMsg", |
| 678 |
full_name="IOSXRExtensibleManagabilityService.CommitMsg", |
| 679 |
filename=None, |
| 680 |
file=DESCRIPTOR, |
| 681 |
containing_type=None, |
| 682 |
fields=[ |
| 683 |
_descriptor.FieldDescriptor( |
| 684 |
name="label", |
| 685 |
full_name="IOSXRExtensibleManagabilityService.CommitMsg.label", |
| 686 |
index=0, |
| 687 |
number=1, |
| 688 |
type=9, |
| 689 |
cpp_type=9, |
| 690 |
label=1, |
| 691 |
has_default_value=False, |
| 692 |
default_value=_b("").decode("utf-8"), |
| 693 |
message_type=None, |
| 694 |
enum_type=None, |
| 695 |
containing_type=None, |
| 696 |
is_extension=False, |
| 697 |
extension_scope=None, |
| 698 |
options=None, |
| 699 |
), |
| 700 |
_descriptor.FieldDescriptor( |
| 701 |
name="comment", |
| 702 |
full_name="IOSXRExtensibleManagabilityService.CommitMsg.comment", |
| 703 |
index=1, |
| 704 |
number=2, |
| 705 |
type=9, |
| 706 |
cpp_type=9, |
| 707 |
label=1, |
| 708 |
has_default_value=False, |
| 709 |
default_value=_b("").decode("utf-8"), |
| 710 |
message_type=None, |
| 711 |
enum_type=None, |
| 712 |
containing_type=None, |
| 713 |
is_extension=False, |
| 714 |
extension_scope=None, |
| 715 |
options=None, |
| 716 |
), |
| 717 |
], |
| 718 |
extensions=[], |
| 719 |
nested_types=[], |
| 720 |
enum_types=[], |
| 721 |
options=None, |
| 722 |
is_extendable=False, |
| 723 |
syntax="proto3", |
| 724 |
extension_ranges=[], |
| 725 |
oneofs=[], |
| 726 |
serialized_start=614, |
| 727 |
serialized_end=657, |
| 728 |
) |
| 729 |
|
| 730 |
|
| 731 |
_COMMITARGS = _descriptor.Descriptor( |
| 732 |
name="CommitArgs", |
| 733 |
full_name="IOSXRExtensibleManagabilityService.CommitArgs", |
| 734 |
filename=None, |
| 735 |
file=DESCRIPTOR, |
| 736 |
containing_type=None, |
| 737 |
fields=[ |
| 738 |
_descriptor.FieldDescriptor( |
| 739 |
name="msg", |
| 740 |
full_name="IOSXRExtensibleManagabilityService.CommitArgs.msg", |
| 741 |
index=0, |
| 742 |
number=1, |
| 743 |
type=11, |
| 744 |
cpp_type=10, |
| 745 |
label=1, |
| 746 |
has_default_value=False, |
| 747 |
default_value=None, |
| 748 |
message_type=None, |
| 749 |
enum_type=None, |
| 750 |
containing_type=None, |
| 751 |
is_extension=False, |
| 752 |
extension_scope=None, |
| 753 |
options=None, |
| 754 |
), |
| 755 |
_descriptor.FieldDescriptor( |
| 756 |
name="ReqId", |
| 757 |
full_name="IOSXRExtensibleManagabilityService.CommitArgs.ReqId", |
| 758 |
index=1, |
| 759 |
number=2, |
| 760 |
type=3, |
| 761 |
cpp_type=2, |
| 762 |
label=1, |
| 763 |
has_default_value=False, |
| 764 |
default_value=0, |
| 765 |
message_type=None, |
| 766 |
enum_type=None, |
| 767 |
containing_type=None, |
| 768 |
is_extension=False, |
| 769 |
extension_scope=None, |
| 770 |
options=None, |
| 771 |
), |
| 772 |
], |
| 773 |
extensions=[], |
| 774 |
nested_types=[], |
| 775 |
enum_types=[], |
| 776 |
options=None, |
| 777 |
is_extendable=False, |
| 778 |
syntax="proto3", |
| 779 |
extension_ranges=[], |
| 780 |
oneofs=[], |
| 781 |
serialized_start=659, |
| 782 |
serialized_end=746, |
| 783 |
) |
| 784 |
|
| 785 |
|
| 786 |
_COMMITREPLY = _descriptor.Descriptor( |
| 787 |
name="CommitReply", |
| 788 |
full_name="IOSXRExtensibleManagabilityService.CommitReply", |
| 789 |
filename=None, |
| 790 |
file=DESCRIPTOR, |
| 791 |
containing_type=None, |
| 792 |
fields=[ |
| 793 |
_descriptor.FieldDescriptor( |
| 794 |
name="result", |
| 795 |
full_name="IOSXRExtensibleManagabilityService.CommitReply.result", |
| 796 |
index=0, |
| 797 |
number=1, |
| 798 |
type=14, |
| 799 |
cpp_type=8, |
| 800 |
label=1, |
| 801 |
has_default_value=False, |
| 802 |
default_value=0, |
| 803 |
message_type=None, |
| 804 |
enum_type=None, |
| 805 |
containing_type=None, |
| 806 |
is_extension=False, |
| 807 |
extension_scope=None, |
| 808 |
options=None, |
| 809 |
), |
| 810 |
_descriptor.FieldDescriptor( |
| 811 |
name="ResReqId", |
| 812 |
full_name="IOSXRExtensibleManagabilityService.CommitReply.ResReqId", |
| 813 |
index=1, |
| 814 |
number=2, |
| 815 |
type=3, |
| 816 |
cpp_type=2, |
| 817 |
label=1, |
| 818 |
has_default_value=False, |
| 819 |
default_value=0, |
| 820 |
message_type=None, |
| 821 |
enum_type=None, |
| 822 |
containing_type=None, |
| 823 |
is_extension=False, |
| 824 |
extension_scope=None, |
| 825 |
options=None, |
| 826 |
), |
| 827 |
_descriptor.FieldDescriptor( |
| 828 |
name="errors", |
| 829 |
full_name="IOSXRExtensibleManagabilityService.CommitReply.errors", |
| 830 |
index=2, |
| 831 |
number=3, |
| 832 |
type=9, |
| 833 |
cpp_type=9, |
| 834 |
label=1, |
| 835 |
has_default_value=False, |
| 836 |
default_value=_b("").decode("utf-8"), |
| 837 |
message_type=None, |
| 838 |
enum_type=None, |
| 839 |
containing_type=None, |
| 840 |
is_extension=False, |
| 841 |
extension_scope=None, |
| 842 |
options=None, |
| 843 |
), |
| 844 |
], |
| 845 |
extensions=[], |
| 846 |
nested_types=[], |
| 847 |
enum_types=[], |
| 848 |
options=None, |
| 849 |
is_extendable=False, |
| 850 |
syntax="proto3", |
| 851 |
extension_ranges=[], |
| 852 |
oneofs=[], |
| 853 |
serialized_start=748, |
| 854 |
serialized_end=861, |
| 855 |
) |
| 856 |
|
| 857 |
|
| 858 |
_DISCARDCHANGESARGS = _descriptor.Descriptor( |
| 859 |
name="DiscardChangesArgs", |
| 860 |
full_name="IOSXRExtensibleManagabilityService.DiscardChangesArgs", |
| 861 |
filename=None, |
| 862 |
file=DESCRIPTOR, |
| 863 |
containing_type=None, |
| 864 |
fields=[ |
| 865 |
_descriptor.FieldDescriptor( |
| 866 |
name="ReqId", |
| 867 |
full_name="IOSXRExtensibleManagabilityService.DiscardChangesArgs.ReqId", |
| 868 |
index=0, |
| 869 |
number=1, |
| 870 |
type=3, |
| 871 |
cpp_type=2, |
| 872 |
label=1, |
| 873 |
has_default_value=False, |
| 874 |
default_value=0, |
| 875 |
message_type=None, |
| 876 |
enum_type=None, |
| 877 |
containing_type=None, |
| 878 |
is_extension=False, |
| 879 |
extension_scope=None, |
| 880 |
options=None, |
| 881 |
), |
| 882 |
], |
| 883 |
extensions=[], |
| 884 |
nested_types=[], |
| 885 |
enum_types=[], |
| 886 |
options=None, |
| 887 |
is_extendable=False, |
| 888 |
syntax="proto3", |
| 889 |
extension_ranges=[], |
| 890 |
oneofs=[], |
| 891 |
serialized_start=863, |
| 892 |
serialized_end=898, |
| 893 |
) |
| 894 |
|
| 895 |
|
| 896 |
_DISCARDCHANGESREPLY = _descriptor.Descriptor( |
| 897 |
name="DiscardChangesReply", |
| 898 |
full_name="IOSXRExtensibleManagabilityService.DiscardChangesReply", |
| 899 |
filename=None, |
| 900 |
file=DESCRIPTOR, |
| 901 |
containing_type=None, |
| 902 |
fields=[ |
| 903 |
_descriptor.FieldDescriptor( |
| 904 |
name="ResReqId", |
| 905 |
full_name="IOSXRExtensibleManagabilityService.DiscardChangesReply.ResReqId", |
| 906 |
index=0, |
| 907 |
number=1, |
| 908 |
type=3, |
| 909 |
cpp_type=2, |
| 910 |
label=1, |
| 911 |
has_default_value=False, |
| 912 |
default_value=0, |
| 913 |
message_type=None, |
| 914 |
enum_type=None, |
| 915 |
containing_type=None, |
| 916 |
is_extension=False, |
| 917 |
extension_scope=None, |
| 918 |
options=None, |
| 919 |
), |
| 920 |
_descriptor.FieldDescriptor( |
| 921 |
name="errors", |
| 922 |
full_name="IOSXRExtensibleManagabilityService.DiscardChangesReply.errors", |
| 923 |
index=1, |
| 924 |
number=2, |
| 925 |
type=9, |
| 926 |
cpp_type=9, |
| 927 |
label=1, |
| 928 |
has_default_value=False, |
| 929 |
default_value=_b("").decode("utf-8"), |
| 930 |
message_type=None, |
| 931 |
enum_type=None, |
| 932 |
containing_type=None, |
| 933 |
is_extension=False, |
| 934 |
extension_scope=None, |
| 935 |
options=None, |
| 936 |
), |
| 937 |
], |
| 938 |
extensions=[], |
| 939 |
nested_types=[], |
| 940 |
enum_types=[], |
| 941 |
options=None, |
| 942 |
is_extendable=False, |
| 943 |
syntax="proto3", |
| 944 |
extension_ranges=[], |
| 945 |
oneofs=[], |
| 946 |
serialized_start=900, |
| 947 |
serialized_end=955, |
| 948 |
) |
| 949 |
|
| 950 |
|
| 951 |
_SHOWCMDARGS = _descriptor.Descriptor( |
| 952 |
name="ShowCmdArgs", |
| 953 |
full_name="IOSXRExtensibleManagabilityService.ShowCmdArgs", |
| 954 |
filename=None, |
| 955 |
file=DESCRIPTOR, |
| 956 |
containing_type=None, |
| 957 |
fields=[ |
| 958 |
_descriptor.FieldDescriptor( |
| 959 |
name="ReqId", |
| 960 |
full_name="IOSXRExtensibleManagabilityService.ShowCmdArgs.ReqId", |
| 961 |
index=0, |
| 962 |
number=1, |
| 963 |
type=3, |
| 964 |
cpp_type=2, |
| 965 |
label=1, |
| 966 |
has_default_value=False, |
| 967 |
default_value=0, |
| 968 |
message_type=None, |
| 969 |
enum_type=None, |
| 970 |
containing_type=None, |
| 971 |
is_extension=False, |
| 972 |
extension_scope=None, |
| 973 |
options=None, |
| 974 |
), |
| 975 |
_descriptor.FieldDescriptor( |
| 976 |
name="cli", |
| 977 |
full_name="IOSXRExtensibleManagabilityService.ShowCmdArgs.cli", |
| 978 |
index=1, |
| 979 |
number=2, |
| 980 |
type=9, |
| 981 |
cpp_type=9, |
| 982 |
label=1, |
| 983 |
has_default_value=False, |
| 984 |
default_value=_b("").decode("utf-8"), |
| 985 |
message_type=None, |
| 986 |
enum_type=None, |
| 987 |
containing_type=None, |
| 988 |
is_extension=False, |
| 989 |
extension_scope=None, |
| 990 |
options=None, |
| 991 |
), |
| 992 |
], |
| 993 |
extensions=[], |
| 994 |
nested_types=[], |
| 995 |
enum_types=[], |
| 996 |
options=None, |
| 997 |
is_extendable=False, |
| 998 |
syntax="proto3", |
| 999 |
extension_ranges=[], |
| 1000 |
oneofs=[], |
| 1001 |
serialized_start=957, |
| 1002 |
serialized_end=998, |
| 1003 |
) |
| 1004 |
|
| 1005 |
|
| 1006 |
_SHOWCMDTEXTREPLY = _descriptor.Descriptor( |
| 1007 |
name="ShowCmdTextReply", |
| 1008 |
full_name="IOSXRExtensibleManagabilityService.ShowCmdTextReply", |
| 1009 |
filename=None, |
| 1010 |
file=DESCRIPTOR, |
| 1011 |
containing_type=None, |
| 1012 |
fields=[ |
| 1013 |
_descriptor.FieldDescriptor( |
| 1014 |
name="ResReqId", |
| 1015 |
full_name="IOSXRExtensibleManagabilityService.ShowCmdTextReply.ResReqId", |
| 1016 |
index=0, |
| 1017 |
number=1, |
| 1018 |
type=3, |
| 1019 |
cpp_type=2, |
| 1020 |
label=1, |
| 1021 |
has_default_value=False, |
| 1022 |
default_value=0, |
| 1023 |
message_type=None, |
| 1024 |
enum_type=None, |
| 1025 |
containing_type=None, |
| 1026 |
is_extension=False, |
| 1027 |
extension_scope=None, |
| 1028 |
options=None, |
| 1029 |
), |
| 1030 |
_descriptor.FieldDescriptor( |
| 1031 |
name="output", |
| 1032 |
full_name="IOSXRExtensibleManagabilityService.ShowCmdTextReply.output", |
| 1033 |
index=1, |
| 1034 |
number=2, |
| 1035 |
type=9, |
| 1036 |
cpp_type=9, |
| 1037 |
label=1, |
| 1038 |
has_default_value=False, |
| 1039 |
default_value=_b("").decode("utf-8"), |
| 1040 |
message_type=None, |
| 1041 |
enum_type=None, |
| 1042 |
containing_type=None, |
| 1043 |
is_extension=False, |
| 1044 |
extension_scope=None, |
| 1045 |
options=None, |
| 1046 |
), |
| 1047 |
_descriptor.FieldDescriptor( |
| 1048 |
name="errors", |
| 1049 |
full_name="IOSXRExtensibleManagabilityService.ShowCmdTextReply.errors", |
| 1050 |
index=2, |
| 1051 |
number=3, |
| 1052 |
type=9, |
| 1053 |
cpp_type=9, |
| 1054 |
label=1, |
| 1055 |
has_default_value=False, |
| 1056 |
default_value=_b("").decode("utf-8"), |
| 1057 |
message_type=None, |
| 1058 |
enum_type=None, |
| 1059 |
containing_type=None, |
| 1060 |
is_extension=False, |
| 1061 |
extension_scope=None, |
| 1062 |
options=None, |
| 1063 |
), |
| 1064 |
], |
| 1065 |
extensions=[], |
| 1066 |
nested_types=[], |
| 1067 |
enum_types=[], |
| 1068 |
options=None, |
| 1069 |
is_extendable=False, |
| 1070 |
syntax="proto3", |
| 1071 |
extension_ranges=[], |
| 1072 |
oneofs=[], |
| 1073 |
serialized_start=1000, |
| 1074 |
serialized_end=1068, |
| 1075 |
) |
| 1076 |
|
| 1077 |
|
| 1078 |
_SHOWCMDJSONREPLY = _descriptor.Descriptor( |
| 1079 |
name="ShowCmdJSONReply", |
| 1080 |
full_name="IOSXRExtensibleManagabilityService.ShowCmdJSONReply", |
| 1081 |
filename=None, |
| 1082 |
file=DESCRIPTOR, |
| 1083 |
containing_type=None, |
| 1084 |
fields=[ |
| 1085 |
_descriptor.FieldDescriptor( |
| 1086 |
name="ResReqId", |
| 1087 |
full_name="IOSXRExtensibleManagabilityService.ShowCmdJSONReply.ResReqId", |
| 1088 |
index=0, |
| 1089 |
number=1, |
| 1090 |
type=3, |
| 1091 |
cpp_type=2, |
| 1092 |
label=1, |
| 1093 |
has_default_value=False, |
| 1094 |
default_value=0, |
| 1095 |
message_type=None, |
| 1096 |
enum_type=None, |
| 1097 |
containing_type=None, |
| 1098 |
is_extension=False, |
| 1099 |
extension_scope=None, |
| 1100 |
options=None, |
| 1101 |
), |
| 1102 |
_descriptor.FieldDescriptor( |
| 1103 |
name="jsonoutput", |
| 1104 |
full_name="IOSXRExtensibleManagabilityService.ShowCmdJSONReply.jsonoutput", |
| 1105 |
index=1, |
| 1106 |
number=2, |
| 1107 |
type=9, |
| 1108 |
cpp_type=9, |
| 1109 |
label=1, |
| 1110 |
has_default_value=False, |
| 1111 |
default_value=_b("").decode("utf-8"), |
| 1112 |
message_type=None, |
| 1113 |
enum_type=None, |
| 1114 |
containing_type=None, |
| 1115 |
is_extension=False, |
| 1116 |
extension_scope=None, |
| 1117 |
options=None, |
| 1118 |
), |
| 1119 |
_descriptor.FieldDescriptor( |
| 1120 |
name="errors", |
| 1121 |
full_name="IOSXRExtensibleManagabilityService.ShowCmdJSONReply.errors", |
| 1122 |
index=2, |
| 1123 |
number=3, |
| 1124 |
type=9, |
| 1125 |
cpp_type=9, |
| 1126 |
label=1, |
| 1127 |
has_default_value=False, |
| 1128 |
default_value=_b("").decode("utf-8"), |
| 1129 |
message_type=None, |
| 1130 |
enum_type=None, |
| 1131 |
containing_type=None, |
| 1132 |
is_extension=False, |
| 1133 |
extension_scope=None, |
| 1134 |
options=None, |
| 1135 |
), |
| 1136 |
], |
| 1137 |
extensions=[], |
| 1138 |
nested_types=[], |
| 1139 |
enum_types=[], |
| 1140 |
options=None, |
| 1141 |
is_extendable=False, |
| 1142 |
syntax="proto3", |
| 1143 |
extension_ranges=[], |
| 1144 |
oneofs=[], |
| 1145 |
serialized_start=1070, |
| 1146 |
serialized_end=1142, |
| 1147 |
) |
| 1148 |
|
| 1149 |
|
| 1150 |
_CREATESUBSARGS = _descriptor.Descriptor( |
| 1151 |
name="CreateSubsArgs", |
| 1152 |
full_name="IOSXRExtensibleManagabilityService.CreateSubsArgs", |
| 1153 |
filename=None, |
| 1154 |
file=DESCRIPTOR, |
| 1155 |
containing_type=None, |
| 1156 |
fields=[ |
| 1157 |
_descriptor.FieldDescriptor( |
| 1158 |
name="ReqId", |
| 1159 |
full_name="IOSXRExtensibleManagabilityService.CreateSubsArgs.ReqId", |
| 1160 |
index=0, |
| 1161 |
number=1, |
| 1162 |
type=3, |
| 1163 |
cpp_type=2, |
| 1164 |
label=1, |
| 1165 |
has_default_value=False, |
| 1166 |
default_value=0, |
| 1167 |
message_type=None, |
| 1168 |
enum_type=None, |
| 1169 |
containing_type=None, |
| 1170 |
is_extension=False, |
| 1171 |
extension_scope=None, |
| 1172 |
options=None, |
| 1173 |
), |
| 1174 |
_descriptor.FieldDescriptor( |
| 1175 |
name="encode", |
| 1176 |
full_name="IOSXRExtensibleManagabilityService.CreateSubsArgs.encode", |
| 1177 |
index=1, |
| 1178 |
number=2, |
| 1179 |
type=3, |
| 1180 |
cpp_type=2, |
| 1181 |
label=1, |
| 1182 |
has_default_value=False, |
| 1183 |
default_value=0, |
| 1184 |
message_type=None, |
| 1185 |
enum_type=None, |
| 1186 |
containing_type=None, |
| 1187 |
is_extension=False, |
| 1188 |
extension_scope=None, |
| 1189 |
options=None, |
| 1190 |
), |
| 1191 |
_descriptor.FieldDescriptor( |
| 1192 |
name="subidstr", |
| 1193 |
full_name="IOSXRExtensibleManagabilityService.CreateSubsArgs.subidstr", |
| 1194 |
index=2, |
| 1195 |
number=3, |
| 1196 |
type=9, |
| 1197 |
cpp_type=9, |
| 1198 |
label=1, |
| 1199 |
has_default_value=False, |
| 1200 |
default_value=_b("").decode("utf-8"), |
| 1201 |
message_type=None, |
| 1202 |
enum_type=None, |
| 1203 |
containing_type=None, |
| 1204 |
is_extension=False, |
| 1205 |
extension_scope=None, |
| 1206 |
options=None, |
| 1207 |
), |
| 1208 |
], |
| 1209 |
extensions=[], |
| 1210 |
nested_types=[], |
| 1211 |
enum_types=[], |
| 1212 |
options=None, |
| 1213 |
is_extendable=False, |
| 1214 |
syntax="proto3", |
| 1215 |
extension_ranges=[], |
| 1216 |
oneofs=[], |
| 1217 |
serialized_start=1144, |
| 1218 |
serialized_end=1209, |
| 1219 |
) |
| 1220 |
|
| 1221 |
|
| 1222 |
_CREATESUBSREPLY = _descriptor.Descriptor( |
| 1223 |
name="CreateSubsReply", |
| 1224 |
full_name="IOSXRExtensibleManagabilityService.CreateSubsReply", |
| 1225 |
filename=None, |
| 1226 |
file=DESCRIPTOR, |
| 1227 |
containing_type=None, |
| 1228 |
fields=[ |
| 1229 |
_descriptor.FieldDescriptor( |
| 1230 |
name="ResReqId", |
| 1231 |
full_name="IOSXRExtensibleManagabilityService.CreateSubsReply.ResReqId", |
| 1232 |
index=0, |
| 1233 |
number=1, |
| 1234 |
type=3, |
| 1235 |
cpp_type=2, |
| 1236 |
label=1, |
| 1237 |
has_default_value=False, |
| 1238 |
default_value=0, |
| 1239 |
message_type=None, |
| 1240 |
enum_type=None, |
| 1241 |
containing_type=None, |
| 1242 |
is_extension=False, |
| 1243 |
extension_scope=None, |
| 1244 |
options=None, |
| 1245 |
), |
| 1246 |
_descriptor.FieldDescriptor( |
| 1247 |
name="data", |
| 1248 |
full_name="IOSXRExtensibleManagabilityService.CreateSubsReply.data", |
| 1249 |
index=1, |
| 1250 |
number=2, |
| 1251 |
type=12, |
| 1252 |
cpp_type=9, |
| 1253 |
label=1, |
| 1254 |
has_default_value=False, |
| 1255 |
default_value=_b(""), |
| 1256 |
message_type=None, |
| 1257 |
enum_type=None, |
| 1258 |
containing_type=None, |
| 1259 |
is_extension=False, |
| 1260 |
extension_scope=None, |
| 1261 |
options=None, |
| 1262 |
), |
| 1263 |
_descriptor.FieldDescriptor( |
| 1264 |
name="errors", |
| 1265 |
full_name="IOSXRExtensibleManagabilityService.CreateSubsReply.errors", |
| 1266 |
index=2, |
| 1267 |
number=3, |
| 1268 |
type=9, |
| 1269 |
cpp_type=9, |
| 1270 |
label=1, |
| 1271 |
has_default_value=False, |
| 1272 |
default_value=_b("").decode("utf-8"), |
| 1273 |
message_type=None, |
| 1274 |
enum_type=None, |
| 1275 |
containing_type=None, |
| 1276 |
is_extension=False, |
| 1277 |
extension_scope=None, |
| 1278 |
options=None, |
| 1279 |
), |
| 1280 |
], |
| 1281 |
extensions=[], |
| 1282 |
nested_types=[], |
| 1283 |
enum_types=[], |
| 1284 |
options=None, |
| 1285 |
is_extendable=False, |
| 1286 |
syntax="proto3", |
| 1287 |
extension_ranges=[], |
| 1288 |
oneofs=[], |
| 1289 |
serialized_start=1211, |
| 1290 |
serialized_end=1276, |
| 1291 |
) |
| 1292 |
|
| 1293 |
_COMMITARGS.fields_by_name["msg"].message_type = _COMMITMSG |
| 1294 |
_COMMITREPLY.fields_by_name["result"].enum_type = _COMMITRESULT |
| 1295 |
DESCRIPTOR.message_types_by_name["ConfigGetArgs"] = _CONFIGGETARGS |
| 1296 |
DESCRIPTOR.message_types_by_name["ConfigGetReply"] = _CONFIGGETREPLY |
| 1297 |
DESCRIPTOR.message_types_by_name["GetOperArgs"] = _GETOPERARGS |
| 1298 |
DESCRIPTOR.message_types_by_name["GetOperReply"] = _GETOPERREPLY |
| 1299 |
DESCRIPTOR.message_types_by_name["ConfigArgs"] = _CONFIGARGS |
| 1300 |
DESCRIPTOR.message_types_by_name["ConfigReply"] = _CONFIGREPLY |
| 1301 |
DESCRIPTOR.message_types_by_name["CliConfigArgs"] = _CLICONFIGARGS |
| 1302 |
DESCRIPTOR.message_types_by_name["CliConfigReply"] = _CLICONFIGREPLY |
| 1303 |
DESCRIPTOR.message_types_by_name["CommitReplaceArgs"] = _COMMITREPLACEARGS |
| 1304 |
DESCRIPTOR.message_types_by_name["CommitReplaceReply"] = _COMMITREPLACEREPLY |
| 1305 |
DESCRIPTOR.message_types_by_name["CommitMsg"] = _COMMITMSG |
| 1306 |
DESCRIPTOR.message_types_by_name["CommitArgs"] = _COMMITARGS |
| 1307 |
DESCRIPTOR.message_types_by_name["CommitReply"] = _COMMITREPLY |
| 1308 |
DESCRIPTOR.message_types_by_name["DiscardChangesArgs"] = _DISCARDCHANGESARGS |
| 1309 |
DESCRIPTOR.message_types_by_name["DiscardChangesReply"] = _DISCARDCHANGESREPLY |
| 1310 |
DESCRIPTOR.message_types_by_name["ShowCmdArgs"] = _SHOWCMDARGS |
| 1311 |
DESCRIPTOR.message_types_by_name["ShowCmdTextReply"] = _SHOWCMDTEXTREPLY |
| 1312 |
DESCRIPTOR.message_types_by_name["ShowCmdJSONReply"] = _SHOWCMDJSONREPLY |
| 1313 |
DESCRIPTOR.message_types_by_name["CreateSubsArgs"] = _CREATESUBSARGS |
| 1314 |
DESCRIPTOR.message_types_by_name["CreateSubsReply"] = _CREATESUBSREPLY |
| 1315 |
DESCRIPTOR.enum_types_by_name["CommitResult"] = _COMMITRESULT |
| 1316 |
|
| 1317 |
ConfigGetArgs = _reflection.GeneratedProtocolMessageType( |
| 1318 |
"ConfigGetArgs", |
| 1319 |
(_message.Message,), |
| 1320 |
dict( |
| 1321 |
DESCRIPTOR=_CONFIGGETARGS, |
| 1322 |
__module__="ems_grpc_pb2", |
| 1323 |
# @@protoc_insertion_point(class_scope:IOSXRExtensibleManagabilityService.ConfigGetArgs) |
| 1324 |
), |
| 1325 |
) |
| 1326 |
_sym_db.RegisterMessage(ConfigGetArgs) |
| 1327 |
|
| 1328 |
ConfigGetReply = _reflection.GeneratedProtocolMessageType( |
| 1329 |
"ConfigGetReply", |
| 1330 |
(_message.Message,), |
| 1331 |
dict( |
| 1332 |
DESCRIPTOR=_CONFIGGETREPLY, |
| 1333 |
__module__="ems_grpc_pb2", |
| 1334 |
# @@protoc_insertion_point(class_scope:IOSXRExtensibleManagabilityService.ConfigGetReply) |
| 1335 |
), |
| 1336 |
) |
| 1337 |
_sym_db.RegisterMessage(ConfigGetReply) |
| 1338 |
|
| 1339 |
GetOperArgs = _reflection.GeneratedProtocolMessageType( |
| 1340 |
"GetOperArgs", |
| 1341 |
(_message.Message,), |
| 1342 |
dict( |
| 1343 |
DESCRIPTOR=_GETOPERARGS, |
| 1344 |
__module__="ems_grpc_pb2", |
| 1345 |
# @@protoc_insertion_point(class_scope:IOSXRExtensibleManagabilityService.GetOperArgs) |
| 1346 |
), |
| 1347 |
) |
| 1348 |
_sym_db.RegisterMessage(GetOperArgs) |
| 1349 |
|
| 1350 |
GetOperReply = _reflection.GeneratedProtocolMessageType( |
| 1351 |
"GetOperReply", |
| 1352 |
(_message.Message,), |
| 1353 |
dict( |
| 1354 |
DESCRIPTOR=_GETOPERREPLY, |
| 1355 |
__module__="ems_grpc_pb2", |
| 1356 |
# @@protoc_insertion_point(class_scope:IOSXRExtensibleManagabilityService.GetOperReply) |
| 1357 |
), |
| 1358 |
) |
| 1359 |
_sym_db.RegisterMessage(GetOperReply) |
| 1360 |
|
| 1361 |
ConfigArgs = _reflection.GeneratedProtocolMessageType( |
| 1362 |
"ConfigArgs", |
| 1363 |
(_message.Message,), |
| 1364 |
dict( |
| 1365 |
DESCRIPTOR=_CONFIGARGS, |
| 1366 |
__module__="ems_grpc_pb2", |
| 1367 |
# @@protoc_insertion_point(class_scope:IOSXRExtensibleManagabilityService.ConfigArgs) |
| 1368 |
), |
| 1369 |
) |
| 1370 |
_sym_db.RegisterMessage(ConfigArgs) |
| 1371 |
|
| 1372 |
ConfigReply = _reflection.GeneratedProtocolMessageType( |
| 1373 |
"ConfigReply", |
| 1374 |
(_message.Message,), |
| 1375 |
dict( |
| 1376 |
DESCRIPTOR=_CONFIGREPLY, |
| 1377 |
__module__="ems_grpc_pb2", |
| 1378 |
# @@protoc_insertion_point(class_scope:IOSXRExtensibleManagabilityService.ConfigReply) |
| 1379 |
), |
| 1380 |
) |
| 1381 |
_sym_db.RegisterMessage(ConfigReply) |
| 1382 |
|
| 1383 |
CliConfigArgs = _reflection.GeneratedProtocolMessageType( |
| 1384 |
"CliConfigArgs", |
| 1385 |
(_message.Message,), |
| 1386 |
dict( |
| 1387 |
DESCRIPTOR=_CLICONFIGARGS, |
| 1388 |
__module__="ems_grpc_pb2", |
| 1389 |
# @@protoc_insertion_point(class_scope:IOSXRExtensibleManagabilityService.CliConfigArgs) |
| 1390 |
), |
| 1391 |
) |
| 1392 |
_sym_db.RegisterMessage(CliConfigArgs) |
| 1393 |
|
| 1394 |
CliConfigReply = _reflection.GeneratedProtocolMessageType( |
| 1395 |
"CliConfigReply", |
| 1396 |
(_message.Message,), |
| 1397 |
dict( |
| 1398 |
DESCRIPTOR=_CLICONFIGREPLY, |
| 1399 |
__module__="ems_grpc_pb2", |
| 1400 |
# @@protoc_insertion_point(class_scope:IOSXRExtensibleManagabilityService.CliConfigReply) |
| 1401 |
), |
| 1402 |
) |
| 1403 |
_sym_db.RegisterMessage(CliConfigReply) |
| 1404 |
|
| 1405 |
CommitReplaceArgs = _reflection.GeneratedProtocolMessageType( |
| 1406 |
"CommitReplaceArgs", |
| 1407 |
(_message.Message,), |
| 1408 |
dict( |
| 1409 |
DESCRIPTOR=_COMMITREPLACEARGS, |
| 1410 |
__module__="ems_grpc_pb2", |
| 1411 |
# @@protoc_insertion_point(class_scope:IOSXRExtensibleManagabilityService.CommitReplaceArgs) |
| 1412 |
), |
| 1413 |
) |
| 1414 |
_sym_db.RegisterMessage(CommitReplaceArgs) |
| 1415 |
|
| 1416 |
CommitReplaceReply = _reflection.GeneratedProtocolMessageType( |
| 1417 |
"CommitReplaceReply", |
| 1418 |
(_message.Message,), |
| 1419 |
dict( |
| 1420 |
DESCRIPTOR=_COMMITREPLACEREPLY, |
| 1421 |
__module__="ems_grpc_pb2", |
| 1422 |
# @@protoc_insertion_point(class_scope:IOSXRExtensibleManagabilityService.CommitReplaceReply) |
| 1423 |
), |
| 1424 |
) |
| 1425 |
_sym_db.RegisterMessage(CommitReplaceReply) |
| 1426 |
|
| 1427 |
CommitMsg = _reflection.GeneratedProtocolMessageType( |
| 1428 |
"CommitMsg", |
| 1429 |
(_message.Message,), |
| 1430 |
dict( |
| 1431 |
DESCRIPTOR=_COMMITMSG, |
| 1432 |
__module__="ems_grpc_pb2", |
| 1433 |
# @@protoc_insertion_point(class_scope:IOSXRExtensibleManagabilityService.CommitMsg) |
| 1434 |
), |
| 1435 |
) |
| 1436 |
_sym_db.RegisterMessage(CommitMsg) |
| 1437 |
|
| 1438 |
CommitArgs = _reflection.GeneratedProtocolMessageType( |
| 1439 |
"CommitArgs", |
| 1440 |
(_message.Message,), |
| 1441 |
dict( |
| 1442 |
DESCRIPTOR=_COMMITARGS, |
| 1443 |
__module__="ems_grpc_pb2", |
| 1444 |
# @@protoc_insertion_point(class_scope:IOSXRExtensibleManagabilityService.CommitArgs) |
| 1445 |
), |
| 1446 |
) |
| 1447 |
_sym_db.RegisterMessage(CommitArgs) |
| 1448 |
|
| 1449 |
CommitReply = _reflection.GeneratedProtocolMessageType( |
| 1450 |
"CommitReply", |
| 1451 |
(_message.Message,), |
| 1452 |
dict( |
| 1453 |
DESCRIPTOR=_COMMITREPLY, |
| 1454 |
__module__="ems_grpc_pb2", |
| 1455 |
# @@protoc_insertion_point(class_scope:IOSXRExtensibleManagabilityService.CommitReply) |
| 1456 |
), |
| 1457 |
) |
| 1458 |
_sym_db.RegisterMessage(CommitReply) |
| 1459 |
|
| 1460 |
DiscardChangesArgs = _reflection.GeneratedProtocolMessageType( |
| 1461 |
"DiscardChangesArgs", |
| 1462 |
(_message.Message,), |
| 1463 |
dict( |
| 1464 |
DESCRIPTOR=_DISCARDCHANGESARGS, |
| 1465 |
__module__="ems_grpc_pb2", |
| 1466 |
# @@protoc_insertion_point(class_scope:IOSXRExtensibleManagabilityService.DiscardChangesArgs) |
| 1467 |
), |
| 1468 |
) |
| 1469 |
_sym_db.RegisterMessage(DiscardChangesArgs) |
| 1470 |
|
| 1471 |
DiscardChangesReply = _reflection.GeneratedProtocolMessageType( |
| 1472 |
"DiscardChangesReply", |
| 1473 |
(_message.Message,), |
| 1474 |
dict( |
| 1475 |
DESCRIPTOR=_DISCARDCHANGESREPLY, |
| 1476 |
__module__="ems_grpc_pb2", |
| 1477 |
# @@protoc_insertion_point(class_scope:IOSXRExtensibleManagabilityService.DiscardChangesReply) |
| 1478 |
), |
| 1479 |
) |
| 1480 |
_sym_db.RegisterMessage(DiscardChangesReply) |
| 1481 |
|
| 1482 |
ShowCmdArgs = _reflection.GeneratedProtocolMessageType( |
| 1483 |
"ShowCmdArgs", |
| 1484 |
(_message.Message,), |
| 1485 |
dict( |
| 1486 |
DESCRIPTOR=_SHOWCMDARGS, |
| 1487 |
__module__="ems_grpc_pb2", |
| 1488 |
# @@protoc_insertion_point(class_scope:IOSXRExtensibleManagabilityService.ShowCmdArgs) |
| 1489 |
), |
| 1490 |
) |
| 1491 |
_sym_db.RegisterMessage(ShowCmdArgs) |
| 1492 |
|
| 1493 |
ShowCmdTextReply = _reflection.GeneratedProtocolMessageType( |
| 1494 |
"ShowCmdTextReply", |
| 1495 |
(_message.Message,), |
| 1496 |
dict( |
| 1497 |
DESCRIPTOR=_SHOWCMDTEXTREPLY, |
| 1498 |
__module__="ems_grpc_pb2", |
| 1499 |
# @@protoc_insertion_point(class_scope:IOSXRExtensibleManagabilityService.ShowCmdTextReply) |
| 1500 |
), |
| 1501 |
) |
| 1502 |
_sym_db.RegisterMessage(ShowCmdTextReply) |
| 1503 |
|
| 1504 |
ShowCmdJSONReply = _reflection.GeneratedProtocolMessageType( |
| 1505 |
"ShowCmdJSONReply", |
| 1506 |
(_message.Message,), |
| 1507 |
dict( |
| 1508 |
DESCRIPTOR=_SHOWCMDJSONREPLY, |
| 1509 |
__module__="ems_grpc_pb2", |
| 1510 |
# @@protoc_insertion_point(class_scope:IOSXRExtensibleManagabilityService.ShowCmdJSONReply) |
| 1511 |
), |
| 1512 |
) |
| 1513 |
_sym_db.RegisterMessage(ShowCmdJSONReply) |
| 1514 |
|
| 1515 |
CreateSubsArgs = _reflection.GeneratedProtocolMessageType( |
| 1516 |
"CreateSubsArgs", |
| 1517 |
(_message.Message,), |
| 1518 |
dict( |
| 1519 |
DESCRIPTOR=_CREATESUBSARGS, |
| 1520 |
__module__="ems_grpc_pb2", |
| 1521 |
# @@protoc_insertion_point(class_scope:IOSXRExtensibleManagabilityService.CreateSubsArgs) |
| 1522 |
), |
| 1523 |
) |
| 1524 |
_sym_db.RegisterMessage(CreateSubsArgs) |
| 1525 |
|
| 1526 |
CreateSubsReply = _reflection.GeneratedProtocolMessageType( |
| 1527 |
"CreateSubsReply", |
| 1528 |
(_message.Message,), |
| 1529 |
dict( |
| 1530 |
DESCRIPTOR=_CREATESUBSREPLY, |
| 1531 |
__module__="ems_grpc_pb2", |
| 1532 |
# @@protoc_insertion_point(class_scope:IOSXRExtensibleManagabilityService.CreateSubsReply) |
| 1533 |
), |
| 1534 |
) |
| 1535 |
_sym_db.RegisterMessage(CreateSubsReply) |
| 1536 |
|
| 1537 |
|
| 1538 |
import grpc |
| 1539 |
|
| 1540 |
from grpc.beta import implementations as beta_implementations |
| 1541 |
from grpc.beta import interfaces as beta_interfaces |
| 1542 |
from grpc.framework.common import cardinality |
| 1543 |
from grpc.framework.interfaces.face import utilities as face_utilities |
| 1544 |
|
| 1545 |
|
| 1546 |
class gRPCConfigOperStub(object): |
| 1547 |
def __init__(self, channel): |
| 1548 |
"""Constructor. |
| 1549 |
|
| 1550 |
Args: |
| 1551 |
channel: A grpc.Channel. |
| 1552 |
""" |
| 1553 |
self.GetConfig = channel.unary_stream( |
| 1554 |
"/IOSXRExtensibleManagabilityService.gRPCConfigOper/GetConfig", |
| 1555 |
request_serializer=ConfigGetArgs.SerializeToString, |
| 1556 |
response_deserializer=ConfigGetReply.FromString, |
| 1557 |
) |
| 1558 |
self.MergeConfig = channel.unary_unary( |
| 1559 |
"/IOSXRExtensibleManagabilityService.gRPCConfigOper/MergeConfig", |
| 1560 |
request_serializer=ConfigArgs.SerializeToString, |
| 1561 |
response_deserializer=ConfigReply.FromString, |
| 1562 |
) |
| 1563 |
self.DeleteConfig = channel.unary_unary( |
| 1564 |
"/IOSXRExtensibleManagabilityService.gRPCConfigOper/DeleteConfig", |
| 1565 |
request_serializer=ConfigArgs.SerializeToString, |
| 1566 |
response_deserializer=ConfigReply.FromString, |
| 1567 |
) |
| 1568 |
self.ReplaceConfig = channel.unary_unary( |
| 1569 |
"/IOSXRExtensibleManagabilityService.gRPCConfigOper/ReplaceConfig", |
| 1570 |
request_serializer=ConfigArgs.SerializeToString, |
| 1571 |
response_deserializer=ConfigReply.FromString, |
| 1572 |
) |
| 1573 |
self.CliConfig = channel.unary_unary( |
| 1574 |
"/IOSXRExtensibleManagabilityService.gRPCConfigOper/CliConfig", |
| 1575 |
request_serializer=CliConfigArgs.SerializeToString, |
| 1576 |
response_deserializer=CliConfigReply.FromString, |
| 1577 |
) |
| 1578 |
self.CommitReplace = channel.unary_unary( |
| 1579 |
"/IOSXRExtensibleManagabilityService.gRPCConfigOper/CommitReplace", |
| 1580 |
request_serializer=CommitReplaceArgs.SerializeToString, |
| 1581 |
response_deserializer=CommitReplaceReply.FromString, |
| 1582 |
) |
| 1583 |
self.CommitConfig = channel.unary_unary( |
| 1584 |
"/IOSXRExtensibleManagabilityService.gRPCConfigOper/CommitConfig", |
| 1585 |
request_serializer=CommitArgs.SerializeToString, |
| 1586 |
response_deserializer=CommitReply.FromString, |
| 1587 |
) |
| 1588 |
self.ConfigDiscardChanges = channel.unary_unary( |
| 1589 |
"/IOSXRExtensibleManagabilityService.gRPCConfigOper/ConfigDiscardChanges", |
| 1590 |
request_serializer=DiscardChangesArgs.SerializeToString, |
| 1591 |
response_deserializer=DiscardChangesReply.FromString, |
| 1592 |
) |
| 1593 |
self.GetOper = channel.unary_stream( |
| 1594 |
"/IOSXRExtensibleManagabilityService.gRPCConfigOper/GetOper", |
| 1595 |
request_serializer=GetOperArgs.SerializeToString, |
| 1596 |
response_deserializer=GetOperReply.FromString, |
| 1597 |
) |
| 1598 |
self.CreateSubs = channel.unary_stream( |
| 1599 |
"/IOSXRExtensibleManagabilityService.gRPCConfigOper/CreateSubs", |
| 1600 |
request_serializer=CreateSubsArgs.SerializeToString, |
| 1601 |
response_deserializer=CreateSubsReply.FromString, |
| 1602 |
) |
| 1603 |
|
| 1604 |
|
| 1605 |
class gRPCConfigOperServicer(object): |
| 1606 |
def GetConfig(self, request, context): |
| 1607 |
"""Configuration related commands""" |
| 1608 |
context.set_code(grpc.StatusCode.UNIMPLEMENTED) |
| 1609 |
context.set_details("Method not implemented!") |
| 1610 |
raise NotImplementedError("Method not implemented!") |
| 1611 |
|
| 1612 |
def MergeConfig(self, request, context): |
| 1613 |
context.set_code(grpc.StatusCode.UNIMPLEMENTED) |
| 1614 |
context.set_details("Method not implemented!") |
| 1615 |
raise NotImplementedError("Method not implemented!") |
| 1616 |
|
| 1617 |
def DeleteConfig(self, request, context): |
| 1618 |
context.set_code(grpc.StatusCode.UNIMPLEMENTED) |
| 1619 |
context.set_details("Method not implemented!") |
| 1620 |
raise NotImplementedError("Method not implemented!") |
| 1621 |
|
| 1622 |
def ReplaceConfig(self, request, context): |
| 1623 |
context.set_code(grpc.StatusCode.UNIMPLEMENTED) |
| 1624 |
context.set_details("Method not implemented!") |
| 1625 |
raise NotImplementedError("Method not implemented!") |
| 1626 |
|
| 1627 |
def CliConfig(self, request, context): |
| 1628 |
context.set_code(grpc.StatusCode.UNIMPLEMENTED) |
| 1629 |
context.set_details("Method not implemented!") |
| 1630 |
raise NotImplementedError("Method not implemented!") |
| 1631 |
|
| 1632 |
def CommitReplace(self, request, context): |
| 1633 |
context.set_code(grpc.StatusCode.UNIMPLEMENTED) |
| 1634 |
context.set_details("Method not implemented!") |
| 1635 |
raise NotImplementedError("Method not implemented!") |
| 1636 |
|
| 1637 |
def CommitConfig(self, request, context): |
| 1638 |
"""Do we need implicit or explicit commit""" |
| 1639 |
context.set_code(grpc.StatusCode.UNIMPLEMENTED) |
| 1640 |
context.set_details("Method not implemented!") |
| 1641 |
raise NotImplementedError("Method not implemented!") |
| 1642 |
|
| 1643 |
def ConfigDiscardChanges(self, request, context): |
| 1644 |
context.set_code(grpc.StatusCode.UNIMPLEMENTED) |
| 1645 |
context.set_details("Method not implemented!") |
| 1646 |
raise NotImplementedError("Method not implemented!") |
| 1647 |
|
| 1648 |
def GetOper(self, request, context): |
| 1649 |
"""Get only returns oper data""" |
| 1650 |
context.set_code(grpc.StatusCode.UNIMPLEMENTED) |
| 1651 |
context.set_details("Method not implemented!") |
| 1652 |
raise NotImplementedError("Method not implemented!") |
| 1653 |
|
| 1654 |
def CreateSubs(self, request, context): |
| 1655 |
"""Get Telemetry Data""" |
| 1656 |
context.set_code(grpc.StatusCode.UNIMPLEMENTED) |
| 1657 |
context.set_details("Method not implemented!") |
| 1658 |
raise NotImplementedError("Method not implemented!") |
| 1659 |
|
| 1660 |
|
| 1661 |
def add_gRPCConfigOperServicer_to_server(servicer, server): |
| 1662 |
rpc_method_handlers = { |
| 1663 |
"GetConfig": grpc.unary_stream_rpc_method_handler( |
| 1664 |
servicer.GetConfig, |
| 1665 |
request_deserializer=ConfigGetArgs.FromString, |
| 1666 |
response_serializer=ConfigGetReply.SerializeToString, |
| 1667 |
), |
| 1668 |
"MergeConfig": grpc.unary_unary_rpc_method_handler( |
| 1669 |
servicer.MergeConfig, |
| 1670 |
request_deserializer=ConfigArgs.FromString, |
| 1671 |
response_serializer=ConfigReply.SerializeToString, |
| 1672 |
), |
| 1673 |
"DeleteConfig": grpc.unary_unary_rpc_method_handler( |
| 1674 |
servicer.DeleteConfig, |
| 1675 |
request_deserializer=ConfigArgs.FromString, |
| 1676 |
response_serializer=ConfigReply.SerializeToString, |
| 1677 |
), |
| 1678 |
"ReplaceConfig": grpc.unary_unary_rpc_method_handler( |
| 1679 |
servicer.ReplaceConfig, |
| 1680 |
request_deserializer=ConfigArgs.FromString, |
| 1681 |
response_serializer=ConfigReply.SerializeToString, |
| 1682 |
), |
| 1683 |
"CliConfig": grpc.unary_unary_rpc_method_handler( |
| 1684 |
servicer.CliConfig, |
| 1685 |
request_deserializer=CliConfigArgs.FromString, |
| 1686 |
response_serializer=CliConfigReply.SerializeToString, |
| 1687 |
), |
| 1688 |
"CommitReplace": grpc.unary_unary_rpc_method_handler( |
| 1689 |
servicer.CommitReplace, |
| 1690 |
request_deserializer=CommitReplaceArgs.FromString, |
| 1691 |
response_serializer=CommitReplaceReply.SerializeToString, |
| 1692 |
), |
| 1693 |
"CommitConfig": grpc.unary_unary_rpc_method_handler( |
| 1694 |
servicer.CommitConfig, |
| 1695 |
request_deserializer=CommitArgs.FromString, |
| 1696 |
response_serializer=CommitReply.SerializeToString, |
| 1697 |
), |
| 1698 |
"ConfigDiscardChanges": grpc.unary_unary_rpc_method_handler( |
| 1699 |
servicer.ConfigDiscardChanges, |
| 1700 |
request_deserializer=DiscardChangesArgs.FromString, |
| 1701 |
response_serializer=DiscardChangesReply.SerializeToString, |
| 1702 |
), |
| 1703 |
"GetOper": grpc.unary_stream_rpc_method_handler( |
| 1704 |
servicer.GetOper, |
| 1705 |
request_deserializer=GetOperArgs.FromString, |
| 1706 |
response_serializer=GetOperReply.SerializeToString, |
| 1707 |
), |
| 1708 |
"CreateSubs": grpc.unary_stream_rpc_method_handler( |
| 1709 |
servicer.CreateSubs, |
| 1710 |
request_deserializer=CreateSubsArgs.FromString, |
| 1711 |
response_serializer=CreateSubsReply.SerializeToString, |
| 1712 |
), |
| 1713 |
} |
| 1714 |
generic_handler = grpc.method_handlers_generic_handler( |
| 1715 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 1716 |
rpc_method_handlers, |
| 1717 |
) |
| 1718 |
server.add_generic_rpc_handlers((generic_handler,)) |
| 1719 |
|
| 1720 |
|
| 1721 |
class BetagRPCConfigOperServicer(object): |
| 1722 |
def GetConfig(self, request, context): |
| 1723 |
"""Configuration related commands""" |
| 1724 |
context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) |
| 1725 |
|
| 1726 |
def MergeConfig(self, request, context): |
| 1727 |
context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) |
| 1728 |
|
| 1729 |
def DeleteConfig(self, request, context): |
| 1730 |
context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) |
| 1731 |
|
| 1732 |
def ReplaceConfig(self, request, context): |
| 1733 |
context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) |
| 1734 |
|
| 1735 |
def CliConfig(self, request, context): |
| 1736 |
context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) |
| 1737 |
|
| 1738 |
def CommitReplace(self, request, context): |
| 1739 |
context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) |
| 1740 |
|
| 1741 |
def CommitConfig(self, request, context): |
| 1742 |
"""Do we need implicit or explicit commit""" |
| 1743 |
context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) |
| 1744 |
|
| 1745 |
def ConfigDiscardChanges(self, request, context): |
| 1746 |
context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) |
| 1747 |
|
| 1748 |
def GetOper(self, request, context): |
| 1749 |
"""Get only returns oper data""" |
| 1750 |
context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) |
| 1751 |
|
| 1752 |
def CreateSubs(self, request, context): |
| 1753 |
"""Get Telemetry Data""" |
| 1754 |
context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) |
| 1755 |
|
| 1756 |
|
| 1757 |
class BetagRPCConfigOperStub(object): |
| 1758 |
def GetConfig( |
| 1759 |
self, |
| 1760 |
request, |
| 1761 |
timeout, |
| 1762 |
metadata=None, |
| 1763 |
with_call=False, |
| 1764 |
protocol_options=None, |
| 1765 |
): |
| 1766 |
"""Configuration related commands""" |
| 1767 |
raise NotImplementedError() |
| 1768 |
|
| 1769 |
def MergeConfig( |
| 1770 |
self, |
| 1771 |
request, |
| 1772 |
timeout, |
| 1773 |
metadata=None, |
| 1774 |
with_call=False, |
| 1775 |
protocol_options=None, |
| 1776 |
): |
| 1777 |
raise NotImplementedError() |
| 1778 |
|
| 1779 |
MergeConfig.future = None |
| 1780 |
|
| 1781 |
def DeleteConfig( |
| 1782 |
self, |
| 1783 |
request, |
| 1784 |
timeout, |
| 1785 |
metadata=None, |
| 1786 |
with_call=False, |
| 1787 |
protocol_options=None, |
| 1788 |
): |
| 1789 |
raise NotImplementedError() |
| 1790 |
|
| 1791 |
DeleteConfig.future = None |
| 1792 |
|
| 1793 |
def ReplaceConfig( |
| 1794 |
self, |
| 1795 |
request, |
| 1796 |
timeout, |
| 1797 |
metadata=None, |
| 1798 |
with_call=False, |
| 1799 |
protocol_options=None, |
| 1800 |
): |
| 1801 |
raise NotImplementedError() |
| 1802 |
|
| 1803 |
ReplaceConfig.future = None |
| 1804 |
|
| 1805 |
def CliConfig( |
| 1806 |
self, |
| 1807 |
request, |
| 1808 |
timeout, |
| 1809 |
metadata=None, |
| 1810 |
with_call=False, |
| 1811 |
protocol_options=None, |
| 1812 |
): |
| 1813 |
raise NotImplementedError() |
| 1814 |
|
| 1815 |
CliConfig.future = None |
| 1816 |
|
| 1817 |
def CommitReplace( |
| 1818 |
self, |
| 1819 |
request, |
| 1820 |
timeout, |
| 1821 |
metadata=None, |
| 1822 |
with_call=False, |
| 1823 |
protocol_options=None, |
| 1824 |
): |
| 1825 |
raise NotImplementedError() |
| 1826 |
|
| 1827 |
CommitReplace.future = None |
| 1828 |
|
| 1829 |
def CommitConfig( |
| 1830 |
self, |
| 1831 |
request, |
| 1832 |
timeout, |
| 1833 |
metadata=None, |
| 1834 |
with_call=False, |
| 1835 |
protocol_options=None, |
| 1836 |
): |
| 1837 |
"""Do we need implicit or explicit commit""" |
| 1838 |
raise NotImplementedError() |
| 1839 |
|
| 1840 |
CommitConfig.future = None |
| 1841 |
|
| 1842 |
def ConfigDiscardChanges( |
| 1843 |
self, |
| 1844 |
request, |
| 1845 |
timeout, |
| 1846 |
metadata=None, |
| 1847 |
with_call=False, |
| 1848 |
protocol_options=None, |
| 1849 |
): |
| 1850 |
raise NotImplementedError() |
| 1851 |
|
| 1852 |
ConfigDiscardChanges.future = None |
| 1853 |
|
| 1854 |
def GetOper( |
| 1855 |
self, |
| 1856 |
request, |
| 1857 |
timeout, |
| 1858 |
metadata=None, |
| 1859 |
with_call=False, |
| 1860 |
protocol_options=None, |
| 1861 |
): |
| 1862 |
"""Get only returns oper data""" |
| 1863 |
raise NotImplementedError() |
| 1864 |
|
| 1865 |
def CreateSubs( |
| 1866 |
self, |
| 1867 |
request, |
| 1868 |
timeout, |
| 1869 |
metadata=None, |
| 1870 |
with_call=False, |
| 1871 |
protocol_options=None, |
| 1872 |
): |
| 1873 |
"""Get Telemetry Data""" |
| 1874 |
raise NotImplementedError() |
| 1875 |
|
| 1876 |
|
| 1877 |
def beta_create_gRPCConfigOper_server( |
| 1878 |
servicer, |
| 1879 |
pool=None, |
| 1880 |
pool_size=None, |
| 1881 |
default_timeout=None, |
| 1882 |
maximum_timeout=None, |
| 1883 |
): |
| 1884 |
request_deserializers = { |
| 1885 |
( |
| 1886 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 1887 |
"CliConfig", |
| 1888 |
): CliConfigArgs.FromString, |
| 1889 |
( |
| 1890 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 1891 |
"CommitConfig", |
| 1892 |
): CommitArgs.FromString, |
| 1893 |
( |
| 1894 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 1895 |
"CommitReplace", |
| 1896 |
): CommitReplaceArgs.FromString, |
| 1897 |
( |
| 1898 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 1899 |
"ConfigDiscardChanges", |
| 1900 |
): DiscardChangesArgs.FromString, |
| 1901 |
( |
| 1902 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 1903 |
"CreateSubs", |
| 1904 |
): CreateSubsArgs.FromString, |
| 1905 |
( |
| 1906 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 1907 |
"DeleteConfig", |
| 1908 |
): ConfigArgs.FromString, |
| 1909 |
( |
| 1910 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 1911 |
"GetConfig", |
| 1912 |
): ConfigGetArgs.FromString, |
| 1913 |
( |
| 1914 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 1915 |
"GetOper", |
| 1916 |
): GetOperArgs.FromString, |
| 1917 |
( |
| 1918 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 1919 |
"MergeConfig", |
| 1920 |
): ConfigArgs.FromString, |
| 1921 |
( |
| 1922 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 1923 |
"ReplaceConfig", |
| 1924 |
): ConfigArgs.FromString, |
| 1925 |
} |
| 1926 |
response_serializers = { |
| 1927 |
( |
| 1928 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 1929 |
"CliConfig", |
| 1930 |
): CliConfigReply.SerializeToString, |
| 1931 |
( |
| 1932 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 1933 |
"CommitConfig", |
| 1934 |
): CommitReply.SerializeToString, |
| 1935 |
( |
| 1936 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 1937 |
"CommitReplace", |
| 1938 |
): CommitReplaceReply.SerializeToString, |
| 1939 |
( |
| 1940 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 1941 |
"ConfigDiscardChanges", |
| 1942 |
): DiscardChangesReply.SerializeToString, |
| 1943 |
( |
| 1944 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 1945 |
"CreateSubs", |
| 1946 |
): CreateSubsReply.SerializeToString, |
| 1947 |
( |
| 1948 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 1949 |
"DeleteConfig", |
| 1950 |
): ConfigReply.SerializeToString, |
| 1951 |
( |
| 1952 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 1953 |
"GetConfig", |
| 1954 |
): ConfigGetReply.SerializeToString, |
| 1955 |
( |
| 1956 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 1957 |
"GetOper", |
| 1958 |
): GetOperReply.SerializeToString, |
| 1959 |
( |
| 1960 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 1961 |
"MergeConfig", |
| 1962 |
): ConfigReply.SerializeToString, |
| 1963 |
( |
| 1964 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 1965 |
"ReplaceConfig", |
| 1966 |
): ConfigReply.SerializeToString, |
| 1967 |
} |
| 1968 |
method_implementations = { |
| 1969 |
( |
| 1970 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 1971 |
"CliConfig", |
| 1972 |
): face_utilities.unary_unary_inline(servicer.CliConfig), |
| 1973 |
( |
| 1974 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 1975 |
"CommitConfig", |
| 1976 |
): face_utilities.unary_unary_inline(servicer.CommitConfig), |
| 1977 |
( |
| 1978 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 1979 |
"CommitReplace", |
| 1980 |
): face_utilities.unary_unary_inline(servicer.CommitReplace), |
| 1981 |
( |
| 1982 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 1983 |
"ConfigDiscardChanges", |
| 1984 |
): face_utilities.unary_unary_inline(servicer.ConfigDiscardChanges), |
| 1985 |
( |
| 1986 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 1987 |
"CreateSubs", |
| 1988 |
): face_utilities.unary_stream_inline(servicer.CreateSubs), |
| 1989 |
( |
| 1990 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 1991 |
"DeleteConfig", |
| 1992 |
): face_utilities.unary_unary_inline(servicer.DeleteConfig), |
| 1993 |
( |
| 1994 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 1995 |
"GetConfig", |
| 1996 |
): face_utilities.unary_stream_inline(servicer.GetConfig), |
| 1997 |
( |
| 1998 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 1999 |
"GetOper", |
| 2000 |
): face_utilities.unary_stream_inline(servicer.GetOper), |
| 2001 |
( |
| 2002 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 2003 |
"MergeConfig", |
| 2004 |
): face_utilities.unary_unary_inline(servicer.MergeConfig), |
| 2005 |
( |
| 2006 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 2007 |
"ReplaceConfig", |
| 2008 |
): face_utilities.unary_unary_inline(servicer.ReplaceConfig), |
| 2009 |
} |
| 2010 |
server_options = beta_implementations.server_options( |
| 2011 |
request_deserializers=request_deserializers, |
| 2012 |
response_serializers=response_serializers, |
| 2013 |
thread_pool=pool, |
| 2014 |
thread_pool_size=pool_size, |
| 2015 |
default_timeout=default_timeout, |
| 2016 |
maximum_timeout=maximum_timeout, |
| 2017 |
) |
| 2018 |
return beta_implementations.server( |
| 2019 |
method_implementations, |
| 2020 |
options=server_options, |
| 2021 |
) |
| 2022 |
|
| 2023 |
|
| 2024 |
def beta_create_gRPCConfigOper_stub( |
| 2025 |
channel, |
| 2026 |
host=None, |
| 2027 |
metadata_transformer=None, |
| 2028 |
pool=None, |
| 2029 |
pool_size=None, |
| 2030 |
): |
| 2031 |
request_serializers = { |
| 2032 |
( |
| 2033 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 2034 |
"CliConfig", |
| 2035 |
): CliConfigArgs.SerializeToString, |
| 2036 |
( |
| 2037 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 2038 |
"CommitConfig", |
| 2039 |
): CommitArgs.SerializeToString, |
| 2040 |
( |
| 2041 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 2042 |
"CommitReplace", |
| 2043 |
): CommitReplaceArgs.SerializeToString, |
| 2044 |
( |
| 2045 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 2046 |
"ConfigDiscardChanges", |
| 2047 |
): DiscardChangesArgs.SerializeToString, |
| 2048 |
( |
| 2049 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 2050 |
"CreateSubs", |
| 2051 |
): CreateSubsArgs.SerializeToString, |
| 2052 |
( |
| 2053 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 2054 |
"DeleteConfig", |
| 2055 |
): ConfigArgs.SerializeToString, |
| 2056 |
( |
| 2057 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 2058 |
"GetConfig", |
| 2059 |
): ConfigGetArgs.SerializeToString, |
| 2060 |
( |
| 2061 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 2062 |
"GetOper", |
| 2063 |
): GetOperArgs.SerializeToString, |
| 2064 |
( |
| 2065 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 2066 |
"MergeConfig", |
| 2067 |
): ConfigArgs.SerializeToString, |
| 2068 |
( |
| 2069 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 2070 |
"ReplaceConfig", |
| 2071 |
): ConfigArgs.SerializeToString, |
| 2072 |
} |
| 2073 |
response_deserializers = { |
| 2074 |
( |
| 2075 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 2076 |
"CliConfig", |
| 2077 |
): CliConfigReply.FromString, |
| 2078 |
( |
| 2079 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 2080 |
"CommitConfig", |
| 2081 |
): CommitReply.FromString, |
| 2082 |
( |
| 2083 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 2084 |
"CommitReplace", |
| 2085 |
): CommitReplaceReply.FromString, |
| 2086 |
( |
| 2087 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 2088 |
"ConfigDiscardChanges", |
| 2089 |
): DiscardChangesReply.FromString, |
| 2090 |
( |
| 2091 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 2092 |
"CreateSubs", |
| 2093 |
): CreateSubsReply.FromString, |
| 2094 |
( |
| 2095 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 2096 |
"DeleteConfig", |
| 2097 |
): ConfigReply.FromString, |
| 2098 |
( |
| 2099 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 2100 |
"GetConfig", |
| 2101 |
): ConfigGetReply.FromString, |
| 2102 |
( |
| 2103 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 2104 |
"GetOper", |
| 2105 |
): GetOperReply.FromString, |
| 2106 |
( |
| 2107 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 2108 |
"MergeConfig", |
| 2109 |
): ConfigReply.FromString, |
| 2110 |
( |
| 2111 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 2112 |
"ReplaceConfig", |
| 2113 |
): ConfigReply.FromString, |
| 2114 |
} |
| 2115 |
cardinalities = { |
| 2116 |
"CliConfig": cardinality.Cardinality.UNARY_UNARY, |
| 2117 |
"CommitConfig": cardinality.Cardinality.UNARY_UNARY, |
| 2118 |
"CommitReplace": cardinality.Cardinality.UNARY_UNARY, |
| 2119 |
"ConfigDiscardChanges": cardinality.Cardinality.UNARY_UNARY, |
| 2120 |
"CreateSubs": cardinality.Cardinality.UNARY_STREAM, |
| 2121 |
"DeleteConfig": cardinality.Cardinality.UNARY_UNARY, |
| 2122 |
"GetConfig": cardinality.Cardinality.UNARY_STREAM, |
| 2123 |
"GetOper": cardinality.Cardinality.UNARY_STREAM, |
| 2124 |
"MergeConfig": cardinality.Cardinality.UNARY_UNARY, |
| 2125 |
"ReplaceConfig": cardinality.Cardinality.UNARY_UNARY, |
| 2126 |
} |
| 2127 |
stub_options = beta_implementations.stub_options( |
| 2128 |
host=host, |
| 2129 |
metadata_transformer=metadata_transformer, |
| 2130 |
request_serializers=request_serializers, |
| 2131 |
response_deserializers=response_deserializers, |
| 2132 |
thread_pool=pool, |
| 2133 |
thread_pool_size=pool_size, |
| 2134 |
) |
| 2135 |
return beta_implementations.dynamic_stub( |
| 2136 |
channel, |
| 2137 |
"IOSXRExtensibleManagabilityService.gRPCConfigOper", |
| 2138 |
cardinalities, |
| 2139 |
options=stub_options, |
| 2140 |
) |
| 2141 |
|
| 2142 |
|
| 2143 |
class gRPCExecStub(object): |
| 2144 |
""" |
| 2145 |
Should we seperate Exec from Config/Oper? |
| 2146 |
|
| 2147 |
|
| 2148 |
""" |
| 2149 |
|
| 2150 |
def __init__(self, channel): |
| 2151 |
"""Constructor. |
| 2152 |
|
| 2153 |
Args: |
| 2154 |
channel: A grpc.Channel. |
| 2155 |
""" |
| 2156 |
self.ShowCmdTextOutput = channel.unary_stream( |
| 2157 |
"/IOSXRExtensibleManagabilityService.gRPCExec/ShowCmdTextOutput", |
| 2158 |
request_serializer=ShowCmdArgs.SerializeToString, |
| 2159 |
response_deserializer=ShowCmdTextReply.FromString, |
| 2160 |
) |
| 2161 |
self.ShowCmdJSONOutput = channel.unary_stream( |
| 2162 |
"/IOSXRExtensibleManagabilityService.gRPCExec/ShowCmdJSONOutput", |
| 2163 |
request_serializer=ShowCmdArgs.SerializeToString, |
| 2164 |
response_deserializer=ShowCmdJSONReply.FromString, |
| 2165 |
) |
| 2166 |
|
| 2167 |
|
| 2168 |
class gRPCExecServicer(object): |
| 2169 |
""" |
| 2170 |
Should we seperate Exec from Config/Oper? |
| 2171 |
|
| 2172 |
|
| 2173 |
""" |
| 2174 |
|
| 2175 |
def ShowCmdTextOutput(self, request, context): |
| 2176 |
"""Exec commands""" |
| 2177 |
context.set_code(grpc.StatusCode.UNIMPLEMENTED) |
| 2178 |
context.set_details("Method not implemented!") |
| 2179 |
raise NotImplementedError("Method not implemented!") |
| 2180 |
|
| 2181 |
def ShowCmdJSONOutput(self, request, context): |
| 2182 |
context.set_code(grpc.StatusCode.UNIMPLEMENTED) |
| 2183 |
context.set_details("Method not implemented!") |
| 2184 |
raise NotImplementedError("Method not implemented!") |
| 2185 |
|
| 2186 |
|
| 2187 |
def add_gRPCExecServicer_to_server(servicer, server): |
| 2188 |
rpc_method_handlers = { |
| 2189 |
"ShowCmdTextOutput": grpc.unary_stream_rpc_method_handler( |
| 2190 |
servicer.ShowCmdTextOutput, |
| 2191 |
request_deserializer=ShowCmdArgs.FromString, |
| 2192 |
response_serializer=ShowCmdTextReply.SerializeToString, |
| 2193 |
), |
| 2194 |
"ShowCmdJSONOutput": grpc.unary_stream_rpc_method_handler( |
| 2195 |
servicer.ShowCmdJSONOutput, |
| 2196 |
request_deserializer=ShowCmdArgs.FromString, |
| 2197 |
response_serializer=ShowCmdJSONReply.SerializeToString, |
| 2198 |
), |
| 2199 |
} |
| 2200 |
generic_handler = grpc.method_handlers_generic_handler( |
| 2201 |
"IOSXRExtensibleManagabilityService.gRPCExec", |
| 2202 |
rpc_method_handlers, |
| 2203 |
) |
| 2204 |
server.add_generic_rpc_handlers((generic_handler,)) |
| 2205 |
|
| 2206 |
|
| 2207 |
class BetagRPCExecServicer(object): |
| 2208 |
""" |
| 2209 |
Should we seperate Exec from Config/Oper? |
| 2210 |
|
| 2211 |
|
| 2212 |
""" |
| 2213 |
|
| 2214 |
def ShowCmdTextOutput(self, request, context): |
| 2215 |
"""Exec commands""" |
| 2216 |
context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) |
| 2217 |
|
| 2218 |
def ShowCmdJSONOutput(self, request, context): |
| 2219 |
context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) |
| 2220 |
|
| 2221 |
|
| 2222 |
class BetagRPCExecStub(object): |
| 2223 |
""" |
| 2224 |
Should we seperate Exec from Config/Oper? |
| 2225 |
|
| 2226 |
|
| 2227 |
""" |
| 2228 |
|
| 2229 |
def ShowCmdTextOutput( |
| 2230 |
self, |
| 2231 |
request, |
| 2232 |
timeout, |
| 2233 |
metadata=None, |
| 2234 |
with_call=False, |
| 2235 |
protocol_options=None, |
| 2236 |
): |
| 2237 |
"""Exec commands""" |
| 2238 |
raise NotImplementedError() |
| 2239 |
|
| 2240 |
def ShowCmdJSONOutput( |
| 2241 |
self, |
| 2242 |
request, |
| 2243 |
timeout, |
| 2244 |
metadata=None, |
| 2245 |
with_call=False, |
| 2246 |
protocol_options=None, |
| 2247 |
): |
| 2248 |
raise NotImplementedError() |
| 2249 |
|
| 2250 |
|
| 2251 |
def beta_create_gRPCExec_server( |
| 2252 |
servicer, |
| 2253 |
pool=None, |
| 2254 |
pool_size=None, |
| 2255 |
default_timeout=None, |
| 2256 |
maximum_timeout=None, |
| 2257 |
): |
| 2258 |
request_deserializers = { |
| 2259 |
( |
| 2260 |
"IOSXRExtensibleManagabilityService.gRPCExec", |
| 2261 |
"ShowCmdJSONOutput", |
| 2262 |
): ShowCmdArgs.FromString, |
| 2263 |
( |
| 2264 |
"IOSXRExtensibleManagabilityService.gRPCExec", |
| 2265 |
"ShowCmdTextOutput", |
| 2266 |
): ShowCmdArgs.FromString, |
| 2267 |
} |
| 2268 |
response_serializers = { |
| 2269 |
( |
| 2270 |
"IOSXRExtensibleManagabilityService.gRPCExec", |
| 2271 |
"ShowCmdJSONOutput", |
| 2272 |
): ShowCmdJSONReply.SerializeToString, |
| 2273 |
( |
| 2274 |
"IOSXRExtensibleManagabilityService.gRPCExec", |
| 2275 |
"ShowCmdTextOutput", |
| 2276 |
): ShowCmdTextReply.SerializeToString, |
| 2277 |
} |
| 2278 |
method_implementations = { |
| 2279 |
( |
| 2280 |
"IOSXRExtensibleManagabilityService.gRPCExec", |
| 2281 |
"ShowCmdJSONOutput", |
| 2282 |
): face_utilities.unary_stream_inline(servicer.ShowCmdJSONOutput), |
| 2283 |
( |
| 2284 |
"IOSXRExtensibleManagabilityService.gRPCExec", |
| 2285 |
"ShowCmdTextOutput", |
| 2286 |
): face_utilities.unary_stream_inline(servicer.ShowCmdTextOutput), |
| 2287 |
} |
| 2288 |
server_options = beta_implementations.server_options( |
| 2289 |
request_deserializers=request_deserializers, |
| 2290 |
response_serializers=response_serializers, |
| 2291 |
thread_pool=pool, |
| 2292 |
thread_pool_size=pool_size, |
| 2293 |
default_timeout=default_timeout, |
| 2294 |
maximum_timeout=maximum_timeout, |
| 2295 |
) |
| 2296 |
return beta_implementations.server( |
| 2297 |
method_implementations, |
| 2298 |
options=server_options, |
| 2299 |
) |
| 2300 |
|
| 2301 |
|
| 2302 |
def beta_create_gRPCExec_stub( |
| 2303 |
channel, |
| 2304 |
host=None, |
| 2305 |
metadata_transformer=None, |
| 2306 |
pool=None, |
| 2307 |
pool_size=None, |
| 2308 |
): |
| 2309 |
request_serializers = { |
| 2310 |
( |
| 2311 |
"IOSXRExtensibleManagabilityService.gRPCExec", |
| 2312 |
"ShowCmdJSONOutput", |
| 2313 |
): ShowCmdArgs.SerializeToString, |
| 2314 |
( |
| 2315 |
"IOSXRExtensibleManagabilityService.gRPCExec", |
| 2316 |
"ShowCmdTextOutput", |
| 2317 |
): ShowCmdArgs.SerializeToString, |
| 2318 |
} |
| 2319 |
response_deserializers = { |
| 2320 |
( |
| 2321 |
"IOSXRExtensibleManagabilityService.gRPCExec", |
| 2322 |
"ShowCmdJSONOutput", |
| 2323 |
): ShowCmdJSONReply.FromString, |
| 2324 |
( |
| 2325 |
"IOSXRExtensibleManagabilityService.gRPCExec", |
| 2326 |
"ShowCmdTextOutput", |
| 2327 |
): ShowCmdTextReply.FromString, |
| 2328 |
} |
| 2329 |
cardinalities = { |
| 2330 |
"ShowCmdJSONOutput": cardinality.Cardinality.UNARY_STREAM, |
| 2331 |
"ShowCmdTextOutput": cardinality.Cardinality.UNARY_STREAM, |
| 2332 |
} |
| 2333 |
stub_options = beta_implementations.stub_options( |
| 2334 |
host=host, |
| 2335 |
metadata_transformer=metadata_transformer, |
| 2336 |
request_serializers=request_serializers, |
| 2337 |
response_deserializers=response_deserializers, |
| 2338 |
thread_pool=pool, |
| 2339 |
thread_pool_size=pool_size, |
| 2340 |
) |
| 2341 |
return beta_implementations.dynamic_stub( |
| 2342 |
channel, |
| 2343 |
"IOSXRExtensibleManagabilityService.gRPCExec", |
| 2344 |
cardinalities, |
| 2345 |
options=stub_options, |
| 2346 |
) |
| 2347 |
|
| 2348 |
|
| 2349 |
# @@protoc_insertion_point(module_scope) |