[PATCH phosphor-networkd] Added DBus method GetAddressType to identify if the interface is conf…

OpenBMC Patches openbmc-patches at stwcx.xyz
Sat Apr 30 03:40:41 AEST 2016


…igured

with static IP address or configured by DHCP.

"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node name="/org/openbmc/NetworkManager/Interface">
  ...  
  <interface name="**org.openbmc.NetworkManager**">
    <method name="**GetAddressType**">
      <arg direction="in"  type="s" name="device" />
      <arg direction="out" type="s" />
    </method>
...
   </interface>

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/openbmc/phosphor-networkd/15)
<!-- Reviewable:end -->


https://github.com/openbmc/phosphor-networkd/pull/15

Hariharasubramanian R (1):
  Added DBus method GetAddressType to identify if the interface is
    configured with static IP address or configured by DHCP.

 netman.py | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

-- 
2.8.1




More information about the openbmc mailing list