pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/pheus/netbox-aci-plugin/commit/92c34b73fd9bcf9bea48e56f003ac49fc6ea24c6

" /> feat(nav): Add ACINodes nav item · pheus/netbox-aci-plugin@92c34b7 · GitHub
Skip to content

Commit 92c34b7

Browse files
committed
feat(nav): Add ACINodes nav item
1 parent 1d26770 commit 92c34b7

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

netbox_aci_plugin/navigation.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,28 @@
297297
),
298298
),
299299
)
300+
301+
# ACI Node
302+
acinode_item = PluginMenuItem(
303+
link="plugins:netbox_aci_plugin:acinode_list",
304+
link_text="Nodes",
305+
permissions=["netbox_aci_plugin.view_acinode"],
306+
buttons=(
307+
PluginMenuButton(
308+
link="plugins:netbox_aci_plugin:acinode_add",
309+
title="Add",
310+
icon_class="mdi mdi-plus-thick",
311+
permissions=["netbox_aci_plugin.add_acinode"],
312+
),
313+
PluginMenuButton(
314+
link="plugins:netbox_aci_plugin:acinode_bulk_import",
315+
title="Import",
316+
icon_class="mdi mdi-upload",
317+
permissions=["netbox_aci_plugin.add_acinode"],
318+
),
319+
),
320+
)
321+
300322
# Plugin Menu Items
301323
menu = PluginMenu(
302324
label="ACI",
@@ -336,6 +358,7 @@
336358
(
337359
acifabric_item,
338360
acipod_item,
361+
acinode_item,
339362
),
340363
),
341364
),

netbox_aci_plugin/tests/test_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class PluginTest(TestCase):
2525
menu_group_tenant_networking_item_count: int = 3
2626

2727
# Menu group: Fabrics
28-
menu_group_fabrics_item_count: int = 2
28+
menu_group_fabrics_item_count: int = 3
2929

3030
def test_configuration(self) -> None:
3131
"""Test for plugin configuration in NetBox."""

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy