FailureCode

SCPI Commands

CONFigure:DATA:CONTrol:IMS<Ims>:PCSCf<PcscFnc>:FAILurecode
class FailureCode[source]

FailureCode commands group definition. 1 total commands, 0 Sub-groups, 1 group commands

get(ims=<Ims.Default: -1>, pcscFnc=<PcscFnc.Default: -1>)int[source]
# SCPI: CONFigure:DATA:CONTrol:IMS<Suffix>:PCSCf<Pcscf>:FAILurecode
value: int = driver.configure.data.control.ims.pcscf.failureCode.get(ims = repcap.Ims.Default, pcscFnc = repcap.PcscFnc.Default)

Defines a failure code for the P-CSCF number {p}, behavior = FAIL.

param ims

optional repeated capability selector. Default value: Ix1 (settable in the interface ‘Ims’)

param pcscFnc

optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Pcscf’)

return

failure_code: BADRequest | FORBidden | NOTFound | INTerror | UNAVailable | BUSYeveryw BADRequest: ‘400 Bad Request’ FORBidden: ‘403 Forbidden’ NOTFound: ‘404 Not Found’ INTerror: ‘500 Server Internal Error’ UNAVailable: ‘503 Service Unavailable’ BUSYeveryw: ‘600 Busy Everywhere’

set(failure_code: int, ims=<Ims.Default: -1>, pcscFnc=<PcscFnc.Default: -1>)None[source]
# SCPI: CONFigure:DATA:CONTrol:IMS<Suffix>:PCSCf<Pcscf>:FAILurecode
driver.configure.data.control.ims.pcscf.failureCode.set(failure_code = 1, ims = repcap.Ims.Default, pcscFnc = repcap.PcscFnc.Default)

Defines a failure code for the P-CSCF number {p}, behavior = FAIL.

param failure_code

BADRequest | FORBidden | NOTFound | INTerror | UNAVailable | BUSYeveryw BADRequest: ‘400 Bad Request’ FORBidden: ‘403 Forbidden’ NOTFound: ‘404 Not Found’ INTerror: ‘500 Server Internal Error’ UNAVailable: ‘503 Service Unavailable’ BUSYeveryw: ‘600 Busy Everywhere’

param ims

optional repeated capability selector. Default value: Ix1 (settable in the interface ‘Ims’)

param pcscFnc

optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Pcscf’)