Skip to content

Instantly share code, notes, and snippets.

# You need Python Openshift Client (https://github.com/openshift/openshift-client-python)
import openshift as oc
akoAnnotation = "ako.vmware.com/host-fqdn-vs-uuid-map"
outputFile = "vs_mapping.csv"
vsMapping = {}
print("Get AVI Virtual Services\n")
# Get all the routes in the cluster
@lucadentella
lucadentella / cameraClientUsb.py
Created October 20, 2021 07:46
python client with usb qrcode reader
# -*- coding: utf-8 -*-
import requests
import sys
from os import system, name
from time import sleep
import logging
import smtplib
import time
from os import system, name