Exemplo n.º 1
0
def test_config_merge(junos_topo):

    netblow = NetBlow(topo=junos_topo, iter_once=True)
    dut = 'junos1'
    commands = [
        'set system domain-name lab.com', 'set system ntp peer 10.10.10.10'
    ]
    netblow.config_rollback(dut, commands=commands)
Exemplo n.º 2
0
def test_config_merge(iosxr_topo):

    netblow = NetBlow(topo=iosxr_topo, iter_once=True)
    dut = 'iosxr1'
    commands = ['router bgp 65001']
    netblow.config_rollback(dut, commands=commands)
Exemplo n.º 3
0
def test_config_merge(eos_topo):

    netblow = NetBlow(topo=eos_topo, iter_once=True)
    dut = 'eos1'
    commands = ['hostname {}'.format(dut * 2)]
    netblow.config_rollback(dut, commands=commands)