RemoveInitRule – Удаление правила инициализации точек доступа
Общая информация
-
Команда актуальна, начиная с версии 1.5.1
Входные параметры
| Параметр | Значение | Формат значения | Расшифровка формата | Ссылка |
|---|---|---|---|---|
ruleName |
Имя правила инициализации |
.{1.64} |
Текст длиной не более 64 символов |
|
ruleDomain |
Домен области видимости правила инициализации |
(?=^.{1,235}$)(^((?!-|_|.*(__|--).*)[a-zA-Z0-9_\-]{1,63}\.)*((?!-|_|.*(__|--).*)[a-zA-Z0-9_\-]{1,63})$) |
Текст длиной до 235 символов, удовлетворяющий правилам FQDN |
|
deviceType |
Полный тип точки доступа производства Eltex |
.* |
Актуальный список доступных значений для |
Выходные параметры
| Параметр | Значение | Формат значения |
|---|---|---|
code |
Код ответа |
Целое неотрицательное число. |
detail |
Пояснение к ответу |
Текст английскими буквами с пробелами и спецсимволами. |
Примеры команд и кодов
| Код | Описание ошибки |
|---|---|
52 |
Некорректное имя правила инициализации |
Запрос
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:nbi="http://nbi.radius.eltex.org">
<soapenv:Header/>
<soapenv:Body>
<nbi:RemoveInitRule>
<nbi:ruleName></nbi:ruleName>
<nbi:ruleDomain></nbi:ruleDomain>
<nbi:deviceType></nbi:deviceType>
</nbi:RemoveInitRule>
</soapenv:Body>
</soapenv:Envelope>
Ответ
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns:RemoveInitRuleResponse
xmlns:ns="http://nbi.radius.eltex.org">
<ns:return xsi:type="ax21:NbiResponse"
xmlns:ax215="http://shaper.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax226="http://tariff.object.nbi.radius.eltex.org/xsd"
xmlns:ax212="http://service.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax223="http://object.nbi.radius.eltex.org/xsd"
xmlns:ax29="http://ssidstats.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax221="http://request.object.nbi.radius.eltex.org/xsd"
xmlns:ax23="http://authService.object.nbi.radius.eltex.org/xsd"
xmlns:ax26="http://statistic.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax21="http://response.object.nbi.radius.eltex.org/xsd"
xmlns:ax218="http://subnets.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ax21:code>52</ax21:code>
<ax21:detail>Incorrect rule name</ax21:detail>
</ns:return>
</ns:RemoveInitRuleResponse>
</soapenv:Body>
</soapenv:Envelope>
| Код | Описание ошибки |
|---|---|
8 |
Домен правила не удовлетворяет правилам FQDN |
Запрос
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:nbi="http://nbi.radius.eltex.org">
<soapenv:Header/>
<soapenv:Body>
<nbi:RemoveInitRule>
<nbi:ruleName>sixth</nbi:ruleName>
<nbi:ruleDomain>1ф</nbi:ruleDomain>
<nbi:deviceType></nbi:deviceType>
</nbi:RemoveInitRule>
</soapenv:Body>
</soapenv:Envelope>
Ответ
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns:RemoveInitRuleResponse
xmlns:ns="http://nbi.radius.eltex.org">
<ns:return xsi:type="ax21:NbiResponse"
xmlns:ax215="http://shaper.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax226="http://tariff.object.nbi.radius.eltex.org/xsd"
xmlns:ax212="http://service.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax223="http://object.nbi.radius.eltex.org/xsd"
xmlns:ax29="http://ssidstats.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax221="http://request.object.nbi.radius.eltex.org/xsd"
xmlns:ax23="http://authService.object.nbi.radius.eltex.org/xsd"
xmlns:ax26="http://statistic.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax21="http://response.object.nbi.radius.eltex.org/xsd"
xmlns:ax218="http://subnets.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ax21:code>8</ax21:code>
<ax21:detail>Domain '1ф' does not conform to the rules FQDN</ax21:detail>
</ns:return>
</ns:RemoveInitRuleResponse>
</soapenv:Body>
</soapenv:Envelope>
| Код | Описание ошибки |
|---|---|
62 |
Домен не зарегистрирован в системе |
Запрос
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:nbi="http://nbi.radius.eltex.org">
<soapenv:Header/>
<soapenv:Body>
<nbi:RemoveInitRule>
<nbi:ruleName>sixth</nbi:ruleName>
<nbi:ruleDomain>ru</nbi:ruleDomain>
<nbi:deviceType></nbi:deviceType>
</nbi:RemoveInitRule>
</soapenv:Body>
</soapenv:Envelope>
Ответ
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns:RemoveInitRuleResponse
xmlns:ns="http://nbi.radius.eltex.org">
<ns:return xsi:type="ax21:NbiResponse"
xmlns:ax215="http://shaper.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax226="http://tariff.object.nbi.radius.eltex.org/xsd"
xmlns:ax212="http://service.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax223="http://object.nbi.radius.eltex.org/xsd"
xmlns:ax29="http://ssidstats.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax221="http://request.object.nbi.radius.eltex.org/xsd"
xmlns:ax23="http://authService.object.nbi.radius.eltex.org/xsd"
xmlns:ax26="http://statistic.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax21="http://response.object.nbi.radius.eltex.org/xsd"
xmlns:ax218="http://subnets.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ax21:code>62</ax21:code>
<ax21:detail>Such domain 'ru' is not registered in ELTEX_EMS.DOMAINS</ax21:detail>
</ns:return>
</ns:RemoveInitRuleResponse>
</soapenv:Body>
</soapenv:Envelope>
| Код | Описание ошибки |
|---|---|
10 |
У пользователя нет прав на данный домен |
Запрос
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:nbi="http://nbi.radius.eltex.org">
<soapenv:Header/>
<soapenv:Body>
<nbi:RemoveInitRule>
<nbi:ruleName>sixth</nbi:ruleName>
<nbi:ruleDomain>root</nbi:ruleDomain>
<nbi:deviceType></nbi:deviceType>
</nbi:RemoveInitRule>
</soapenv:Body>
</soapenv:Envelope>
Ответ
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns:RemoveInitRuleResponse
xmlns:ns="http://nbi.radius.eltex.org">
<ns:return xsi:type="ax21:NbiResponse"
xmlns:ax215="http://shaper.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax226="http://tariff.object.nbi.radius.eltex.org/xsd"
xmlns:ax212="http://service.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax223="http://object.nbi.radius.eltex.org/xsd"
xmlns:ax29="http://ssidstats.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax221="http://request.object.nbi.radius.eltex.org/xsd"
xmlns:ax23="http://authService.object.nbi.radius.eltex.org/xsd"
xmlns:ax26="http://statistic.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax21="http://response.object.nbi.radius.eltex.org/xsd"
xmlns:ax218="http://subnets.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ax21:code>10</ax21:code>
<ax21:detail>Role have no rights on domain 'root'</ax21:detail>
</ns:return>
</ns:RemoveInitRuleResponse>
</soapenv:Body>
</soapenv:Envelope>
| Код | Описание ошибки |
|---|---|
331 |
Некорректный тип устройства |
Запрос
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:nbi="http://nbi.radius.eltex.org">
<soapenv:Header/>
<soapenv:Body>
<nbi:RemoveInitRule>
<nbi:ruleName>sixth</nbi:ruleName>
<nbi:ruleDomain>root</nbi:ruleDomain>
<nbi:deviceType>qw</nbi:deviceType>
</nbi:RemoveInitRule>
</soapenv:Body>
</soapenv:Envelope>
Ответ
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns:RemoveInitRuleResponse
xmlns:ns="http://nbi.radius.eltex.org">
<ns:return xsi:type="ax21:NbiResponse"
xmlns:ax215="http://shaper.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax226="http://tariff.object.nbi.radius.eltex.org/xsd"
xmlns:ax212="http://service.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax223="http://object.nbi.radius.eltex.org/xsd"
xmlns:ax29="http://ssidstats.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax221="http://request.object.nbi.radius.eltex.org/xsd"
xmlns:ax23="http://authService.object.nbi.radius.eltex.org/xsd"
xmlns:ax26="http://statistic.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax21="http://response.object.nbi.radius.eltex.org/xsd"
xmlns:ax218="http://subnets.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ax21:code>311</ax21:code>
<ax21:detail>Incorrect device type qw</ax21:detail>
</ns:return>
</ns:RemoveInitRuleResponse>
</soapenv:Body>
</soapenv:Envelope>
| Код | Описание ошибки |
|---|---|
310 |
Такого правила инициализации не существует |
Запрос
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:nbi="http://nbi.radius.eltex.org">
<soapenv:Header/>
<soapenv:Body>
<nbi:RemoveInitRule>
<nbi:ruleName>sixth</nbi:ruleName>
<nbi:ruleDomain>root</nbi:ruleDomain>
<nbi:deviceType>WEP-2ac</nbi:deviceType>
</nbi:RemoveInitRule>
</soapenv:Body>
</soapenv:Envelope>
Ответ
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns:RemoveInitRuleResponse
xmlns:ns="http://nbi.radius.eltex.org">
<ns:return xsi:type="ax21:NbiResponse"
xmlns:ax215="http://shaper.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax226="http://tariff.object.nbi.radius.eltex.org/xsd"
xmlns:ax212="http://service.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax223="http://object.nbi.radius.eltex.org/xsd"
xmlns:ax29="http://ssidstats.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax221="http://request.object.nbi.radius.eltex.org/xsd"
xmlns:ax23="http://authService.object.nbi.radius.eltex.org/xsd"
xmlns:ax26="http://statistic.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax21="http://response.object.nbi.radius.eltex.org/xsd"
xmlns:ax218="http://subnets.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ax21:code>310</ax21:code>
<ax21:detail>Init rule sixth[root] not exists for device type WEP-2ac</ax21:detail>
</ns:return>
</ns:RemoveInitRuleResponse>
</soapenv:Body>
</soapenv:Envelope>
| Код | Описание ошибки |
|---|---|
0 |
Успешно |
Запрос
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:nbi="http://nbi.radius.eltex.org">
<soapenv:Header/>
<soapenv:Body>
<nbi:RemoveInitRule>
<nbi:ruleName>forth</nbi:ruleName>
<nbi:ruleDomain>root</nbi:ruleDomain>
<nbi:deviceType>WEP-2ac</nbi:deviceType>
</nbi:RemoveInitRule>
</soapenv:Body>
</soapenv:Envelope>
Ответ
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns:RemoveInitRuleResponse
xmlns:ns="http://nbi.radius.eltex.org">
<ns:return xsi:type="ax21:NbiResponse"
xmlns:ax215="http://shaper.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax226="http://tariff.object.nbi.radius.eltex.org/xsd"
xmlns:ax212="http://service.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax223="http://object.nbi.radius.eltex.org/xsd"
xmlns:ax29="http://ssidstats.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax221="http://request.object.nbi.radius.eltex.org/xsd"
xmlns:ax23="http://authService.object.nbi.radius.eltex.org/xsd"
xmlns:ax26="http://statistic.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax21="http://response.object.nbi.radius.eltex.org/xsd"
xmlns:ax218="http://subnets.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ax21:code>0</ax21:code>
<ax21:detail/>
</ns:return>
</ns:RemoveInitRuleResponse>
</soapenv:Body>
</soapenv:Envelope>
Вернуться к списку команд
Версия 1.23-2695
Дата публикации 02-09-2022 11:42:18