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.SnapmirrorStatus(**kwargs)

Bases: nidhogg.compatible.InitDict

Data object representing a snapmirror status.

required_arguments = [u'source_location', u'destination_location', u'last_transfer_from', u'last_transfer_size', u'last_transfer_duration', u'transfer_progress', u'lag_time', u'mirror_timestamp', u'contents', u'status', u'state', u'base_snapshot', u'current_transfer_error', u'current_transfer_type', u'inodes_replicated', u'last_transfer_type', u'replication_ops']
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']