Versions Compared

Key

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

The PicOS boot configuration is kept in the picos_start.conf file located at /etc/picos.

...

Code Block
admin@LEAF-A$cat /etc/picos/picos_start.conf
# configuration file for PICOS

[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




...

Once the picos_start.conf file has been updated, user needs to restart the picos service by using the sudo systemctl restart picos request system reboot command, or rebooting the switch. 

Code Block
admin@LEAF-A$sudo systemctl restart picosA$ exit
admin@LEAF-A> request system reboot
(No print here, it will cost few minutes for PICOS to restart.)
admin@LEAF-A$

...

Once the picos_start.conf file has been updated, user needs to restart the picos service by using the sudo systemctl restart picos request system reboot command or by rebooting the switch.

Code Block
admin@LEAF-A$ exit
admin@LEAF-A$sudoA> systemctlrequest restartsystem picosreboot
(No print here, it will cost few minutes for PICOS to restart.)
admin@LEAF-A$ 

...