Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Database Save and Restore Operations

 

The ACX6160 database operations Open ROADM YANG model provides configuration database management operations for backing up the ACX6160 configuration to a file, to restore the configuration from a file, and restore to factory default.

Database Operations Open ROADM YANG Model Support

The ACX6160 database operations Open ROADM YANG data models provide configuration database management RPC functions for backing up the ACX6160 configuration to a file, restoring the ACX6160 configuration from a file, and restoring the ACX6160 to factory default. Factory default returns the device configuration back to factory default.

  • Database backup RPC — writes the current running configuration to the specified file.

  • Database restore RPC — restores the configuration from the specified filename.

  • Database activate RPC — activates the new configuration that was read in from a db-restore or from db-init (factory-default)

  • Cancel rollback timer — sets candidate configuration to factory default.

  • Database init RPC — Sets the candidate configuration to the factory default.

The columns in Table 1, Table 2Table 3, Table 1, Table 4, and Table 5, are defined as:

  • YANG node — The node from the Open ROADM YANG model.

  • Access — Access properties of the node. Can be:

    • rw — read/write

    • ro — read-only

    • x — RPC function

    • n — notification

  • Supported — Indicates ACX6160 support for the node.

    • Yes — ACX6160 supports the node

    • No — ACX6160 does not support the node

    • N/A — Node is not applicable to transponder device

  • Supported Values — Describes the range of supported values on ACX6160.

Open ROADM Database Backup YANG Model Support

Table 1 describes ACX6160 compliance with the content of the Open ROADM RPC database backup YANG model. This RPC writes the current running configuration to the specified file.

Table 1: Open ROADM Database Backup YANG Model Support

YANG Node

Access

Supported

Supported Values

db-backup

x

yes

Write configuration database to specified file.

Format in XML.

- input

w

yes

-- filename

w

yes

String: name of file to save database

- output

ro

yes

-- status

ro

yes

Returns: Successful, Failed

-- status-message

ro

yes

String: provides more detail on status

Open ROADM Database Restore YANG Model Support

Table 2 describes ACX6160 compliance with the content of the Open ROADM RPC database restore YANG model. This RPC restores the configuration from the specified filename.

If the nodIDCheck is enabled, it compares the nodeId in the specified file to the current nodeId and the operation is rejected if they do not match.

Table 2: Open ROADM Database Restore YANG Model Support

YANG Node

Access

Supported

Supported Values

db-restore

x

yes

Read configuration from specified file into candidate configuration database.

Note: A db-activate is required to commit the factory default configuration.

- input

w

yes

-- filename

w

yes

String: name of file to restore database from

-- nodeIDCheck

w

yes

True - sysNameCheck required. Verifies sysName in specified file matches the current sysName.

False – no check required

- output

ro

yes

-- status

ro

yes

Returns: Successful, Failed

-- status-message

ro

yes

String: provides more detail on status

Open ROADM Database Activate YANG Model Support

Table 3 describes ACX6160 compliance with the content of the Open ROADM RPC database activate YANG model. This RPC activates the new configuration, which must previously be read in from a db-restore or from db-init (factory-default) RPC.

You can use the optional rollback timer (rollBackTimer) to rollback the configuration if not cancelled with accept=true prior to expiration.

Table 3: Open ROADM Database Activate YANG Model Support

YANG Node

Access

Supported

Supported Values

db-activate

x

yes

Activates the candidate configuration by performing a commit.

- input

w

yes

-- rollBackTimer

w

yes

String: hh:mm:ss time which configuration is reverted.

Note: You must verify system is operational and cancel the rollback timer.

- output

ro

yes

-- status

ro

yes

Returns: Successful, Failed

-- status-message

ro

yes

String: provides more detail on status

Open ROADM Cancel Rollback Timer YANG Model Support

Table 4 describes the cancel rollback timer RPC YANG model.

Note

This RPC sets the candidate configuration to factory default.

Restoring to factory default returns the ACX6160 configuration back to factory defaults and:

  • The static IP management address is deleted from the ACX6160

  • DHCP is enabled, so that the device can receive a temporary IP address

Note

Activation of restore to factory default, results in loss of connectivity over the static IP address. You may want to re-configure the static IP address and disable DHCP on the management interface prior to activating the restore to factory default.

Table 4 describes ACX6160 compliance with the content of the Open ROADM RPC cancel rollback timer YANG model.

Table 4: Open ROADM Cancel Rollback Timer YANG Model Support

YANG Node

Access

Supported

Supported Values

cancel-rollback-timer

x

yes

Set candidate configuration to factory default.

Note: A db-activate is required to commit the factory default configuration.

- input

w

yes

-- accept

w

yes

True – accept activated configuration

False – revert configuration back to previous configuration.

- output

ro

yes

-- status

ro

yes

Returns: Successful, Failed

-- status-message

ro

yes

String: provides more detail on status

Open ROADM Database Init YANG Model Support

Table 5 describes ACX6160 compliance with the content of the Open ROADM RPC database init YANG model.

Warning

This RPC sets the candidate configuration to factory default.

Activation of this RPC, results in loss of connectivity over the static IP address. You may want to re-configure the static IP address and disable DHCP on the management interface prior to activating the restore to factory default.

Note

Restoring to factory default returns the ACX6160 configuration back to factory defaults and:

  • The static IP management address is deleted from the ACX6160

  • DHCP is enabled, so that the device can receive a temporary IP address

Table 5: Open ROADM Database init YANG Model Support

YANG Node

Access

Supported

Supported Values

db-init

x

yes

Set candidate configuration to factory default.

Note: A db-activate is required to commit the factory default configuration.

- input

w

yes

-- filename

w

yes

String: name of file to restore database from

- output

ro

yes

-- status

ro

yes

Returns: Successful, Failed

-- status-message

ro

yes

String: provides more detail on status