CVBpy 14.1
LogicalNetworkInterface Class Reference

An IP network interface the GevServer can be bound to. More...

Inherits object.

Public Member Functions

List[cvb.gevserver.LogicalNetworkInterfaceget_all_available ()
 Gets all available network interfaces usable by the GevServer. More...
 
str ip_address (self)
 Gets the address of the interface. More...
 
str ipv4_mask (self)
 Gets the subnet mask of the address. More...
 

Properties

 ip_address_uint = property
 int: Gets or sets the address of the interface as unsigned integer.
 

Detailed Description

An IP network interface the GevServer can be bound to.

Instantiates a LogicalNetworkInterface object.

Parameters

ip_address : str The address of the interface.

ipv4_mask : str The subnet mask of the address.

Member Function Documentation

◆ get_all_available()

List[cvb.gevserver.LogicalNetworkInterface] get_all_available ( )

Gets all available network interfaces usable by the GevServer.

Returns

List[cvb.gevserver.LogicalNetworkInterface] List containing all available network interfaces.

◆ ip_address()

str ip_address (   self)

Gets the address of the interface.

Returns

str The address of the interface.

◆ ipv4_mask()

str ipv4_mask (   self)

Gets the subnet mask of the address.

Returns

str The subnet mask of the interface.