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