Commit 4ccce6ef authored by Mohamad Rahhal's avatar Mohamad Rahhal
Browse files

Update 2 files

- /src/tests/ryu-openflow/custom_pentagon_topology.py
- /src/tests/ryu-openflow/.gitlab-ci.yml
parent ca437f08
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -94,6 +94,8 @@ end2end_test ryu-openflow:
    - docker ps -a
    - echo "Finishing script section"
#    Dump configuration of the switches (OpenFlow rules configured) (before configure IETF service)
    - docker exec mininet ovs-vsctl show
    - docker logs mininet
    - docker exec mininet ovs-ofctl dump-flows s1
    - docker exec mininet ovs-ofctl dump-flows s2
    - docker exec mininet ovs-ofctl dump-flows s3
+2 −7
Original line number Diff line number Diff line
@@ -53,13 +53,8 @@ if __name__ == '__main__':

    print('Custom Pentagon Topology is up with static ARP.')
    #CLI(net)
    try:
    while True:
        time.sleep(60)
    except KeyboardInterrupt:
        print("Stopping topology.")
    finally:
        net.stop()
    #while True:
    #time.sleep(60)  
    #net.stop()