NetworkManager::OvsBridgeSetting

Search for usage in LXR

NetworkManager::OvsBridgeSetting Class Reference

#include <ovsbridgesetting.h>

Inheritance diagram for NetworkManager::OvsBridgeSetting:

Public Types

typedef QList< PtrList
 
typedef QSharedPointer< OvsBridgeSettingPtr
 
- 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

 OvsBridgeSetting (const Ptr &other)
 
QString failMode () const
 
void fromMap (const QVariantMap &setting) override
 
bool mcastSnoopingEnable () const
 
QString name () const override
 
bool rstpEnable () const
 
void setFailMode (const QString &mode)
 
void setMcastSnoopingEnable (bool mcastSnoopingEnable)
 
void setRstpEnable (bool rstpEnable)
 
void setStpEnable (bool stpEnable)
 
bool stpEnable () const
 
QVariantMap toMap () const override
 
- 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

OvsBridgeSettingPrivate * 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 ovs-bridge setting.

Definition at line 22 of file ovsbridgesetting.h.

Member Typedef Documentation

◆ List

◆ Ptr

Constructor & Destructor Documentation

◆ OvsBridgeSetting() [1/2]

NetworkManager::OvsBridgeSetting::OvsBridgeSetting ( )

Definition at line 28 of file ovsbridgesetting.cpp.

◆ OvsBridgeSetting() [2/2]

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

Definition at line 34 of file ovsbridgesetting.cpp.

◆ ~OvsBridgeSetting()

NetworkManager::OvsBridgeSetting::~OvsBridgeSetting ( )
override

Definition at line 44 of file ovsbridgesetting.cpp.

Member Function Documentation

◆ failMode()

QString NetworkManager::OvsBridgeSetting::failMode ( ) const

Definition at line 105 of file ovsbridgesetting.cpp.

◆ fromMap()

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

Must be reimplemented, default implementation does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 112 of file ovsbridgesetting.cpp.

◆ mcastSnoopingEnable()

bool NetworkManager::OvsBridgeSetting::mcastSnoopingEnable ( ) const

Definition at line 63 of file ovsbridgesetting.cpp.

◆ name()

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

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 49 of file ovsbridgesetting.cpp.

◆ rstpEnable()

bool NetworkManager::OvsBridgeSetting::rstpEnable ( ) const

Definition at line 77 of file ovsbridgesetting.cpp.

◆ setFailMode()

void NetworkManager::OvsBridgeSetting::setFailMode ( const QString & mode)

Definition at line 98 of file ovsbridgesetting.cpp.

◆ setMcastSnoopingEnable()

void NetworkManager::OvsBridgeSetting::setMcastSnoopingEnable ( bool mcastSnoopingEnable)

Definition at line 56 of file ovsbridgesetting.cpp.

◆ setRstpEnable()

void NetworkManager::OvsBridgeSetting::setRstpEnable ( bool rstpEnable)

Definition at line 70 of file ovsbridgesetting.cpp.

◆ setStpEnable()

void NetworkManager::OvsBridgeSetting::setStpEnable ( bool stpEnable)

Definition at line 84 of file ovsbridgesetting.cpp.

◆ stpEnable()

bool NetworkManager::OvsBridgeSetting::stpEnable ( ) const

Definition at line 91 of file ovsbridgesetting.cpp.

◆ toMap()

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

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 131 of file ovsbridgesetting.cpp.

Member Data Documentation

◆ d_ptr

OvsBridgeSettingPrivate* NetworkManager::OvsBridgeSetting::d_ptr
protected

Definition at line 51 of file ovsbridgesetting.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 Mon Nov 18 2024 12:08:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.