24 RPL Production Case Studies
RPL production scenarios, RPL scenario review, RPL mode selection evidence, RPL Objective Function evidence, RPL retest triggers
24.1 Start With the Scenario Evidence
A production scenario is useful only when it names the evidence that would make the routing decision acceptable. A warehouse sensor, streetlight controller, or field gateway may each need a different balance of repair speed, memory, command reachability, and battery life.
Start by writing the evidence requirement next to the scenario. Then the route mode, objective function, packet test, and retest trigger can be judged against the operating need instead of against a generic RPL preference.
24.2 In 60 Seconds
RPL production scenarios are useful only when they train evidence discipline. Each scenario should begin with a claim, identify the traffic direction, state the route-state assumption, name the Objective Function evidence, and then decide which packet tests are required. A scenario answer should not say “use Storing” or “use Non-Storing” as a slogan. It should say which claim is accepted, which claim is still unproven, and what evidence would change the decision.
24.3 Learning Objectives
By the end of this chapter, you will be able to:
- Review an RPL scenario without importing unsupported deployment claims.
- Separate upward telemetry acceptance from downward command acceptance.
- Use route-state evidence to defend Storing or Non-Storing mode.
- Use metric evidence to defend Objective Function choice.
- Decide when local repair, Trickle behavior, or route-state changes require retesting.
- Write a scenario review record that is useful for later troubleshooting.
24.4 Minimum Viable Understanding
- A scenario is not accepted until the claim is testable.
- Upward and downward paths need separate evidence.
- Mode choice is about route-state placement, not a generic network-size rule.
- Objective Function choice is about the metric evidence the deployment can observe.
- Control-plane evidence supports routing claims but does not replace packet tests.
- Scenario records should state what remains unproven.
24.5 Prerequisites
- RPL Production Framework: evidence stack, routing-mode decision, and acceptance loop.
- RPL Routing Modes: route-state placement in Storing and Non-Storing mode.
- RPL DODAG Message Flow: DIO, DIS, DAO, and DAO-ACK evidence.
- RPL Labs and Quiz: practice with evidence review.
24.6 How To Read A Scenario
Read every scenario in this order:
- State the traffic claim.
- Identify the RPL context, root, and DODAG evidence.
- Separate upward, downward, and peer traffic.
- Decide where route state is expected to live.
- Check the Objective Function evidence.
- Match control-plane evidence to the claim.
- Require packet tests for the accepted path.
- Record what would require retest.
If a scenario gives a design decision but no packet evidence, the decision is still a hypothesis. If a scenario gives packet evidence but no routing-mode context, the result may not generalize to the next change.
24.7 Scenario 1: Telemetry With Occasional Commands
Claim: “Nodes report telemetry to the root, and the root can occasionally send commands back to nodes.”
The scenario contains two different claims. Telemetry is upward. Commands are downward. A clean review accepts or rejects each claim separately.
Review the scenario like this:
- Upward telemetry needs DIO evidence, parent choice, Rank context, Objective Function context, and node-to-root packet results.
- Downward commands need routing-mode context, DAO or route-state evidence, root-to-node packet results, and retest triggers.
- Storing mode can be accepted only if intermediate route-state behavior is inspected or tested.
- Non-Storing mode can be accepted only if root-held route knowledge and source-route behavior are tested.
- A successful upward packet does not prove a downward command path.
Scenario decision: accept the upward telemetry claim if the node-to-root packet tests pass. Hold the downward-command claim open until the route-state evidence and root-to-node packet tests are present.
24.8 Scenario 2: Objective Function Under Variable Links
Claim: “The preferred parent is production-acceptable because it has the best path.”
This is not a valid claim until the scenario defines “best.” OF0-style reasoning may prefer a simpler path. MRHOF-style reasoning may prefer a path with stronger link-quality evidence and hysteresis. The scenario needs to show the metric evidence, not just the chosen parent.
Review the Objective Function decision like this:
- Name the Objective Function or implementation equivalent.
- Record the candidate parents and their advertised context.
- Identify the metric evidence actually used by the Objective Function.
- Check that Rank direction remains loop-aware.
- Check that hysteresis or equivalent stability behavior is understood.
- Validate the chosen path with packet evidence that matches the application claim.
Scenario decision: accept the parent choice only for the metric and packet path that were observed. Do not turn one good packet test into a broad claim about all future link conditions.
24.9 Scenario 3: Maintenance Change And Retest
Claim: “The RPL design was accepted earlier, so the same acceptance still applies after a local change.”
This claim is often wrong. A previous acceptance record can expire when the design, topology, traffic direction, firmware, root, routing mode, or Objective Function changes.
Review the change like this:
- Identify which old claim the change affects.
- Decide whether the change touches parent choice, route-state location, control messages, packet direction, or monitoring.
- Reuse old evidence only if it still proves the current claim.
- Capture new control-plane evidence when the DODAG, Rank, DAO behavior, or Trickle behavior changes.
- Run new packet tests for every traffic direction affected by the change.
Scenario decision: do not accept the old record wholesale. Keep the unaffected claims, retest the affected claims, and update the monitoring or retest trigger list.
24.10 Scenario Review Record
A useful scenario answer should look like this:
- Claim accepted: the exact traffic path and RPL context that passed.
- Claim not yet accepted: the traffic path or behavior that lacks evidence.
- Mode evidence: where route state lives and how it was observed.
- Objective Function evidence: what metric or rule selected the parent.
- Control evidence: the messages and Rank context that support the claim.
- Packet evidence: the tested source, destination, and direction.
- Retest trigger: the change that would require fresh evidence.
This record is short, but it prevents future confusion. A later reviewer can see why the decision was made and which claim was intentionally left unproven.
24.11 Review Checklist
Before accepting a scenario answer, ask:
- Did it state the traffic direction?
- Did it identify the routing mode and route-state location?
- Did it name the Objective Function evidence?
- Did it avoid using a DODAG picture as packet proof?
- Did it separate DIO discovery from DAO route-state evidence?
- Did it require packet tests for downward or peer traffic?
- Did it state which claim remains unproven?
- Did it define retest triggers for changes that affect the claim?
24.12 Common Mistakes
- Answering with a mode name but no route-state evidence.
- Accepting downward commands because upward telemetry worked.
- Treating a preferred parent as “best” without naming the Objective Function.
- Treating Trickle reset behavior as a complete health check.
- Reusing an old acceptance record after the traffic direction changes.
- Adding exact capacity, timing, device-life, or product claims that the scenario did not measure.
24.13 Knowledge Check
24.14 Matching Quiz
24.15 Ordering Quiz
A production scenario is not a story with one correct routing slogan. It is a test of which claim the evidence can support. The same scenario can contain an accepted upward telemetry claim, an unproven downward command claim, and a retest trigger that affects only one part of the design.
Read each case as a set of claim boundaries. The reviewer should ask what traffic direction is being accepted, where route state lives, which Objective Function evidence selected the path, which packet test matches the claim, and what changed since the last acceptance record.
The handoff matters because scenario answers often mix several claims in one paragraph. A telemetry path may be accepted, a command path may be pending, and a maintenance change may require only one fresh packet test. If the answer says only "scenario passed," the next reviewer cannot tell which part passed and which part was never proven.
Use the scenario as a sorting exercise. Accepted claims move to monitoring: what signal should be watched so the team notices when the accepted condition changes? Missing evidence moves to the next chapter or next lab: what trace, route-state record, or packet test would close the gap? Retest triggers move to change control: what future event makes the old answer stale?
This does not make the review slower. It makes the decision narrower and more reusable. A narrow accepted claim can be trusted later because it names its traffic direction, context, evidence, and expiry condition. It also makes rejected or pending claims easier to finish.
Accepted Claim
The exact traffic direction, RPL context, and operating condition that passed both control-plane and packet checks.
Unproven Claim
A plausible behavior that the current evidence does not prove, such as downward commands after only upward telemetry tests.
Changed Assumption
A firmware, topology, route-state, root, metric, or traffic change that can narrow or expire old evidence.
Retest Decision
The reviewer keeps unaffected claims and reruns the tests for only the claims touched by the change.
Write the answer as "accepted, unproven, retest" rather than "choose mode X." That form prevents one clean trace from becoming an unsupported production promise.
The decision record turns a scenario answer into something a maintainer can use later. It should explain why the decision was made, which evidence was attached, and what would force the team to revisit the scenario after a change.
Start by writing the scenario as a table of claims rather than as a paragraph of recommendations. One row can cover upward telemetry, another can cover root-to-node command delivery, and another can cover repair behavior after a parent change. Each row gets its own mode evidence, Objective Function evidence, control-plane evidence, packet evidence, open gap, and retest trigger.
When evidence is missing, write that fact in the row instead of softening the conclusion. "Downward command pending DAO and root-to-node packet test" is a stronger review result than "commands probably work." It tells the next person exactly what to collect and prevents the scenario answer from becoming a production promise. It also keeps a partial pass useful: the accepted telemetry row remains accepted while the command row stays pending.
Separate upward telemetry, downward commands, peer traffic, repair behavior, and monitoring promises.
Pair each claim with the specific control-plane and packet evidence that can prove it.
Write unproven claims explicitly so a later reviewer does not infer more than the test showed.
Connect each change trigger to the smallest fresh test that can re-accept the affected claim.
24.16 Summary
- Scenario review starts with a testable claim.
- Upward, downward, and peer traffic require separate evidence.
- Mode choice must be defended with route-state evidence.
- Objective Function choice must be defended with metric and stability evidence.
- Control-plane evidence and packet evidence prove different things.
- A useful scenario answer records accepted claims, missing evidence, and retest triggers.
24.17 Key Takeaway
Production RPL scenarios should reveal how link loss, parent churn, traffic direction, gateway placement, and maintenance access affect the design.
24.18 Concept Relationships
- RPL Production Framework defines the evidence stack used in these scenarios.
- RPL Production Summary consolidates the production review concepts.
- RPL Routing Modes explains the route-state decisions behind Scenario 1.
- RPL DODAG Message Flow explains the control-message evidence used across the scenarios.
- RPL Labs and Quiz provides practice before production scenario review.
24.19 What’s Next
Continue to RPL Production Summary for a compact production review synthesis, or return to RPL Production Framework if the evidence stack needs another pass.