nesanton / kvmvlan Goto Github PK
View Code? Open in Web Editor NEWvlan management for KVM based on libvirt hooks
License: MIT License
vlan management for KVM based on libvirt hooks
License: MIT License
It is a good job! thanks for Author.
but I find a fault when a cluster consists of many hosts.
There are four virutal machines.
VM1 ===> vlan id = 2, VM2 == > vlan id = 3 in Host A.
VM3 ===> vlan id = 3, VM4 ==> vlan id = 4 in Host B.
When Host A and B are connected by a switch, I found the following.
VM3 ping VM3, ok ! I think it right.
but other VMS can ping each other, too. I think some fault happens. why?
Thanks for this awesome project.
I am not aware of the function of Linux builtin bridge before.
It helps me a lot. Thanks.
This is not really an issue, more of a "FYI" in the installation docs:
If the following is logged in /etc/libvirt/hooks/logs/daemon_start_bridge_init.log:
Traceback (most recent call last):
File "./bridge_init.py", line 244, in
main(ARGV)
File "./bridge_init.py", line 111, in main
ipr = IPRoute()
File "/usr/lib/python2.7/dist-packages/pyroute2/netlink/rtnl/iprsocket.py", line 26, in init
all_ns=all_ns)
File "/usr/lib/python2.7/dist-packages/pyroute2/netlink/nlsocket.py", line 341, in init
self.post_init()
File "/usr/lib/python2.7/dist-packages/pyroute2/netlink/nlsocket.py", line 874, in post_init
self._fileno)
File "/usr/lib/python2.7/socket.py", line 191, in init
_sock = _realsocket(family, type, proto)
socket.error: [Errno 13] Permission denied
Then the problem may be that libvirt may not open netlink datagram sockets. To fix
echo " network netlink dgram," > /etc/apparmor.d/local/usr.sbin.libvirtd
then reload apparmor.
Oskar Liljeblad
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.