Skip to content

Commit 8a24e5c

Browse files
committed
docs: Distinguish between import, create dependencies
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
1 parent f93d141 commit 8a24e5c

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

website/docs/development/controller-design.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,7 @@ Dependencies are at the core of what ORC does. At the lowest level ORC performs
8383
* As soon as possible
8484
* In parallel if possible
8585

86-
It achieves this through dependency management.
87-
88-
!!! note
89-
90-
ORC dependencies can *only* be expressed between ORC objects. Therefore if one OpenStack resource depends on another, that relationship can only be expressed in ORC if both resources have corresponding ORC objects. Resoruces which a user may depend on but cannot create, like a flavor or a provider network, can be expressed by importing an existing resource.
86+
ORC achieves this through dependency management. OpenStack doesn't have the concept of resource dependencies natively, so ORC expresses dependencies through ORC objects, not their underlying OpenStack resources. Resources that a user can create and may be depended on, like a server group or image, are expressed as *create dependencies*, while resources that the user cannot create but may be depended on, like a flavor or provider network, are expressed *import dependencies*.
9187

9288
A dependency is used anywhere that the controller must reference another object to complete an action. The dependency has features that enable us to:
9389

0 commit comments

Comments
 (0)