blob: d8b6d2fbf31e4504789bd21900839abbafcbfbcd [file] [log] [blame]
Ratan Gupta4c8247b2017-03-16 16:23:06 +05301description: >
2 This defines an ethernet interface.
3 An object implementing this interface must implement
4 xyz.openbmc_project.State.OperationalStatus.
5
6
7properties:
8 - name: InterfaceName
9 type: string
10 description: >
11 Name of the ethernet interface.
Ratan Gupta4c8247b2017-03-16 16:23:06 +053012 - 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 Patil0ef46c12021-07-19 17:34:57 +053021 - 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 Gupta4c8247b2017-03-16 16:23:06 +053027 - name: DomainName
28 type: array[string]
29 description: >
30 Domain names of the ethernet interface.
31 - name: DHCPEnabled
Johnathan Mantey19770592020-06-16 09:25:19 -070032 type: enum[self.DHCPConf]
Ratan Gupta4c8247b2017-03-16 16:23:06 +053033 description: >
34 Address mode of the ethernet interface.
35 - name: Nameservers
36 type: array[string]
37 description: >
Manojkiran Eda496741a2019-10-13 18:46:11 +053038 DNS servers that are currently in use on this interface.
Manojkiran Eda83968c32019-08-22 11:59:13 +053039 errors:
Manojkiran Eda262ac242019-08-08 14:35:06 +053040 - xyz::openbmc_project.Common.Error.NotAllowed
Manojkiran Eda496741a2019-10-13 18:46:11 +053041 - 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 Guptaa51dea72017-08-23 18:13:33 +053051 - 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 Teja0edc82d2019-04-24 00:57:20 -050058 - 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 Mantey8d6cb9b2019-06-25 09:20:50 -070063 - name: IPv6AcceptRA
64 type: boolean
65 description: >
66 Boolean for accepting router advertisements in IPv6
Johnathan Manteyb43056f2019-10-29 16:15:18 -070067 - name: NICEnabled
68 type: boolean
69 description: >
70 Boolean for to enabling or disabling the ethernet port
Johnathan Mantey97b51292020-01-08 10:56:19 -080071 - 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 Teja0f572912020-07-06 09:37:59 -050080 - 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 Teja0edc82d2019-04-24 00:57:20 -050095
96enumerations:
97 - name: LinkLocalConf
98 description: >
99 Possible link local auto configuration values.
100 values:
Ravi Teja55f1eee2019-09-19 05:59:31 -0500101 - name: fallback
Ravi Teja0edc82d2019-04-24 00:57:20 -0500102 - name: both
103 - name: v4
104 - name: v6
105 - name: none
Andrew Geisslerfcc419b2020-06-04 10:26:16 -0500106
Johnathan Mantey19770592020-06-16 09:25:19 -0700107 - 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