Skip to content

Commit c2a84fd

Browse files
author
fan
committed
a
1 parent 2ff926e commit c2a84fd

File tree

2 files changed

+46
-158
lines changed

2 files changed

+46
-158
lines changed

CF/1Notes.md

Lines changed: 0 additions & 158 deletions
This file was deleted.

isi/tech.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
```cpp
2+
struct flx_rule {
3+
/**
4+
* Increments when _dirty is set and config is saved
5+
*/
6+
uint64_t _revision;
7+
/**
8+
* Name of rule
9+
*/
10+
char *_name;
11+
/**
12+
* Rule id
13+
*/
14+
uint32_t _id;
15+
/**
16+
* Name of description
17+
*/
18+
char *_desc;
19+
/**
20+
* Which node tpyes the rule applies to
21+
*/
22+
enum flx_node_filter _node_filter;
23+
/**
24+
* What interfaces it applies to
25+
*/
26+
struct flx_iface_class _class;
27+
/**
28+
* Is this a deprecated rule?
29+
* Applies to rules targeting I Series filter rules are deprecated in 6.5.2.
30+
*/
31+
bool _deprecated;
32+
/**
33+
* The parent pool. Lifetime owned by the parent pool (not the rule)
34+
*/
35+
struct flx_pool *_pool;
36+
};
37+
38+
struct flx_pool {
39+
/**
40+
* Provisioning rules: set of struct flx_rule
41+
*/
42+
struct flx_rule_set _rules;
43+
44+
}
45+
46+
```

0 commit comments

Comments
 (0)