Package com.woorea.openstack.keystone.model

Examples of com.woorea.openstack.keystone.model.Role


  }

  @Override
  public void execute(Keystone keystone, CommandLine cmd) {
   
    Role role = new Role();
    role.setName(cmd.getOptionValue("name"));
    role.setDescription(cmd.getOptionValue("description"));
    if(cmd.getOptionValue("enabled") != null) {
      role.setEnabled("True");
    }
   
    role = keystone.roles().create(role).execute();
   
    Table t = new Table(new TableModel<Role>(Arrays.asList(role)) {
View Full Code Here

TOP

Related Classes of com.woorea.openstack.keystone.model.Role

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.