Skip to content

IPv6 Address Helper

Divya Meena requested to merge ipv6AddressHelper into master

Presently the assignment of IPv6 addresses to every interface in NeST is done manually. This becomes quite tedious and error-prone when the network size increases. The main idea of this project is to develop a helper API through which the users of NeST can automatically assign IPv6 addresses for emulation.

Here we developed a helper API through which the NeST users can automatically assign IPv6 addresses for emulation. To achieve the objective, we added two new classes:

  • Network class : Network Class allows the user to mention the network name explicitly. It will enable the support of the Address Helper.
  • AddressHelper class: Address Helper class is used to support automatic address assignment for both IPv4 and IPv6.

List of modified files

  • nest/topology/address.py
  • nest/topology/interface.py
  • nest/topology_map.py

Finally, we added example programs to demonstrate the use case of the IPv6 Address Helper and Ipv4 mapped Ipv6 address.

  • prp.py
  • gfc-2.py

Signed-off-by: Ayushi Jain ajain3765@gmail.com

Signed-off-by: Divya Meena 18divya06@gmail.com

Signed-off-by: Swati Singh swatikdma@gmail.com

Signed-off-by: Himanshu Kashyap himanshukashyap1122@gmail.com

Signed-off-by: Pranab Nandy nandypranab3@gmail.com

Signed-off-by: Satyam Prakash satyamprakash2828@gmail.com

Edited by Ayushi Jain

Merge request reports