Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pyroute2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
safeedge
pyroute2
Commits
94b6807f
Commit
94b6807f
authored
Apr 11, 2020
by
Peter V. Saveliev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb: update the main diagram
Add report filters
parent
c16d2719
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
20 deletions
+42
-20
pyroute2/ndb/main.py
pyroute2/ndb/main.py
+42
-20
No files found.
pyroute2/ndb/main.py
View file @
94b6807f
...
...
@@ -31,39 +31,61 @@ behaves like a simple named tuple.
+---------------------+
| |
| |
| `NDB() instance` |
| |
| |
+---------------------+
|
|
+-------------------+
+-------------------+ |
+-------------------+ | |-----------+---------------------------+
| | | | | |
| `View()` | |-+ | |
| |-+ | |
+-------------------+ | |
+------------------+ +-------------------+
| | | |
| `.dump()` | | `.create()` |
| `.summary()` | | `.__getitem__()` |
| | | |
+------------------+ +-------------------+
+-------------------+ | |-----------+--------------------------+
| | | | | |
| | | | | |
| `View()` | | | | |
| | |-+ | |
| |-+ | |
+-------------------+ | |
+------------------+ +------------------+
| | | |
| | | |
| `.dump()` | | `.create()` |
| `.summary()` | | `.__getitem__()` |
| | | |
| | | |
+------------------+ +------------------+
| |
| |
v v
+-------------------+ +-------------------+
| | +-------------------+ |
| `RecordSet()` | +-------------------+ | |
| | | `Interface()` | | |
+-------------------+ | `Route()` | |-+
| | ... |-+
v +-------------------+
+-------------------+ +------------------+
| | +------------------+ |
| | +------------------+ | |
| `RecordSet()` | | `Interface()` | | |
| | | `Address()` | | |
| | | `Route()` | | |
+-------------------+ | `Neighbour()` | | |
| | `Rule()` | |-+
| | ... |-+
v +------------------+
+-------------------+
+-------------------+ |
+-------------------+ | |
| `filter()` | | |
| `select()` | | |
| `transform()` | | |
| `join()` | |-+
| ... |-+
+-------------------+
|
v
+-------------------+
+-------------------+ |
+-------------------+ | |
| | | |
| | | |
| `Record()` | |-+
| `Record()` | | |
| | |-+
| |-+
+-------------------+
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment