Configuring the linux-config-unreliable

PicOS is a Linux distribution with Pica8 tools for Routing, Switching, and OpenFlow. As such, PicOS can be configured directly from the Linux shell.

But sometimes, operators would like to be sure the CLI configuration completely reflects the state of the system. It can be useful if the same parameter can be configured in the CLI, or in Linux at the same time. A good example of such parameters would be the IP address of the system or its default gateway.

In the PicOS CLI configuration, all of those parameters have been gathered under the system hierarchy. It is then the choice of the operator to choose either the CLI or Linux shell to configure the system parameters.

A new knob has been added for control, in case the CLI configuration should override the Linux configuration.

By default, the CLI configuration does NOT override the Linux system configuration.


When the linux-config-unreliable knob is modified, please commit it first, then set other system settings.
Do not commit the linux-config-unreliable and system delta at the same time.


You can choose bash control or xorp control. As shown below:

Xorp Control

admin@XorPlus# set system linux-config-unreliable true
admin@XorPlus# commit
Commit OK.
Save done.
admin@XorPlus# show system
    linux-config-unreliable: true
    }
    log-level: "trace"

Bash Control

admin@XorPlus# set system linux-config-unreliable false
admin@XorPlus# commit
Commit OK.
Save done.
admin@XorPlus# show system
    linux-config-unreliable: false
    log-level: "trace"

If user chooses bash control, the system settings should be set in bash, not from xorp. Otherwise, the system command should be set in xorp. 

admin@XorPlus# show system
    linux-config-unreliable: false
    log-level: "trace"
admin@XorPlus# set system hostname pica8
admin@XorPlus# commit
The system is managed by linux
Commit failed.
admin@XorPlus#

 The following system commands should always be set in PicOS, even when system is under bash control: 

  system aaa tacacs-plus

  system log-level

When changing the system control straight from xorp control to bash control, the xorp configurations related to system will be removed from the configuration tree automatically. When changing from Bash control to xorp control, the configuration related to the system will be read and added into the xorp configuration tree automatically. 

  system log-facility



Copyright © 2024 Pica8 Inc. All Rights Reserved.