From c1c82b36fc79c3bac5f5b627aca3c67670174bcb Mon Sep 17 00:00:00 2001 From: Emerson Pereira Date: Fri, 23 Apr 2021 20:24:25 -0300 Subject: [PATCH] remove old information --- netbox_proxbox/proxbox_api/README.md | 32 ++++------------------------ 1 file changed, 4 insertions(+), 28 deletions(-) diff --git a/netbox_proxbox/proxbox_api/README.md b/netbox_proxbox/proxbox_api/README.md index 78ffb4c..979fd4e 100644 --- a/netbox_proxbox/proxbox_api/README.md +++ b/netbox_proxbox/proxbox_api/README.md @@ -3,32 +3,12 @@

-# proxbox -Netbox plugin which integrates Proxmox and Netbox using proxmoxer and pynetbox. - - -## Installation - -Use the package manager [pip](https://pip.pypa.io/en/stable/) to install **proxbox**. - -1. Install informing GitHub self credentials (user and password) - -```bash -pip3 install git+https://github.com/N-Multifibra/netbox-proxbox.git - -``` -2. Install using @emerpereira token (meant to be used on scripts) - -```bash -pip3 install git+https://16d91b5fb6890672dd24254622330029fcc08ad4@github.com/N-Multifibra/netbox-proxbox.git -``` - ## Usage Compare Netbox and Proxmox information and update VM on Netbox, if any difference found using the **Netbox VM ID** ```python ->>> import proxbox +>>> from netbox_proxbox import proxbox_api >>> json_result = proxbox.update.virtual_machine(id = 1) >>> print(json_result) @@ -46,7 +26,7 @@ Compare Netbox and Proxmox information and update VM on Netbox, if any differenc Compare Netbox and Proxmox information and update VM on Netbox, if any difference found using the **Proxmox VM ID** ```python ->>> import proxbox +>>> from netbox_proxbox import proxbox_api >>> json_result = proxbox.update.virtual_machine(proxmox_id = 414) >>> print(json_result) @@ -65,7 +45,7 @@ Compare Netbox and Proxmox information and update VM on Netbox, if any differenc Compare Netbox and Proxmox information and update VM on Netbox, if any difference found using the **VM Name** ```python ->>> import proxbox +>>> from netbox_proxbox import proxbox_api >>> json_result = proxbox.update.virtual_machine(name = 'Netbox') >>> print(json_result) @@ -123,7 +103,7 @@ Updates all VM's at once on Netbox with the information gotten from Proxmox Compare all VM's on Netbox with Proxmox and delete VM on Netbox if it doesn't exist on Proxmox. ```python ->>> import proxbox +>>> from netbox_proxbox import proxbox_api >>> json_result = proxbox.remove.all() >>> print(json_result) @@ -152,7 +132,3 @@ Compare all VM's on Netbox with Proxmox and delete VM on Netbox if it doesn't ex } ] ``` - ---- - -[Workflow do ProxBox](https://whimsical.com/proxbox-integracao-netbox-e-proxmox-XtrSijkFx2ZUKmkcAZqoUx)