or in an equivalent manner
- export bonding= 2015.04.13--f18
+ export bonding=bond212015.04.13--f18
run -G
# requirements
<<visual check>>
rung bonding-node
+
+# upgrading nodes
+
+targets like `nodedistro-f22` can be used to change a node's fcdistro
+
+
+## testing upgrade (one node)
+
+testing a node upgrade; we start from a f21 myplc and upgrade the node to f22
+
+### Init
+
+ f21
+ bond22
+ rung
+ run nodeplain-off
+
+### Upgrade the node (make sure nodeplain is off)
+
+ run nodedistro-f22 nodestate-upgrade
+ run reset-node wait-node
+
+### Reinstall - back to square 1
+
+ run nodedistro-f21 nodestate-reinstall
+ run reset-node wait-node
+
+### Run bootmanager interactively during upgrade
+To deploy experimental bootmanager code:
+
+* Insert breakpoints in the bootmanager code
+* turn on `BREAKPOINT_MODE = True` in `utils.py`
+* `make sync`
+
+Then
+
+ run nodedistro-f22 nodestate-safeboot
+ run reset-node ssh-node-debug
+ testnodedbg
+
+ cd /tmp/source
+ ./BootManager.py upgrade
+
+