#NEWLINE# @ classmethod #NEWLINE# def create_allocation_pools( cls , subnet_manager , session , pools , cidr ) : #NEWLINE# #INDENT# for pool in pools : #NEWLINE# #INDENT# ip_version = cidr . version #NEWLINE# subnet_manager . create_pool ( session , netaddr . IPAddress ( pool . first , ip_version ) . format ( ) , netaddr . IPAddress ( pool . last , ip_version ) . format ( ) )