Interface INetworkInterface
- Namespace
- Skyline.DataMiner.Utils.Interfaces.Network
- Assembly
- Skyline.DataMiner.Utils.Interfaces.dll
Defines a Network Interface.
public interface INetworkInterface
- Extension Methods
Properties
- AdminStatus
Gets or sets the administrator status of the interface.
- Key
Gets the key of the interface.
- Name
Gets the name of the interface.
- OperationalStatus
Gets the operational status of the interface.
- PVID
Gets or sets the Port VLAN ID configured on the interface.
- Settings
Gets the interface settings. The settings can be adjusted by calling different methods on it (e.g. 'AddVlan'). Only after using the 'Push' or 'TryPush' command the settings are applied to the device.
- VLANs
Gets the VLANs configured on the interface.
Methods
- AddVlan(int)
Add a VLAN to the interface. No validation is done with this method to see if the set was successful.
- RemoveVlan(int)
Remove a VLAN from the interface. No validation is done with this method to see if the set was successful.
- TryAddVlan(int, TimeSpan)
Add a VLAN to the interface. This method will wait until the set is confirmed.
- TryRemoveVlan(int, TimeSpan)
Remove a VLAN from the interface. This method will wait until the set is confirmed.