Data model
The plugin has six concrete models. Access lists own rules and assignments. Address groups own memberships. Rules and memberships reference existing address objects.
flowchart TD
ACL["Access List"] -->|contains| RULE["Standard or Extended Rules"]
ACL -->|has| ASSIGN["ACL Assignments"]
ASSIGN -->|points to| TARGET["Device, chassis, VM, or interface"]
RULE -->|references| IPAM["IPAM objects"]
RULE -->|references| GROUP["ACL Address Group"]
GROUP -->|contains| MEMBER["ACL Address Group Members"]
MEMBER -->|points to| IPAM
The rule node represents two separate models. An access list's type determines
which one it uses. ACLRule is their abstract base. It has no separate list
view or API endpoint.
Model map
| Model | Purpose |
|---|---|
| AccessList | Named policy with type, family, and default action. |
| ACLStandardRule | Source criteria and action. |
| ACLExtendedRule | Source, destination, protocol, ports, ICMP type/code, and TCP flags. |
| ACLAssignment | An ACL's association with a supported target. |
| ACLAddressGroup | Reusable collection with one address family. |
| ACLAddressGroupMember | One IPAM object's membership in a group. |
Shared metadata
All six models support owners, tags, custom fields, comments, and change logging. Access lists, both rule types, and address groups also have a description. Assignments and memberships have their own metadata, independent of their parent and referenced object.
In REST, metadata fields include id, url, display, created, and
last_updated. These identify or describe a record. Supply writable fields
when creating or changing it. The model pages list user-managed fields.
See Permissions for separate grants on parent and child objects, and Address references for generic references and address-family rules.