5. nidhogg data types

class nidhogg.compatible.ACE(**kwargs)

Bases: nidhogg.compatible.InitDict

Data object representing an access control entry.

required_arguments = ['share_name', 'permission', 'user_or_group', 'is_group', 'user_group_type']
class nidhogg.compatible.Aggregate(**kwargs)

Bases: nidhogg.compatible.InitDict

Data object representing an aggregate.

required_arguments = ['id', 'volume']
class nidhogg.compatible.CifsShare(**kwargs)

Bases: nidhogg.compatible.InitDict

Data object representing a cifs share.

required_arguments = ['path', 'share_name']
class nidhogg.compatible.InitDict(**kwargs)

Bases: dict

Base class of the data object classes to enforce required keys in the dict.

class nidhogg.compatible.QTree(**kwargs)

Bases: nidhogg.compatible.InitDict

Data object representing a qtree.

required_arguments = ['qtree', 'status', 'security_style']
class nidhogg.compatible.Quota(**kwargs)

Bases: nidhogg.compatible.InitDict

Data object representing a quota.

required_arguments = ['disk_limit', 'file_limit', 'threshold', 'soft_disk_limit', 'soft_file_limit']
class nidhogg.compatible.QuotaReport(**kwargs)

Bases: nidhogg.compatible.InitDict

Data object representing a quota report.

required_arguments = ['disk_limit', 'file_limit', 'threshold', 'soft_disk_limit', 'soft_file_limit', 'quota_target', 'files_used', 'disk_used', 'tree']
class nidhogg.compatible.SnapmirrorDestinationInfo(**kwargs)

Bases: nidhogg.compatible.InitDict

Data object representing a snapmirror destination info.

required_arguments = ['destination_location', 'destination_volume', 'destination_vserver', 'is_constituent', 'policy_type', 'relationship_group_type', 'relationship_id', 'relationship_status', 'relationship_type', 'source_location', 'source_volume', 'source_volume_node', 'source_vserver']
class nidhogg.compatible.SnapmirrorStatus(**kwargs)

Bases: nidhogg.compatible.InitDict

Data object representing a snapmirror status.

required_arguments = ['source_location', 'destination_location', 'lag_time', 'last_transfer_from', 'last_transfer_size', 'last_transfer_duration', 'last_transfer_type', 'status', 'transfer_progress', 'mirror_timestamp', 'contents', 'state', 'base_snapshot', 'current_transfer_error', 'current_transfer_type', 'inodes_replicated', 'replication_ops', 'break_failed_count', 'break_successful_count', 'destination_volume', 'destination_volume_node', 'destination_vserver', 'destination_vserver_uuid', 'exported_snapshot', 'exported_snapshot_timestamp', 'is_constituent', 'is_healthy', 'last_transfer_end_timestamp', 'last_transfer_network_compression_ratio', 'max_transfer_rate', 'mirror_state', 'newest_snapshot', 'newest_snapshot_timestamp', 'opmask', 'policy', 'policy_type', 'relationship_control_plane', 'relationship_group_type', 'relationship_id', 'relationship_status', 'relationship_type', 'resync_failed_count', 'resync_successful_count', 'source_volume', 'source_vserver', 'source_vserver_uuid', 'total_transfer_bytes', 'total_transfer_time_secs', 'update_failed_count', 'update_successful_count', 'vserver', 'snapmirror_status']
class nidhogg.compatible.SnapmirrorVolumeStatus(**kwargs)

Bases: nidhogg.compatible.InitDict

Data object representing a snapmirror volume status.

required_arguments = ['is_source', 'is_destination', 'is_transfer_in_progress', 'is_transfer_broken']
class nidhogg.compatible.Snapshot(**kwargs)

Bases: nidhogg.compatible.InitDict

Data object representing a snapshot.

required_arguments = ['name']
class nidhogg.compatible.Volume(**kwargs)

Bases: nidhogg.compatible.InitDict

Data object representing a volume sortable by free size.

required_arguments = ['name', 'state', 'size_total', 'size_used', 'size_available', 'files_used', 'files_total', 'snapable', 'filer']
class nidhogg.compatible.VolumeWithQuotaRatio(**kwargs)

Bases: nidhogg.compatible.InitDict

Data object representing a volume sortable by quota ratio.

required_arguments = ['name', 'state', 'size_total', 'size_used', 'size_available', 'files_used', 'files_total', 'snapable', 'quota_size', 'quota_ratio', 'filer']