From 610cafa9af29b073701b70b931825845de8c75df Mon Sep 17 00:00:00 2001 From: Yi Tseng Date: Thu, 31 Oct 2019 11:09:11 -0700 Subject: [PATCH 1/2] Add missing step to exercise 4 --- EXERCISE-4.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/EXERCISE-4.md b/EXERCISE-4.md index 887dd23..f45fffa 100644 --- a/EXERCISE-4.md +++ b/EXERCISE-4.md @@ -158,7 +158,17 @@ executions, including ONOS. Wait approx. 20 seconds for ONOS to completing booting, or check the ONOS log (`make onos-log`) until no more messages are shown. -### 3. Push netcfg to ONOS to trigger device and link discovery +### 5. Load app and register pipeconf + +On a terminal window, type: + +``` +$ make app-reload +``` + +This command will upload to ONOS and activate the app binary previously built (located at app/target/ngsdn-tutorial-1.0-SNAPSHOT.oar). + +### 6. Push netcfg to ONOS to trigger device and link discovery On a terminal window, type: From 7e15a060ec37bce412e229475895a208f33333ae Mon Sep 17 00:00:00 2001 From: Carmelo Cascone Date: Thu, 31 Oct 2019 11:13:04 -0700 Subject: [PATCH 2/2] Update EXERCISE-4.md --- EXERCISE-4.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EXERCISE-4.md b/EXERCISE-4.md index f45fffa..2896f65 100644 --- a/EXERCISE-4.md +++ b/EXERCISE-4.md @@ -136,7 +136,7 @@ resource folder (`app/src/main/resources`) and will be included in the ONOS app binary. The copy that gets included in the ONOS app will be the one that gets deployed by ONOS to the device after the connection is initiated. -### 4. Restart ONOS and load updated pipeconf +### 4. Restart ONOS **Note:** ONOS should be already running, and in theory, there should be no need to restart it. However, while ONOS supports reloading the pipeconf with a @@ -158,7 +158,7 @@ executions, including ONOS. Wait approx. 20 seconds for ONOS to completing booting, or check the ONOS log (`make onos-log`) until no more messages are shown. -### 5. Load app and register pipeconf +### 5. Load updated app and register pipeconf On a terminal window, type: