Commit 97b234b9 authored by Leigh Stoller's avatar Leigh Stoller

I moved the goal post; I am mow in the process of removing card and port

from the interfaces table (and interface_state). The only place we will
store that is the wires table. When looking up an interface, we were
already loading the wires table, so we can still ask the interface for
its card and port, *if* it is wired up. And if it is not wired up,
asking the interface for anything related to the wire is nonsensical, so
print a backtrace and return an error.

Work in progress.
parent dabd6a2e
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment