Commit Graph

843 Commits

Author SHA1 Message Date
Carl D. Roth
ac3475f215 Added upgrade-system step 2016-10-26 12:39:49 -07:00
Jeffrey Townsend
bff5e68d73 New SYSTEM_COMPATIBILITY_VERSION (SCV) key
This key is designed to indicate the overall system compatibility between different installations.
For example, the system configuration in ONL2.0 is different from ONL 1.0 (partition scheme, loader/version management, etc) and attempting to boot a 1.0 switch image on a 2.0 system will not work properly.

This key exists to facilitate operational compatibility and upgrade steps. When a switch image is booted against a loader with an SCV different than it expects then a full re-install will need to be performed in order to upgrade the system before that image can run. If the SCV is different then an in-place loader-upgrade cannot be performed either.

The upgrade process will be updated to include an SCV check and perform a re-install.
The loader upgrade sequence will be predicated on SCV equality.

If the SCV is not equal after all upgrade operations then switch has the option of rebooting instead of continuing the init process.
This will be configured through the sysconfig interface.
2016-10-26 12:39:44 -07:00
Jeffrey Townsend
820cc3d973 - DHCP Timeout support in the Loader environment
When $NETAUTO=dhcp the transaction will now timeout after $NETRETRIES attempts.
  If the system has a local install or SWI then booting can continue.

  For systems which require DHCP to be functional before booting can continue
  (for example SWIs downloaded via URL rather than locally) then NETRETRIES=infinite should be set in the boot-config.

  NETRETRIES can be set to any number of attempts, or infinite. The default value is 5 attempts.

- Wait for ma1 linkup in the loader
  A short wait has been introduced to allow ma1 to linkup prior to continuing.
2016-10-26 12:39:26 -07:00
Jeffrey Townsend
1d52f43a0b Upgrade separation and cleanup. 2016-10-26 12:39:26 -07:00
Jeffrey Townsend
222ffd2504 Fix uninstallation. 2016-10-26 12:39:26 -07:00
Jeffrey Townsend
306842e7cc Latest 2016-10-26 12:39:26 -07:00
Jeffrey Townsend
b077ed028b Enable ONIE and Firmware Upgrade Package Support 2016-10-26 12:39:24 -07:00
Jeffrey Townsend
4a5732241c Add platform and firmware keys. 2016-10-26 12:38:34 -07:00
Jeffrey Townsend
b7879951f0 Commit the sysctl settings prior to first mount. 2016-10-26 12:38:34 -07:00
Jeffrey Townsend
03bb6b718d Add default ONIE upgrade package settings. 2016-10-26 12:38:32 -07:00
Jeffrey Townsend
df146fd122 Onie and Loader infrastructure improvements
- Loader and ONIE moved to importable classes for tool usage
- OnieUpgradeBase updated.
2016-10-26 12:37:24 -07:00
Carl D. Roth
6f9d993696 the --extract option is unimplemented 2016-10-26 12:37:24 -07:00
Carl D. Roth
06ad896fd4 Added system upgrade key 2016-10-26 12:37:24 -07:00
Jeffrey Townsend
f8f2975121 New SYSTEM_COMPATIBILITY_VERSION (SCV) key
This key is designed to indicate the overall system compatibility between different installations.
For example, the system configuration in ONL2.0 is different from ONL 1.0 (partition scheme, loader/version management, etc) and attempting to boot a 1.0 switch image on a 2.0 system will not work properly.

This key exists to facilitate operational compatibility and upgrade steps. When a switch image is booted against a loader with an SCV different than it expects then a full re-install will need to be performed in order to upgrade the system before that image can run. If the SCV is different then an in-place loader-upgrade cannot be performed either.

The upgrade process will be updated to include an SCV check and perform a re-install.
The loader upgrade sequence will be predicated on SCV equality.

If the SCV is not equal after all upgrade operations then switch has the option of rebooting instead of continuing the init process.
This will be configured through the sysconfig interface.
2016-10-26 12:37:24 -07:00
Carl D. Roth
c10374ddc6 Fixed cpR implementation 2016-10-26 12:37:24 -07:00
Carl D. Roth
b6ce6eb566 Added devtmpfs workaround 2016-10-26 12:37:24 -07:00
Carl D. Roth
5e0ea4516e Update comment 2016-10-26 12:37:24 -07:00
Carl D. Roth
8d9bedd92e Added cp-R, added support for devtmpfs 2016-10-26 12:37:24 -07:00
Carl D. Roth
ead42bc860 Added upgrade-shell 2016-10-26 12:37:24 -07:00
Carl D. Roth
1c12aa5189 Added serialization function 2016-10-26 12:37:24 -07:00
Steven Noble
079765bf85 Updates the Wedge 40 and 100 systems to use the 3.16 kernel (#117) 2016-10-26 12:37:23 -07:00
Sridhar Pitchai
db0790fac8 Platform x86-64-alphanetworks-snx60a0-486f-r0 (#114)
Fixing the console port
2016-10-26 12:37:23 -07:00
Steven Noble
31738e8855 Updates docs for Wedge to include Wedge 100 (#115) 2016-10-26 12:37:23 -07:00
Jeffrey Townsend
c875832718 Generalize to all exceptions. 2016-10-26 12:37:20 -07:00
Jeffrey Townsend
fad2b5cd82 Latest 2016-10-26 12:35:13 -07:00
Charlie Lewis
09a4d38fa8 improve formatting of markdown for readibility (#108) 2016-10-26 12:35:13 -07:00
Sridhar Pitchai
7c3d3a2c3b Platform x86-64-agema-agc7648 without ONLP (#113) 2016-10-26 12:35:12 -07:00
Jeffrey Townsend
05ef1f19b4 Latest 2016-10-26 12:35:12 -07:00
Steven Noble
ac03653c5f Kernel configuration options and updated at24 patch for kernel 3.16 2016-10-26 12:35:12 -07:00
Zi Zhou
bc4d2e6f97 Do not show CRC under System Information for "show version" 2016-10-26 12:35:12 -07:00
Jeffrey Townsend
86cedd5bab - Improve retry and timeout performance for the isch driver
- adm1021 device detection option
2016-10-26 12:35:12 -07:00
Jeffrey Townsend
d3e977ac0e Latest 2016-10-26 12:35:12 -07:00
Jeffrey Townsend
43c30cf187 The onl-pki script has moved. 2016-10-26 12:35:12 -07:00
Jeffrey Townsend
e3030a6a1b Latest 2016-10-26 12:35:12 -07:00
Jeffrey Townsend
c799c39863 Latest 2016-10-26 12:35:12 -07:00
Carl D. Roth
08e6bddfbb WIP parted API updates -- DO NO MERGE 2016-10-20 12:03:35 -07:00
Carl D. Roth
d129388145 Refactor to use OnieHelper 2016-10-20 12:00:48 -07:00
Carl D. Roth
759b002e4d Added attach/detach support 2016-10-20 11:59:45 -07:00
Carl D. Roth
b9ddd22e82 Added UMOUNT tag to suspend cleanup 2016-10-20 11:59:26 -07:00
Jeffrey Townsend
6095635ce5 Convert /etc/os-release to /etc/os-release.json. 2016-10-06 16:30:05 +00:00
Jeffrey Townsend
8e6f8459bf Latest 2016-10-05 09:53:03 -07:00
Jeffrey Townsend
75bef2b248 Fix indexing bug. 2016-10-04 23:48:22 +00:00
Jeffrey Townsend
c4d3eab661 Add the ability to add custom data to manifest files. 2016-10-03 19:30:53 +00:00
Jeffrey Townsend
601738b74c Latest 2016-09-30 17:09:27 +00:00
Jeffrey Townsend
6ddd55ead8 Move the environment key to the correct location. 2016-09-29 14:57:36 +00:00
Jeffrey Townsend
591084af88 Latest 2016-09-23 23:47:47 +00:00
Jeffrey Townsend
d51bc89eab Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux 2016-09-23 14:49:01 +00:00
Jeffrey Townsend
13d06bab43 Add sysconfig SWI upgrade mode. 2016-09-23 14:48:18 +00:00
Jeffrey Townsend
d00b5e02cb Merge pull request #106 from kenchiang/add-packages
Add tcpdump and strace to base packages.
2016-09-22 15:56:30 -07:00
Ken Chiang
e588bb6af4 Add tcpdump and strace to base packages. 2016-09-21 16:21:30 -07:00