Skip to content
Ask AI

SAVI-Netconf

YANG Pathget/get-configedit-configrpc
/saviYmerge, replace, create, delete—
/savi/interfaces/{name}Ymerge, replace, create, delete—

This chapter provides examples on how to use Netconf to manage SAVI configurations on AsterNOS devices.

Request example to get all SAVI configurations via get-config with subtree filter.

<filter type="subtree">
<top>
<savi/>
</top>
</filter>

Response example

<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<top>
<savi>
<interfaces>
<interface>
<name>Ethernet1</name>
<enable>true</enable>
</interface>
<interface>
<name>Vlan100</name>
<enable>true</enable>
</interface>
</interfaces>
</savi>
</top>
</data>

The trust interface of SAVI is included in IPSG v6 and does’t require separate configuration.

Request example to set SAVI configuration of interface to enabled via edit-config.

<config>
<top>
<savi>
<interfaces>
<interface>
<name>Ethernet1</name>
<enable>true</enable>
</interface>
<interface>
<name>Vlan100</name>
<enable>true</enable>
</interface>
</interfaces>
</savi>
</top>
</config>

Response example

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:bb24faf4-2dba-4801-bff1-1442572b985f">
<ok/>
</rpc-reply>

Request example to delete SAVI configuration of interface via edit-config.

<config>
<top>
<savi>
<interfaces>
<interface operation="delete">
<name>Ethernet1</name>
</interface>
</interfaces>
</savi>
</top>
</config>

Response example

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:c601d610-7f2c-4230-96f1-d0f57506b05a">
<ok/>
</rpc-reply>

Tree Diagram

module: asternos-savi
+--rw savi
+--rw interfaces
+--rw interface* [name]
+--rw name union
+--rw enable? boolean

Table of Properties

NameRequiredType/RangeDescription
saviMPath-only node, has no configurable value.
Container for SAVI configurations.
interfacesMPath-only node, has no configurable value.
interfaceMPath-only node, has no configurable value.
nameOEthernet nameName of the interface.
enableO”true"
"false”
Enable or disable the configuration for interface.

Tree Diagram

module: asternos-savi
+--rw savi
+--rw interfaces
+--rw interface* [name]
+--rw name union
+--rw enable? boolean

Table of Properties

NameRequiredType/RangeDescription
interfacesMPath-only node, has no configurable value.
interfaceMPath-only node, has no configurable value.
nameOEthernet nameName of the interface.
enableO”true"
"false”
Enable or disable the configuration for interface.