CNMaestro Template to change

We are trying to change our Bridge Table Size from the default to 6.   I have tried the following and they execute successfully but there is no change to the SM.  Any help would be appreciated.

{

    "userParameters": {

        "bridgetablesize": 6
    },

    "cfgFileString": "Canopy configuration file",
    "cfgFileVersion": "1.0"
}







-------------------------------


{

    "userParameters": {

        "smNatNetworkConfig": {

            "bridgetablesize": 6
        }
    },
    "cfgFileString": "Canopy configuration file",
    "cfgFileVersion": "1.0"
}

Tried the following to see if it would work and it set the webautoupdate to 3 but did nothing to the bridgetablesize

{

    "userParameters": {

        "networkConfig": {

            "bridgetablesize": 6,
            "webAutoUpdate": 3
        }
    },
    "cfgFileString": "Canopy configuration file",
    "cfgFileVersion": "1.0"
}

Hi Chris,

Try pushing the following from cnMaestro.

{
	"userParameters": {
		"networkConfig": {
			"bridgeTableSize": 6
		}
	}
}

I think one of the issues is maintaining camelCase for "bridgeTableSize". 

I recommend for creating templates like this to make the changes in the SM web UI, export the configuration file and then remove all settings you don't which to include, being careful to maintain the structure (userParameters -> networkConfig -> bridgeTableSize).  Then verify that the structure is still valid with https://jsonlint.com 

I like to use some value in the web UI that I will know wil be unique in order to make it easier to find the parameter I actualy want to use in the exported configuration file.

That was it.  Thanks

1 Like