5. nidhogg data types

class nidhogg.compatible.ACE(**kwargs)

Bases: nidhogg.compatible.InitDict

Data object representing an access control entry.

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

Bases: nidhogg.compatible.InitDict

Data object representing an aggregate.

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

Bases: nidhogg.compatible.InitDict

Data object representing a cifs share.

required_arguments = [u'path', u'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 = [u'qtree', u'status', u'security_style']
class nidhogg.compatible.Quota(**kwargs)

Bases: nidhogg.compatible.InitDict

Data object representing a quota.

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

Bases: nidhogg.compatible.InitDict

Data object representing a quota report.

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

Bases: nidhogg.compatible.InitDict

Data object representing a snapmirror destination info.

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

Bases: nidhogg.compatible.InitDict

Data object representing a snapmirror status.

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

Bases: nidhogg.compatible.InitDict

Data object representing a snapmirror volume status.

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

Bases: nidhogg.compatible.InitDict

Data object representing a snapshot.

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

Bases: nidhogg.compatible.InitDict

Data object representing a volume sortable by free size.

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

Bases: nidhogg.compatible.InitDict

Data object representing a volume sortable by quota ratio.

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