A job to check static IP address

Bug #1880859 reported by Kristin Chuang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Fix Released
High
Jonathan Cave

Bug Description

[Request]
While the job ethernet/check-{{ interface }}-static-configuration[1] exists, it does not check if the IP address given to that ethernet interface is expected or not.

We would like to request for either a new case that checks the IP address, or have the above case modified to also check correctness of IP address.

[Expected Usage]
1. Configure the expected IP address through plainbox.conf/checkbox.conf (something like STATIC_IP_ADDRESS=xxx.xxx.xx.xx)

2. Include this job into a test plan by replacing {{ interface }} with the interface that has static IP configured, e.g. ethernet/check-enp1s0-static-configuration (if using the example of the existing ethernet/check-{{ interface }}-static-configuration case)

3. When this case is run, it will compare the IP address of that certain interface with the IP address set in the configuration file. If they match then the case passes.

[1] https://git.launchpad.net/plainbox-provider-checkbox/tree/units/ethernet/jobs.pxu#n431

Related branches

description: updated
Jonathan Cave (jocave)
Changed in plainbox-provider-checkbox:
status: New → Confirmed
status: Confirmed → Triaged
importance: Undecided → High
assignee: nobody → Jonathan Cave (jocave)
milestone: none → 0.55.0
Jonathan Cave (jocave)
Changed in plainbox-provider-checkbox:
status: Triaged → In Progress
Changed in plainbox-provider-checkbox:
status: In Progress → Fix Committed
Revision history for this message
Pierre Equoy (pieq) wrote :

Tested OK in plainbox-provider-checkbox 0.55.0.

tags: added: cqa-verified
Changed in plainbox-provider-checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.