Scope

This covers only the conceptual model that NM would use internally, and in the communication with the info-daemon, for configuration of network devices.

Conceptual Objects

Device: A hardware device that is the immediate provider of network connectivity. Wireless card, bluetooth dongle, serial modem, PCI ethernet card, USB wireless or ethernet card, etc. Devices are classified into different "types", ie 802.11 wireless, ethernet, modem, etc.

Connection: a specific, encapsulated, independent group of settings describing a complete network configuration. Referred to by a unique identifier. A connection is tied to a one specific Device type (but not a specific device like eth1). It is composed of one or more Settings objects.

Setting: a group of related key/value pairs describing a specific piece of a Connection. Settings keys and allowed values are described in detail at NetworkManagerConfigurationSpecification.

Conceptual Diagram

  - 0 (Connection)
    |
    |- connection (Setting)
    |   |- name: 'nifty-wireless'
    |   |- devtype: '802-11-wireless'
    |   `- autoconnect: True
    |
    |- 802-11-wireless (Setting)
    |   |- ssid: 'nifty-wireless'
    |   |- mode: 'infrastructure'
    |   `- seen-bssids: ['xx:xx:xx:xx:xx:xx', 'yy:yy:yy:yy:yy:yy']
    |
    |- 802-11-security-wpa (Setting)
    |   |- proto: 'WPA'
    |   |- key_mgmt: 'WPA-PSK'
    |   |- pariwise: ['TKIP', 'CCMP']
    |   |- group: ['TKIP', 'CCMP']
    |   `- psk: '9ad8da8a8da8f8dsa8...'
    |
    `- ip4 (Setting)
        |- dns: ['1.1.1.1', '1.1.1.2']
        `- dns-search: 'foobar.com'

- 1 (Connection)
    |
    |- connection (Setting)
    |   |- name: 'Work @ BigCorp'
    |   `- devtype: '802-3-ethernet'
    |
    |- 802-3-ethernet (Setting)
    |   `- MTU: 1500
    |
    `- ip4 (Setting)
        |- address: 10.1.1.50
        |- netmask: 255.255.255.0
        |- gateway: 10.1.1.1
        |- dns: ['10.1.1.3', '10.1.1.4']
        |- dns-search: 'bigcorp.com'
        `- ypbind: ['1.1.1.3']

- 2 (Connection)
    |
    |- connection (Setting)
    |   |- name: 'Sprint PCS'
    |   `- devtype: 'bluetooth'
    |
    |- bluetooth (Setting)
    |   |- rfcomm-channel: 4
    |   `- device: xx:xx:xx:xx:xx:xx
    |
    `- ppp (Setting)
        |- number: '#777'
        `- compression: True

System-wide Configuration

Future

NetworkManagerConfiguration (last edited 2008-10-30 17:21:29 by Alejandro Romero Herrera)