Skip to content

Commit 65a2431

Browse files
Arista Jenkinsoumichae1
authored andcommitted
update/asset_manager.v1: update message description
[GENERATED_COMMIT] Change-Id: I008869c9895ebdf0abf6f13288fe7e19bd712ed1
1 parent d5cd36b commit 65a2431

4 files changed

Lines changed: 139 additions & 127 deletions

File tree

arista/asset_manager/v1/asset_manager_pb2.pyi

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ class DeviceTenantAssignment(google.protobuf.message.Message):
315315
"""DeviceTenantAssignment represents tenant/customer information for a device
316316
This api could also be used to get a list of all devices assigned to a tenant
317317
id. Example : get list of devices assigned to a tenant
318+
```
318319
Request :
319320
{
320321
"partial_eq_filter": [
@@ -338,6 +339,7 @@ class DeviceTenantAssignment(google.protobuf.message.Message):
338339
"model_name": "DCS-7130",
339340
...
340341
}
342+
```
341343
"""
342344

343345
DESCRIPTOR: google.protobuf.descriptor.Descriptor
@@ -460,6 +462,7 @@ class LicenseTenantAssignment(google.protobuf.message.Message):
460462
"""LicenseTenantAssignment represents tenant/customer information for a license
461463
This api could also be used to get a list of all licenses assigned to a tenant
462464
id. Example : get list of licenses assigned to a tenant
465+
```
463466
Request :
464467
{
465468
"partial_eq_filter": [
@@ -483,6 +486,7 @@ class LicenseTenantAssignment(google.protobuf.message.Message):
483486
"sku": "LIC-FIX-4-MACSEC",
484487
...
485488
}
489+
```
486490
"""
487491

488492
DESCRIPTOR: google.protobuf.descriptor.Descriptor
@@ -712,6 +716,7 @@ class AllowedTenants(google.protobuf.message.Message):
712716
"""AllowedTenants represents a list of authorized
713717
customers whose assets (devices/licenses) the tenant key has
714718
permission to view or move.
719+
```
715720
Request :
716721
{
717722
"key" : {
@@ -730,7 +735,8 @@ class AllowedTenants(google.protobuf.message.Message):
730735
"tenant_3"
731736
]
732737
}
733-
}
738+
}
739+
```
734740
"""
735741

736742
DESCRIPTOR: google.protobuf.descriptor.Descriptor

cloudvision/api/arista/asset_manager/v1/__init__.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,7 @@ class DeviceTenantAssignment(aristaproto.Message):
364364
DeviceTenantAssignment represents tenant/customer information for a device
365365
This api could also be used to get a list of all devices assigned to a tenant
366366
id. Example : get list of devices assigned to a tenant
367+
```
367368
Request :
368369
{
369370
\"partial_eq_filter\": [
@@ -387,6 +388,7 @@ class DeviceTenantAssignment(aristaproto.Message):
387388
\"model_name\": \"DCS-7130\",
388389
...
389390
}
391+
```
390392
"""
391393

392394
key: "DeviceKey" = aristaproto.message_field(1)
@@ -461,6 +463,7 @@ class LicenseTenantAssignment(aristaproto.Message):
461463
LicenseTenantAssignment represents tenant/customer information for a license
462464
This api could also be used to get a list of all licenses assigned to a tenant
463465
id. Example : get list of licenses assigned to a tenant
466+
```
464467
Request :
465468
{
466469
\"partial_eq_filter\": [
@@ -484,6 +487,7 @@ class LicenseTenantAssignment(aristaproto.Message):
484487
\"sku\": \"LIC-FIX-4-MACSEC\",
485488
...
486489
}
490+
```
487491
"""
488492

489493
key: "__license_v1__.PurchasedLicenseKey" = aristaproto.message_field(1)
@@ -626,6 +630,7 @@ class AllowedTenants(aristaproto.Message):
626630
AllowedTenants represents a list of authorized
627631
customers whose assets (devices/licenses) the tenant key has
628632
permission to view or move.
633+
```
629634
Request :
630635
{
631636
\"key\" : {
@@ -644,7 +649,8 @@ class AllowedTenants(aristaproto.Message):
644649
\"tenant_3\"
645650
]
646651
}
647-
}
652+
}
653+
```
648654
"""
649655

650656
key: "TenantKey" = aristaproto.message_field(1)

cloudvision/api/fmp/__init__.py

Lines changed: 120 additions & 120 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,18 @@
1010
__all__ = (
1111
"DeleteError",
1212
"SortDirection",
13+
"MacAddress",
14+
"RepeatedMacAddress",
15+
"IpAddress",
16+
"RepeatedIpAddress",
17+
"IPv4Address",
18+
"RepeatedIPv4Address",
19+
"IPv6Address",
20+
"RepeatedIPv6Address",
21+
"IpPrefix",
22+
"IPv4Prefix",
23+
"IPv6Prefix",
24+
"Port",
1325
"RepeatedDouble",
1426
"RepeatedFloat",
1527
"RepeatedInt64",
@@ -73,18 +85,6 @@
7385
"MapStringBool",
7486
"MapStringString",
7587
"MapStringBytes",
76-
"MacAddress",
77-
"RepeatedMacAddress",
78-
"IpAddress",
79-
"RepeatedIpAddress",
80-
"IPv4Address",
81-
"RepeatedIPv4Address",
82-
"IPv6Address",
83-
"RepeatedIPv6Address",
84-
"IpPrefix",
85-
"IPv4Prefix",
86-
"IPv6Prefix",
87-
"Port",
8888
)
8989

9090

@@ -140,6 +140,114 @@ class SortDirection(aristaproto.Enum):
140140
"""SORT_DIRECTION_DESCENDING sorts in descending order."""
141141

142142

143+
@dataclass(eq=False, repr=False)
144+
class MacAddress(aristaproto.Message):
145+
""" """
146+
147+
value: str = aristaproto.string_field(1)
148+
"""
149+
"""
150+
151+
152+
@dataclass(eq=False, repr=False)
153+
class RepeatedMacAddress(aristaproto.Message):
154+
""" """
155+
156+
values: List["MacAddress"] = aristaproto.message_field(1)
157+
"""
158+
"""
159+
160+
161+
@dataclass(eq=False, repr=False)
162+
class IpAddress(aristaproto.Message):
163+
""" """
164+
165+
value: str = aristaproto.string_field(1)
166+
"""
167+
"""
168+
169+
170+
@dataclass(eq=False, repr=False)
171+
class RepeatedIpAddress(aristaproto.Message):
172+
""" """
173+
174+
values: List["IpAddress"] = aristaproto.message_field(1)
175+
"""
176+
"""
177+
178+
179+
@dataclass(eq=False, repr=False)
180+
class IPv4Address(aristaproto.Message):
181+
""" """
182+
183+
value: str = aristaproto.string_field(1)
184+
"""
185+
"""
186+
187+
188+
@dataclass(eq=False, repr=False)
189+
class RepeatedIPv4Address(aristaproto.Message):
190+
""" """
191+
192+
values: List["IPv4Address"] = aristaproto.message_field(1)
193+
"""
194+
"""
195+
196+
197+
@dataclass(eq=False, repr=False)
198+
class IPv6Address(aristaproto.Message):
199+
""" """
200+
201+
value: str = aristaproto.string_field(1)
202+
"""
203+
"""
204+
205+
206+
@dataclass(eq=False, repr=False)
207+
class RepeatedIPv6Address(aristaproto.Message):
208+
""" """
209+
210+
values: List["IPv6Address"] = aristaproto.message_field(1)
211+
"""
212+
"""
213+
214+
215+
@dataclass(eq=False, repr=False)
216+
class IpPrefix(aristaproto.Message):
217+
""" """
218+
219+
value: str = aristaproto.string_field(1)
220+
"""
221+
"""
222+
223+
224+
@dataclass(eq=False, repr=False)
225+
class IPv4Prefix(aristaproto.Message):
226+
""" """
227+
228+
value: str = aristaproto.string_field(1)
229+
"""
230+
"""
231+
232+
233+
@dataclass(eq=False, repr=False)
234+
class IPv6Prefix(aristaproto.Message):
235+
""" """
236+
237+
value: str = aristaproto.string_field(1)
238+
"""
239+
"""
240+
241+
242+
@dataclass(eq=False, repr=False)
243+
class Port(aristaproto.Message):
244+
""" """
245+
246+
value: int = aristaproto.uint32_field(1)
247+
"""
248+
"""
249+
250+
143251
@dataclass(eq=False, repr=False)
144252
class RepeatedDouble(aristaproto.Message):
145253
"""Wrapper message for `repeated double`."""
@@ -750,111 +858,3 @@ class MapStringBytes(aristaproto.Message):
750858
1, aristaproto.TYPE_STRING, aristaproto.TYPE_BYTES
751859
)
752860
"""The map<string, bytes> values."""
753-
754-
755-
@dataclass(eq=False, repr=False)
756-
class MacAddress(aristaproto.Message):
757-
""" """
758-
759-
value: str = aristaproto.string_field(1)
760-
"""
761-
"""
762-
763-
764-
@dataclass(eq=False, repr=False)
765-
class RepeatedMacAddress(aristaproto.Message):
766-
""" """
767-
768-
values: List["MacAddress"] = aristaproto.message_field(1)
769-
"""
770-
"""
771-
772-
773-
@dataclass(eq=False, repr=False)
774-
class IpAddress(aristaproto.Message):
775-
""" """
776-
777-
value: str = aristaproto.string_field(1)
778-
"""
779-
"""
780-
781-
782-
@dataclass(eq=False, repr=False)
783-
class RepeatedIpAddress(aristaproto.Message):
784-
""" """
785-
786-
values: List["IpAddress"] = aristaproto.message_field(1)
787-
"""
788-
"""
789-
790-
791-
@dataclass(eq=False, repr=False)
792-
class IPv4Address(aristaproto.Message):
793-
""" """
794-
795-
value: str = aristaproto.string_field(1)
796-
"""
797-
"""
798-
799-
800-
@dataclass(eq=False, repr=False)
801-
class RepeatedIPv4Address(aristaproto.Message):
802-
""" """
803-
804-
values: List["IPv4Address"] = aristaproto.message_field(1)
805-
"""
806-
"""
807-
808-
809-
@dataclass(eq=False, repr=False)
810-
class IPv6Address(aristaproto.Message):
811-
""" """
812-
813-
value: str = aristaproto.string_field(1)
814-
"""
815-
"""
816-
817-
818-
@dataclass(eq=False, repr=False)
819-
class RepeatedIPv6Address(aristaproto.Message):
820-
""" """
821-
822-
values: List["IPv6Address"] = aristaproto.message_field(1)
823-
"""
824-
"""
825-
826-
827-
@dataclass(eq=False, repr=False)
828-
class IpPrefix(aristaproto.Message):
829-
""" """
830-
831-
value: str = aristaproto.string_field(1)
832-
"""
833-
"""
834-
835-
836-
@dataclass(eq=False, repr=False)
837-
class IPv4Prefix(aristaproto.Message):
838-
""" """
839-
840-
value: str = aristaproto.string_field(1)
841-
"""
842-
"""
843-
844-
845-
@dataclass(eq=False, repr=False)
846-
class IPv6Prefix(aristaproto.Message):
847-
""" """
848-
849-
value: str = aristaproto.string_field(1)
850-
"""
851-
"""
852-
853-
854-
@dataclass(eq=False, repr=False)
855-
class Port(aristaproto.Message):
856-
""" """
857-
858-
value: int = aristaproto.uint32_field(1)
859-
"""
860-
"""

fmp/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Copyright (c) 2026 Arista Networks, Inc. All rights reserved.
22

3-
import fmp.pages_pb2 as pages
4-
import fmp.inet_pb2 as inet
5-
import fmp.extensions_pb2 as extensions
6-
import fmp.yang_pb2 as yang
7-
import fmp.deletes_pb2 as deletes
83
import fmp.wrappers_pb2 as wrappers
4+
import fmp.deletes_pb2 as deletes
5+
import fmp.yang_pb2 as yang
6+
import fmp.extensions_pb2 as extensions
7+
import fmp.inet_pb2 as inet
8+
import fmp.pages_pb2 as pages

0 commit comments

Comments
 (0)