Routing Policies
Source code
Models locations:
- netbox_cmdb/models/prefix_list.py
- netbox_cmdb/models/bgp_community_list.py
- netbox_cmdb/models/route_policy.py
Table relations
erDiagram
dcim_Device 1--0+ RoutePolicy: ""
RoutePolicy 1--0+ RoutePolicyTerm: ""
RoutePolicyTerm 0+--o| BgpCommunityList: ""
RoutePolicyTerm 0+--o| PrefixList: ""
BgpCommunityList 1--0+ BgpCommunityListTerm: ""
PrefixList 1--0+ PrefixListTerm: ""
Prefix lists
PrefixListTerm:
prefix_list: cmdb.PrefixList
sequence: integer
decision: string choice
prefix: IPNetwork
le: integer
ge: integer
Community lists
BGPCommunityListTerm:
bgp_community_list: cmdb.BGPCommunityList
sequence: integer
decision: string choice
community: string
Route policies
RoutePolicyTerm:
route_policy: cmdb.RoutePolicy
description: string
sequence: integer
decision: string choice
# match
from_bgp_community: string
from_bgp_community_list: cmdb.BgpCommunityList
from_prefix_list: cmdb.PrefixList
from_source_protocol: string
from_route_type: string
from_local_pref: integer
# set
set_local_pref: integer
set_community: string
set_origin: string
set_metric: integer
set_large_community: string
set_as_path_prepend: string
set_next_hop: IPaddress