Ratan Gupta | 4c8247b | 2017-03-16 16:23:06 +0530 | [diff] [blame] | 1 | description: > |
| 2 | This defines an ethernet interface. |
| 3 | An object implementing this interface must implement |
| 4 | xyz.openbmc_project.State.OperationalStatus. |
| 5 | |
| 6 | |
| 7 | properties: |
| 8 | - name: InterfaceName |
| 9 | type: string |
| 10 | description: > |
| 11 | Name of the ethernet interface. |
Ratan Gupta | 4c8247b | 2017-03-16 16:23:06 +0530 | [diff] [blame] | 12 | - name: Speed |
| 13 | type: uint32 |
| 14 | description: > |
| 15 | Current speed of the ethernet interface, in Mbps. |
| 16 | - name: AutoNeg |
| 17 | type: boolean |
| 18 | description: > |
| 19 | This indicates if the speed and duplex are automatically negotiated |
| 20 | and configured on this ethernet interface. |
| 21 | - name: DomainName |
| 22 | type: array[string] |
| 23 | description: > |
| 24 | Domain names of the ethernet interface. |
| 25 | - name: DHCPEnabled |
Johnathan Mantey | 4ab49c4 | 2019-11-20 10:56:44 -0500 | [diff] [blame^] | 26 | type: enum[self.DHCPConf] |
Ratan Gupta | 4c8247b | 2017-03-16 16:23:06 +0530 | [diff] [blame] | 27 | description: > |
| 28 | Address mode of the ethernet interface. |
| 29 | - name: Nameservers |
| 30 | type: array[string] |
| 31 | description: > |
Manojkiran Eda | 496741a | 2019-10-13 18:46:11 +0530 | [diff] [blame] | 32 | DNS servers that are currently in use on this interface. |
Manojkiran Eda | 83968c3 | 2019-08-22 11:59:13 +0530 | [diff] [blame] | 33 | errors: |
Manojkiran Eda | 262ac24 | 2019-08-08 14:35:06 +0530 | [diff] [blame] | 34 | - xyz::openbmc_project.Common.Error.NotAllowed |
Manojkiran Eda | 496741a | 2019-10-13 18:46:11 +0530 | [diff] [blame] | 35 | - name: StaticNameServers |
| 36 | type: array[string] |
| 37 | description: > |
| 38 | A statically defined set of DNS server IP addresses to be used when |
| 39 | DHCP provisioning is not enabled for name server configuration. As |
| 40 | an implementation option this may also be used in addition to DHCP |
| 41 | provided addresses, or in cases where the DHCP server provides no DNS |
| 42 | assigments. |
| 43 | errors: |
| 44 | - xyz.openbmc_project.Common.Error.InvalidArgument |
Ratan Gupta | a51dea7 | 2017-08-23 18:13:33 +0530 | [diff] [blame] | 45 | - name: NTPServers |
| 46 | type: array[string] |
| 47 | description: > |
| 48 | This property describes the NTP Servers on the interface. |
| 49 | Implementation of this Dbus-interface is required to implement this property. |
| 50 | This property supports read/write operation. |
| 51 | Configure the NTP servers on the system during write operation. |
Ravi Teja | 0edc82d | 2019-04-24 00:57:20 -0500 | [diff] [blame] | 52 | - name: LinkLocalAutoConf |
| 53 | type: enum[self.LinkLocalConf] |
| 54 | description: > |
| 55 | This indicates link local auto configuration on this ethernet |
| 56 | interface and configured on this ethernet interface. |
Johnathan Mantey | 8d6cb9b | 2019-06-25 09:20:50 -0700 | [diff] [blame] | 57 | - name: IPv6AcceptRA |
| 58 | type: boolean |
| 59 | description: > |
| 60 | Boolean for accepting router advertisements in IPv6 |
Johnathan Mantey | b43056f | 2019-10-29 16:15:18 -0700 | [diff] [blame] | 61 | - name: NICEnabled |
| 62 | type: boolean |
| 63 | description: > |
| 64 | Boolean for to enabling or disabling the ethernet port |
Johnathan Mantey | 97b5129 | 2020-01-08 10:56:19 -0800 | [diff] [blame] | 65 | - name: LinkUp |
| 66 | type: boolean |
| 67 | flags: |
| 68 | - const |
| 69 | description: > |
| 70 | This property reports the link status for the NIC. The read-only |
| 71 | boolean value is TRUE when the network cable is inserted, or there |
| 72 | is a carrier signal. It is FALSE when the cable is unplugged, or the |
| 73 | carrier signal is missing. |
Ravi Teja | 0edc82d | 2019-04-24 00:57:20 -0500 | [diff] [blame] | 74 | |
| 75 | enumerations: |
| 76 | - name: LinkLocalConf |
| 77 | description: > |
| 78 | Possible link local auto configuration values. |
| 79 | values: |
Ravi Teja | 55f1eee | 2019-09-19 05:59:31 -0500 | [diff] [blame] | 80 | - name: fallback |
Ravi Teja | 0edc82d | 2019-04-24 00:57:20 -0500 | [diff] [blame] | 81 | - name: both |
| 82 | - name: v4 |
| 83 | - name: v6 |
| 84 | - name: none |
Johnathan Mantey | 4ab49c4 | 2019-11-20 10:56:44 -0500 | [diff] [blame^] | 85 | - name: DHCPConf |
| 86 | description: > |
| 87 | A list of the permitted DHCP settings used by systemd. |
| 88 | values: |
| 89 | - name: both |
| 90 | - name: v4 |
| 91 | - name: v6 |
| 92 | - name: none |