Skip to content

Commit

Permalink
remove old information
Browse files Browse the repository at this point in the history
  • Loading branch information
emersonfelipesp authored Apr 23, 2021
1 parent 5c6fa13 commit c1c82b3
Showing 1 changed file with 4 additions and 28 deletions.
32 changes: 4 additions & 28 deletions netbox_proxbox/proxbox_api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,12 @@
</p>


# 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://[email protected]/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)
Expand All @@ -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)
Expand All @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)

0 comments on commit c1c82b3

Please sign in to comment.