-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[networking.links] Added update_topology management command #231
- Loading branch information
1 parent
4a38a29
commit 3cf8b89
Showing
3 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
Empty file.
10 changes: 10 additions & 0 deletions
10
nodeshot/networking/links/management/commands/update_topology.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
from django.core.management.base import BaseCommand | ||
|
||
from ...utils import update_topology | ||
|
||
|
||
class Command(BaseCommand): | ||
help = 'Update network topology' | ||
|
||
def handle(self, *args, **options): | ||
update_topology() |