示例#1
0
def add_isilon(_cost=None):
    # create exports in the storage (if needed)

    # verify if there are enough of this node type (?)
    node_add(NodeType.EMC_ISILON)
    ctx.cluster.cli.ds_add(name=ctx.cluster.nodes.name,
                           logical_volume_name=ctx.cluster.nodes,
                           cost=_cost)
示例#2
0
 def node_add_nexenta(self, name_size=12, cert=None, verify=True):
     name = utils.lower_generator(size=name_size)
     node_add(NodeType.NEXENTA, name, cert=cert)
     if verify:
         self.verification(node_name=name, node_type=NodeType.NEXENTA)
示例#3
0
 def node_add_netapp_cmode(self, name_size=12, cert=None, verify=True):
     name = utils.lower_generator(size=name_size)
     node_add(NodeType.NETAPP_CMODE, name, cert=cert)
     if verify:
         self.verification(node_name=name, node_type=NodeType.NETAPP_CMODE)
示例#4
0
 def node_add_isilon(self, name_size=12, cert=None, verify=True):
     name = utils.lower_generator(size=name_size)
     node_add(NodeType.EMC_ISILON, name, cert=cert)
     if verify:
         self.verification(node_name=name, node_type=NodeType.EMC_ISILON)