Last Article we talked about storage in cloud and the difference between block, object and file storage. We will talk about network service in openstack that called Neutron.
1- Whatโs Neutron?
- Like openstack said , Neutron allows you to create and attach interface devices managed by other OpenStack services to networks. Plug-ins can be implemented to accommodate different networking equipment and software, providing flexibility to OpenStack architecture and deployment.
2- Neutron Components :
- There are 3 main components in Neutron Service
A- Neutron-Server : Routes API requests to the appropriate OpenStack Networking plug-in
B- OpenStack Networking plug-ins and agents: Plug and unplug ports, create networks or subnets, and provide IP addressing. The common agents are L3 (layer 3).
C- Messaging queue: Used by most OpenStack Networking installations to route information between the neutron-server and various agents. Also acts as a database to store networking state for particular plug-ins.
3- Difference between L2 Agent and L3 Agent :
A- L2 Agent : The L2 agent runs on the hypervisor (compute nodes),and its function is simply to wire new devices, which means it provides connections to new servers in appropriate network segments and also provides notifications when a device is attached or removed. In our install, we will use the OVS agent.
B- L3 Agent : The L3 agents run on the network node and are responsible for static routing,
IP forwarding, and other L3 features, such as DHCP.
4- Basic Neutron process : When a new Vm try to booted with neutron , thatโs what happen in the back ground
A- Boot VM start.
B- Create a port and notify the DHCP of the new port.
C- Create a new device (virtualization library โ libvirt).
D- Wire port (connect the VM to the new port).
E- Complete boot.
Top comments (0)