Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 618 Bytes

setup.rst

File metadata and controls

24 lines (20 loc) · 618 Bytes

Getting started

In order to enable REST in NSO, REST must be enabled in ncs.conf. The web server configuration for REST is shared with the WebUI's config. However, the WebUI does not have to be enabled for REST to work.

Here's a minimal example of what is needed in the conf file:

<rest>
    <enabled>true</enabled>
</rest>
<webui>
    <enabled>false</enabled>
    <transport>
        <tcp>
            <enabled>true</enabled>
            <ip>0.0.0.0</ip>
            <port>8080</port>
        </tcp>
    </transport>
</webui>