1
// Copyright 2015 Canonical Ltd.
2
// Licensed under the AGPLv3, see LICENCE file for details.
4
// The description package defines the structure and representation and
5
// serialisation of models to facilitate the import and export of
6
// models from different controllers.
11
// The following prechecks are to be made before attempting migration:
13
// - no agents in an error state
14
// - nothing dying or dead; machine, application, unit, relation, storage, network etc
15
// - no entries in the assignUnitC collection
16
// - these are units pending assignment
17
// - no units agent status in an error state
18
// - workload error status is probably fine
19
// - all units using the same charm and series as the application
20
// - no units with pending charm updates
21
// - all units have ResolvedNone for resolved status
22
// - no pending hook execution