lib/junos-ez/lag_ports.rb
# LAG ports sit at the toplevel interface

LAG ports sit at the toplevel interface
LAG ports sit at the toplevel interface
def xml_get_has_xml( xml )
    if ndev.facts[:ifd_style] == "CLASSIC"
      @ifd_ether_options = 'gigether-options'
    else
      @ifd_ether_options = 'ether-options' 
    end 
    xml.xpath('//interface')[0]    
  end
def xml_get_has_xml ( xml ) if ndev . facts [ :ifd_style ] == "CLASSIC" @ifd_ether_options = 'gigether-options' else @ifd_ether_options = 'ether-options' end xml . xpath ( '//interface' ) [ 0 ] end
LAG ports sit at the toplevel interface
LAG ports sit at the toplevel interface
xml
<not_specific>