- Abhinav Gupta - 191cs201
- Anupam Lal - 191cs209
- Shubhanshu Singh - 191cs250
- Vamshikrishna M - 191cs261
- Initialize an empty dictionary mapping to store the mapping of virtual nodes and links to physical nodes and links.
- Iterate through each virtual node in the virtual network request.
- For each virtual node, iterate through each physical node in the physical network.
- Check if the physical node has enough resources (CPU and memory) to map the virtual node.
- If yes, add the mapping of the virtual node to the physical node in the mapping dictionary, update the available resources in the physical node, and move to the next virtual node.
- Iterate through each virtual link in the virtual network request.
- For each virtual link, iterate through each physical link in the physical network.
- Check if the physical link has enough bandwidth to map the virtual link.
- If yes, add the mapping of the virtual link to the physical link in the mapping dictionary, update the available bandwidth in the physical link, and move to the next virtual link.
- Return the mapping dictionary containing the mapping of virtual nodes and links to physical nodes and links.
The added print statements display the updated resource utilization, including CPU, memory, and bandwidth, in the physical nodes and links, providing valuable information for monitoring and analyzing resource utilization during VNE. This allows for better understanding and management of the physical network's resource usage during virtual network embedding
Hejja, Khaled, and Xavier Hesselbach. "Online power aware coordinated virtual network embedding with 5G delay constraint." Journal of Network and Computer Applications 124 (2018): 121-136