#NEWLINE# def getAction( self , p4action ) : #NEWLINE# #INDENT# assert isinstance ( p4action , p4_action ) #NEWLINE# for a in self . actions : #NEWLINE# #INDENT# if ( a . name == p4action . name ) : #NEWLINE# #INDENT# return a #NEWLINE# #UNINDENT# #UNINDENT# newAction = ebpfAction . BuiltinAction ( p4action ) #NEWLINE# self . actions . append ( newAction ) #NEWLINE# return newAction