org.opensuse.Network.PPPoE.Factory
Namespace
 | Namespace | 
 pppoe-factory | 
 | Class compat | 
 netif-list | 
 | Typedefs | 
 1 | 
 | Properties | 
 none | 
 | Methods | 
 newDevice() | 
 | Signals | 
 none | 
Methods
- string newDevice(string name, dict config)
 
- 
Argument config is mapped to element <pppoe> of the device document.
It is a dict-based type that provides the following members:
- mru (uint32). 
 
- auth (dict). This is a dict-based type that provides the following members:
- protocol (uint32). This is a uint32 enumerated type, which can take the following values:
 - pap (0)
 
 - chap (1)
 
 - ms-chap (2)
 
 - ms-chapv2 (3)
 
 - eap (4)
 
 
- hostname (string). 
 
- user (string). This is a string
 
- password (string). This is a string
 
 
- number (string). 
 
- idle-timeout (uint32). 
 
- device (string). This is a string
 
 
Types defined in this scope
 | Type name | 
 Kind | 
 Definition | 
| pppoe-linkinfo | dict | below | 
Type pppoe-linkinfo
This is a dict-based type that provides the following members:
- mru (uint32). 
 
- auth (dict). This is a dict-based type that provides the following members:
- protocol (uint32). This is a uint32 enumerated type, which can take the following values:
 - pap (0)
 
 - chap (1)
 
 - ms-chap (2)
 
 - ms-chapv2 (3)
 
 - eap (4)
 
 
- hostname (string). 
 
- user (string). This is a string
 
- password (string). This is a string
 
 
- number (string). 
 
- idle-timeout (uint32). 
 
- device (string). This is a string