'constructor for handling route options'

def __init__(self, sname, namespace, kubeconfig, destcacert=None, cacert=None, cert=None, key=None, host=None, tls_termination=None, service_name=None, wildcard_policy=None, weight=None, port=None):

    self.kubeconfig = kubeconfig
    self.name = sname
    self.namespace = namespace
    self.host = host
    self.tls_termination = tls_termination
    self.destcacert = destcacert
    self.cacert = cacert
    self.cert = cert
    self.key = key
    self.service_name = service_name
    self.port = port
    self.data = {}
    self.wildcard_policy = wildcard_policy
    if (wildcard_policy is None):
        self.wildcard_policy = 'None'
    self.weight = weight
    if (weight is None):
        self.weight = 100
    self.create_dict()
