Data Types
Supported data types in Radiator configuration language
Supported data types
Following data types are supported:
none: No value: noneany: Any value: anyboolean: Boolean value: true or falseunsigned: Unsigned number. Examples: 10, 6000enum: Unsigned numeric enum. Examples: START, radius, 1, 2signed: Signed number. Examples: -10, -6000, 10, 6000float: Floating point number. Examples: 3.5, 20.9timestamp: Timestamp. Examples: now, RFC 2822 format, RFC 3339 formatduration: Duration with optional unit suffixes. Examples: 5s, 30m, 2h, 1d. See Duration Unitsstring: Text string. Examples: "some text", wordbytes: Bytes. Examples: 0xaa00ffeeip: IPv4 or IPv6 address. Examples: 10.10.10.10, 2001:db8:3333:4444:5555:6666:7777:8888ip-prefix: IPv4 or IPv6 address prefix. Examples: 10.10.10.0/24, 2001:db8::/32regex: Regular expression. Example: /^example.(com|org)$/
If a namespace attribute has no value, none is returned.
String Syntax
Strings are enclosed in double quotes "like this" or in triple quotes """like this""". Triple quoted strings can span multiple lines and they can contain
unescaped double quotes. Strings can contain variable expansions like "Hello %{vars.username}". These are called Format Strings.
In execution pipelines the variable can
refer to the execution context, for example %{user.username} but elsewhere it can
only access the process environment variables like %{env.PATH}. The variable
expansions can also contain filters like %{env.USER | uppercase}. See
Filters for more information. Non-execution context