NetworkManager::OvsPortSetting

Search for usage in LXR

NetworkManager::OvsPortSetting Class Reference

#include <ovsportsetting.h>

Inheritance diagram for NetworkManager::OvsPortSetting:

Public Types

typedef QList< PtrList
 
typedef QSharedPointer< OvsPortSettingPtr
 
- Public Types inherited from NetworkManager::Setting
typedef QList< PtrList
 
enum  MacAddressRandomization { MacAddressRandomizationDefault = 0 , MacAddressRandomizationNever , MacAddressRandomizationAlways }
 
typedef QSharedPointer< SettingPtr
 
typedef QFlags< SecretFlagType > SecretFlags
 
enum  SecretFlagType { None = 0 , AgentOwned = 0x01 , NotSaved = 0x02 , NotRequired = 0x04 }
 
enum  SettingType {
  Adsl , Cdma , Gsm , Infiniband ,
  Ipv4 , Ipv6 , Ppp , Pppoe ,
  Security8021x , Serial , Vpn , Wired ,
  Wireless , WirelessSecurity , Bluetooth , OlpcMesh ,
  Vlan , Wimax , Bond , Bridge ,
  BridgePort , Team , Generic , Tun ,
  Vxlan , IpTunnel , Proxy , User ,
  OvsBridge , OvsInterface , OvsPatch , OvsPort ,
  Match , Tc , TeamPort , Macsec ,
  Dcb , WireGuard
}
 

Public Member Functions

 OvsPortSetting (const Ptr &other)
 
quint32 bondDowndelay () const
 
QString bondMode () const
 
quint32 bondUpdelay () const
 
void fromMap (const QVariantMap &setting) override
 
QString lacp () const
 
QString name () const override
 
void setBondDowndelay (quint32 delay)
 
void setBondMode (const QString &mode)
 
void setBondUpdelay (quint32 delay)
 
void setLacp (const QString &lacp)
 
void setTag (quint32 tag)
 
void setVlanMode (const QString &mode)
 
quint32 tag () const
 
QVariantMap toMap () const override
 
QString vlanMode () const
 
- Public Member Functions inherited from NetworkManager::Setting
 Setting (const Ptr &setting)
 
 Setting (SettingType type)
 
bool isNull () const
 
virtual QStringList needSecrets (bool requestNew=false) const
 
virtual void secretsFromMap (const QVariantMap &map)
 
virtual void secretsFromStringMap (const NMStringMap &map)
 
virtual QVariantMap secretsToMap () const
 
virtual NMStringMap secretsToStringMap () const
 
void setInitialized (bool initialized)
 
void setType (SettingType type)
 
SettingType type () const
 

Protected Attributes

OvsPortSettingPrivate * d_ptr
 
- Protected Attributes inherited from NetworkManager::Setting
SettingPrivate * d_ptr
 

Additional Inherited Members

- Static Public Member Functions inherited from NetworkManager::Setting
static QString typeAsString (SettingType type)
 
static SettingType typeFromString (const QString &type)
 

Detailed Description

Represents OvsPort setting.

Definition at line 20 of file ovsportsetting.h.

Member Typedef Documentation

◆ List

◆ Ptr

Constructor & Destructor Documentation

◆ OvsPortSetting() [1/2]

NetworkManager::OvsPortSetting::OvsPortSetting ( )

Definition at line 30 of file ovsportsetting.cpp.

◆ OvsPortSetting() [2/2]

NetworkManager::OvsPortSetting::OvsPortSetting ( const Ptr & other)
explicit

Definition at line 36 of file ovsportsetting.cpp.

◆ ~OvsPortSetting()

NetworkManager::OvsPortSetting::~OvsPortSetting ( )
override

Definition at line 48 of file ovsportsetting.cpp.

Member Function Documentation

◆ bondDowndelay()

quint32 NetworkManager::OvsPortSetting::bondDowndelay ( ) const

Definition at line 67 of file ovsportsetting.cpp.

◆ bondMode()

QString NetworkManager::OvsPortSetting::bondMode ( ) const

Definition at line 109 of file ovsportsetting.cpp.

◆ bondUpdelay()

quint32 NetworkManager::OvsPortSetting::bondUpdelay ( ) const

Definition at line 81 of file ovsportsetting.cpp.

◆ fromMap()

void NetworkManager::OvsPortSetting::fromMap ( const QVariantMap & map)
overridevirtual

Must be reimplemented, default implementation does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 144 of file ovsportsetting.cpp.

◆ lacp()

QString NetworkManager::OvsPortSetting::lacp ( ) const

Definition at line 123 of file ovsportsetting.cpp.

◆ name()

QString NetworkManager::OvsPortSetting::name ( ) const
overridevirtual

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 53 of file ovsportsetting.cpp.

◆ setBondDowndelay()

void NetworkManager::OvsPortSetting::setBondDowndelay ( quint32 delay)

Definition at line 60 of file ovsportsetting.cpp.

◆ setBondMode()

void NetworkManager::OvsPortSetting::setBondMode ( const QString & mode)

Definition at line 102 of file ovsportsetting.cpp.

◆ setBondUpdelay()

void NetworkManager::OvsPortSetting::setBondUpdelay ( quint32 delay)

Definition at line 74 of file ovsportsetting.cpp.

◆ setLacp()

void NetworkManager::OvsPortSetting::setLacp ( const QString & lacp)

Definition at line 116 of file ovsportsetting.cpp.

◆ setTag()

void NetworkManager::OvsPortSetting::setTag ( quint32 tag)

Definition at line 88 of file ovsportsetting.cpp.

◆ setVlanMode()

void NetworkManager::OvsPortSetting::setVlanMode ( const QString & mode)

Definition at line 130 of file ovsportsetting.cpp.

◆ tag()

quint32 NetworkManager::OvsPortSetting::tag ( ) const

Definition at line 95 of file ovsportsetting.cpp.

◆ toMap()

QVariantMap NetworkManager::OvsPortSetting::toMap ( ) const
overridevirtual

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 171 of file ovsportsetting.cpp.

◆ vlanMode()

QString NetworkManager::OvsPortSetting::vlanMode ( ) const

Definition at line 137 of file ovsportsetting.cpp.

Member Data Documentation

◆ d_ptr

OvsPortSettingPrivate* NetworkManager::OvsPortSetting::d_ptr
protected

Definition at line 55 of file ovsportsetting.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:59:06 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.