3 \�meT) � @ s d dl Z d dlZd dlmZmZmZmZ d dlmZm Z d dl mZ d dlm Z d dlmZ d dlmZ e je�Zdd gZd ZdeiZdZd ZeegZdZdZdZeZeeeeg7 ZG dd� dej ej!�Z"G dd� de"�Z#ddd�Z$e#ej%ffe"ej%ej&ffgZ'dd� Z(dS )� N)�dmi�sources� url_helper�util)� EventScope� EventType)�NoDHCPLeaseError)�EphemeralDHCPv4)�DataSourceOracle)� openstackzhttp://[fe80::a9fe:a9fe]zhttp://169.254.169.254ziid-dsopenstackzinstance-idzOpenStack NovazOpenStack ComputeZOpenTelekomCloudz SAP CCloud VMZHUAWEICLOUDc s� e Zd ZdZejZdZej e je je j e jhiZ� fdd�Zdd� Zdd� Zd d � Zedd� �Zd d� Zdd� Zdd� Z� ZS )�DataSourceOpenStackZ OpenStackFc sH t t| �j|||� d | _tj| j�| _d | _i | _ t j| _t j| _ d S )N)�superr �__init__�metadata_addressr Zfetch_ssl_details�paths�ssl_details�version�filesr �UNSET�ec2_metadata�network_json)�self�sys_cfg�distror )� __class__� �)/usr/lib/python3.6/DataSourceOpenStack.pyr = s zDataSourceOpenStack.__init__c C s"