Submit a ticketCall us

Looking to compare latest NPM features with previous versions of NPM?
The NPM new feature summary offers a comparison of new features and improvements offered with this release.

 

Home > Success Center > Network Configuration Manager (NCM) > Config Change Template fails validation

Config Change Template fails validation

Created by Interspire Import, last modified by MindTouch on Jun 23, 2016

Views: 2 Votes: 0 Revisions: 9

Overview

If the template script includes CLI commands with arguments, the extensibility framework that NCM uses inserts spaces at the beginning of the line in which the argument(s) occur.

For example:

CLI
{
  Password @NewPassword
}

becomes:

CLI
{
                 Password @NewPassword
}


The runtime value in such case may be corrupted by having the spaces included at the beginning of the actual value of the argument.

Environment

  • NCM all versions

Cause

By design, the extensibility framework that NCM uses inserts spaces at the beginning of the line in which the argument(s) occur

Resolution

As a workaround, remove the spaces from the CLI blocks.

Last modified
21:03, 22 Jun 2016

Tags

Classifications

Public