1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Move L2VPN into new menu group

This commit is contained in:
jeremystretch
2022-07-14 11:02:00 -04:00
parent 29c81a788f
commit 15395a56e7

View File

@ -174,7 +174,7 @@ DEVICES_MENU = Menu(
CONNECTIONS_MENU = Menu(
label='Connections',
icon_class='mdi mdi-ethernet',
icon_class='mdi mdi-connection',
groups=(
MenuGroup(
label='Connections',
@ -260,13 +260,6 @@ IPAM_MENU = Menu(
get_model_item('ipam', 'vlangroup', 'VLAN Groups'),
),
),
MenuGroup(
label='L2VPNs',
items=(
get_model_item('ipam', 'l2vpn', 'L2VPNs'),
get_model_item('ipam', 'l2vpntermination', 'Terminations'),
),
),
MenuGroup(
label='Other',
items=(
@ -278,6 +271,20 @@ IPAM_MENU = Menu(
),
)
OVERLAY_MENU = Menu(
label='Overlay',
icon_class='mdi mdi-graph-outline',
groups=(
MenuGroup(
label='L2VPNs',
items=(
get_model_item('ipam', 'l2vpn', 'L2VPNs'),
get_model_item('ipam', 'l2vpntermination', 'Terminations'),
),
),
),
)
VIRTUALIZATION_MENU = Menu(
label='Virtualization',
icon_class='mdi mdi-monitor',
@ -387,6 +394,7 @@ MENUS = [
CONNECTIONS_MENU,
WIRELESS_MENU,
IPAM_MENU,
OVERLAY_MENU,
VIRTUALIZATION_MENU,
CIRCUITS_MENU,
POWER_MENU,