hostname_test - openconfig/featureprofiles GitHub Wiki
Ensures the device support basic system requirements for a device supporting g* APIs.
Each test will require the DUT configured with a basic service configuration that should be provided as part of the basic configuration. This setup should also include any security setup for connecting to the services.
- Configure DUT with service configurations for all required services
- The test will verify if the hostname configuration paths can be read, updated and deleted.
- The test will verify if the domain-name configuration paths can be read, updated and deleted.
{
"system": {
"config": {
"domain-name": "test.name.example",
"hostname": "abcdefghijkmnop"
}
}
}paths:
/system/config/domain-name:
/system/state/domain-name:
/system/config/hostname:
/system/state/hostname:
rpcs:
gnmi:
gNMI.Set:
replace: true
delete: true
gNMI.Subscribe: