DeleteDomainWithDependencies – Удаление домена и всех его зависимостей из системы SoftWLC ~~~~~~~~~~~~~~~~~

Общая информация

  1. Команда актуальна, начиная с версии 1.9

Входные параметры

Параметр Значение Формат значения Расшифровка формата Ссылка

domain

Удаляемый домен

(?=^.{1,235}$)(^((?!-|_|.*(__|--).*)[a-zA-Z0-9_\-]\{1,63}\.)*((?!-|_|.*(__|--).*)[a-zA-Z0-9_\-]{1,63})$)

Текст длиной до 235 символов, удовлетворяющий правилам FQDN

Domain

Выходные параметры

Параметр Значение Формат значения

code

Код ответа

Целое неотрицательное число.

detail

Пояснение к ответу

Текст английскими буквами с пробелами и спецсимволами.

Примеры команд и кодов

Код Описание ошибки

7

Отсутствует домен

Запрос
<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://nbi.radius.eltex.org">
    <soapenv:Header/>
    <soapenv:Body>
        <xsd:DeleteDomain>
            <xsd:domain></xsd:domain>
        </xsd:DeleteDomain>
    </soapenv:Body>
</soapenv:Envelope>
Ответ
<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
        <ns:DeleteDomainResponse
            xmlns:ns="http://org.eltex.radius.nbi/xsd">
            <ns:return>
                <ns:code>7</ns:code>
                <ns:detail>Incorrect field 'domain'</ns:detail>
            </ns:return>
        </ns:DeleteDomainResponse>
    </soapenv:Body>
</soapenv:Envelope>

Код Описание ошибки

8

Домен не соответствует правилам

Запрос
<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://nbi.radius.eltex.org">
    <soapenv:Header/>
    <soapenv:Body>
        <xsd:DeleteDomain>
            <xsd:domain>re etc</xsd:domain>
        </xsd:DeleteDomain>
    </soapenv:Body>
</soapenv:Envelope>
Ответ
<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
        <ns:DeleteDomainResponse
            xmlns:ns="http://org.eltex.radius.nbi/xsd">
            <ns:return>
                <ns:code>8</ns:code>
                <ns:detail>Domain 're etc' does not conform to the rules FQDN</ns:detail>
            </ns:return>
        </ns:DeleteDomainResponse>
    </soapenv:Body>
</soapenv:Envelope>

Код Описание ошибки

62

Домен не зарегистрирован

Запрос
<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://nbi.radius.eltex.org">
    <soapenv:Header/>
    <soapenv:Body>
        <xsd:DeleteDomain>
            <xsd:domain>retc</xsd:domain>
        </xsd:DeleteDomain>
    </soapenv:Body>
</soapenv:Envelope>
Ответ
<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
        <ns:DeleteDomainResponse
            xmlns:ns="http://org.eltex.radius.nbi/xsd">
            <ns:return>
                <ns:code>62</ns:code>
                <ns:detail>Such 'retc' is not registered in ELTEX_EMS.DOMAINS</ns:detail>
            </ns:return>
        </ns:DeleteDomainResponse>
    </soapenv:Body>
</soapenv:Envelope>

Код Описание ошибки

3

Ошибка от сервера EMS

Запрос
<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://nbi.radius.eltex.org">
    <soapenv:Header/>
    <soapenv:Body>
        <xsd:DeleteDomain>
            <xsd:domain>alpha.enterprise.root</xsd:domain>
        </xsd:DeleteDomain>
    </soapenv:Body>
</soapenv:Envelope>
Ответ
<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
        <ns:DeleteDomainResponse
            xmlns:ns="http://org.eltex.radius.nbi/xsd">
            <ns:return>
                <ns:code>3</ns:code>
                <ns:detail>Error from EMS server: code 103, message 'null'</ns:detail>
            </ns:return>
        </ns:DeleteDomainResponse>
    </soapenv:Body>
</soapenv:Envelope>

Код Описание ошибки

10

Домен роли не имеет прав на домен

Запрос
<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://nbi.radius.eltex.org">
    <soapenv:Header/>
    <soapenv:Body>
        <xsd:DeleteDomain>
            <xsd:domain>root</xsd:domain>
        </xsd:DeleteDomain>
    </soapenv:Body>
</soapenv:Envelope>
Ответ
<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
        <ns:DeleteDomainResponse
            xmlns:ns="http://org.eltex.radius.nbi/xsd">
            <ns:return>
                <ns:code>10</ns:code>
                <ns:detail>The role of the user does not have rights to this domain: 'root'. Role`s domains: 'enterprise.root test.root hotspot.root'</ns:detail>
            </ns:return>
        </ns:DeleteDomainResponse>
    </soapenv:Body>
</soapenv:Envelope>

Код Описание ошибки

18

В конфигурации неверно настроен адрес EMS NBI или он недоступен

Запрос
<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://nbi.radius.eltex.org">
    <soapenv:Header/>
    <soapenv:Body>
        <xsd:DeleteDomain>
            <xsd:domain>alpha.enterprise.root</xsd:domain>
        </xsd:DeleteDomain>
    </soapenv:Body>
</soapenv:Envelope>
Ответ
<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
        <ns:DeleteDomainResponse
            xmlns:ns="http://org.eltex.radius.nbi/xsd">
            <ns:return>
                <ns:code>18</ns:code>
                <ns:detail>Failed to send http request: The host did not accept the connection within timeout of 5000 ms</ns:detail>
            </ns:return>
        </ns:DeleteDomainResponse>
    </soapenv:Body>
</soapenv:Envelope>

Код Описание ошибки

0

Успешно

Запрос
<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://nbi.radius.eltex.org">
    <soapenv:Header/>
    <soapenv:Body>
        <xsd:DeleteDomain>
            <xsd:domain>sber.enterprise.root</xsd:domain>
        </xsd:DeleteDomain>
    </soapenv:Body>
</soapenv:Envelope>
Ответ
<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
        <ns:DeleteDomainResponse
            xmlns:ns="http://org.eltex.radius.nbi/xsd">
            <ns:return>
                <ns:code>0</ns:code>
                <ns:detail/>
            </ns:return>
        </ns:DeleteDomainResponse>
    </soapenv:Body>
</soapenv:Envelope>

Вернуться к списку команд
Версия 1.19-48
Дата публикации 15-03-2021 16:55:34