Skip to content

Instantly share code, notes, and snippets.

View pejotes's full-sized avatar
💁

Pawel Stefanski pejotes

💁
  • Poznan/Poland
View GitHub Profile
import requests
from requests.exceptions import RequestException
import hashlib
import json
import urllib3
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
class ZTERouter:
def __init__(self, ip, username, password):
self.ip = ip
{
"state": "active+undersized+degraded",
"snap_trimq": "[]",
"epoch": 94387,
"up": [
261,
695
],
"acting": [
261,

Keybase proof

I hereby claim:

  • I am pejotes on github.
  • I am pejotes (https://keybase.io/pejotes) on keybase.
  • I have a public key ASAqY3MurgWkn6XOx-9pYgMn-1m9snfsH20dsrR_sRJGcQo

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am pejotes on github.
* I am pejotes (https://keybase.io/pejotes) on keybase.
* I have a public key whose fingerprint is 51C9 EBA9 AE44 823A B8C8 B1F2 9216 5A1F 8C6D 3565
To claim this, I am signing this object: