Linksys SPA921 Cisco Small Business IP Telephony Devices Provisioning Guide - Page 48

Assignment Expressions, URL Syntax, ParameterXMLName = Value

Page 48 highlights

Creating Provisioning Scripts Proprietary Plain-Text Configuration File 2 Assignment Expressions Arbitrary parameters can be pre-assigned values within the context of Profile_Rule* and Upgrade_Rule parameter. This causes the assignment to be performed before the profile if retrieved. The syntax for performing these assignments is a list of individual parameter assignments, enclosed within parentheses ( assignments )!, with each assignment taking the form: ParameterXMLName = "Value" ; Note that the recognized parameter names correspond to the names as for XMLbased profiles. Any parameter can be assigned a new value in this way, and macro-expansion applies. For example, the following is a valid assignment expression: ( User_ID_1_ = "uid$B" ; GPP_C = "" ; GPP_D = "$MA" ; )! For conciseness, the general purpose parameters GPP_A through GPP_P can also be referred to by the single lowercase letters a through p. The example above is equivalent to the following: ( User_ID_1_ = "uid$B" ; c = "" ; d = "$MA" ; )! White space can optionally be used for readability. URL Syntax Standard URL syntax is used to specify how to retrieve configuration files and firmware loads in Profile_Rule* and Upgrade_Rule parameters, respectively. The syntax is as follows: [ scheme:// ] [ server [:port]] filepath Where scheme is one of the following values: • tftp • http • https Cisco Small Business IP Telephony Devices Provisioning Guide 46

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116

Creating Provisioning Scripts
Proprietary Plain-Text Configuration File
Cisco Small Business IP Telephony Devices Provisioning Guide
46
2
Assignment Expressions
Arbitrary parameters can be pre-assigned values within the context of
Profile_Rule* and Upgrade_Rule parameter. This causes the assignment to be
performed before the profile if retrieved.
The syntax for performing these assignments is a list of individual parameter
assignments, enclosed within parentheses ( assignments )!, with each assignment
taking the form:
ParameterXMLName = “Value” ;
Note that the recognized parameter names correspond to the names as for XML-
based profiles.
Any parameter can be assigned a new value in this way, and macro-expansion
applies. For example, the following is a valid assignment expression:
( User_ID_1_ = “uid$B” ; GPP_C = “” ; GPP_D = “$MA” ; )!
For conciseness, the general purpose parameters GPP_A through GPP_P can also
be referred to by the single lowercase letters a through p. The example above is
equivalent to the following:
( User_ID_1_ = “uid$B” ; c = “” ; d = “$MA” ; )!
White space can optionally be used for readability.
URL Syntax
Standard URL syntax is used to specify how to retrieve configuration files and
firmware loads in Profile_Rule* and Upgrade_Rule parameters, respectively. The
syntax is as follows:
[ scheme:// ] [ server [:port]] filepath
Where scheme is one of the following values:
tftp
http
https