6.10. OpenFlow 모니터링
ovs-ofctl dump-flows 명령을 사용하여 RHOSP(Red Hat Openstack Platform) 네트워크의 논리 스위치에서 OpenFlow 흐름을 모니터링할 수 있습니다.
사전 요구 사항
- Networking 서비스(neutron) 기본 메커니즘 드라이버로 ML2/OVN을 사용한 RHOSP 배포.
절차
OVN 컨테이너에 액세스하는 데 필요한 권한이 있는 사용자로 컨트롤러 호스트에 로그인합니다.
예제
$ ssh tripleo-admin@controller-0.ctlplane
ovs-ofctl dump-flows명령을 실행합니다.예제
$ sudo ovs-ofctl dump-flows br-int
다음 출력과 유사한 출력을 검사합니다.
샘플 출력
$ ovs-ofctl dump-flows br-int NXST_FLOW reply (xid=0x4): cookie=0x0, duration=72.132s, table=0, n_packets=0, n_bytes=0, idle_age=72, priority=10,in_port=1,dl_src=00:00:00:00:00:01 actions=resubmit(,1) cookie=0x0, duration=60.565s, table=0, n_packets=0, n_bytes=0, idle_age=60, priority=10,in_port=2,dl_src=00:00:00:00:00:02 actions=resubmit(,1) cookie=0x0, duration=28.127s, table=0, n_packets=0, n_bytes=0, idle_age=28, priority=0 actions=drop cookie=0x0, duration=13.887s, table=1, n_packets=0, n_bytes=0, idle_age=13, priority=0,in_port=1 actions=output:2 cookie=0x0, duration=4.023s, table=1, n_packets=0, n_bytes=0, idle_age=4, priority=0,in_port=2 actions=output:1
추가 리소스
-
OVS-ofctl --help명령