

@with_protocol
def test_show_interfaces_status(self, t):
    enable(t)
    create_bond(t, 1)
    create_bond(t, 2)
    create_bond(t, 3)
    create_bond(t, 4)
    create_bond(t, 5)
    create_bond(t, 6)
    create_bond(t, 7)
    create_bond(t, 8)
    create_bond(t, 9)
    create_bond(t, 10)
    t.write('show interfaces status')
    t.readln('')
    t.readln('Port   Type                            Duplex  Speed    Neg  Link  Flow Control')
    t.readln('                                                             State Status')
    t.readln('-----  ------------------------------  ------  -------  ---- --------- ------------')
    t.readln('1/g1   Gigabit - Level                 Full    Unknown  Auto Down      Inactive')
    t.readln('1/g2   Gigabit - Level                 Full    Unknown  Auto Down      Inactive')
    t.readln('1/xg1  10G - Level                     Full    Unknown  Auto Down      Inactive')
    t.readln('2/g1   Gigabit - Level                 Full    Unknown  Auto Down      Inactive')
    t.readln('2/g2   Gigabit - Level                 Full    Unknown  Auto Down      Inactive')
    t.readln('2/xg1  10G - Level                     Full    Unknown  Auto Down      Inactive')
    t.readln('')
    t.readln('')
    t.readln('Ch   Type                            Link')
    t.readln('                                     State')
    t.readln('---  ------------------------------  -----')
    t.readln('ch1  Link Aggregate                  Down')
    t.readln('ch2  Link Aggregate                  Down')
    t.readln('ch3  Link Aggregate                  Down')
    t.readln('ch4  Link Aggregate                  Down')
    t.readln('ch5  Link Aggregate                  Down')
    t.readln('ch6  Link Aggregate                  Down')
    t.readln('ch7  Link Aggregate                  Down')
    t.readln('ch8  Link Aggregate                  Down')
    t.read('--More-- or (q)uit')
    t.write_raw('m')
    t.readln('')
    t.readln('ch9  Link Aggregate                  Down')
    t.readln('ch10 Link Aggregate                  Down')
    t.readln('')
    t.readln('Flow Control:Enabled')
    t.readln('')
    t.read('my_switch#')
    remove_bond(t, 1)
    remove_bond(t, 2)
    remove_bond(t, 3)
    remove_bond(t, 4)
    remove_bond(t, 5)
    remove_bond(t, 6)
    remove_bond(t, 7)
    remove_bond(t, 8)
    remove_bond(t, 9)
    remove_bond(t, 10)

dataset/ETHPy150Open internap/fake-switches/tests/dell/test_configure_interface.py DellConfigureInterfaceTest.test_show_interfaces_status/original