Ejemplo n.º 1
0
def mon_status(**kwargs):
    '''
    Get status from mon daemon

    CLI Example:

    .. code-block:: bash

        salt '*' ceph.mon_status \\
                'cluster_name'='ceph' \\
                'cluster_uuid'='cluster_uuid'

    cluster_uuid
        The cluster UUID. Defaults to value found in ceph config file.

    cluster_name
        The cluster name. Defaults to ``ceph``.
    '''
    return ceph_cfg.status(**kwargs)
Ejemplo n.º 2
0
def mon_status(**kwargs):
    '''
    Get status from mon deamon

    CLI Example:

    .. code-block:: bash

        salt '*' ceph.mon_status \\
                'cluster_name'='ceph' \\
                'cluster_uuid'='cluster_uuid'
    Notes:

    cluster_uuid
        Set the cluster UUID. Defaults to value found in ceph config file.

    cluster_name
        Set the cluster name. Defaults to "ceph".
    '''
    return ceph_cfg.status(**kwargs)
Ejemplo n.º 3
0
Archivo: ceph.py Proyecto: bryson/salt
def mon_status(**kwargs):
    '''
    Get status from mon deamon

    CLI Example:

    .. code-block:: bash

        salt '*' ceph.mon_status \\
                'cluster_name'='ceph' \\
                'cluster_uuid'='cluster_uuid'
    Notes:

    cluster_uuid
        Set the cluster UUID. Defaults to value found in ceph config file.

    cluster_name
        Set the cluster name. Defaults to "ceph".
    '''
    return ceph_cfg.status(**kwargs)