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
# 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 |
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
# -*- 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 |