def METHOD_NAME(test, checks=None):
    '''externalnetwork list by resource group operation'''
    if checks is None:
        checks = []
    test.cmd('az networkfabric externalnetwork list --resource-group {rg} --l3domain {l3domain}')