Skip to content

Commit

Permalink
Auto generated from specifications change.
Browse files Browse the repository at this point in the history
  • Loading branch information
nuagebot committed Dec 17, 2020
1 parent a483d21 commit b77bbb3
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 65 deletions.
Binary file modified doc/conf.pyc
Binary file not shown.
1 change: 1 addition & 0 deletions doc/v6/nudomain.rst
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ Children
:ref:`nuegressaclentrytemplate.NUEgressACLEntryTemplate<nuegressaclentrytemplate>` ``egress_acl_entry_templates``
:ref:`nuegressacltemplate.NUEgressACLTemplate<nuegressacltemplate>` ``egress_acl_templates``
:ref:`nuegressadvfwdtemplate.NUEgressAdvFwdTemplate<nuegressadvfwdtemplate>` ``egress_adv_fwd_templates``
:ref:`nuegressauditaclentrytemplate.NUEgressAuditACLEntryTemplate<nuegressauditaclentrytemplate>` ``egress_audit_acl_entry_templates``
:ref:`nuegressauditacltemplate.NUEgressAuditACLTemplate<nuegressauditacltemplate>` ``egress_audit_acl_templates``
:ref:`nudomainfipacltemplate.NUDomainFIPAclTemplate<nudomainfipacltemplate>` ``domain_fip_acl_templates``
:ref:`nudhcpoption.NUDHCPOption<nudhcpoption>` ``dhcp_options``
Expand Down
4 changes: 4 additions & 0 deletions doc/v6/nuegressauditaclentrytemplate.rst
Original file line number Diff line number Diff line change
Expand Up @@ -122,5 +122,9 @@ Parents
--------


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

- :ref:`nul2domain.NUL2Domain<nul2domain>`

- :ref:`nuegressauditacltemplate.NUEgressAuditACLTemplate<nuegressauditacltemplate>`

1 change: 1 addition & 0 deletions doc/v6/nul2domain.rst
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ Children
:ref:`nuegressaclentrytemplate.NUEgressACLEntryTemplate<nuegressaclentrytemplate>` ``egress_acl_entry_templates``
:ref:`nuegressacltemplate.NUEgressACLTemplate<nuegressacltemplate>` ``egress_acl_templates``
:ref:`nuegressadvfwdtemplate.NUEgressAdvFwdTemplate<nuegressadvfwdtemplate>` ``egress_adv_fwd_templates``
:ref:`nuegressauditaclentrytemplate.NUEgressAuditACLEntryTemplate<nuegressauditaclentrytemplate>` ``egress_audit_acl_entry_templates``
:ref:`nuegressauditacltemplate.NUEgressAuditACLTemplate<nuegressauditacltemplate>` ``egress_audit_acl_templates``
:ref:`nudhcpoption.NUDHCPOption<nudhcpoption>` ``dhcp_options``
:ref:`nudhcpv6option.NUDHCPv6Option<nudhcpv6option>` ``dhcpv6_options``
Expand Down
4 changes: 0 additions & 4 deletions doc/v6/nusubnettemplate.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ Attributes

- ``embedded_metadata``: Metadata objects associated with this entity. This will contain a list of Metadata objects if the API request is made using the special flag to enable the embedded Metadata feature. Only a maximum of Metadata objects is returned based on the value set in the system configuration.

- ``enable_dhcpv4``: This value indicates whether IPv4 DHCP is enabled or not. This is applicable in case the subnet is DUALSTACK or IPv4

- ``enable_dhcpv6``: This value indicates whether IPv6 DHCP is enabled or not. This is applicable in case the subnet is DUALSTACK or IPv6

- ``encryption``: Determines whether or not IPSEC is enabled. Possible values are INHERITED, ENABLED, DISABLED, .

- ``entity_scope``: Specify if scope of entity is Data center or Enterprise level
Expand Down
2 changes: 1 addition & 1 deletion doc/v6/nuvnf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Attributes
----------


- ``vnf_descriptor_id``: The ID of VNF Descriptor from which VNF to be created. This is required on creation and can be removed on moidification of VNF instance.
- ``vnf_descriptor_id`` (**Mandatory**): The ID of VNF Descriptor from which VNF to be created. This is required on creation and can be removed on moidification of VNF instance.

- ``vnf_descriptor_name``: The Name of VNF Descriptor from which this VNF instance is created.

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.1",
version="20.10.2",
url='http://nuagenetworks.net/',
author='nuage networks',
author_email='[email protected]',
Expand Down
6 changes: 6 additions & 0 deletions vspk/v6/nudomain.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@
from .fetchers import NUEgressAdvFwdTemplatesFetcher


from .fetchers import NUEgressAuditACLEntryTemplatesFetcher


from .fetchers import NUEgressAuditACLTemplatesFetcher


Expand Down Expand Up @@ -538,6 +541,9 @@ def __init__(self, **kwargs):
self.egress_adv_fwd_templates = NUEgressAdvFwdTemplatesFetcher.fetcher_with_object(parent_object=self, relationship="child")


self.egress_audit_acl_entry_templates = NUEgressAuditACLEntryTemplatesFetcher.fetcher_with_object(parent_object=self, relationship="child")


self.egress_audit_acl_templates = NUEgressAuditACLTemplatesFetcher.fetcher_with_object(parent_object=self, relationship="child")


Expand Down
6 changes: 6 additions & 0 deletions vspk/v6/nul2domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@
from .fetchers import NUEgressAdvFwdTemplatesFetcher


from .fetchers import NUEgressAuditACLEntryTemplatesFetcher


from .fetchers import NUEgressAuditACLTemplatesFetcher


Expand Down Expand Up @@ -426,6 +429,9 @@ def __init__(self, **kwargs):
self.egress_adv_fwd_templates = NUEgressAdvFwdTemplatesFetcher.fetcher_with_object(parent_object=self, relationship="child")


self.egress_audit_acl_entry_templates = NUEgressAuditACLEntryTemplatesFetcher.fetcher_with_object(parent_object=self, relationship="child")


self.egress_audit_acl_templates = NUEgressAuditACLTemplatesFetcher.fetcher_with_object(parent_object=self, relationship="child")


Expand Down
58 changes: 0 additions & 58 deletions vspk/v6/nusubnettemplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,6 @@ def __init__(self, **kwargs):
self._description = None
self._netmask = None
self._embedded_metadata = None
self._enable_dhcpv4 = None
self._enable_dhcpv6 = None
self._encryption = None
self._entity_scope = None
self._split_subnet = None
Expand All @@ -155,8 +153,6 @@ def __init__(self, **kwargs):
self.expose_attribute(local_name="description", remote_name="description", attribute_type=str, is_required=False, is_unique=False)
self.expose_attribute(local_name="netmask", remote_name="netmask", attribute_type=str, is_required=True, is_unique=False)
self.expose_attribute(local_name="embedded_metadata", remote_name="embeddedMetadata", attribute_type=list, is_required=False, is_unique=False)
self.expose_attribute(local_name="enable_dhcpv4", remote_name="enableDHCPv4", attribute_type=bool, is_required=False, is_unique=False)
self.expose_attribute(local_name="enable_dhcpv6", remote_name="enableDHCPv6", attribute_type=bool, is_required=False, is_unique=False)
self.expose_attribute(local_name="encryption", remote_name="encryption", attribute_type=str, is_required=False, is_unique=False, choices=[u'DISABLED', u'ENABLED', u'INHERITED'])
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="split_subnet", remote_name="splitSubnet", attribute_type=bool, is_required=False, is_unique=False)
Expand Down Expand Up @@ -502,60 +498,6 @@ def embedded_metadata(self, value):
self._embedded_metadata = value


@property
def enable_dhcpv4(self):
""" Get enable_dhcpv4 value.
Notes:
This value indicates whether IPv4 DHCP is enabled or not. This is applicable in case the subnet is DUALSTACK or IPv4
This attribute is named `enableDHCPv4` in VSD API.
"""
return self._enable_dhcpv4

@enable_dhcpv4.setter
def enable_dhcpv4(self, value):
""" Set enable_dhcpv4 value.
Notes:
This value indicates whether IPv4 DHCP is enabled or not. This is applicable in case the subnet is DUALSTACK or IPv4
This attribute is named `enableDHCPv4` in VSD API.
"""
self._enable_dhcpv4 = value


@property
def enable_dhcpv6(self):
""" Get enable_dhcpv6 value.
Notes:
This value indicates whether IPv6 DHCP is enabled or not. This is applicable in case the subnet is DUALSTACK or IPv6
This attribute is named `enableDHCPv6` in VSD API.
"""
return self._enable_dhcpv6

@enable_dhcpv6.setter
def enable_dhcpv6(self, value):
""" Set enable_dhcpv6 value.
Notes:
This value indicates whether IPv6 DHCP is enabled or not. This is applicable in case the subnet is DUALSTACK or IPv6
This attribute is named `enableDHCPv6` in VSD API.
"""
self._enable_dhcpv6 = value


@property
def encryption(self):
""" Get encryption value.
Expand Down
2 changes: 1 addition & 1 deletion vspk/v6/nuvnf.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def __init__(self, **kwargs):
self._external_id = None
self._type = None

self.expose_attribute(local_name="vnf_descriptor_id", remote_name="VNFDescriptorID", attribute_type=str, is_required=False, is_unique=False)
self.expose_attribute(local_name="vnf_descriptor_id", remote_name="VNFDescriptorID", attribute_type=str, is_required=True, is_unique=False)
self.expose_attribute(local_name="vnf_descriptor_name", remote_name="VNFDescriptorName", attribute_type=str, is_required=False, is_unique=False)
self.expose_attribute(local_name="cpu_count", remote_name="CPUCount", attribute_type=int, is_required=False, is_unique=False)
self.expose_attribute(local_name="nsg_name", remote_name="NSGName", attribute_type=str, is_required=False, is_unique=False)
Expand Down

0 comments on commit b77bbb3

Please sign in to comment.