/usr/lib/python2.6/site-packages/novaclient/v2
Edit: /usr/lib/python2.6/site-packages/novaclient/v2/floating_ip_dns.pyc (6260B)
Ñò
=vVc @ s d d k l Z d d k l Z d Z d e i f d YZ d e i f d YZ d e i f d YZ d
e i f d YZ
d S(
i˙˙˙˙( t parse( t basec C s t i | i d d S( sç Special quoting rule for placing domain names on a url line.
Domain names tend to have .'s in them. Urllib doesn't quote dots,
but Routes tends to choke on them, so we need an extra level of
by-hand quoting here.
t .s %2E( R t quotet replace( t domain( ( sH /tmp/pip-build-cD3xZi/python-novaclient/novaclient/v2/floating_ip_dns.pyt
_quote_domain s t FloatingIPDNSDomainc B s# e Z d Z d Z d Z RS( c C s | i i | i d S( N( t managert deleteR ( t self( ( sH /tmp/pip-build-cD3xZi/python-novaclient/novaclient/v2/floating_ip_dns.pyR s c C sJ | i d j o | i i | i | i n | i i | i | i d S( Nt public( t scopeR t
create_publicR t projectt create_privatet availability_zone( R
( ( sH /tmp/pip-build-cD3xZi/python-novaclient/novaclient/v2/floating_ip_dns.pyt create# s c C sB | i i } x, | D]$ } | i d | i j o | Sq Wd S( NR ( R t domainst getR t None( R
t entriest entry( ( sH /tmp/pip-build-cD3xZi/python-novaclient/novaclient/v2/floating_ip_dns.pyR ) s ( t __name__t
__module__R R R ( ( ( sH /tmp/pip-build-cD3xZi/python-novaclient/novaclient/v2/floating_ip_dns.pyR s t FloatingIPDNSDomainManagerc B s2 e Z e Z d Z d Z d Z d Z RS( c C s | i d d S( s) Return the list of available dns domains.s /os-floating-ip-dnst domain_entries( t _list( R
( ( sH /tmp/pip-build-cD3xZi/python-novaclient/novaclient/v2/floating_ip_dns.pyR 5 s c C s8 h h d d 6| d 6d 6} | i d t | | d S( s# Add or modify a private DNS domain.t privateR R t domain_entrys /os-floating-ip-dns/%s( t _updateR ( R
t fqdomainR t body( ( sH /tmp/pip-build-cD3xZi/python-novaclient/novaclient/v2/floating_ip_dns.pyR 9 s
c C s8 h h d d 6| d 6d 6} | i d t | | d S( s" Add or modify a public DNS domain.R R R R s /os-floating-ip-dns/%s( R R ( R
R R R ( ( sH /tmp/pip-build-cD3xZi/python-novaclient/novaclient/v2/floating_ip_dns.pyR
A s c C s | i d t | d S( s Delete the specified domain.s /os-floating-ip-dns/%sN( t _deleteR ( R
R ( ( sH /tmp/pip-build-cD3xZi/python-novaclient/novaclient/v2/floating_ip_dns.pyR H s ( R R R t resource_classR R R
R ( ( ( sH /tmp/pip-build-cD3xZi/python-novaclient/novaclient/v2/floating_ip_dns.pyR 2 s
t FloatingIPDNSEntryc B s# e Z d Z d Z d Z RS( c C s | i i | i | i d S( N( R R t nameR ( R
( ( sH /tmp/pip-build-cD3xZi/python-novaclient/novaclient/v2/floating_ip_dns.pyR N s c C s) | i i | i | i | i | i d S( N( R R R R$ t ipt dns_type( R
( ( sH /tmp/pip-build-cD3xZi/python-novaclient/novaclient/v2/floating_ip_dns.pyR Q s c C s | i i | i | i S( N( R R R R$ ( R
( ( sH /tmp/pip-build-cD3xZi/python-novaclient/novaclient/v2/floating_ip_dns.pyR T s ( R R R R R ( ( ( sH /tmp/pip-build-cD3xZi/python-novaclient/novaclient/v2/floating_ip_dns.pyR# M s t FloatingIPDNSEntryManagerc B s; e Z e Z d Z d Z d Z d Z d Z RS( c C s | i d t | | f d S( s= Return a list of entries for the given domain and IP or name.s! /os-floating-ip-dns/%s/entries/%st dns_entry( t _getR ( R
R R$ ( ( sH /tmp/pip-build-cD3xZi/python-novaclient/novaclient/v2/floating_ip_dns.pyR [ s c C s@ h | d 6} d t i | } | i d t | | f d S( s= Return a list of entries for the given domain and IP or name.R% s ?%ss /os-floating-ip-dns/%s/entries%st dns_entries( R t urlencodeR R ( R
R R% t qparamst params( ( sH /tmp/pip-build-cD3xZi/python-novaclient/novaclient/v2/floating_ip_dns.pyt
get_for_ip` s
c C s> h h | d 6| d 6d 6} | i d t | | f | d S( s Add a new DNS entry.R% R&