Commit e5374cdf authored by Kirill Smelkov's avatar Kirill Smelkov

software/ors-amarisoft: ue: Reuse SIM object in UE schemas

Less code duplication
parent 068b712c
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
"$schema": "http://json-schema.org/draft-04/schema", "$schema": "http://json-schema.org/draft-04/schema",
"title": "Input Parameters", "title": "Input Parameters",
"properties": { "properties": {
"$ref": "sim/input-schema.json#/properties",
"rue_addr": { "rue_addr": {
"title": "[Required] Remote UE address", "title": "[Required] Remote UE address",
"description": "[Required] Address of remote UE server. Default port is 2152.", "description": "[Required] Address of remote UE server. Default port is 2152.",
...@@ -51,52 +53,20 @@ ...@@ -51,52 +53,20 @@
"default": 2 "default": 2
}, },
"imsi": { "imsi": {
"title": "IMSI", "$ref": "sim/input-schema.json#/properties/imsi",
"description": "IMSI",
"type": "string",
"default": "001010123456789" "default": "001010123456789"
}, },
"k": { "k": {
"title": "K", "$ref": "sim/input-schema.json#/properties/k",
"description": "Set the user secret key (as a 16 bytes hexadecimal string, or eventually 32 bytes hexadecimal string for TUAK).",
"type": "string",
"default": "00112233445566778899aabbccddeeff" "default": "00112233445566778899aabbccddeeff"
}, },
"sim_algo": { "sim_algo": {
"title": "sim_algo", "$ref": "sim/input-schema.json#/properties/sim_algo",
"description": "Optional enumeration. xor, milenage or tuak (default = milenage). Set the USIM authentication algorithm. Note: test USIM cards use the XOR algorithm.", "description": "Optional enumeration. xor, milenage or tuak (default = milenage). Set the USIM authentication algorithm. Note: test USIM cards use the XOR algorithm.",
"type": "string",
"default": "milenage"
}, },
"opc": { "opc": {
"title": "opc", "$ref": "../sim/input-schema.json#/properties/opc",
"description": "Optional string. Operator key preprocessed with the user secret key (as a 16 byte hexadecimal string). When the Milenage authentication algorithm is used, either op or opc must be set.",
"type": "string",
"default": "milenage" "default": "milenage"
},
"amf": {
"title": "amf",
"description": "Range: 0 to 65535. Set the Authentication Management Field.",
"type": "string",
"default": "0x9001"
},
"sqn": {
"title": "sqn",
"description": "Optional String (6 byte hexadecimal string). Default = '000000000000'. Set the initial sequence number. For the XOR algorithm, the actual value does not matter. For the Milenage or TUAK algorithm, a sequence number resynchronization is initiated if the sequence number does not match the one stored in the USIM.",
"type": "string",
"default": "000000000000"
},
"impu": {
"title": "impu",
"description": "Array of string or object. Each string represent an IMPU and can be a sip URI or a telephone number.",
"type": "string",
"default": ""
},
"impi": {
"title": "impi",
"description": "String. Defines user IMPI. Must be fully filled with hostname if necessary.",
"type": "string",
"default": ""
} }
} }
} }
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
"$schema": "http://json-schema.org/draft-04/schema", "$schema": "http://json-schema.org/draft-04/schema",
"title": "Input Parameters", "title": "Input Parameters",
"properties": { "properties": {
"$ref": "sim/input-schema.json#/properties",
"rue_addr": { "rue_addr": {
"title": "[Required] Remote UE address", "title": "[Required] Remote UE address",
"description": "[Required] Address of remote UE server. Default port is 2152.", "description": "[Required] Address of remote UE server. Default port is 2152.",
...@@ -53,52 +55,20 @@ ...@@ -53,52 +55,20 @@
"default": 2 "default": 2
}, },
"imsi": { "imsi": {
"title": "IMSI", "$ref": "sim/input-schema.json#/properties/imsi",
"description": "IMSI",
"type": "string",
"default": "001010123456789" "default": "001010123456789"
}, },
"k": { "k": {
"title": "K", "$ref": "sim/input-schema.json#/properties/k",
"description": "Set the user secret key (as a 16 bytes hexadecimal string, or eventually 32 bytes hexadecimal string for TUAK).",
"type": "string",
"default": "00112233445566778899aabbccddeeff" "default": "00112233445566778899aabbccddeeff"
}, },
"sim_algo": { "sim_algo": {
"title": "sim_algo", "$ref": "sim/input-schema.json#/properties/sim_algo",
"description": "Optional enumeration. xor, milenage or tuak (default = milenage). Set the USIM authentication algorithm. Note: test USIM cards use the XOR algorithm.", "description": "Optional enumeration. xor, milenage or tuak (default = milenage). Set the USIM authentication algorithm. Note: test USIM cards use the XOR algorithm.",
"type": "string",
"default": "milenage"
}, },
"opc": { "opc": {
"title": "opc", "$ref": "../sim/input-schema.json#/properties/opc",
"description": "Optional string. Operator key preprocessed with the user secret key (as a 16 byte hexadecimal string). When the Milenage authentication algorithm is used, either op or opc must be set.",
"type": "string",
"default": "milenage" "default": "milenage"
},
"amf": {
"title": "amf",
"description": "Range: 0 to 65535. Set the Authentication Management Field.",
"type": "string",
"default": "0x9001"
},
"sqn": {
"title": "sqn",
"description": "Optional String (6 byte hexadecimal string). Default = '000000000000'. Set the initial sequence number. For the XOR algorithm, the actual value does not matter. For the Milenage or TUAK algorithm, a sequence number resynchronization is initiated if the sequence number does not match the one stored in the USIM.",
"type": "string",
"default": "000000000000"
},
"impu": {
"title": "impu",
"description": "Array of string or object. Each string represent an IMPU and can be a sip URI or a telephone number.",
"type": "string",
"default": ""
},
"impi": {
"title": "impi",
"description": "String. Defines user IMPI. Must be fully filled with hostname if necessary.",
"type": "string",
"default": ""
} }
} }
} }
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
"$schema": "http://json-schema.org/draft-04/schema", "$schema": "http://json-schema.org/draft-04/schema",
"title": "Input Parameters", "title": "Input Parameters",
"properties": { "properties": {
"$ref": "sim/input-schema.json#/properties",
"rue_addr": { "rue_addr": {
"title": "[Required] Remote UE address", "title": "[Required] Remote UE address",
"description": "[Required] Address of remote UE server. Default port is 2152.", "description": "[Required] Address of remote UE server. Default port is 2152.",
...@@ -51,52 +53,20 @@ ...@@ -51,52 +53,20 @@
"default": 2 "default": 2
}, },
"imsi": { "imsi": {
"title": "IMSI", "$ref": "sim/input-schema.json#/properties/imsi",
"description": "IMSI",
"type": "string",
"default": "001010123456789" "default": "001010123456789"
}, },
"k": { "k": {
"title": "K", "$ref": "sim/input-schema.json#/properties/k",
"description": "Set the user secret key (as a 16 bytes hexadecimal string, or eventually 32 bytes hexadecimal string for TUAK).",
"type": "string",
"default": "00112233445566778899aabbccddeeff" "default": "00112233445566778899aabbccddeeff"
}, },
"sim_algo": { "sim_algo": {
"title": "sim_algo", "$ref": "sim/input-schema.json#/properties/sim_algo",
"description": "Optional enumeration. xor, milenage or tuak (default = milenage). Set the USIM authentication algorithm. Note: test USIM cards use the XOR algorithm.", "description": "Optional enumeration. xor, milenage or tuak (default = milenage). Set the USIM authentication algorithm. Note: test USIM cards use the XOR algorithm.",
"type": "string",
"default": "milenage"
}, },
"opc": { "opc": {
"title": "opc", "$ref": "../sim/input-schema.json#/properties/opc",
"description": "Optional string. Operator key preprocessed with the user secret key (as a 16 byte hexadecimal string). When the Milenage authentication algorithm is used, either op or opc must be set.",
"type": "string",
"default": "milenage" "default": "milenage"
},
"amf": {
"title": "amf",
"description": "Range: 0 to 65535. Set the Authentication Management Field.",
"type": "string",
"default": "0x9001"
},
"sqn": {
"title": "sqn",
"description": "Optional String (6 byte hexadecimal string). Default = '000000000000'. Set the initial sequence number. For the XOR algorithm, the actual value does not matter. For the Milenage or TUAK algorithm, a sequence number resynchronization is initiated if the sequence number does not match the one stored in the USIM.",
"type": "string",
"default": "000000000000"
},
"impu": {
"title": "impu",
"description": "Array of string or object. Each string represent an IMPU and can be a sip URI or a telephone number.",
"type": "string",
"default": ""
},
"impi": {
"title": "impi",
"description": "String. Defines user IMPI. Must be fully filled with hostname if necessary.",
"type": "string",
"default": ""
} }
} }
} }
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
"$schema": "http://json-schema.org/draft-04/schema", "$schema": "http://json-schema.org/draft-04/schema",
"title": "Input Parameters", "title": "Input Parameters",
"properties": { "properties": {
"$ref": "sim/input-schema.json#/properties",
"rue_addr": { "rue_addr": {
"title": "[Required] Remote UE address", "title": "[Required] Remote UE address",
"description": "[Required] Address of remote UE server. Default port is 2152.", "description": "[Required] Address of remote UE server. Default port is 2152.",
...@@ -53,52 +55,20 @@ ...@@ -53,52 +55,20 @@
"default": 2 "default": 2
}, },
"imsi": { "imsi": {
"title": "IMSI", "$ref": "sim/input-schema.json#/properties/imsi",
"description": "IMSI",
"type": "string",
"default": "001010123456789" "default": "001010123456789"
}, },
"k": { "k": {
"title": "K", "$ref": "sim/input-schema.json#/properties/k",
"description": "Set the user secret key (as a 16 bytes hexadecimal string, or eventually 32 bytes hexadecimal string for TUAK).",
"type": "string",
"default": "00112233445566778899aabbccddeeff" "default": "00112233445566778899aabbccddeeff"
}, },
"sim_algo": { "sim_algo": {
"title": "sim_algo", "$ref": "sim/input-schema.json#/properties/sim_algo",
"description": "Optional enumeration. xor, milenage or tuak (default = milenage). Set the USIM authentication algorithm. Note: test USIM cards use the XOR algorithm.", "description": "Optional enumeration. xor, milenage or tuak (default = milenage). Set the USIM authentication algorithm. Note: test USIM cards use the XOR algorithm.",
"type": "string",
"default": "milenage"
}, },
"opc": { "opc": {
"title": "opc", "$ref": "../sim/input-schema.json#/properties/opc",
"description": "Optional string. Operator key preprocessed with the user secret key (as a 16 byte hexadecimal string). When the Milenage authentication algorithm is used, either op or opc must be set.",
"type": "string",
"default": "milenage" "default": "milenage"
},
"amf": {
"title": "amf",
"description": "Range: 0 to 65535. Set the Authentication Management Field.",
"type": "string",
"default": "0x9001"
},
"sqn": {
"title": "sqn",
"description": "Optional String (6 byte hexadecimal string). Default = '000000000000'. Set the initial sequence number. For the XOR algorithm, the actual value does not matter. For the Milenage or TUAK algorithm, a sequence number resynchronization is initiated if the sequence number does not match the one stored in the USIM.",
"type": "string",
"default": "000000000000"
},
"impu": {
"title": "impu",
"description": "Array of string or object. Each string represent an IMPU and can be a sip URI or a telephone number.",
"type": "string",
"default": ""
},
"impi": {
"title": "impi",
"description": "String. Defines user IMPI. Must be fully filled with hostname if necessary.",
"type": "string",
"default": ""
} }
} }
} }
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
"$schema": "http://json-schema.org/draft-04/schema", "$schema": "http://json-schema.org/draft-04/schema",
"title": "Input Parameters", "title": "Input Parameters",
"properties": { "properties": {
"$ref": "sim/input-schema.json#/properties",
"rue_addr": { "rue_addr": {
"title": "[Required] Remote UE address", "title": "[Required] Remote UE address",
"description": "[Required] Address of remote UE server. Default port is 2152.", "description": "[Required] Address of remote UE server. Default port is 2152.",
...@@ -51,52 +53,20 @@ ...@@ -51,52 +53,20 @@
"default": 2 "default": 2
}, },
"imsi": { "imsi": {
"title": "IMSI", "$ref": "sim/input-schema.json#/properties/imsi",
"description": "IMSI",
"type": "string",
"default": "001010123456789" "default": "001010123456789"
}, },
"k": { "k": {
"title": "K", "$ref": "sim/input-schema.json#/properties/k",
"description": "Set the user secret key (as a 16 bytes hexadecimal string, or eventually 32 bytes hexadecimal string for TUAK).",
"type": "string",
"default": "00112233445566778899aabbccddeeff" "default": "00112233445566778899aabbccddeeff"
}, },
"sim_algo": { "sim_algo": {
"title": "sim_algo", "$ref": "sim/input-schema.json#/properties/sim_algo",
"description": "Optional enumeration. xor, milenage or tuak (default = milenage). Set the USIM authentication algorithm. Note: test USIM cards use the XOR algorithm.", "description": "Optional enumeration. xor, milenage or tuak (default = milenage). Set the USIM authentication algorithm. Note: test USIM cards use the XOR algorithm.",
"type": "string",
"default": "milenage"
}, },
"opc": { "opc": {
"title": "opc", "$ref": "../sim/input-schema.json#/properties/opc",
"description": "Optional string. Operator key preprocessed with the user secret key (as a 16 byte hexadecimal string). When the Milenage authentication algorithm is used, either op or opc must be set.",
"type": "string",
"default": "milenage" "default": "milenage"
},
"amf": {
"title": "amf",
"description": "Range: 0 to 65535. Set the Authentication Management Field.",
"type": "string",
"default": "0x9001"
},
"sqn": {
"title": "sqn",
"description": "Optional String (6 byte hexadecimal string). Default = '000000000000'. Set the initial sequence number. For the XOR algorithm, the actual value does not matter. For the Milenage or TUAK algorithm, a sequence number resynchronization is initiated if the sequence number does not match the one stored in the USIM.",
"type": "string",
"default": "000000000000"
},
"impu": {
"title": "impu",
"description": "Array of string or object. Each string represent an IMPU and can be a sip URI or a telephone number.",
"type": "string",
"default": ""
},
"impi": {
"title": "impi",
"description": "String. Defines user IMPI. Must be fully filled with hostname if necessary.",
"type": "string",
"default": ""
} }
} }
} }
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
"$schema": "http://json-schema.org/draft-04/schema", "$schema": "http://json-schema.org/draft-04/schema",
"title": "Input Parameters", "title": "Input Parameters",
"properties": { "properties": {
"$ref": "sim/input-schema.json#/properties",
"rue_addr": { "rue_addr": {
"title": "[Required] Remote UE address", "title": "[Required] Remote UE address",
"description": "[Required] Address of remote UE server. Default port is 2152.", "description": "[Required] Address of remote UE server. Default port is 2152.",
...@@ -53,52 +55,20 @@ ...@@ -53,52 +55,20 @@
"default": 2 "default": 2
}, },
"imsi": { "imsi": {
"title": "IMSI", "$ref": "sim/input-schema.json#/properties/imsi",
"description": "IMSI",
"type": "string",
"default": "001010123456789" "default": "001010123456789"
}, },
"k": { "k": {
"title": "K", "$ref": "sim/input-schema.json#/properties/k",
"description": "Set the user secret key (as a 16 bytes hexadecimal string, or eventually 32 bytes hexadecimal string for TUAK).",
"type": "string",
"default": "00112233445566778899aabbccddeeff" "default": "00112233445566778899aabbccddeeff"
}, },
"sim_algo": { "sim_algo": {
"title": "sim_algo", "$ref": "sim/input-schema.json#/properties/sim_algo",
"description": "Optional enumeration. xor, milenage or tuak (default = milenage). Set the USIM authentication algorithm. Note: test USIM cards use the XOR algorithm.", "description": "Optional enumeration. xor, milenage or tuak (default = milenage). Set the USIM authentication algorithm. Note: test USIM cards use the XOR algorithm.",
"type": "string",
"default": "milenage"
}, },
"opc": { "opc": {
"title": "opc", "$ref": "../sim/input-schema.json#/properties/opc",
"description": "Optional string. Operator key preprocessed with the user secret key (as a 16 byte hexadecimal string). When the Milenage authentication algorithm is used, either op or opc must be set.",
"type": "string",
"default": "milenage" "default": "milenage"
},
"amf": {
"title": "amf",
"description": "Range: 0 to 65535. Set the Authentication Management Field.",
"type": "string",
"default": "0x9001"
},
"sqn": {
"title": "sqn",
"description": "Optional String (6 byte hexadecimal string). Default = '000000000000'. Set the initial sequence number. For the XOR algorithm, the actual value does not matter. For the Milenage or TUAK algorithm, a sequence number resynchronization is initiated if the sequence number does not match the one stored in the USIM.",
"type": "string",
"default": "000000000000"
},
"impu": {
"title": "impu",
"description": "Array of string or object. Each string represent an IMPU and can be a sip URI or a telephone number.",
"type": "string",
"default": ""
},
"impi": {
"title": "impi",
"description": "String. Defines user IMPI. Must be fully filled with hostname if necessary.",
"type": "string",
"default": ""
} }
} }
} }
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
"$schema": "http://json-schema.org/draft-04/schema", "$schema": "http://json-schema.org/draft-04/schema",
"title": "Input Parameters", "title": "Input Parameters",
"properties": { "properties": {
"$ref": "sim/input-schema.json#/properties",
"rue_addr": { "rue_addr": {
"title": "[Required] Remote UE address", "title": "[Required] Remote UE address",
"description": "[Required] Address of remote UE server. Default port is 2152.", "description": "[Required] Address of remote UE server. Default port is 2152.",
...@@ -51,52 +53,20 @@ ...@@ -51,52 +53,20 @@
"default": 2 "default": 2
}, },
"imsi": { "imsi": {
"title": "IMSI", "$ref": "sim/input-schema.json#/properties/imsi",
"description": "IMSI",
"type": "string",
"default": "001010123456789" "default": "001010123456789"
}, },
"k": { "k": {
"title": "K", "$ref": "sim/input-schema.json#/properties/k",
"description": "Set the user secret key (as a 16 bytes hexadecimal string, or eventually 32 bytes hexadecimal string for TUAK).",
"type": "string",
"default": "00112233445566778899aabbccddeeff" "default": "00112233445566778899aabbccddeeff"
}, },
"sim_algo": { "sim_algo": {
"title": "sim_algo", "$ref": "sim/input-schema.json#/properties/sim_algo",
"description": "Optional enumeration. xor, milenage or tuak (default = milenage). Set the USIM authentication algorithm. Note: test USIM cards use the XOR algorithm.", "description": "Optional enumeration. xor, milenage or tuak (default = milenage). Set the USIM authentication algorithm. Note: test USIM cards use the XOR algorithm.",
"type": "string",
"default": "milenage"
}, },
"opc": { "opc": {
"title": "opc", "$ref": "../sim/input-schema.json#/properties/opc",
"description": "Optional string. Operator key preprocessed with the user secret key (as a 16 byte hexadecimal string). When the Milenage authentication algorithm is used, either op or opc must be set.",
"type": "string",
"default": "milenage" "default": "milenage"
},
"amf": {
"title": "amf",
"description": "Range: 0 to 65535. Set the Authentication Management Field.",
"type": "string",
"default": "0x9001"
},
"sqn": {
"title": "sqn",
"description": "Optional String (6 byte hexadecimal string). Default = '000000000000'. Set the initial sequence number. For the XOR algorithm, the actual value does not matter. For the Milenage or TUAK algorithm, a sequence number resynchronization is initiated if the sequence number does not match the one stored in the USIM.",
"type": "string",
"default": "000000000000"
},
"impu": {
"title": "impu",
"description": "Array of string or object. Each string represent an IMPU and can be a sip URI or a telephone number.",
"type": "string",
"default": ""
},
"impi": {
"title": "impi",
"description": "String. Defines user IMPI. Must be fully filled with hostname if necessary.",
"type": "string",
"default": ""
} }
} }
} }
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
"$schema": "http://json-schema.org/draft-04/schema", "$schema": "http://json-schema.org/draft-04/schema",
"title": "Input Parameters", "title": "Input Parameters",
"properties": { "properties": {
"$ref": "sim/input-schema.json#/properties",
"rue_addr": { "rue_addr": {
"title": "[Required] Remote UE address", "title": "[Required] Remote UE address",
"description": "[Required] Address of remote UE server. Default port is 2152.", "description": "[Required] Address of remote UE server. Default port is 2152.",
...@@ -53,52 +55,20 @@ ...@@ -53,52 +55,20 @@
"default": 2 "default": 2
}, },
"imsi": { "imsi": {
"title": "IMSI", "$ref": "sim/input-schema.json#/properties/imsi",
"description": "IMSI",
"type": "string",
"default": "001010123456789" "default": "001010123456789"
}, },
"k": { "k": {
"title": "K", "$ref": "sim/input-schema.json#/properties/k",
"description": "Set the user secret key (as a 16 bytes hexadecimal string, or eventually 32 bytes hexadecimal string for TUAK).",
"type": "string",
"default": "00112233445566778899aabbccddeeff" "default": "00112233445566778899aabbccddeeff"
}, },
"sim_algo": { "sim_algo": {
"title": "sim_algo", "$ref": "sim/input-schema.json#/properties/sim_algo",
"description": "Optional enumeration. xor, milenage or tuak (default = milenage). Set the USIM authentication algorithm. Note: test USIM cards use the XOR algorithm.", "description": "Optional enumeration. xor, milenage or tuak (default = milenage). Set the USIM authentication algorithm. Note: test USIM cards use the XOR algorithm.",
"type": "string",
"default": "milenage"
}, },
"opc": { "opc": {
"title": "opc", "$ref": "../sim/input-schema.json#/properties/opc",
"description": "Optional string. Operator key preprocessed with the user secret key (as a 16 byte hexadecimal string). When the Milenage authentication algorithm is used, either op or opc must be set.",
"type": "string",
"default": "milenage" "default": "milenage"
},
"amf": {
"title": "amf",
"description": "Range: 0 to 65535. Set the Authentication Management Field.",
"type": "string",
"default": "0x9001"
},
"sqn": {
"title": "sqn",
"description": "Optional String (6 byte hexadecimal string). Default = '000000000000'. Set the initial sequence number. For the XOR algorithm, the actual value does not matter. For the Milenage or TUAK algorithm, a sequence number resynchronization is initiated if the sequence number does not match the one stored in the USIM.",
"type": "string",
"default": "000000000000"
},
"impu": {
"title": "impu",
"description": "Array of string or object. Each string represent an IMPU and can be a sip URI or a telephone number.",
"type": "string",
"default": ""
},
"impi": {
"title": "impi",
"description": "String. Defines user IMPI. Must be fully filled with hostname if necessary.",
"type": "string",
"default": ""
} }
} }
} }
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
"$schema": "http://json-schema.org/draft-04/schema", "$schema": "http://json-schema.org/draft-04/schema",
"title": "Input Parameters", "title": "Input Parameters",
"properties": { "properties": {
"$ref": "sim/input-schema.json#/properties",
"rue_addr": { "rue_addr": {
"title": "[Required] Remote UE address", "title": "[Required] Remote UE address",
"description": "[Required] Address of remote UE server. Default port is 2152.", "description": "[Required] Address of remote UE server. Default port is 2152.",
...@@ -51,52 +53,20 @@ ...@@ -51,52 +53,20 @@
"default": {{ default_n_antenna_ul }} "default": {{ default_n_antenna_ul }}
}, },
"imsi": { "imsi": {
"title": "IMSI", "$ref": "sim/input-schema.json#/properties/imsi",
"description": "IMSI",
"type": "string",
"default": "{{ default_imsi }}" "default": "{{ default_imsi }}"
}, },
"k": { "k": {
"title": "K", "$ref": "sim/input-schema.json#/properties/k",
"description": "Set the user secret key (as a 16 bytes hexadecimal string, or eventually 32 bytes hexadecimal string for TUAK).",
"type": "string",
"default": "{{ default_k }}" "default": "{{ default_k }}"
}, },
"sim_algo": { "sim_algo": {
"title": "sim_algo", "$ref": "sim/input-schema.json#/properties/sim_algo",
"description": "Optional enumeration. xor, milenage or tuak (default = milenage). Set the USIM authentication algorithm. Note: test USIM cards use the XOR algorithm.", "description": "Optional enumeration. xor, milenage or tuak (default = milenage). Set the USIM authentication algorithm. Note: test USIM cards use the XOR algorithm.",
"type": "string",
"default": "milenage"
}, },
"opc": { "opc": {
"title": "opc", "$ref": "../sim/input-schema.json#/properties/opc",
"description": "Optional string. Operator key preprocessed with the user secret key (as a 16 byte hexadecimal string). When the Milenage authentication algorithm is used, either op or opc must be set.",
"type": "string",
"default": "milenage" "default": "milenage"
},
"amf": {
"title": "amf",
"description": "Range: 0 to 65535. Set the Authentication Management Field.",
"type": "string",
"default": "0x9001"
},
"sqn": {
"title": "sqn",
"description": "Optional String (6 byte hexadecimal string). Default = '000000000000'. Set the initial sequence number. For the XOR algorithm, the actual value does not matter. For the Milenage or TUAK algorithm, a sequence number resynchronization is initiated if the sequence number does not match the one stored in the USIM.",
"type": "string",
"default": "000000000000"
},
"impu": {
"title": "impu",
"description": "Array of string or object. Each string represent an IMPU and can be a sip URI or a telephone number.",
"type": "string",
"default": ""
},
"impi": {
"title": "impi",
"description": "String. Defines user IMPI. Must be fully filled with hostname if necessary.",
"type": "string",
"default": ""
} }
} }
} }
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
"$schema": "http://json-schema.org/draft-04/schema", "$schema": "http://json-schema.org/draft-04/schema",
"title": "Input Parameters", "title": "Input Parameters",
"properties": { "properties": {
"$ref": "sim/input-schema.json#/properties",
"rue_addr": { "rue_addr": {
"title": "[Required] Remote UE address", "title": "[Required] Remote UE address",
"description": "[Required] Address of remote UE server. Default port is 2152.", "description": "[Required] Address of remote UE server. Default port is 2152.",
...@@ -53,52 +55,20 @@ ...@@ -53,52 +55,20 @@
"default": {{ default_n_antenna_ul }} "default": {{ default_n_antenna_ul }}
}, },
"imsi": { "imsi": {
"title": "IMSI", "$ref": "sim/input-schema.json#/properties/imsi",
"description": "IMSI",
"type": "string",
"default": "{{ default_imsi }}" "default": "{{ default_imsi }}"
}, },
"k": { "k": {
"title": "K", "$ref": "sim/input-schema.json#/properties/k",
"description": "Set the user secret key (as a 16 bytes hexadecimal string, or eventually 32 bytes hexadecimal string for TUAK).",
"type": "string",
"default": "{{ default_k }}" "default": "{{ default_k }}"
}, },
"sim_algo": { "sim_algo": {
"title": "sim_algo", "$ref": "sim/input-schema.json#/properties/sim_algo",
"description": "Optional enumeration. xor, milenage or tuak (default = milenage). Set the USIM authentication algorithm. Note: test USIM cards use the XOR algorithm.", "description": "Optional enumeration. xor, milenage or tuak (default = milenage). Set the USIM authentication algorithm. Note: test USIM cards use the XOR algorithm.",
"type": "string",
"default": "milenage"
}, },
"opc": { "opc": {
"title": "opc", "$ref": "../sim/input-schema.json#/properties/opc",
"description": "Optional string. Operator key preprocessed with the user secret key (as a 16 byte hexadecimal string). When the Milenage authentication algorithm is used, either op or opc must be set.",
"type": "string",
"default": "milenage" "default": "milenage"
},
"amf": {
"title": "amf",
"description": "Range: 0 to 65535. Set the Authentication Management Field.",
"type": "string",
"default": "0x9001"
},
"sqn": {
"title": "sqn",
"description": "Optional String (6 byte hexadecimal string). Default = '000000000000'. Set the initial sequence number. For the XOR algorithm, the actual value does not matter. For the Milenage or TUAK algorithm, a sequence number resynchronization is initiated if the sequence number does not match the one stored in the USIM.",
"type": "string",
"default": "000000000000"
},
"impu": {
"title": "impu",
"description": "Array of string or object. Each string represent an IMPU and can be a sip URI or a telephone number.",
"type": "string",
"default": ""
},
"impi": {
"title": "impi",
"description": "String. Defines user IMPI. Must be fully filled with hostname if necessary.",
"type": "string",
"default": ""
} }
} }
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment