pass
-class LcmExceptionNoMgmtIP(LcmException):
- pass
-
-
class LcmExceptionExit(LcmException):
pass
"dhcp_count": source_data["dhcp-params"].get("count")
if source_data.get("dhcp-params")
else None,
+ "ipv6_address_mode": source_data["ipv6-address-mode"]
+ if "ipv6-address-mode" in source_data
+ else None,
}
Returns:
hex digest (str): The hash of the charm file
"""
- filehash = hashlib.md5()
+ filehash = hashlib.sha256()
with open(zipped_file, mode="rb") as file:
contents = file.read()
filehash.update(contents)