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. |
Tejas Patil | 0ef46c1 | 2021-07-19 17:34:57 +0530 | [diff] [blame] | 21 | - name: MTU |
| 22 | type: size |
| 23 | default: 0 |
| 24 | description: > |
| 25 | This indicates the size in bytes of largest protocol data unit, |
| 26 | which can be passed in an Ethernet frame on the interface. |
Ratan Gupta | 4c8247b | 2017-03-16 16:23:06 +0530 | [diff] [blame] | 27 | - name: DomainName |
| 28 | type: array[string] |
| 29 | description: > |
| 30 | Domain names of the ethernet interface. |
| 31 | - name: DHCPEnabled |
Johnathan Mantey | 1977059 | 2020-06-16 09:25:19 -0700 | [diff] [blame] | 32 | type: enum[self.DHCPConf] |
Ratan Gupta | 4c8247b | 2017-03-16 16:23:06 +0530 | [diff] [blame] | 33 | description: > |
| 34 | Address mode of the ethernet interface. |
| 35 | - name: Nameservers |
| 36 | type: array[string] |
| 37 | description: > |
Manojkiran Eda | 496741a | 2019-10-13 18:46:11 +0530 | [diff] [blame] | 38 | DNS servers that are currently in use on this interface. |
Manojkiran Eda | 83968c3 | 2019-08-22 11:59:13 +0530 | [diff] [blame] | 39 | errors: |
Manojkiran Eda | 262ac24 | 2019-08-08 14:35:06 +0530 | [diff] [blame] | 40 | - xyz::openbmc_project.Common.Error.NotAllowed |
Manojkiran Eda | 496741a | 2019-10-13 18:46:11 +0530 | [diff] [blame] | 41 | - name: StaticNameServers |
| 42 | type: array[string] |
| 43 | description: > |
| 44 | A statically defined set of DNS server IP addresses to be used when |
| 45 | DHCP provisioning is not enabled for name server configuration. As |
| 46 | an implementation option this may also be used in addition to DHCP |
| 47 | provided addresses, or in cases where the DHCP server provides no DNS |
| 48 | assigments. |
| 49 | errors: |
| 50 | - xyz.openbmc_project.Common.Error.InvalidArgument |
Ratan Gupta | a51dea7 | 2017-08-23 18:13:33 +0530 | [diff] [blame] | 51 | - name: NTPServers |
| 52 | type: array[string] |
| 53 | description: > |
| 54 | This property describes the NTP Servers on the interface. |
| 55 | Implementation of this Dbus-interface is required to implement this property. |
| 56 | This property supports read/write operation. |
| 57 | Configure the NTP servers on the system during write operation. |
Ravi Teja | 0edc82d | 2019-04-24 00:57:20 -0500 | [diff] [blame] | 58 | - name: LinkLocalAutoConf |
| 59 | type: enum[self.LinkLocalConf] |
| 60 | description: > |
| 61 | This indicates link local auto configuration on this ethernet |
| 62 | interface and configured on this ethernet interface. |
Johnathan Mantey | 8d6cb9b | 2019-06-25 09:20:50 -0700 | [diff] [blame] | 63 | - name: IPv6AcceptRA |
| 64 | type: boolean |
| 65 | description: > |
| 66 | Boolean for accepting router advertisements in IPv6 |
Johnathan Mantey | b43056f | 2019-10-29 16:15:18 -0700 | [diff] [blame] | 67 | - name: NICEnabled |
| 68 | type: boolean |
| 69 | description: > |
| 70 | Boolean for to enabling or disabling the ethernet port |
Johnathan Mantey | 97b5129 | 2020-01-08 10:56:19 -0800 | [diff] [blame] | 71 | - name: LinkUp |
| 72 | type: boolean |
| 73 | flags: |
| 74 | - const |
| 75 | description: > |
| 76 | This property reports the link status for the NIC. The read-only |
| 77 | boolean value is TRUE when the network cable is inserted, or there |
| 78 | is a carrier signal. It is FALSE when the cable is unplugged, or the |
| 79 | carrier signal is missing. |
Ravi Teja | 0f57291 | 2020-07-06 09:37:59 -0500 | [diff] [blame] | 80 | - name: DefaultGateway |
| 81 | type: string |
| 82 | description: > |
| 83 | Default IPv4 gateway of the ethernet interface. |
| 84 | errors: |
| 85 | - xyz.openbmc_project.Common.Error.InvalidArgument |
| 86 | - name: DefaultGateway6 |
| 87 | type: string |
| 88 | description: > |
| 89 | Default IPv6 gateway of the ethernet interface. |
| 90 | For supported address formats refer RFC 2373. |
| 91 | Refer below man page for both v4 and v6 address format details |
| 92 | https://man7.org/linux/man-pages/man3/inet_pton.3.html |
| 93 | errors: |
| 94 | - xyz.openbmc_project.Common.Error.InvalidArgument |
Ravi Teja | 0edc82d | 2019-04-24 00:57:20 -0500 | [diff] [blame] | 95 | |
| 96 | enumerations: |
| 97 | - name: LinkLocalConf |
| 98 | description: > |
| 99 | Possible link local auto configuration values. |
| 100 | values: |
Ravi Teja | 55f1eee | 2019-09-19 05:59:31 -0500 | [diff] [blame] | 101 | - name: fallback |
Ravi Teja | 0edc82d | 2019-04-24 00:57:20 -0500 | [diff] [blame] | 102 | - name: both |
| 103 | - name: v4 |
| 104 | - name: v6 |
| 105 | - name: none |
Andrew Geissler | fcc419b | 2020-06-04 10:26:16 -0500 | [diff] [blame] | 106 | |
Johnathan Mantey | 1977059 | 2020-06-16 09:25:19 -0700 | [diff] [blame] | 107 | - name: DHCPConf |
| 108 | description: > |
| 109 | A list of the permitted DHCP settings used by systemd. |
| 110 | values: |
| 111 | - name: both |
| 112 | - name: v4 |
| 113 | - name: v6 |
| 114 | - name: none |