Nutanix CE の AHV では、ネットワーク関連の機能で Open vSwitch ブリッジの OpenFlow ルールが利用されています。
Open vSwitch の OpenFlow ルールは、ovs-ofctl dump-flows コマンドで確認できますが、デフォルトでは Stats 情報も表示されます。
[root@NTNX-1345a952-A ~]# ovs-ofctl dump-flows br0
cookie=0x0, duration=679.433s, table=0, n_packets=0, n_bytes=0, priority=42,dl_type=0x9000 actions=drop
cookie=0x0, duration=679.433s, table=0, n_packets=52, n_bytes=3800, priority=41,in_port="br0.u" actions=resubmit(,3)
cookie=0x0, duration=703.505s, table=0, n_packets=231204, n_bytes=535866215, priority=0 actions=NORMAL
cookie=0x0, duration=679.433s, table=0, n_packets=3731512, n_bytes=7947552515, priority=40 actions=resubmit(,3)
cookie=0x0, duration=679.433s, table=3, n_packets=20, n_bytes=840, priority=1,arp,in_port="br0.u" actions=NORMAL,output:"br0-arp"
cookie=0x0, duration=679.433s, table=3, n_packets=0, n_bytes=0, priority=1,udp,in_port="br0.u",tp_dst=67 actions=NORMAL,output:"br0-arp"
cookie=0x0, duration=679.433s, table=3, n_packets=6, n_bytes=2169, priority=1,udp,tp_dst=68 actions=NORMAL,output:"br0-arp"
cookie=0x0, duration=679.433s, table=3, n_packets=3731538, n_bytes=7947553306, priority=0 actions=NORMAL
そこで、Stats 情報を省略する「--no-stats」 オプションを使用すると、すこしルールの内容を確認しやすくなります。
続きを読む