noc.core.version

Module Contents

noc.core.version.CHANGESET_LEN = 8
noc.core.version.BRAND_PATH
class noc.core.version.cachedproperty(f)

Bases: object

__get__(self, instance, owner)
class noc.core.version.Version

Bases: object

has_git(self)

Check .git directory is exists and git executable is in $PATH :return:

branch(self)

Returns current branch :return:

changeset(self)

Returns current changeset :return:

version(self)
brand(self)
os_version(self)
os_brand(self)
python_version(self)
process(self)
package_versions(self)
noc.core.version.version