2 #ifndef ROLE_SELECTOR_H_
3 #define ROLE_SELECTOR_H_
7 #include "mds/mdstypes.h"
11 * When you want to let the user act on a single rank in a namespace,
17 const std::vector<mds_role_t> &get_roles() const {return roles;}
18 int parse(const FSMap &fsmap, std::string const &str);
20 : fscid(FS_CLUSTER_ID_NONE)
22 fs_cluster_id_t get_ns() const
29 std::string const &str);
30 std::vector<mds_role_t> roles;
31 fs_cluster_id_t fscid;
34 #endif // ROLE_SELECTOR_H_