1. 26 Mar, 2014 2 commits
    • Dan Williams's avatar
      dcb: turn off all DCB features when disabling DCB · ebc06a00
      Dan Williams authored
      Don't just disable DCB, but turn off the features too.
      ebc06a00
    • Dan Williams's avatar
      dcb: set all Priority Group options at the same time (rh #799241) · 5233e6b9
      Dan Williams authored
      First, lldpad doesn't support disabling priority groups (e:0)
      without specifying a complete priority group config (which wouldn't
      be used anyway, since you're turning it off!).  While this bug is
      being fixed upstream, we'll just ignore errors turning off
      PG, since if you're using DCB on an interface, you probably want
      to use it all the time.
      
      Second, lldpad really wants all PG options on the same configuration
      line, not split apart, because it validates the complete package
      of options before applying them, regardless of whether or not they
      are given in the same command.  Since NM was just emitting all the
      options in separate dcbtool invocations anyway, just combine them
      all into a single invocation.
      5233e6b9
  2. 31 Oct, 2013 1 commit