#NEWLINE# def __init__( self , spec ) : #NEWLINE# #INDENT# super ( AzureNetwork , self ) . __init__ ( spec ) #NEWLINE# name = ( 'pkb%s%s' % ( FLAGS . run_uri , str ( uuid . uuid4 ( ) ) [ ( - 12 ) : ] ) ) . lower ( ) [ : MAX_NAME_LENGTH ] #NEWLINE# self . affinity_group = AzureAffinityGroup ( name , spec . zone ) #NEWLINE# storage_account_name = ( STORAGE_ACCOUNT_PREFIX + name ) [ : MAX_NAME_LENGTH ] #NEWLINE# self . storage_account = AzureStorageAccount ( storage_account_name , FLAGS . azure_storage_type , name ) #NEWLINE# self . vnet = AzureVirtualNetwork ( name )