<s> import requests <EOL> from lib . base import OpscenterAction <EOL> class DrainNodeAction ( OpscenterAction ) : <EOL> def run ( self , node_ip , cluster_id = None ) : <EOL> if not cluster_id : <EOL> cluster_id = self . cluster_id <EOL> url = self . _get_full_url ( [ cluster_id , '<STR_LIT>' , '<STR_LIT>' , node_ip ] ) <EOL> return requests . get ( url ) . json ( ) </s>
