예제 #1
0
def _print_sm_service_node_show(node):
    fields = [
        'id', 'name', 'administrative_state', 'operational_state',
        'availability_status', 'ready_state'
    ]
    utils.print_mapping(node, fields, wrap=72)
예제 #2
0
def _print_servicegroup_show(servicegroup):
    fields = ['uuid', 'name', 'hostname', 'service_group_name', 'state']
    utils.print_mapping(servicegroup, fields, wrap=72)