Symptom
-a vManage may run into an issue post an attempt to attach a device template to a cEdge:
[22-Jul-2022 19:40:04 UTC] Configuring device with feature template: cEdge
[22-Jul-2022 19:40:04 UTC] Checking and creating device in vManage
[22-Jul-2022 19:40:05 UTC] Generating configuration from template
[22-Jul-2022 19:40:10 UTC] Device is online
[22-Jul-2022 19:40:10 UTC] Updating device configuration in vManage
[22-Jul-2022 19:40:11 UTC] Sending configuration to device
[22-Jul-2022 19:40:15 UTC] Successfully notified device to pull configuration
[22-Jul-2022 19:40:16 UTC] Device has pulled the config
[22-Jul-2022 19:40:33 UTC] Device: Data provider returned CONFD_ERRCODE_INCONSISTENT_VALUE (38): inconsistent value: Device refused one or more commands:
no controller wanphy0/2/0
^
% Invalid input detected at '^' marker."
[22-Jul-2022 19:40:33 UTC] Failed to attach template
-From the CLI of the cEdge, we also see the following when attempting to remove the command:
cEdge(config)# no controller wanphy 0/2/0
cEdge(config)# commit
Aborted: inconsistent value: Device refused one or more commands:
no controller wanphy0/2/0
^
% Invalid input detected at '^' marker."
Conditions
-vManage running 20.7.1
-cEdge 17.7.1a
-Pushing a device template to the cEdge ASR1K
-The command "controller wanphy x/y/z" is part of the running config.
Workaround
-Use feature template cli-addon template and add the cli "controller wanphy x/y/z" to the device template before pushing the device template to the device in question.
Further Problem Description
-This issue occurs for configuration lines that are not part of the SDWAN scope.
-As a result of that a CLI add-on template need to be used as part of the day 0 config.