Module netapp_ontap.models.ipv4_interface

Copyright © 2024 NetApp Inc. All rights reserved.

This file has been automatically generated based on the ONTAP REST API documentation.

Classes

class Ipv4InterfaceSchema (*, only: Union[Sequence[str], Set[str]] = None, exclude: Union[Sequence[str], Set[str]] = (), many: bool = False, context: Dict = None, load_only: Union[Sequence[str], Set[str]] = (), dump_only: Union[Sequence[str], Set[str]] = (), partial: Union[bool, Sequence[str], Set[str]] = False, unknown: str = None)

The fields of the Ipv4Interface object

Ancestors

  • netapp_ontap.resource.ResourceSchema
  • marshmallow.schema.Schema
  • marshmallow.base.SchemaABC

Class variables

address: str GET POST PATCH

IPv4 address

Example: 10.10.10.7

enabled: bool GET POST PATCH

Indicates whether the IPv4 interfaces is enabled. It expects dhcp_enabled as "true" or values for address, netmask and gateway when set to "true".

gateway: str GET POST PATCH

The IPv4 address of the default router.

Example: 10.1.1.1

netmask: str GET POST PATCH

Input as IPv4 mask (255.255.0.0). Output is always the netmask length.

Example: 255.255.0.0

setup_state: str GET

Indicates the setup state of the interface.

Valid choices:

  • not_setup
  • succeeded
  • in_progress
  • failed