Documentation
¶
Index ¶
- func New() resource.Driver
- type T
- func (t *T) DriverID() driver.ID
- func (t *T) Info(ctx context.Context) (resource.InfoKeys, error)
- func (t *T) Ingest(ctx context.Context) error
- func (t *T) Label(_ context.Context) string
- func (t *T) Manifest() *manifest.T
- func (t *T) Pause(ctx context.Context) error
- func (t *T) Resume(ctx context.Context) error
- func (t *T) Split(ctx context.Context) error
- func (t *T) Start(ctx context.Context) error
- func (t *T) Status(ctx context.Context) status.T
- func (t *T) Update(ctx context.Context) error
- type XDGList
- type XDGListDG
- type XDGListDGDGInfo
- type XDGListLD
- type XDGListLDDG
- type XDGListLDDGDevice
- type XDGListLDDGDeviceDevInfo
- type XDGListLDDGDeviceFrontEnd
- type XDevList
- type XDevListSymmetrix
- type XInqIdentifierDeviceName
- type XInqIdentifierDeviceNameInquiry
- type XInqIdentifierDeviceNameInquiryDevInfo
- type XRDFQuery
- type XRDFQueryDG
- type XRDFQueryDGInfo
- type XRDFQueryDGRDFPair
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type T ¶
type T struct {
ressync.T
resource.Restart
SymDG string
SymID string
RDFG int
Nodes []string
DRPNodes []string
}
T is the driver structure.
func (*T) Label ¶
Label implements Label from resource.Driver interface, it returns a formatted short description of the Resource
type XDGList ¶
<?xml version="1.0" standalone="yes" ?> <SymCLI_ML>
<DG>
<DG_Info>
<name>TOOLS</name>
<type>RDF2</type>
<symid>000000000193</symid>
<valid>Yes</valid>
<std_devs>2</std_devs>
<gk_devs>0</gk_devs>
<all_bcvs>0</all_bcvs>
<all_vdevs>0</all_vdevs>
<all_tgts>0</all_tgts>
<in_cg>No</in_cg>
<num_sgs>0</num_sgs>
</DG_Info>
</DG>
<DG>
<DG_Info>
<name>ADM</name>
<type>RDF1</type>
<symid>000000000193</symid>
<valid>Yes</valid>
<std_devs>1</std_devs>
<gk_devs>0</gk_devs>
<all_bcvs>0</all_bcvs>
<all_vdevs>0</all_vdevs>
<all_tgts>0</all_tgts>
<in_cg>No</in_cg>
<num_sgs>0</num_sgs>
</DG_Info>
</DG>
</SymCLI_ML>
type XDGListDG ¶
type XDGListDG struct {
XMLName xml.Name `xml:"DG"`
DGInfo XDGListDGDGInfo `xml:"DG_Info"`
}
T is the driver structure.
type XDGListDGDGInfo ¶
type XDGListDGDGInfo struct {
XMLName xml.Name `xml:"DG_Info"`
Name string `xml:"name"`
Type string `xml:"type"`
SymID string `xml:"symid"`
}
T is the driver structure.
type XDGListLD ¶
type XDGListLD struct {
XMLName xml.Name `xml:"SymCLI_ML"`
DG XDGListLDDG `xml:"DG"`
}
<SymCLI_ML>
<DG>
<DG_Info>
<name>pmax1</name>
<type>RDF1</type>
<symid>000000000193</symid>
</DG_Info>
<Device>
<Dev_Info>
<dev_name>003AD</dev_name>
<configuration>RDF1+TDEV</configuration>
<ld_name>DEV001</ld_name>
<status>Ready</status>
</Dev_Info>
<Front_End>
<Port>
<pd_name>/dev/sdq</pd_name>
<director>07E</director>
<port>1</port>
</Port>
</Front_End>
</Device>
</DG>
</SymCLI_ML>
type XDGListLDDG ¶
type XDGListLDDG struct {
XMLName xml.Name `xml:"DG"`
Devices []XDGListLDDGDevice `xml:"Device"`
}
T is the driver structure.
type XDGListLDDGDevice ¶
type XDGListLDDGDevice struct {
XMLName xml.Name `xml:"Device"`
DevInfo XDGListLDDGDeviceDevInfo `xml:"Dev_Info"`
FrontEnd XDGListLDDGDeviceFrontEnd `xml:"Front_End"`
}
T is the driver structure.
type XDGListLDDGDeviceDevInfo ¶
type XDGListLDDGDeviceDevInfo struct {
XMLName xml.Name `xml:"Dev_Info"`
Status string `xml:"status"`
Configuration string `xml:"configuration"`
LDName string `xml:"ld_name"`
DevName string `xml:"dev_name"`
}
T is the driver structure.
type XDGListLDDGDeviceFrontEnd ¶
type XDGListLDDGDeviceFrontEnd struct {
XMLName xml.Name `xml:"Front_End"`
Director string `xml:"director"`
Port int `xml:"port"`
}
T is the driver structure.
type XDevList ¶
type XDevList struct {
XMLName xml.Name `xml:"SymCLI_ML" json:"-"`
Symmetrix XDevListSymmetrix `xml:"Symmetrix" json:"Symmetrix"`
}
T is the driver structure.
type XDevListSymmetrix ¶
type XDevListSymmetrix struct {
XMLName xml.Name `xml:"Symmetrix" json:"-"`
Devices []arraysymmetrix.Device `xml:"Device" json:"Device"`
SymmInfo arraysymmetrix.SymmInfoShort `xml:"Symm_Info" json:"Symm_Info"`
}
T is the driver structure.
type XInqIdentifierDeviceName ¶
type XInqIdentifierDeviceName struct {
XMLName xml.Name `xml:"SymCLI_ML"`
Inquiries []XInqIdentifierDeviceNameInquiry `xml:"Inquiry"`
}
<?xml version="1.0" standalone="yes" ?> <SymCLI_ML>
<Inquiry>
<Dev_Info>
<pd_name>/dev/sdb</pd_name>
<dev_name>000F1</dev_name>
<symid>000000000561</symid>
<dev_ident_name>TOOLS</dev_ident_name>
</Dev_Info>
<Product>
<vendor>EMC</vendor>
</Product>
</Inquiry>
<Inquiry>
<Dev_Info>
...
type XInqIdentifierDeviceNameInquiry ¶
type XInqIdentifierDeviceNameInquiry struct {
XMLName xml.Name `xml:"Inquiry"`
DevInfo XInqIdentifierDeviceNameInquiryDevInfo `xml:"Dev_Info"`
}
T is the driver structure.
type XInqIdentifierDeviceNameInquiryDevInfo ¶
type XInqIdentifierDeviceNameInquiryDevInfo struct {
XMLName xml.Name `xml:"Dev_Info"`
SymID string `xml:"symid"`
DevName string `xml:"dev_name"`
DevIdentName string `xml:"dev_ident_name"`
}
T is the driver structure.
type XRDFQuery ¶
type XRDFQuery struct {
XMLName xml.Name `xml:"SymCLI_ML"`
DG XRDFQueryDG `xml:"DG"`
}
<?xml version="1.0" standalone="yes" ?> <SymCLI_ML>
<DG>
<DG_Info>
<name>TOOLS</name>
<type>RDF1</type>
<symid>000000000193</symid>
<microcode_version>5978</microcode_version>
<remote_symid>000000000197</remote_symid>
<remote_microcode_version>5978</remote_microcode_version>
<ra_group_num>1</ra_group_num>
<ra_group_num_hex>00</ra_group_num_hex>
<rdfa_session_num>0</rdfa_session_num>
<rdfa_cycle_num>0</rdfa_cycle_num>
<rdfa_session_active>False</rdfa_session_active>
<rdfa_consistency_exempt_devices>No</rdfa_consistency_exempt_devices>
<rdfa_wpace_exempt_devices>No</rdfa_wpace_exempt_devices>
<rdfa_avg_cycle_time>00:00:00</rdfa_avg_cycle_time>
<rdfa_avg_transmit_cycle_time>00:00:00</rdfa_avg_transmit_cycle_time>
<duration_of_last_cycle>00:00:00</duration_of_last_cycle>
<session_priority>33</session_priority>
<transmit_queue_depth_on_r1_side>0</transmit_queue_depth_on_r1_side>
<tracks_not_committed_to_r2_side>0</tracks_not_committed_to_r2_side>
<rdfa_tracks_not_committed_to_r2_side>0</rdfa_tracks_not_committed_to_r2_side>
<rdfa_time_r2_is_behind_r1>00:00:00</rdfa_time_r2_is_behind_r1>
<rdfa_r2_image_capture_time>N/A</rdfa_r2_image_capture_time>
<r2_data_is_consistent>N/A</r2_data_is_consistent>
<rdfa_min_cycle_time>00:00:15</rdfa_min_cycle_time>
<rdfa_session_priority>33</rdfa_session_priority>
<rdfa_r1_percent_cache_in_use>0</rdfa_r1_percent_cache_in_use>
<rdfa_r2_percent_cache_in_use>0</rdfa_r2_percent_cache_in_use>
<rdfa_r1_dse_used_trks>0</rdfa_r1_dse_used_trks>
<rdfa_r2_dse_used_trks>0</rdfa_r2_dse_used_trks>
<rdfa_transmit_idle_time>00:00:00</rdfa_transmit_idle_time>
<rdfa_r1_shared_trks>0</rdfa_r1_shared_trks>
</DG_Info>
<RDF_Pair>
<link_status>Ready</link_status>
<mode>Synchronous</mode>
<device_domino>Disabled</device_domino>
<adaptive_copy>Disabled</adaptive_copy>
<rdfa_consistency_state>N/A</rdfa_consistency_state>
<consistency_state>Disabled</consistency_state>
<consistency_exempt_state>Disabled</consistency_exempt_state>
<exempt_state>Disabled</exempt_state>
<pair_state>Synchronized</pair_state>
<r2_larger_than_r1>False</r2_larger_than_r1>
<r1_r2_device_size>Equals</r1_r2_device_size>
<Source>
<ld_name>DEV001</ld_name>
<dev_name>00321</dev_name>
<state>Ready</state>
<r1_invalids>0</r1_invalids>
<r2_invalids>0</r2_invalids>
</Source>
<Target>
<dev_name>00321</dev_name>
<state>Write Disabled</state>
<r1_invalids>0</r1_invalids>
<r2_invalids>0</r2_invalids>
</Target>
</RDF_Pair>
<RDF_Pair_Totals>
<Source>
<r1_invalids>0</r1_invalids>
<r2_invalids>0</r2_invalids>
<r1_invalid_mbs>0.0</r1_invalid_mbs>
<r2_invalid_mbs>0.0</r2_invalid_mbs>
</Source>
<Target>
<r1_invalids>0</r1_invalids>
<r2_invalids>0</r2_invalids>
<r1_invalid_mbs>0.0</r1_invalid_mbs>
<r2_invalid_mbs>0.0</r2_invalid_mbs>
</Target>
</RDF_Pair_Totals>
</DG>
</SymCLI_ML>
type XRDFQueryDG ¶
type XRDFQueryDG struct {
XMLName xml.Name `xml:"DG"`
DGInfo XRDFQueryDGInfo `xml:"DG_Info"`
RDFPairs []XRDFQueryDGRDFPair `xml:"RDF_Pair"`
}
T is the driver structure.
func (XRDFQueryDG) PairState ¶
func (t XRDFQueryDG) PairState() string
Click to show internal directories.
Click to hide internal directories.