#NEWLINE# def add_plugin_args( self ) : #NEWLINE# #INDENT# context = self . _config . context #NEWLINE# tagging = self . _parser . add_argument_group ( title = 'AMI Tagging and Naming' , description = 'Tagging and naming options for the resultant AMI' ) #NEWLINE# tagging . add_argument ( '-s' , '--suffix' , dest = 'suffix' , action = conf_action ( context . ami ) , help = 'suffix of ami name, (default yyyymmddHHMM)' ) #NEWLINE# creator_help = 'The user who is aminating. The resultant AMI will receive a creator tag w/ this user' #NEWLINE# tagging . add_argument ( '-c' , '--creator' , dest = 'creator' , action = conf_action ( context . ami ) , help = creator_help ) #NEWLINE# tagging . add_argument ( '--vm-type' , dest = 'vm_type' , choices = [ 'paravirtual' , 'hvm' ] , action = conf_action ( context . ami ) , help = 'virtualization type to register image as' ) #NEWLINE# tagging . add_argument ( '--enhanced-networking' , dest = 'enhanced_networking' , action = conf_action ( context . ami , action = 'store_true' ) , help = 'enable enhanced networking (SR-IOV)' ) #NEWLINE# return tagging