@@ -90,7 +90,7 @@ class ClusterTemplate(base.APIBase):
9090 """The size in GB of the docker volume"""
9191
9292 cluster_distro = wtypes .StringType (min_length = 1 , max_length = 255 )
93- """The Cluster distro for the Cluster, e.g. coreos, fedora-atomic , etc."""
93+ """The Cluster distro for the Cluster, e.g. coreos, fedora-coreos , etc."""
9494
9595 links = wsme .wsattr ([link .Link ], readonly = True )
9696 """A list containing a self link and associated ClusterTemplate links"""
@@ -205,7 +205,7 @@ def sample(cls):
205205 apiserver_port = 8080 ,
206206 docker_volume_size = 25 ,
207207 docker_storage_driver = 'devicemapper' ,
208- cluster_distro = 'fedora-atomic ' ,
208+ cluster_distro = 'fedora-coreos ' ,
209209 coe = fields .ClusterType .KUBERNETES ,
210210 http_proxy = 'http://proxy.com:123' ,
211211 https_proxy = 'https://proxy.com:123' ,
@@ -269,11 +269,6 @@ class ClusterTemplatesController(base.Controller):
269269 "different storage driver, such as overlay2. overlay2 will be set "
270270 "as the default storage driver from Victoria cycle in Magnum." )
271271
272- _fedora_atomic_deprecation_note = (
273- "The fedora_atomic driver is deprecated in favor of the fedora_coreos "
274- "driver. Please migrate to the fedora_coreos driver. fedora_atomic "
275- "driver will be removed in a future Magnum version." )
276-
277272 def _generate_name_for_cluster_template (self , context ):
278273 """Generate a random name like: zeta-22-model."""
279274
@@ -431,12 +426,6 @@ def post(self, cluster_template):
431426 DeprecationWarning )
432427 LOG .warning (self ._devicemapper_overlay_deprecation_note )
433428
434- if (cluster_template_dict ['coe' ] == 'kubernetes' and
435- cluster_template_dict ['cluster_distro' ] == 'fedora-atomic' ):
436- warnings .warn (self ._fedora_atomic_deprecation_note ,
437- DeprecationWarning )
438- LOG .warning (self ._fedora_atomic_deprecation_note )
439-
440429 if (cluster_template_dict ['coe' ] == 'kubernetes' and
441430 cluster_template_dict ['cluster_distro' ] == 'coreos' ):
442431 warnings .warn (self ._coreos_deprecation_note ,
0 commit comments