PicOS Boot File

The Pica8 PICOS software keeps its boot configuration in the picos_start.conf file located in the /etc/picos directory.

admin@LEAF-A$ls /etc/picos/picos*
/etc/picos/picos_start.conf

User can use the more command at the Linux shell to display contents of the picos_start.conf file.

admin@LEAF-A$more /etc/picos/picos_start.conf

[PICOS]
picos_start=xorplus

[XORPLUS]
xorplus_rtrmgr_verbose=
xorplus_log_facility=local0
xorplus_finder_client_address=127.0.0.1
xorplus_finder_server_address=127.0.0.1

[OVS]
ovs_database_file=/ovs/ovs-vswitchd.conf.db
ovs_inband_database_file=/ovs/inband.conf.db
ovs_inventory_database_file=/tmp/inventory.conf.db
inventory_schema=/ovs/share/openvswitch/inventory.ovsschema
ovs_function_database_file=/ovs/function.conf.db
function_schema=/ovs/share/openvswitch/function.ovsschema
ovs_portGroup_database_file=/ovs/portGroup.conf.db
portGroup_schema=/ovs/share/openvswitch/portGroup.ovsschema
ovs_db_sock_file=/ovs/var/run/openvswitch/db.sock
ovs_invd_file=/ovs/share/openvswitch/scripts/ovs-invd
ovs_invd_python_path=/ovs/share/openvswitch/python
ovs_db_manager=Open_vSwitch,Manager,target
ovs_switch_ip_address=10.10.51.199
ovs_switch_ip_netmask=255.255.255.0
ovs_switch_gateway_ip=10.10.51.1
ovs_switch_tcp_port=6640
ovs_host_name=PICOS-OVS
ovs_use_dhcp=false
ovs_enable_lighttpd=false
ovs_enable_snmpd=false
ovs_enable_npb=false
ovs_enable_mgp_ipv6=false
ovs_output_syslog_local=true

[ZTP]
ztp_disable=false
otp_disable=true

The picos_start.conf boot file has the following four sections, each section having one or more variables:

  1. PICOS
  2. XORPLUS
  3. OVS
  4. ZTP

The following table describes the variables in picos_start.conf - the PicOS boot file.

SectionVariableValueDescription
PICOSpicos_startxorplusPICOS operates in the L2/L3 mode after the picos service is restarted, or the system is rebooted.
ovsPICOS operates in the OVS mode after the picos service is restarted, or the system is rebooted.

The device boots into Linux as usual, but both the PICOS modes are inactive.

XORPLUS

xorplus_rtrmgr_verbose


Indicates that the xorplus_rtrmgr log is in use.

xorplus_log_facility


Configures the logging facility.

xorplus_finder_client_address


Configures IP address.
xorplus_finder_server_address
Configures IP address.

OVS

ovs_database_file


Defines the Open vSwitch configuration database.

ovs_inband_database_file


Defines the Open vSwitch inband configuration database.

ovs_db_sock_file


Defines the Unix domain socket file for communication between ovsdb-server and ovs-vswitchd.

ovs_switch_ip_address


Defines the Open vSwitch management IP address.

ovs_switch_ip_netmask


Defines the subnet mask for the Open vSwitch management IP address.

ovs_switch_gateway_ip


Defines the gateway for the Open vSwitch management IP address.

ovs_switch_tcp_port


Defines the TCP port for communication between ovsdb_server and ovs-vswitchd.

ovs_host_name


Defines the Open vSwitch host name.

ovs_use_dhcp

trueIndicates that the Open vSwitch is getting its management IP address through DHCP.
falseIndicates that the Open vSwitch is configured with a static management IP address.

ZTP

ztp_disable

trueIndicates that ZTP (Zero Touch Provisioning) is disabled.
falseIndicates that ZTP (Zero Touch Provisioning) is enabled.

otp_disable

trueIndicates that the OTP function is disabled.
falseIndicates that the OTP function is enabled.

Copyright © 2024 Pica8 Inc. All Rights Reserved.