Loading src/tests/ryu-openflow/Mininet.Dockerfile +9 −2 Original line number Diff line number Diff line Loading @@ -14,6 +14,9 @@ FROM ubuntu:22.04 USER root WORKDIR /root ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && \ apt-get install -y --no-install-recommends iproute2 net-tools openvswitch-switch ca-certificates && \ Loading @@ -22,5 +25,9 @@ RUN apt-get update && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* COPY src/tests/ryu-openflow/custom_pentagon_topology.py /opt/custom_pentagon_topology.py CMD ["python3", "/opt/custom_pentagon_topology.py"] COPY src/tests/ryu-openflow/mininet/custom_pentagon_topology.py /opt/custom_pentagon_topology.py COPY src/tests/ryu-openflow/mininet/mininet-entrypoint.sh /mininet-entrypoint.sh EXPOSE 6633 6653 6640 ENTRYPOINT ["/mininet-entrypoint.sh"] src/tests/ryu-openflow/custom_pentagon_topology.py→src/tests/ryu-openflow/mininet/custom_pentagon_topology.py +0 −0 File moved. View file src/tests/ryu-openflow/mininet/mininet-entrypoint.sh 0 → 100644 +8 −0 Original line number Diff line number Diff line #!/bin/bash service openvswitch-switch start ovs-vsctl set-manager ptcp:6640 python3 /opt/custom_pentagon_topology.py service openvswitch-switch stop Loading
src/tests/ryu-openflow/Mininet.Dockerfile +9 −2 Original line number Diff line number Diff line Loading @@ -14,6 +14,9 @@ FROM ubuntu:22.04 USER root WORKDIR /root ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && \ apt-get install -y --no-install-recommends iproute2 net-tools openvswitch-switch ca-certificates && \ Loading @@ -22,5 +25,9 @@ RUN apt-get update && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* COPY src/tests/ryu-openflow/custom_pentagon_topology.py /opt/custom_pentagon_topology.py CMD ["python3", "/opt/custom_pentagon_topology.py"] COPY src/tests/ryu-openflow/mininet/custom_pentagon_topology.py /opt/custom_pentagon_topology.py COPY src/tests/ryu-openflow/mininet/mininet-entrypoint.sh /mininet-entrypoint.sh EXPOSE 6633 6653 6640 ENTRYPOINT ["/mininet-entrypoint.sh"]
src/tests/ryu-openflow/custom_pentagon_topology.py→src/tests/ryu-openflow/mininet/custom_pentagon_topology.py +0 −0 File moved. View file
src/tests/ryu-openflow/mininet/mininet-entrypoint.sh 0 → 100644 +8 −0 Original line number Diff line number Diff line #!/bin/bash service openvswitch-switch start ovs-vsctl set-manager ptcp:6640 python3 /opt/custom_pentagon_topology.py service openvswitch-switch stop