1. 11 6月, 2014 1 次提交
    • M
      virInterface: Expose link state & speed · 3db89662
      Michal Privoznik 提交于
      Currently it is not possible to determine the speed of an interface
      and whether a link is actually detected from the API. Orchestrating
      platforms want to be able to determine when the link has failed and
      where multiple speeds may be available which one the interface is
      actually connected at. This commit introduces an extension to our
      interface XML (without implementation to interface driver backends):
      
        <interface type='ethernet' name='eth0'>
          <start mode='none'/>
          <mac address='aa:bb:cc:dd:ee:ff'/>
          <link speed='1000' state='up'/>
          <mtu size='1492'/>
          ...
        </interface>
      
      Where @speed is negotiated link speed in Mbits per second, and state
      is the current NIC state (can be one of the following:  "unknown",
      "notpresent", "down", "lowerlayerdown","testing", "dormant", "up").
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      3db89662
  2. 16 7月, 2009 1 次提交
    • D
      Add netcf XML schemas and test data · 19e57fd9
      Daniel Veillard 提交于
      * docs/schemas/interface.rng: schemas for the interface XML files
        directly imported from netcf-0.1.0
      * tests/interfaceschemadata/*.xml: set of test files from netcf-0.1.0
        changed to use single quote instead of double quote
      19e57fd9