8 Commits

Author SHA1 Message Date
Lin Yang
98d7db9765 Remove all "list" adapter for resource field
Because json will automatically handle list string parsing, no need
to cast to list object again. And this adapter will throw exception
when value is None. So remove them all.

Change-Id: I61b71e9db94e5da2cab5d26afc2b504d2cbdf274
2018-08-15 16:34:23 -07:00
Lin Yang
dda4c86b70 Add new adapter for int field
Add new adapter int_or_none, which allow the int field to be None.

Change-Id: I200108aac951fb9e52f6977340a4870cee7f887b
2018-06-06 15:02:47 -07:00
ya.wang
b9776986e4 Add two params for compose node
- total_system_core_req
  - total_system_memory_req

Change-Id: Ica453ab4ade429e6c94e7d790feb4c544851b3fc
2018-03-23 09:48:17 +08:00
Lin Yang
b5b4dd266a Fix wrong message of invalid "enabled" parameter
Change-Id: Iede67e725ce6ac0f51b1c4444f94ffc1727beea9
2018-03-03 12:34:42 -08:00
Lin Yang
1051908a7f Add links to components of composed node
Change-Id: I14681809250224b90c25f0744503761bd7a745a8
2018-03-01 21:51:35 -08:00
Lin Yang
369d9ea3b9 Add method to get allowed attach/detach endpoints
These two methods allow user to get all allowed endpoints for
attach/detach actions.

Change-Id: I3be5dd3cdca69893b42da92746d6a23b2e5847b3
2018-02-07 22:13:52 -08:00
Lin Yang
acc3dc8394 Add status attribution to all resources
Change-Id: I6deee073fb906dccc52dafb4803dfb00e73a1757
2018-02-07 20:38:24 -08:00
Lin Yang
50d8947ca4 Add multiply version support
Now it will automatically detect the RSD PODM API version and create
corresponding object for it. This will be easy to add more version
support in the future.

Change-Id: I18039ef1a4aeebb4176aae1d6162de0f8f9e2123
2018-01-30 20:55:12 -08:00