diff options
author | Ratan Gupta <ratagupt@in.ibm.com> | 2017-03-16 16:23:06 +0530 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-04-25 16:18:23 +0000 |
commit | 4c8247b14cdf52402a1e22feb412677b3fae3734 (patch) | |
tree | cf44341cab59b6a3e49b6efc0be385e77b59ad92 /xyz/openbmc_project | |
parent | cb1e8063a019eeacd74f9298647cbe15d5868ff9 (diff) | |
download | phosphor-dbus-interfaces-4c8247b14cdf52402a1e22feb412677b3fae3734.tar.gz phosphor-dbus-interfaces-4c8247b14cdf52402a1e22feb412677b3fae3734.zip |
Network: define interface to represent an ethernet interface
This interface would be used to implement the ethernet interface
specific configuration.
Change-Id: Ib92e746e8de0881296df790fe82544839dce0bc7
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
Diffstat (limited to 'xyz/openbmc_project')
-rw-r--r-- | xyz/openbmc_project/Network/EthernetInterface.interface.yaml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Network/EthernetInterface.interface.yaml b/xyz/openbmc_project/Network/EthernetInterface.interface.yaml new file mode 100644 index 0000000..abcdfef --- /dev/null +++ b/xyz/openbmc_project/Network/EthernetInterface.interface.yaml @@ -0,0 +1,36 @@ +description: > + This defines an ethernet interface. + An object implementing this interface must implement + xyz.openbmc_project.State.OperationalStatus. + + +properties: + - name: InterfaceName + type: string + description: > + Name of the ethernet interface. + - name: MACAddress + type: string + description: > + MAC address of the ethernet interface. + - name: Speed + type: uint32 + description: > + Current speed of the ethernet interface, in Mbps. + - name: AutoNeg + type: boolean + description: > + This indicates if the speed and duplex are automatically negotiated + and configured on this ethernet interface. + - name: DomainName + type: array[string] + description: > + Domain names of the ethernet interface. + - name: DHCPEnabled + type: boolean + description: > + Address mode of the ethernet interface. + - name: Nameservers + type: array[string] + description: > + DNS servers on the interface. |