Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

...

Code Block
admin@LEAF-A$more /etc/picos/picos_start.conf
# configuration file for PICOS
PicaOS
[PICOS]
picos_start=xorpplusxorplus

[XORPPLUSXORPLUS]
xorpplusxorplus_rtrmgr_verbose=
xorpplusxorplus_log_facility=local0
xorpplusxorplus_finder_client_address=127.0.0.1
xorpplisxorplus_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=19210.16810.4251.120199
ovs_switch_ip_netmask=255.255.255.0
ovs_switch_gateway_ip=19210.16810.4251.1
ovs_switch_tcp_port=6640
ovs_host_name=PicOSPICOS-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 configuration file has the following four sections, each section having one or more variables:

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

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

SectionVariableValueDescription
PICOSpicos_startxorpplusxorplusPicOS PICOS operates in the L2/L3 mode after the picos service is restarted, or the system is rebooted.
ovsPicOS PICOS 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 PICOS modes are inactive.

XORPPLUSXORPLUS

xorpplusxorplus_rtrmgr_verbose

 Indicates that the xorpplusxorplus_rtrmgr log is in use.

xorpplusxorplus_log_facility

 Configures the logging facility.

xorpplusxorplus_finder_client_address

 Configures IP address.
xorpplusxorplus_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.

...