eval_messages.mes 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. # Copyright (C) 2015-2017 Internet Systems Consortium, Inc. ("ISC")
  2. #
  3. # This Source Code Form is subject to the terms of the Mozilla Public
  4. # License, v. 2.0. If a copy of the MPL was not distributed with this
  5. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  6. $NAMESPACE isc::dhcp
  7. # For use with TokenAnd
  8. % EVAL_DEBUG_AND Popping %1 and %2 pushing %3
  9. This debug message indicates that two values are popped from
  10. the value stack. Then are then combined via logical and and
  11. the result is pushed onto the value stack.
  12. # For use with TokenConcat
  13. % EVAL_DEBUG_CONCAT Popping %1 and %2 pushing %3
  14. This debug message indicates that the two strings are being popped off
  15. of the stack. They are then concatenated and the resulting string is
  16. pushed onto the stack. The strings are displayed in hex.
  17. # For use with TokenEqual
  18. # Start with binary for the inputs for now, we may add text in the future.
  19. % EVAL_DEBUG_EQUAL Popping %1 and %2 pushing result %3
  20. This debug message indicates that the two strings are being popped off
  21. of the value stack and the result of comparing them is being pushed onto
  22. the value stack. The strings are displayed in hex.
  23. # For use with TokenHexString
  24. % EVAL_DEBUG_HEXSTRING Pushing hex string %1
  25. This debug message indicates that the given binary string is being pushed
  26. onto the value stack. The string is displayed in hex.
  27. # For use with TokenIfElse
  28. % EVAL_DEBUG_IFELSE_FALSE Popping %1 (false) and %2, leaving %3
  29. This debug message indicates that the condition is false so
  30. the iftrue branch value is removed and the ifelse branch value
  31. is left on the value stack.
  32. % EVAL_DEBUG_IFELSE_TRUE Popping %1 (true) and %2, leaving %3
  33. This debug message indicates that the condition is true so
  34. the ifelse branch value is removed and the iftrue branch value
  35. is left on the value stack.
  36. # For use with TokenIpAddress
  37. % EVAL_DEBUG_IPADDRESS Pushing IPAddress %1
  38. This debug message indicates that the given binary string is being pushed
  39. onto the value stack. This represents either an IPv4 or IPv6 address.
  40. The string is displayed in hex.
  41. # For use with TokenNot
  42. % EVAL_DEBUG_NOT Popping %1 pushing %2
  43. This debug message indicates that the first value is popped from
  44. the value stack, negated and then pushed onto the value stack.
  45. The string is displayed in text.
  46. # For use with TokenOption based classes. These include TokenOption,
  47. # TokenRelay4Option and TokenRelay6Option.
  48. % EVAL_DEBUG_OPTION Pushing option %1 with value %2
  49. This debug message indicates that the given string representing the
  50. value of the requested option is being pushed onto the value stack.
  51. The string may be the text or binary value of the string based on the
  52. representation type requested (.text or .hex) or "true" or "false" if
  53. the requested type is .exists. The option code may be for either an
  54. option or a sub-option as requested in the classification statement.
  55. # For use with TokenOr
  56. % EVAL_DEBUG_OR Popping %1 and %2 pushing %3
  57. This debug message indicates that two values are popped from
  58. the value stack. Then are then combined via logical or and
  59. the result is pushed onto the value stack. The string is displayed
  60. in text.
  61. # For use with TokenPkt
  62. % EVAL_DEBUG_PKT Pushing PKT meta data %1 with value %2
  63. This debug message indicates that the given binary string representing
  64. the value of the requested meta data is being pushed onto the value stack.
  65. The string is displayed in hex at the exception of interface name.
  66. # For use with TokenPkt4
  67. % EVAL_DEBUG_PKT4 Pushing PKT4 field %1 with value %2
  68. This debug message indicates that the given binary string representing
  69. the value of the requested field is being pushed onto the value stack.
  70. The string is displayed in hex.
  71. # For use with TokenPkt6
  72. % EVAL_DEBUG_PKT6 Pushing PKT6 field %1 with value %2
  73. This debug message indicates that the given binary string representing
  74. the value of the requested field is being pushed onto the value stack.
  75. The string is displayed in hex.
  76. # For use with TokenRelay6Field
  77. % EVAL_DEBUG_RELAY6 Pushing PKT6 relay field %1 nest %2 with value %3
  78. This debug message indicates that the given binary string representing
  79. the value of the requested fied is being pushed onto the value stack.
  80. The string is displayed in hex.
  81. % EVAL_DEBUG_RELAY6_RANGE Pushing PKT6 relay field %1 nest %2 with value %3
  82. This debug message is generated if the nest field is out of range. The
  83. empty string will always be the value pushed onto the stack.
  84. # For use with TokenString
  85. % EVAL_DEBUG_STRING Pushing text string %1
  86. This debug message indicates that the given text string is being pushed
  87. onto the value stack. The string is displayed in text.
  88. # For use with TokenSubstring
  89. # Start with binary for the strings for now, we may add text in the future.
  90. % EVAL_DEBUG_SUBSTRING Popping length %1, start %2, string %3 pushing result %4
  91. This debug message indicates that three values are being popped from
  92. the value stack and a result is being pushed onto the value stack. The
  93. values being popped are the starting point and length of a substring to
  94. extract from the given string. The resulting string is pushed onto
  95. the stack. The strings are displayed in hex.
  96. % EVAL_DEBUG_SUBSTRING_EMPTY Popping length %1, start %2, string %3 pushing result %4
  97. This debug message indicates that the string popped from the stack was empty
  98. and so the result will also be empty. The start, length and string are
  99. still popped from the stack and the result is still pushed.
  100. % EVAL_DEBUG_SUBSTRING_RANGE Popping length %1, start %2, string %3 pushing result %4
  101. This debug message indicates that the value of start is outside of the
  102. string and an empty result will be pushed onto the stack. The start,
  103. length and string are still popped from the stack and the result is
  104. still pushed. The strings are displayed in hex.
  105. % EVAL_DEBUG_VENDOR_CLASS_DATA Data %1 (out of %2 received) in vendor class found, pushing result '%3'
  106. This debug message indicates that vendor class option was found and passed
  107. enterprise-id checks and has sufficient number of data chunks. The total number
  108. of chunks and value pushed are reported as debugging aid.
  109. % EVAL_DEBUG_VENDOR_CLASS_DATA_NOT_FOUND Requested data index %1, but option with enterprise-id %2 has only %3 data tuple(s), pushing result '%4'
  110. This debug message indicates that vendor class option was found and passed
  111. enterprise-id checks, but does not have sufficient number of data chunks.
  112. Note that the index starts at 0, so there has to be at least (index + 1)
  113. data chunks.
  114. % EVAL_DEBUG_VENDOR_CLASS_ENTERPRISE_ID Pushing enterprise-id %1 as result 0x%2
  115. This debug message indicates that the expression has been evaluated and vendor
  116. class option was found and its enterprise-id is being reported.
  117. % EVAL_DEBUG_VENDOR_CLASS_ENTERPRISE_ID_MISMATCH Was looking for %1, option had %2, pushing result '%3'
  118. This debug message indicates that the expression has been evaluated
  119. and vendor class option was found, but has different enterprise-id than specified
  120. in the expression.
  121. % EVAL_DEBUG_VENDOR_CLASS_EXISTS Option with enterprise-id %1 found, pushing result '%2'
  122. This debug message indicates that the expression has been evaluated and vendor
  123. class option was found.
  124. % EVAL_DEBUG_VENDOR_CLASS_NO_OPTION Option with code %1 missing, pushing result '%2'
  125. This debug message indicates that the expression has been evaluated
  126. and vendor class option was not found.
  127. % EVAL_DEBUG_VENDOR_ENTERPRISE_ID Pushing enterprise-id %1 as result 0x%2
  128. This debug message indicates that the expression has been evaluated and vendor
  129. option was found and its enterprise-id is being reported.
  130. % EVAL_DEBUG_VENDOR_ENTERPRISE_ID_MISMATCH Was looking for %1, option had %2, pushing result '%3'
  131. This debug message indicates that the expression has been evaluated
  132. and vendor option was found, but has different enterprise-id than specified
  133. in the expression.
  134. % EVAL_DEBUG_VENDOR_EXISTS Option with enterprise-id %1 found, pushing result '%2'
  135. This debug message indicates that the expression has been evaluated and vendor
  136. option was found.
  137. % EVAL_DEBUG_VENDOR_NO_OPTION Option with code %1 missing, pushing result '%2'
  138. This debug message indicates that the expression has been evaluated
  139. and vendor option was not found.
  140. % EVAL_RESULT Expression %1 evaluated to %2
  141. This debug message indicates that the expression has been evaluated
  142. to said value. This message is mostly useful during debugging of the
  143. client classification expressions.