fix(schema): scope BGPPeerGroup and BGPSession human_friendly_id per device — refs #43
This commit is contained in:
@@ -49,6 +49,7 @@ nodes:
|
|||||||
attributes:
|
attributes:
|
||||||
- name: router_id
|
- name: router_id
|
||||||
kind: IPHost
|
kind: IPHost
|
||||||
|
unique: true
|
||||||
description: BGP Router ID
|
description: BGP Router ID
|
||||||
- name: default_ipv4_unicast
|
- name: default_ipv4_unicast
|
||||||
kind: Boolean
|
kind: Boolean
|
||||||
@@ -92,7 +93,10 @@ nodes:
|
|||||||
label: BGP Peer Group
|
label: BGP Peer Group
|
||||||
icon: mdi--account-group
|
icon: mdi--account-group
|
||||||
include_in_menu: false
|
include_in_menu: false
|
||||||
|
uniqueness_constraints:
|
||||||
|
- ["bgp_config", "name__value"]
|
||||||
human_friendly_id:
|
human_friendly_id:
|
||||||
|
- bgp_config__router_id__value
|
||||||
- name__value
|
- name__value
|
||||||
display_label: "{{ name__value }}"
|
display_label: "{{ name__value }}"
|
||||||
attributes:
|
attributes:
|
||||||
@@ -165,7 +169,10 @@ nodes:
|
|||||||
label: BGP Session
|
label: BGP Session
|
||||||
icon: mdi--connection
|
icon: mdi--connection
|
||||||
include_in_menu: false
|
include_in_menu: false
|
||||||
|
uniqueness_constraints:
|
||||||
|
- ["bgp_config", "peer_address__value"]
|
||||||
human_friendly_id:
|
human_friendly_id:
|
||||||
|
- bgp_config__router_id__value
|
||||||
- peer_address__value
|
- peer_address__value
|
||||||
display_label: "{{ peer_address__value }}"
|
display_label: "{{ peer_address__value }}"
|
||||||
attributes:
|
attributes:
|
||||||
|
|||||||
Reference in New Issue
Block a user