Skip to content

Infinidat/infi.dtypes.hctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

infi.dtypes.hctl provides a datatype for representing HCT and HCTL in such a way that is easy to extract each part and compare between objects.

Usage

HCTL:

>>> from infi.dtypes.hctl import HCTL
>>> hctl = HCTL(1,0,0,1)
>>> hctl.get_host()
1
>>> hctl.get_channel()
0
>>> hctl.get_target()
0
>>> hctl.get_lun()
1

Checking out the code

To check out the code for development purposes, clone the git repository and run the following commands:

easy_install -U infi.projector
projector devenv build