E2E TS: Configuration profiles


Prerequisities

  • Dwarfguard 2.0.0+ (BETA2 1.9.0+) installed
  • At least one Advatench router device registered
  • At least one device of another type (could be SNMP or emulated (other than emulated Advantech))


Steps

  1. Navigate to the Config Profiles
  2. Prepare first config profile from the existing device
    1. Click on Create from Device
    2. Verify that only the Advantech devices are selectable (no other type or SNMP)
    3. Label the new config profile "first" and select any selectable device
    4. Verify the profile has been created
    5. Click on Manage in the profile table on line for "first" profile
    6. Check that there are some keys filled in (the difference between the device actual configuration to the defaults)
  3. Test profile copy
    1. Click on Create from existing Profile
    2. Select "first" profile, label the new profile "second"
    3. Verify the profile is created and there are some keys (same onces as the "first" profile)
  4. Profile download
    1. Revisit the "first" profile (Manage)
    2. Click on Download config Profile
    3. Verify the profile is downloaded
  5. Profile upload
    1. Click on Upload new profile in the Config Profiles table
    2. Select the downloaded profile, label the new profile as "third"
    3. Verify new profile is created and contains the configuration keys
  6. Profile assign
    1. Navigate to the Advantech device profile details
    2. Select "first" config profile in the Config Profile section
  7. Profile edit and update
    1. Verify the profile file shows correctly once opened in LibreOffice Calc
    2. Update one of the keys (e.g. ETH_DHCP_LEASE_TIME)
    3. Save keeping the Excel format
    4. Open the "first" configuration profile in Dwarfguard
    5. Click on Upload config profile
    6. Select the updated profile from storage
    7. Confirm the review shows the updated key(s) in red
    8. Confirm the change by clicking on Update all profile data
  8. Wait 10 minutes
  9. Confirm the key is changed on the device (in case of ETH_DHCP_LEASE_TIME key updated, check Configuration -> LAN -> Primary -> Lease Time in the router web UI)