org.opensuse.Network.Bridge
Namespace
Properties
- priority (uint32).
- stp (uint32). This is a uint32 enumerated type, which can take the following values:
- none (0)
- stp (1)
- rstp (2)
- forward-delay (double).
- aging-time (double).
- hello-time (double).
- max-age (double).
- ports (array). This is an array of port-type.
Methods
- void changeDevice(dict config)
-
Argument config is mapped to element <bridge> of the device document.
It is a dict-based type that provides the following members:
- priority (uint32).
- stp (uint32). This is a uint32 enumerated type, which can take the following values:
- none (0)
- stp (1)
- rstp (2)
- forward-delay (double).
- aging-time (double).
- hello-time (double).
- max-age (double).
- ports (array). This is an array of port-type.
- void deleteDevice()
-
- void addPort(port-type port)
-
- void removePort(string port)
-
Types defined in this scope
Type name |
Kind |
Definition |
port-type | dict | below |
linkconfig | dict | below |
Type port-type
This is a dict-based type that provides the following members:
- device (string). This is a string
- priority (uint32). This is a uint32 range type with values from 0 to infinity
- path-cost (uint32).
- state (uint32).
- port-no (uint32).
- port-id (uint32).
Type linkconfig
This is a dict-based type that provides the following members:
- priority (uint32).
- stp (uint32). This is a uint32 enumerated type, which can take the following values:
- none (0)
- stp (1)
- rstp (2)
- forward-delay (double).
- aging-time (double).
- hello-time (double).
- max-age (double).
- ports (array). This is an array of port-type.