我想添加新的字段openvswitch模式。我的openvswitch (/var/log/openvswitch/ovs-vswitch.log)如下所示;
2017-05-21T18:00:06.572Z|00105|rconn|WARN|s2<->tcp:192.168.29.87:6633: connection failed (Network is unreachable)
2017-05-21T18:00:07.572Z|00106|stream_tcp|ERR|tcp:192.168.29.87:6633: connect: Network is unreachable
2017-05-21T18:00:07.572Z|00107|rconn|WARN|s1<->tcp:192.168.29.87:6633: connection failed (Network is unreachable)
2017-05-21T18:00:07.572Z|00108|stream_tcp|ERR|tcp:192.168.29.87:6633: connect: Network is unreachable
2017-05-21T18:00:07.572Z|00109|rconn|WARN|s2<->tcp:192.168.29.87:6633: connection failed (Network is unreachable)
2017-05-21T18:00:08.248Z|00110|bridge|WARN|could not open network device s1-eth2 (No such device)
2017-05-21T18:00:08.257Z|00111|bridge|WARN|could not open network device s1-eth1 (No such device)我想将此文件添加到switchID。我能做到吗?否则这是不可能的。
祝大家今天过得愉快。
发布于 2017-06-07 18:07:24
你说的openvswitch头是什么意思?
对于您的日志,错误是关于端口不存在,您必须将端口添加到您创建的网桥,
示例:ifconfig的输出为:enp3s0和enp3s1您要将这些端口添加到ovs网桥
ovs-vsctl --may-exist add-br ovs-br #add ovs bridge name ovs-br
ovs-vsctl --may-exist add-port ovs-br enp3s0 #add enp3s0 to ovs-br
ovs-vsctl --may-exist add-port ovs-br enp3s1https://stackoverflow.com/questions/44100180
复制相似问题