-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
65 additions
and
6 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
class NetboxIpmiOvhConfig(PluginConfig): | ||
name = 'netbox_ipmi_ovh' | ||
verbose_name = 'Netbox ipmi ovh' | ||
description = '' | ||
description = 'A plugin used to add a button in the dcim.device to allow easier access to the IPMI for OVH managed bare metal servers.' | ||
version = '0.0.1' | ||
author = 'Lisa Bekdache' | ||
author_email = '[email protected]' | ||
|
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 |
---|---|---|
@@ -1,10 +1,21 @@ | ||
class NetboxIpmiOvh(Exception): | ||
""" | ||
Base exception for the netbox-ipmi-ovh plugin | ||
""" | ||
pass | ||
|
||
|
||
class NetboxIpmiOvhTimeout(NetboxIpmiOvh): | ||
""" | ||
Exception when OVH is too slow to answer | ||
i.e BMC is down on the server | ||
""" | ||
pass | ||
|
||
|
||
class NetboxIpmiOvhError(NetboxIpmiOvh): | ||
""" | ||
Exception for wrong arguments or error thrown | ||
by the OVH API | ||
""" | ||
pass |
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
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
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