(reply)
| 107 | print("Requested session key") |
| 108 | |
| 109 | def config_change_response(reply): |
| 110 | if not reply: |
| 111 | print("Config change timed out") |
| 112 | return |
| 113 | result_map = { |
| 114 | 0: "ACCEPTED", |
| 115 | 1: "TEMPORARILY_REJECTED", |
| 116 | 2: "DENIED", |
| 117 | 3: "UNSUPPORTED", |
| 118 | 4: "FAILED" } |
| 119 | result = result_map.get(reply.response.result, "invalid") |
| 120 | print("Got change response: %s" % result) |
| 121 | sys.exit(reply.response.result) |
| 122 | |
| 123 | def send_config_change(): |
| 124 | '''send remoteid config change''' |
nothing calls this directly
no outgoing calls
no test coverage detected