Skip to content

Commit 6fb54c6

Browse files
committed
Auto generated from API Specifications for 20.10.10
1 parent db45680 commit 6fb54c6

8 files changed

Lines changed: 218 additions & 1 deletion

File tree

doc/conf.pyc

-2 Bytes
Binary file not shown.

doc/v6/nucontrollervrslink.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ Attributes
1414

1515
- ``vrsid``: ID of associated VRS
1616

17+
- ``vrsissu_failure_reason``: ISSU (In-Service Software Upgrade) failure reason of the associated VRS.
18+
19+
- ``vrsissu_state``: ISSU (In-Service Software Upgrade) state of the associated VRS.
20+
21+
- ``vrs_last_issu_state``: Last ISSU (In-Service Software Upgrade) state of the associated VRS.
22+
1723
- ``vrs_personality``: Personality of associated VRS.
1824

1925
- ``vrs_system_id``: System ID of associated VRS

doc/v6/nutier.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ Attributes
3434

3535
- ``probe_interval``: probe interval (part of rate along with packetCount). Applicable to Tier2 type.
3636

37+
- ``probe_performance_stats``: Indicates if Probe Performance Statistics is enabled or disabled for the HTTP Tier.
38+
3739
- ``owner``: Identifies the user that has created this object.
3840

3941
- ``external_id``: External object ID. Used for integration with third party systems

doc/v6/nuvrs.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ Attributes
1212
----------
1313

1414

15+
- ``issu_failure_reason``: ISSU (In-Service Software Upgrade) failure reason.
16+
17+
- ``issu_state``: ISSU (In-Service Software Upgrade) state of this VRS.
18+
1519
- ``name``: Identifies the entity with a name.
1620

1721
- ``management_ip``: The management IP of the VRS entity
@@ -24,6 +28,8 @@ Attributes
2428

2529
- ``last_event_timestamp``: The last event timestamp from the hypervisor.
2630

31+
- ``last_issu_state``: Last ISSU (In-Service Software Upgrade) state of this VRS.
32+
2733
- ``last_state_change``: Last state change timestamp (in millis).
2834

2935
- ``last_updated_by``: ID of the user who last updated the object.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050
setup(
5151
name='vspk',
52-
version="20.10.9",
52+
version="20.10.10",
5353
url='http://nuagenetworks.net/',
5454
author='nuage networks',
5555
author_email='opensource@nuagenetworks.net',

vspk/v6/nucontrollervrslink.py

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@ def __init__(self, **kwargs):
143143
# Read/Write Attributes
144144

145145
self._vrsid = None
146+
self._vrsissu_failure_reason = None
147+
self._vrsissu_state = None
148+
self._vrs_last_issu_state = None
146149
self._vrs_personality = None
147150
self._vrs_system_id = None
148151
self._vsc_config_state = None
@@ -166,6 +169,9 @@ def __init__(self, **kwargs):
166169
self._dynamic = None
167170

168171
self.expose_attribute(local_name="vrsid", remote_name="VRSID", attribute_type=str, is_required=False, is_unique=False)
172+
self.expose_attribute(local_name="vrsissu_failure_reason", remote_name="VRSISSUFailureReason", attribute_type=str, is_required=False, is_unique=False)
173+
self.expose_attribute(local_name="vrsissu_state", remote_name="VRSISSUState", attribute_type=str, is_required=False, is_unique=False)
174+
self.expose_attribute(local_name="vrs_last_issu_state", remote_name="VRSLastISSUState", attribute_type=str, is_required=False, is_unique=False)
169175
self.expose_attribute(local_name="vrs_personality", remote_name="VRSPersonality", attribute_type=str, is_required=False, is_unique=False, choices=[u'HARDWARE_VTEP', u'NONE', u'NSG', u'NSGBR', u'NSGDUC', u'NUAGE_210_WBX_32_Q', u'NUAGE_210_WBX_48_S', u'VRS', u'VRSB', u'VRSG'])
170176
self.expose_attribute(local_name="vrs_system_id", remote_name="VRSSystemId", attribute_type=str, is_required=False, is_unique=False)
171177
self.expose_attribute(local_name="vsc_config_state", remote_name="VSCConfigState", attribute_type=str, is_required=False, is_unique=False, choices=[u'PRIMARY', u'SECONDARY'])
@@ -241,6 +247,87 @@ def vrsid(self, value):
241247
self._vrsid = value
242248

243249

250+
@property
251+
def vrsissu_failure_reason(self):
252+
""" Get vrsissu_failure_reason value.
253+
254+
Notes:
255+
ISSU (In-Service Software Upgrade) failure reason of the associated VRS.
256+
257+
258+
This attribute is named `VRSISSUFailureReason` in VSD API.
259+
260+
"""
261+
return self._vrsissu_failure_reason
262+
263+
@vrsissu_failure_reason.setter
264+
def vrsissu_failure_reason(self, value):
265+
""" Set vrsissu_failure_reason value.
266+
267+
Notes:
268+
ISSU (In-Service Software Upgrade) failure reason of the associated VRS.
269+
270+
271+
This attribute is named `VRSISSUFailureReason` in VSD API.
272+
273+
"""
274+
self._vrsissu_failure_reason = value
275+
276+
277+
@property
278+
def vrsissu_state(self):
279+
""" Get vrsissu_state value.
280+
281+
Notes:
282+
ISSU (In-Service Software Upgrade) state of the associated VRS.
283+
284+
285+
This attribute is named `VRSISSUState` in VSD API.
286+
287+
"""
288+
return self._vrsissu_state
289+
290+
@vrsissu_state.setter
291+
def vrsissu_state(self, value):
292+
""" Set vrsissu_state value.
293+
294+
Notes:
295+
ISSU (In-Service Software Upgrade) state of the associated VRS.
296+
297+
298+
This attribute is named `VRSISSUState` in VSD API.
299+
300+
"""
301+
self._vrsissu_state = value
302+
303+
304+
@property
305+
def vrs_last_issu_state(self):
306+
""" Get vrs_last_issu_state value.
307+
308+
Notes:
309+
Last ISSU (In-Service Software Upgrade) state of the associated VRS.
310+
311+
312+
This attribute is named `VRSLastISSUState` in VSD API.
313+
314+
"""
315+
return self._vrs_last_issu_state
316+
317+
@vrs_last_issu_state.setter
318+
def vrs_last_issu_state(self, value):
319+
""" Set vrs_last_issu_state value.
320+
321+
Notes:
322+
Last ISSU (In-Service Software Upgrade) state of the associated VRS.
323+
324+
325+
This attribute is named `VRSLastISSUState` in VSD API.
326+
327+
"""
328+
self._vrs_last_issu_state = value
329+
330+
244331
@property
245332
def vrs_personality(self):
246333
""" Get vrs_personality value.

vspk/v6/nutier.py

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def __init__(self, **kwargs):
9393
self._down_threshold_count = None
9494
self._creation_date = None
9595
self._probe_interval = None
96+
self._probe_performance_stats = None
9697
self._owner = None
9798
self._external_id = None
9899

@@ -107,6 +108,7 @@ def __init__(self, **kwargs):
107108
self.expose_attribute(local_name="down_threshold_count", remote_name="downThresholdCount", attribute_type=int, is_required=False, is_unique=False)
108109
self.expose_attribute(local_name="creation_date", remote_name="creationDate", attribute_type=str, is_required=False, is_unique=False)
109110
self.expose_attribute(local_name="probe_interval", remote_name="probeInterval", attribute_type=int, is_required=False, is_unique=False)
111+
self.expose_attribute(local_name="probe_performance_stats", remote_name="probePerformanceStats", attribute_type=bool, is_required=False, is_unique=False)
110112
self.expose_attribute(local_name="owner", remote_name="owner", attribute_type=str, is_required=False, is_unique=False)
111113
self.expose_attribute(local_name="external_id", remote_name="externalID", attribute_type=str, is_required=False, is_unique=True)
112114

@@ -419,6 +421,33 @@ def probe_interval(self, value):
419421
self._probe_interval = value
420422

421423

424+
@property
425+
def probe_performance_stats(self):
426+
""" Get probe_performance_stats value.
427+
428+
Notes:
429+
Indicates if Probe Performance Statistics is enabled or disabled for the HTTP Tier.
430+
431+
432+
This attribute is named `probePerformanceStats` in VSD API.
433+
434+
"""
435+
return self._probe_performance_stats
436+
437+
@probe_performance_stats.setter
438+
def probe_performance_stats(self, value):
439+
""" Set probe_performance_stats value.
440+
441+
Notes:
442+
Indicates if Probe Performance Statistics is enabled or disabled for the HTTP Tier.
443+
444+
445+
This attribute is named `probePerformanceStats` in VSD API.
446+
447+
"""
448+
self._probe_performance_stats = value
449+
450+
422451
@property
423452
def owner(self):
424453
""" Get owner value.

vspk/v6/nuvrs.py

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,12 +153,15 @@ def __init__(self, **kwargs):
153153

154154
# Read/Write Attributes
155155

156+
self._issu_failure_reason = None
157+
self._issu_state = None
156158
self._name = None
157159
self._management_ip = None
158160
self._parent_ids = None
159161
self._last_event_name = None
160162
self._last_event_object = None
161163
self._last_event_timestamp = None
164+
self._last_issu_state = None
162165
self._last_state_change = None
163166
self._last_updated_by = None
164167
self._last_updated_date = None
@@ -202,12 +205,15 @@ def __init__(self, **kwargs):
202205
self._hypervisor_name = None
203206
self._hypervisor_type = None
204207

208+
self.expose_attribute(local_name="issu_failure_reason", remote_name="ISSUFailureReason", attribute_type=str, is_required=False, is_unique=False)
209+
self.expose_attribute(local_name="issu_state", remote_name="ISSUState", attribute_type=str, is_required=False, is_unique=False)
205210
self.expose_attribute(local_name="name", remote_name="name", attribute_type=str, is_required=False, is_unique=False)
206211
self.expose_attribute(local_name="management_ip", remote_name="managementIP", attribute_type=str, is_required=False, is_unique=False)
207212
self.expose_attribute(local_name="parent_ids", remote_name="parentIDs", attribute_type=list, is_required=False, is_unique=False)
208213
self.expose_attribute(local_name="last_event_name", remote_name="lastEventName", attribute_type=str, is_required=False, is_unique=False)
209214
self.expose_attribute(local_name="last_event_object", remote_name="lastEventObject", attribute_type=str, is_required=False, is_unique=False)
210215
self.expose_attribute(local_name="last_event_timestamp", remote_name="lastEventTimestamp", attribute_type=int, is_required=False, is_unique=False)
216+
self.expose_attribute(local_name="last_issu_state", remote_name="lastISSUState", attribute_type=str, is_required=False, is_unique=False)
211217
self.expose_attribute(local_name="last_state_change", remote_name="lastStateChange", attribute_type=int, is_required=False, is_unique=False)
212218
self.expose_attribute(local_name="last_updated_by", remote_name="lastUpdatedBy", attribute_type=str, is_required=False, is_unique=False)
213219
self.expose_attribute(local_name="last_updated_date", remote_name="lastUpdatedDate", attribute_type=str, is_required=False, is_unique=False)
@@ -304,6 +310,60 @@ def __init__(self, **kwargs):
304310

305311
# Properties
306312

313+
@property
314+
def issu_failure_reason(self):
315+
""" Get issu_failure_reason value.
316+
317+
Notes:
318+
ISSU (In-Service Software Upgrade) failure reason.
319+
320+
321+
This attribute is named `ISSUFailureReason` in VSD API.
322+
323+
"""
324+
return self._issu_failure_reason
325+
326+
@issu_failure_reason.setter
327+
def issu_failure_reason(self, value):
328+
""" Set issu_failure_reason value.
329+
330+
Notes:
331+
ISSU (In-Service Software Upgrade) failure reason.
332+
333+
334+
This attribute is named `ISSUFailureReason` in VSD API.
335+
336+
"""
337+
self._issu_failure_reason = value
338+
339+
340+
@property
341+
def issu_state(self):
342+
""" Get issu_state value.
343+
344+
Notes:
345+
ISSU (In-Service Software Upgrade) state of this VRS.
346+
347+
348+
This attribute is named `ISSUState` in VSD API.
349+
350+
"""
351+
return self._issu_state
352+
353+
@issu_state.setter
354+
def issu_state(self, value):
355+
""" Set issu_state value.
356+
357+
Notes:
358+
ISSU (In-Service Software Upgrade) state of this VRS.
359+
360+
361+
This attribute is named `ISSUState` in VSD API.
362+
363+
"""
364+
self._issu_state = value
365+
366+
307367
@property
308368
def name(self):
309369
""" Get name value.
@@ -462,6 +522,33 @@ def last_event_timestamp(self, value):
462522
self._last_event_timestamp = value
463523

464524

525+
@property
526+
def last_issu_state(self):
527+
""" Get last_issu_state value.
528+
529+
Notes:
530+
Last ISSU (In-Service Software Upgrade) state of this VRS.
531+
532+
533+
This attribute is named `lastISSUState` in VSD API.
534+
535+
"""
536+
return self._last_issu_state
537+
538+
@last_issu_state.setter
539+
def last_issu_state(self, value):
540+
""" Set last_issu_state value.
541+
542+
Notes:
543+
Last ISSU (In-Service Software Upgrade) state of this VRS.
544+
545+
546+
This attribute is named `lastISSUState` in VSD API.
547+
548+
"""
549+
self._last_issu_state = value
550+
551+
465552
@property
466553
def last_state_change(self):
467554
""" Get last_state_change value.

0 commit comments

Comments
 (0)