#NEWLINE# def _global_router_name( self , hosting_device_id , logical = False ) : #NEWLINE# #INDENT# if ( self is True ) : #NEWLINE# #INDENT# return cisco_constants . LOGICAL_ROUTER_ROLE_NAME #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return ( '%s-%s' % ( cisco_constants . ROUTER_ROLE_NAME_PREFIX , hosting_device_id [ ( - cisco_constants . ROLE_ID_LEN ) : ] ) )