Deprecate Windows support

Because WinStackers project has been retired, running OpenStack on
Windows operating systems is no longer maintained.

Change-Id: Ic5971ee22aa309a8b46f21fccaa8be7c0091fb0c
This commit is contained in:
Takashi Kajinami 2023-11-19 00:18:19 +09:00
parent 0a0dec37e4
commit 077e43698e
2 changed files with 7 additions and 0 deletions

View File

@ -11,10 +11,13 @@
# under the License. # under the License.
import os import os
import warnings
from oslo_log import log as logging from oslo_log import log as logging
if os.name == 'nt': if os.name == 'nt':
warnings.warn('Support for Windows OS is deprecated.',
category=DeprecationWarning, stacklevel=3)
from os_vif.internal.ip.windows.impl_netifaces import \ from os_vif.internal.ip.windows.impl_netifaces import \
Netifaces as ip_lib_class Netifaces as ip_lib_class
else: else:

View File

@ -0,0 +1,4 @@
---
features:
- |
Support for Windows operating systems has been deprecated.