byteblowerll.byteblower.IPv6Configuration

class byteblowerll.byteblower.IPv6Configuration(*args, **kwargs)

A class representing the IPv6 protocol that allows managing IPv6 settings, running IPv6 commands and accessing attached protocols.

Each ByteBlowerPort must be configured with a layer 3 protocol through the method ByteBlowerPort.Layer3IPv6Set(). If the IPv6 protocol is selected, this object is returned. Through it, the IPv6 protocol instance on that port can be configured.

It provides the following functionality:

  • Configure and read various IPv6 settings and values such as the IP address.
  • Execute IPv6 commands such as resolving IPv6 addresses (through NDP).
  • Access protocols attached to the IPv6 protocol such as DHCPv6 and ICMPv6 on which other settings can be configured and other commands can be executed.
__init__(*args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

Methods

DescriptionGet(*args) Gets a textual description for the current object
GatewayAdvertisedGet() Returns the current (preferred) gateway of this IPv6 protocol, set either manually or by performing DHCP or SLAAC.
GatewayGet()
GatewaySet(inGateway)
IpDhcpGet() Returns all IPv6 addresses that where obtained by the DHCPv6 protocol.
IpLinkLocalGet() Returns the linklocal address which is based on the MAC address of the port.
IpManualAdd(inIPv6Address) Adds a manual IPv6 address to the port.
IpManualClear() Removes all manually added IP addresses from this port.
IpManualGet() Returns all IPv6 addresses that where manually added by the user.
IpManualRemove(inIPv6Address) Removes a specified manually added IP address from this port.
IpStatelessGet() Returns all IPv6 addresses that where obtained by stateless autoconfiguration.
IsValidLayer3Address(inAddress)
NeighborDiscovery(inIPv6Address) Resolves a destination IPv6 address by explicitly performing Neighbor Discovery.
ParentGet() Returns the parent object.
PortGet()
ProtocolDhcpGet() Returns the DHCPv6 protocol attached to this protocol through which DHCP can be performed.
ProtocolIcmpGet()
ProtocolMldGet()
Refresh() Retrieves the latest data from the server for this object.
Resolve(inIPv6Address) Resolves a destination IPv6 address by looking in the neighbour cache or performing Neighbor Discovery.
SelectSourceAddressFor(destination_ip) Selects an appropriate IPv6 source address for a given destination address.
StatelessAutoconfiguration() Performs stateless address autoconfiguration (SLAAC) to configure IPv6 with, among others, a global IPv6 address.
StatelessAutoconfigurationAsync() Performs stateless address autoconfiguration (SLAAC) to configure IPv6 with, among others, a global IPv6 address.
__init__(*args, **kwargs) Initialize self.

Attributes

thisown The membership flag