Commit Graph

11 Commits (f416aa695544fafe09a7be02f34cebc0f4d718b4)

Author SHA1 Message Date
Davanum Srinivas d82366f826 Tech Debt: Fixed code alignment issues
Just code reformatting in the objects/ folder

Closes-Bug: 1416789
Change-Id: I4dfd4412d032a2a67a370abfe673302b0820058d
2015-02-07 12:02:26 -05:00
Jay Lau (Guangya Liu) 63040c95d8 Remove API get() for some magnum objects
The get() API was not used by the following objects, just remove it.

1) node
2) pod
3) replication controller
4) service
5) container

Change-Id: I2f578f8d072d772bf34e676b115eccf6c08bac8a
2015-02-05 12:42:36 +08:00
Jay Lau (Guangya Liu) ce0ef7c421 Enable multi tenant for k8s resource get_xx_by_id
1) get_pod_by_id
2) get_service_by_id
3) get_rc_by_id

Implements part of bp multi-tenant

Change-Id: I4b3bb49984b14369e7d79c7981271b17d6169646
2015-02-05 04:32:04 +00:00
Jay Lau (Guangya Liu) 150139321a Enable multi tenant for k8s resource get_xxx_list
1) get_pdod_list
2) get_service_list
3) get_rc_list

Implements part of bp multi-tenant

Change-Id: I40cefd7f4f637808afbcf172a5d98fddee066f2b
2015-02-05 12:30:53 +08:00
Jay Lau (Guangya Liu) de93db51b9 Enable multi tenant for two k8s resource operation APIs
1) get_service_by_uuid
2) get_rc_by_uuid

Implements part of bp multi-tenant

Change-Id: Ib96e777bf73c7e29e1dc0834df273e11d14bd8c7
2015-02-05 12:21:49 +08:00
Jay Lau (Guangya Liu) 41f15002e3 Add project_id and user_id to service and rc
Implements part of bp multi-tenant

Change-Id: I0140e5233fc801b8353a65b8342a181a162f8cb4
2015-02-03 00:11:33 -05:00
OTSUKA, Yuanying a61f1ff719 Rename `resource`_data/url attributes to manifest/manifest_url
Pod, Service and ReplicationController have data and definition_url attribute,
but it's name is needlessly long.
This fixes it to more appropriate attribute name.

Change-Id: I64e8922ef8f6fc0dc4a7fda02aa0913ca15177e4
2015-01-16 15:14:38 +09:00
Jay Lau (Guangya Liu) e7a2366af6 Set replication controller name from rc manifest
Only replication controller manifest knows about rc name, so
this patch retrieve rc name from rc manifest.

Change-Id: I8193c2066ea1f0a40761f304f784fbb3b2d16796
2015-01-15 08:03:54 -05:00
Jay Lau (Guangya Liu) 9c68323035 Add rc_data support for magnum replication controller
Change-Id: I041ee8a4e111d6c900ff6d654eeb23d61fff28ff
2015-01-13 18:53:44 -05:00
Jay Lau (Guangya Liu) 01ce1daac8 Add bay_uuid for replication controller
bay_uuid is needed when creating replication controller

Change-Id: If88235bda4b2f9833058533d1308fd89e6b6da4d
2015-01-05 07:59:19 -05:00
Jay Lau (Guangya Liu) b37036c34d Add k8s replication support for magnum
Implements bp add-k8s-replication-controller

Change-Id: I5aee1af171b0a3a1476fd9fee1fdf26755ab0805
2015-01-02 18:29:18 -05:00