Commit c5fbdaf
connection: add printed context support
Add the possibility to add the no_printed flag when creating the sysrepo
session to avoid loading the context from the shared memory. Apply it by
default to keep the behavior as before.
The printed context is valuable to get a the sysrepo config/state
faster but some operations on the context itself do not work.
For instance printing and parsing a yang model will fail.
Link: https://github.com/sysrepo/sysrepo/blob/v4.2.10/README.md#printed-context
Signed-off-by: Jeremie Leska <[email protected]>1 parent a7aa9f2 commit c5fbdaf
2 files changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
44 | 47 | | |
45 | 48 | | |
| 49 | + | |
| 50 | + | |
46 | 51 | | |
47 | 52 | | |
48 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
0 commit comments