S4 - Verify DHCP successfully obtains an IP address

Test Objective

  • Purpose of this test is to verify that the Dynamic Host Configuration Protocol (DHCP)
    • Correct simulated PON environment
    • Logical device visible in VOLTHA cli

Test Configuration

  • VOLTHA ensemble running as per deployment instructions.
  • Note: The DHCP server is contained within ONOS.
  • PONSIM OLT and ONUs registered as ACTIVE in VOLTHA

Test Procedure

To start this procedure, execute the "ifconfig" command on the interface that will be getting assigned an IP address over DHCP and verify that IP address has not been assigned.

ifconfig pon1_128

Execute the following command

dhclient pon1_128

Note: When the dhclient command completes a common error message is displayed as follows. This mesage can safely be ignored.

dhclient: cannot move '/etc/*.conf' to '/etc/resolve.conf'

Then verify that an IP address was dynamically assigned to your interface

ifconfig pon1_128

Pass/Fail Criteria

  • IP address assigned to interface