Skip to content

Commit

Permalink
Auto generated from API Specifications for 20.10.13
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and Jenkins committed May 12, 2023
1 parent e58fbd6 commit 9a44d30
Show file tree
Hide file tree
Showing 23 changed files with 442 additions and 5 deletions.
Binary file modified doc/conf.pyc
Binary file not shown.
2 changes: 2 additions & 0 deletions doc/v6/nudhcpv6option.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ Attributes

- ``creation_date``: Time stamp when this object was created.

- ``sub_option_type``: Sub option type of the actual DHCP option type.

- ``owner``: Identifies the user that has created this object.

- ``external_id``: External object ID. Used for integration with third party systems
Expand Down
2 changes: 2 additions & 0 deletions doc/v6/nudomain.rst
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ Attributes

- ``associated_underlay_id``: The ID of the Underlay entity to which this L3 Domain is associated.

- ``stateful_mode``: This value indicates whether reflexive ACL is enabled or not for the Domain. It is 'REFLEXIVE' if enabled, or 'STATEFUL' if reflexive is disabled.

- ``stretched``: Indicates whether this domain is stretched, if so, remote VM resolutions will be allowed

- ``multicast``: multicast is enum that indicates multicast policy on domain. Possible values are ENABLED ,DISABLED and INHERITED Possible values are INHERITED, ENABLED, DISABLED, .
Expand Down
2 changes: 2 additions & 0 deletions doc/v6/nuenterprisenetwork.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ Parents
--------


- :ref:`nume.NUMe<nume>`

- :ref:`nusaasapplicationtype.NUSaaSApplicationType<nusaasapplicationtype>`

- :ref:`nunetworkmacrogroup.NUNetworkMacroGroup<nunetworkmacrogroup>`
Expand Down
4 changes: 4 additions & 0 deletions doc/v6/nuinfrastructuregatewayprofile.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ Attributes

- ``web_filter_query_port``: The port to be opened by the proxy for webfilter category query request

- ``secondary_remote_log_server_address``: Secondary Log Server for system logs generated by Gateways associated with this Infrastructure Profile. Can be an IP address or a URL. This field is optional.

- ``secondary_remote_log_server_port``: Port to be used to access the Secondary Remote Syslog server. By default, this is port 0.

- ``remote_log_mode``: Type of Log Server for system logs generated by Gateways associated with this Infrastructure Profile.

- ``remote_log_server_address``: Primary Log Server for system logs generated by Gateways associated with this Infrastructure Profile. Can be an IP address or a URL. This field is optional.
Expand Down
4 changes: 4 additions & 0 deletions doc/v6/nul2domain.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ Attributes

- ``gateway_mac_address``: The MAC address of the Gateway.

- ``wbx_disable_mac_move``: Disable MAC Move on WBX nodes.

- ``address``: Network address of the L2Domain / L2Domain template defined.

- ``template_id``: The ID of the L2 Domain template that this L2 Domain object was derived from
Expand Down Expand Up @@ -96,6 +98,8 @@ Attributes

- ``associated_underlay_id``: The ID of the Underlay entity to which this L2 Domain is associated.

- ``stateful_mode``: This value indicates whether reflexive ACL is enabled or not for the L2Domain. It is 'REFLEXIVE' if enabled, or 'STATEFUL' if reflexive is disabled.

- ``stretched``: Indicates whether this domain is streched,if so remote VM resolutions will be allowed

- ``dual_stack_dynamic_ip_allocation``: This read-only value indicates whether dynamic address allocation is enabled or not at template. This will be applicable when L2 Domain is managed and in dual stack mode
Expand Down
2 changes: 2 additions & 0 deletions doc/v6/nume.rst
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ Children
:ref:`nunetconfglobalconfiguration.NUNetconfGlobalConfiguration<nunetconfglobalconfiguration>` ``netconf_global_configurations``
:ref:`nunetconfprofile.NUNetconfProfile<nunetconfprofile>` ``netconf_profiles``
:ref:`nunetworklayout.NUNetworkLayout<nunetworklayout>` ``network_layouts``
:ref:`nunetworkmacrogroup.NUNetworkMacroGroup<nunetworkmacrogroup>` ``network_macro_groups``
:ref:`nunetworkperformancemeasurement.NUNetworkPerformanceMeasurement<nunetworkperformancemeasurement>` ``network_performance_measurements``
:ref:`nukeyservermember.NUKeyServerMember<nukeyservermember>` ``key_server_members``
:ref:`nuzfbautoassignment.NUZFBAutoAssignment<nuzfbautoassignment>` ``zfb_auto_assignments``
Expand Down Expand Up @@ -136,6 +137,7 @@ Children
:ref:`nuingressqospolicy.NUIngressQOSPolicy<nuingressqospolicy>` ``ingress_qos_policies``
:ref:`nugnmiprofile.NUGNMIProfile<nugnmiprofile>` ``gnmi_profiles``
:ref:`nuenterprise.NUEnterprise<nuenterprise>` ``enterprises``
:ref:`nuenterprisenetwork.NUEnterpriseNetwork<nuenterprisenetwork>` ``enterprise_networks``
:ref:`nuenterpriseprofile.NUEnterpriseProfile<nuenterpriseprofile>` ``enterprise_profiles``
:ref:`nujob.NUJob<nujob>` ``jobs``
:ref:`nurole.NURole<nurole>` ``roles``
Expand Down
2 changes: 2 additions & 0 deletions doc/v6/nunetworkmacrogroup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ Parents
--------


- :ref:`nume.NUMe<nume>`

- :ref:`nudomain.NUDomain<nudomain>`

- :ref:`nuenterprisenetwork.NUEnterpriseNetwork<nuenterprisenetwork>`
Expand Down
4 changes: 3 additions & 1 deletion doc/v6/nunsgateway.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Attributes

- ``tcpmss_enabled``: Boolean flag to indicate whether MSS on TCP is enabled or not

- ``tcp_maximum_segment_size``: Maximum Segment Size for TCP(min = 576, max = 7812).
- ``tcp_maximum_segment_size``: Maximum TCP segment size (min = 576, max = 7812); value 0 indicates the use of dynamically computed MSS.

- ``zfb_match_attribute``: The Zero Factor Bootstrapping (ZFB) Attribute that should be used to match the gateway on when it tries to bootstrap.

Expand Down Expand Up @@ -70,6 +70,8 @@ Attributes

- ``gateway_connected``: Indicates status of this gateway

- ``path_mtu_discovery``: Boolean flag to indicate whether Path MTU Discovery is enabled or not.

- ``redundancy_group_id``: The Redundancy Gateway Group associated with this Gateway Instance. This is a read only attribute

- ``template_id`` (**Mandatory**): The ID of the template that this Gateway was created from. This should be set when instantiating a Gateway
Expand Down
2 changes: 2 additions & 0 deletions doc/v6/nustatisticsprofile.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ Attributes

- ``description``: Desription of the Statistics Profile.

- ``clone_from``: UUID of the Statistics Profile from which this profile is being cloned.

- ``flow_stats_aggregation_enabled``: Indicates if flow statistics aggregation is enabled.


Expand Down
2 changes: 2 additions & 0 deletions doc/v6/nusubnet.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ Attributes

- ``gateway_mac_address``: None

- ``wbx_disable_mac_move``: Disable MAC Move on WBX nodes.

- ``access_restriction_enabled``: This attribute specifies whether subnet is enabled with access restrictions. Note: Applicable to shared infrastructure enterprise subnets.

- ``address``: IP address of the subnet defined. In case of zone, this is an optional field for and allows users to allocate an IP address range to a zone. The VSD will auto-assign IP addresses to subnets from this range if a specific IP address is not defined for the subnet
Expand Down
8 changes: 8 additions & 0 deletions doc/v6/nusystemconfig.rst
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,12 @@ Attributes

- ``secondary_rt_upper_limit``: Secondary route target upper limit.

- ``reflexive_aclicmp_timeout``: Defines the timeout in seconds for reflexive ACLs that are of type ICMP. Supported in Virtual Cloud Services (VCS) only.

- ``reflexive_acl_non_tcp_timeout``: Defines the timeout in seconds for reflexive ACLs that are not of type TCP.

- ``reflexive_acltcp_timeout``: Defines the timeout in seconds for reflexive ACLs that are of type TCP.

- ``denied_flow_collection_enabled``: When this option is selected, VSS will only store flows that are denied by security policy (implicit or explicit ACLs). This requires a valid VSS license and Flow Collection enabled.

- ``per_domain_vlan_id_enabled``: Determines whether per domain VLAN ID generation is required.
Expand Down Expand Up @@ -256,6 +262,8 @@ Attributes

- ``creation_date``: Time stamp when this object was created.

- ``srl_yang_validation_enabled``: Indicates if IPv4 Filter, IPv6 Filter, QoS Profile, BGP Neighbor Session and Routing Policy Blob validation is enabled for SRL.

- ``group_key_default_sek_generation_interval``: Group Key Encryption Profile Default SEK Generation Interval in seconds.

- ``group_key_default_sek_lifetime``: Group Key Encryption Profile Default SEK Lifetime in seconds.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

setup(
name='vspk',
version="20.10.12",
version="20.10.13",
url='http://nuagenetworks.net/',
author='nuage networks',
author_email='[email protected]',
Expand Down
29 changes: 29 additions & 0 deletions vspk/v6/nudhcpv6option.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ def __init__(self, **kwargs):
self._embedded_metadata = None
self._entity_scope = None
self._creation_date = None
self._sub_option_type = None
self._owner = None
self._external_id = None
self._type = None
Expand All @@ -100,6 +101,7 @@ def __init__(self, **kwargs):
self.expose_attribute(local_name="embedded_metadata", remote_name="embeddedMetadata", attribute_type=list, is_required=False, is_unique=False)
self.expose_attribute(local_name="entity_scope", remote_name="entityScope", attribute_type=str, is_required=False, is_unique=False, choices=[u'ENTERPRISE', u'GLOBAL'])
self.expose_attribute(local_name="creation_date", remote_name="creationDate", attribute_type=str, is_required=False, is_unique=False)
self.expose_attribute(local_name="sub_option_type", remote_name="subOptionType", attribute_type=str, is_required=False, is_unique=False)
self.expose_attribute(local_name="owner", remote_name="owner", attribute_type=str, is_required=False, is_unique=False)
self.expose_attribute(local_name="external_id", remote_name="externalID", attribute_type=str, is_required=False, is_unique=True)
self.expose_attribute(local_name="type", remote_name="type", attribute_type=str, is_required=False, is_unique=False)
Expand Down Expand Up @@ -359,6 +361,33 @@ def creation_date(self, value):
self._creation_date = value


@property
def sub_option_type(self):
""" Get sub_option_type value.
Notes:
Sub option type of the actual DHCP option type.
This attribute is named `subOptionType` in VSD API.
"""
return self._sub_option_type

@sub_option_type.setter
def sub_option_type(self, value):
""" Set sub_option_type value.
Notes:
Sub option type of the actual DHCP option type.
This attribute is named `subOptionType` in VSD API.
"""
self._sub_option_type = value


@property
def owner(self):
""" Get owner value.
Expand Down
33 changes: 33 additions & 0 deletions vspk/v6/nudomain.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,8 @@ class NUDomain(NURESTObject):

CONST_MAINTENANCE_MODE_ENABLED = "ENABLED"

CONST_STATEFUL_MODE_STATEFUL = "STATEFUL"

CONST_EVPNRT5_TYPE_IP = "IP"

CONST_FLOW_SETUP_RATE_LIMIT_ENABLED_ENABLED = "ENABLED"
Expand Down Expand Up @@ -335,6 +337,8 @@ class NUDomain(NURESTObject):

CONST_UNDERLAY_ENABLED_DISABLED = "DISABLED"

CONST_STATEFUL_MODE_REFLEXIVE = "REFLEXIVE"

CONST_FLOW_LIMIT_ENABLED_ENABLED = "ENABLED"

CONST_TUNNEL_TYPE_GRE = "GRE"
Expand Down Expand Up @@ -435,6 +439,7 @@ def __init__(self, **kwargs):
self._associated_pat_mapper_id = None
self._associated_shared_pat_mapper_id = None
self._associated_underlay_id = None
self._stateful_mode = None
self._stretched = None
self._multicast = None
self._tunnel_type = None
Expand Down Expand Up @@ -515,6 +520,7 @@ def __init__(self, **kwargs):
self.expose_attribute(local_name="associated_pat_mapper_id", remote_name="associatedPATMapperID", attribute_type=str, is_required=False, is_unique=False)
self.expose_attribute(local_name="associated_shared_pat_mapper_id", remote_name="associatedSharedPATMapperID", attribute_type=str, is_required=False, is_unique=False)
self.expose_attribute(local_name="associated_underlay_id", remote_name="associatedUnderlayID", attribute_type=str, is_required=False, is_unique=False)
self.expose_attribute(local_name="stateful_mode", remote_name="statefulMode", attribute_type=str, is_required=False, is_unique=False, choices=[u'REFLEXIVE', u'STATEFUL'])
self.expose_attribute(local_name="stretched", remote_name="stretched", attribute_type=bool, is_required=False, is_unique=False)
self.expose_attribute(local_name="multicast", remote_name="multicast", attribute_type=str, is_required=False, is_unique=False, choices=[u'DISABLED', u'ENABLED', u'INHERITED'])
self.expose_attribute(local_name="tunnel_type", remote_name="tunnelType", attribute_type=str, is_required=False, is_unique=False, choices=[u'DC_DEFAULT', u'GRE', u'MPLSoUDP', u'VLAN', u'VXLAN'])
Expand Down Expand Up @@ -2625,6 +2631,33 @@ def associated_underlay_id(self, value):
self._associated_underlay_id = value


@property
def stateful_mode(self):
""" Get stateful_mode value.
Notes:
This value indicates whether reflexive ACL is enabled or not for the Domain. It is 'REFLEXIVE' if enabled, or 'STATEFUL' if reflexive is disabled.
This attribute is named `statefulMode` in VSD API.
"""
return self._stateful_mode

@stateful_mode.setter
def stateful_mode(self, value):
""" Set stateful_mode value.
Notes:
This value indicates whether reflexive ACL is enabled or not for the Domain. It is 'REFLEXIVE' if enabled, or 'STATEFUL' if reflexive is disabled.
This attribute is named `statefulMode` in VSD API.
"""
self._stateful_mode = value


@property
def stretched(self):
""" Get stretched value.
Expand Down
10 changes: 9 additions & 1 deletion vspk/v6/nuikeencryptionprofile.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ class NUIKEEncryptionprofile(NURESTObject):

CONST_ISAKMP_DIFFIE_HELMAN_GROUP_IDENTIFIER_GROUP_1_768_BIT_DH = "GROUP_1_768_BIT_DH"

CONST_ISAKMP_DIFFIE_HELMAN_GROUP_IDENTIFIER_GROUP_18_8192_BIT_DH = "GROUP_18_8192_BIT_DH"

CONST_ISAKMP_DIFFIE_HELMAN_GROUP_IDENTIFIER_GROUP_20_384_BIT_DH = "GROUP_20_384_BIT_DH"

CONST_IPSEC_AUTHENTICATION_ALGORITHM_HMAC_SHA1 = "HMAC_SHA1"

CONST_ISAKMP_AUTHENTICATION_MODE_PRE_SHARED_KEY = "PRE_SHARED_KEY"
Expand All @@ -92,8 +96,12 @@ class NUIKEEncryptionprofile(NURESTObject):

CONST_IPSEC_SA_REPLAY_WINDOW_SIZE_WINDOW_SIZE_256 = "WINDOW_SIZE_256"

CONST_ISAKMP_DIFFIE_HELMAN_GROUP_IDENTIFIER_GROUP_19_256_BIT_DH = "GROUP_19_256_BIT_DH"

CONST_ISAKMP_DIFFIE_HELMAN_GROUP_IDENTIFIER_GROUP_14_2048_BIT_DH = "GROUP_14_2048_BIT_DH"

CONST_ISAKMP_DIFFIE_HELMAN_GROUP_IDENTIFIER_GROUP_21_521_BIT_DH = "GROUP_21_521_BIT_DH"

CONST_IPSEC_ENCRYPTION_ALGORITHM_TRIPLE_DES = "TRIPLE_DES"

CONST_IPSEC_AUTHENTICATION_ALGORITHM_HMAC_SHA256 = "HMAC_SHA256"
Expand Down Expand Up @@ -173,7 +181,7 @@ def __init__(self, **kwargs):
self.expose_attribute(local_name="ipsec_sa_replay_window_size", remote_name="IPsecSAReplayWindowSize", attribute_type=str, is_required=False, is_unique=False, choices=[u'WINDOW_SIZE_1024', u'WINDOW_SIZE_128', u'WINDOW_SIZE_256', u'WINDOW_SIZE_32', u'WINDOW_SIZE_512', u'WINDOW_SIZE_64'])
self.expose_attribute(local_name="ipsec_sa_replay_window_size_value", remote_name="IPsecSAReplayWindowSizeValue", attribute_type=int, is_required=False, is_unique=False)
self.expose_attribute(local_name="isakmp_authentication_mode", remote_name="ISAKMPAuthenticationMode", attribute_type=str, is_required=False, is_unique=False, choices=[u'PRE_SHARED_KEY'])
self.expose_attribute(local_name="isakmp_diffie_helman_group_identifier", remote_name="ISAKMPDiffieHelmanGroupIdentifier", attribute_type=str, is_required=False, is_unique=False, choices=[u'GROUP_14_2048_BIT_DH', u'GROUP_15_3072_BIT_DH', u'GROUP_1_768_BIT_DH', u'GROUP_2_1024_BIT_DH', u'GROUP_5_1536_BIT_DH'])
self.expose_attribute(local_name="isakmp_diffie_helman_group_identifier", remote_name="ISAKMPDiffieHelmanGroupIdentifier", attribute_type=str, is_required=False, is_unique=False, choices=[u'GROUP_14_2048_BIT_DH', u'GROUP_15_3072_BIT_DH', u'GROUP_18_8192_BIT_DH', u'GROUP_19_256_BIT_DH', u'GROUP_1_768_BIT_DH', u'GROUP_20_384_BIT_DH', u'GROUP_21_521_BIT_DH', u'GROUP_2_1024_BIT_DH', u'GROUP_5_1536_BIT_DH'])
self.expose_attribute(local_name="isakmp_encryption_algorithm", remote_name="ISAKMPEncryptionAlgorithm", attribute_type=str, is_required=False, is_unique=False, choices=[u'AES128', u'AES192', u'AES256', u'TRIPLE_DES'])
self.expose_attribute(local_name="isakmp_encryption_key_lifetime", remote_name="ISAKMPEncryptionKeyLifetime", attribute_type=int, is_required=False, is_unique=False)
self.expose_attribute(local_name="isakmp_hash_algorithm", remote_name="ISAKMPHashAlgorithm", attribute_type=str, is_required=False, is_unique=False, choices=[u'SHA1', u'SHA256'])
Expand Down
Loading

0 comments on commit 9a44d30

Please sign in to comment.