osism 0.20250616.0__py3-none-any.whl → 0.20250627.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- osism/api.py +49 -5
- osism/commands/baremetal.py +23 -3
- osism/commands/manage.py +276 -1
- osism/commands/reconciler.py +8 -1
- osism/commands/sync.py +27 -7
- osism/settings.py +1 -0
- osism/tasks/conductor/__init__.py +2 -2
- osism/tasks/conductor/ironic.py +21 -19
- osism/tasks/conductor/sonic/__init__.py +26 -0
- osism/tasks/conductor/sonic/bgp.py +87 -0
- osism/tasks/conductor/sonic/cache.py +114 -0
- osism/tasks/conductor/sonic/config_generator.py +1000 -0
- osism/tasks/conductor/sonic/connections.py +389 -0
- osism/tasks/conductor/sonic/constants.py +80 -0
- osism/tasks/conductor/sonic/device.py +82 -0
- osism/tasks/conductor/sonic/exporter.py +226 -0
- osism/tasks/conductor/sonic/interface.py +940 -0
- osism/tasks/conductor/sonic/sync.py +215 -0
- osism/tasks/reconciler.py +12 -2
- {osism-0.20250616.0.dist-info → osism-0.20250627.0.dist-info}/METADATA +3 -3
- {osism-0.20250616.0.dist-info → osism-0.20250627.0.dist-info}/RECORD +27 -18
- {osism-0.20250616.0.dist-info → osism-0.20250627.0.dist-info}/entry_points.txt +3 -0
- osism-0.20250627.0.dist-info/licenses/AUTHORS +1 -0
- osism-0.20250627.0.dist-info/pbr.json +1 -0
- osism/tasks/conductor/sonic.py +0 -1401
- osism-0.20250616.0.dist-info/licenses/AUTHORS +0 -1
- osism-0.20250616.0.dist-info/pbr.json +0 -1
- {osism-0.20250616.0.dist-info → osism-0.20250627.0.dist-info}/WHEEL +0 -0
- {osism-0.20250616.0.dist-info → osism-0.20250627.0.dist-info}/licenses/LICENSE +0 -0
- {osism-0.20250616.0.dist-info → osism-0.20250627.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,215 @@
|
|
1
|
+
# SPDX-License-Identifier: Apache-2.0
|
2
|
+
|
3
|
+
"""Main SONiC synchronization function."""
|
4
|
+
|
5
|
+
from loguru import logger
|
6
|
+
|
7
|
+
from osism import utils
|
8
|
+
from osism.tasks.conductor.netbox import get_nb_device_query_list_sonic
|
9
|
+
from .bgp import calculate_minimum_as_for_group
|
10
|
+
from .connections import find_interconnected_devices
|
11
|
+
from .config_generator import generate_sonic_config, clear_all_caches
|
12
|
+
from .constants import DEFAULT_SONIC_ROLES, SUPPORTED_HWSKUS
|
13
|
+
from .exporter import save_config_to_netbox, export_config_to_file
|
14
|
+
from .cache import clear_interface_cache, get_interface_cache_stats
|
15
|
+
|
16
|
+
|
17
|
+
def sync_sonic(device_name=None, task_id=None, show_diff=True):
|
18
|
+
"""Sync SONiC configurations for eligible devices.
|
19
|
+
|
20
|
+
Args:
|
21
|
+
device_name (str, optional): Name of specific device to sync. If None, sync all eligible devices.
|
22
|
+
task_id (str, optional): Task ID for output logging.
|
23
|
+
show_diff (bool, optional): Whether to show diffs when changes are detected. Defaults to True.
|
24
|
+
|
25
|
+
Returns:
|
26
|
+
dict: Dictionary with device names as keys and their SONiC configs as values
|
27
|
+
"""
|
28
|
+
if device_name:
|
29
|
+
logger.info(f"Preparing SONIC configuration for device: {device_name}")
|
30
|
+
else:
|
31
|
+
logger.info("Preparing SONIC configuration files")
|
32
|
+
|
33
|
+
# Clear all caches at start of sync
|
34
|
+
clear_interface_cache()
|
35
|
+
clear_all_caches()
|
36
|
+
logger.debug("Initialized all caches for sync_sonic task")
|
37
|
+
|
38
|
+
# Dictionary to store configurations for all devices
|
39
|
+
device_configs = {}
|
40
|
+
|
41
|
+
logger.debug(f"Supported HWSKUs: {', '.join(SUPPORTED_HWSKUS)}")
|
42
|
+
|
43
|
+
devices = []
|
44
|
+
|
45
|
+
if device_name:
|
46
|
+
# When specific device is requested, fetch it directly
|
47
|
+
try:
|
48
|
+
device = utils.nb.dcim.devices.get(name=device_name)
|
49
|
+
if device:
|
50
|
+
# Check if device role matches allowed roles
|
51
|
+
if device.role and device.role.slug in DEFAULT_SONIC_ROLES:
|
52
|
+
devices.append(device)
|
53
|
+
logger.debug(
|
54
|
+
f"Found device: {device.name} with role: {device.role.slug}"
|
55
|
+
)
|
56
|
+
else:
|
57
|
+
logger.warning(
|
58
|
+
f"Device {device_name} has role '{device.role.slug if device.role else 'None'}' "
|
59
|
+
f"which is not in allowed SONiC roles: {', '.join(DEFAULT_SONIC_ROLES)}"
|
60
|
+
)
|
61
|
+
return device_configs
|
62
|
+
else:
|
63
|
+
logger.error(f"Device {device_name} not found in NetBox")
|
64
|
+
return device_configs
|
65
|
+
except Exception as e:
|
66
|
+
logger.error(f"Error fetching device {device_name}: {e}")
|
67
|
+
return device_configs
|
68
|
+
else:
|
69
|
+
# Get device query list from NETBOX_FILTER_CONDUCTOR_SONIC
|
70
|
+
nb_device_query_list = get_nb_device_query_list_sonic()
|
71
|
+
|
72
|
+
for nb_device_query in nb_device_query_list:
|
73
|
+
# Query devices with the NETBOX_FILTER_CONDUCTOR_SONIC criteria
|
74
|
+
for device in utils.nb.dcim.devices.filter(**nb_device_query):
|
75
|
+
# Check if device role matches allowed roles
|
76
|
+
if device.role and device.role.slug in DEFAULT_SONIC_ROLES:
|
77
|
+
devices.append(device)
|
78
|
+
logger.debug(
|
79
|
+
f"Found device: {device.name} with role: {device.role.slug}"
|
80
|
+
)
|
81
|
+
|
82
|
+
logger.info(f"Found {len(devices)} devices matching criteria")
|
83
|
+
|
84
|
+
# Find interconnected spine/superspine groups for special AS calculation
|
85
|
+
# When processing a single device, we need to consider all spine/superspine devices
|
86
|
+
# to properly detect interconnected groups, not just the requested device
|
87
|
+
if device_name and devices:
|
88
|
+
# Check if the single device is a spine/superspine
|
89
|
+
target_device = devices[0]
|
90
|
+
if target_device.role and target_device.role.slug in ["spine", "superspine"]:
|
91
|
+
# Fetch ALL spine/superspine devices to properly detect groups
|
92
|
+
logger.debug(
|
93
|
+
"Single spine/superspine device detected, fetching all spine/superspine devices for group detection"
|
94
|
+
)
|
95
|
+
all_spine_devices = []
|
96
|
+
nb_device_query_list = get_nb_device_query_list_sonic()
|
97
|
+
for nb_device_query in nb_device_query_list:
|
98
|
+
for device in utils.nb.dcim.devices.filter(**nb_device_query):
|
99
|
+
if device.role and device.role.slug in ["spine", "superspine"]:
|
100
|
+
all_spine_devices.append(device)
|
101
|
+
spine_groups = find_interconnected_devices(
|
102
|
+
all_spine_devices, ["spine", "superspine"]
|
103
|
+
)
|
104
|
+
else:
|
105
|
+
# For non-spine devices, use the original logic
|
106
|
+
spine_groups = find_interconnected_devices(devices, ["spine", "superspine"])
|
107
|
+
else:
|
108
|
+
# For multi-device processing, use the original logic
|
109
|
+
spine_groups = find_interconnected_devices(devices, ["spine", "superspine"])
|
110
|
+
|
111
|
+
logger.info(f"Found {len(spine_groups)} interconnected spine/superspine groups")
|
112
|
+
|
113
|
+
# Create mapping from device ID to its assigned AS number
|
114
|
+
device_as_mapping = {}
|
115
|
+
|
116
|
+
# Calculate AS numbers for spine/superspine groups
|
117
|
+
for group in spine_groups:
|
118
|
+
min_as = calculate_minimum_as_for_group(group)
|
119
|
+
if min_as:
|
120
|
+
for device in group:
|
121
|
+
device_as_mapping[device.id] = min_as
|
122
|
+
logger.debug(
|
123
|
+
f"Assigned AS {min_as} to {len(group)} devices in spine/superspine group"
|
124
|
+
)
|
125
|
+
|
126
|
+
# Generate SONIC configuration for each device
|
127
|
+
for device in devices:
|
128
|
+
# Get HWSKU from sonic_parameters custom field, default to None
|
129
|
+
hwsku = None
|
130
|
+
if (
|
131
|
+
hasattr(device, "custom_fields")
|
132
|
+
and "sonic_parameters" in device.custom_fields
|
133
|
+
and device.custom_fields["sonic_parameters"]
|
134
|
+
and "hwsku" in device.custom_fields["sonic_parameters"]
|
135
|
+
):
|
136
|
+
hwsku = device.custom_fields["sonic_parameters"]["hwsku"]
|
137
|
+
|
138
|
+
# Skip devices without HWSKU
|
139
|
+
if not hwsku:
|
140
|
+
logger.debug(f"Skipping device {device.name}: no HWSKU configured")
|
141
|
+
continue
|
142
|
+
|
143
|
+
logger.debug(f"Processing device: {device.name} with HWSKU: {hwsku}")
|
144
|
+
|
145
|
+
# Output current device being processed if task_id is available
|
146
|
+
if task_id:
|
147
|
+
utils.push_task_output(task_id, f"Processing device: {device.name}\n")
|
148
|
+
|
149
|
+
# Validate that HWSKU is supported
|
150
|
+
if hwsku not in SUPPORTED_HWSKUS:
|
151
|
+
logger.warning(
|
152
|
+
f"Device {device.name} has unsupported HWSKU: {hwsku}. Supported HWSKUs: {', '.join(SUPPORTED_HWSKUS)}"
|
153
|
+
)
|
154
|
+
continue
|
155
|
+
|
156
|
+
# Generate SONIC configuration based on device HWSKU
|
157
|
+
sonic_config = generate_sonic_config(device, hwsku, device_as_mapping)
|
158
|
+
|
159
|
+
# Store configuration in the dictionary
|
160
|
+
device_configs[device.name] = sonic_config
|
161
|
+
|
162
|
+
# Save the generated configuration to NetBox config context (only if changed)
|
163
|
+
if show_diff:
|
164
|
+
netbox_changed, diff_output = save_config_to_netbox(
|
165
|
+
device, sonic_config, return_diff=True
|
166
|
+
)
|
167
|
+
|
168
|
+
# Output diff to task if available and there are changes
|
169
|
+
if task_id and netbox_changed and diff_output:
|
170
|
+
utils.push_task_output(task_id, f"\n{'='*60}\n")
|
171
|
+
utils.push_task_output(
|
172
|
+
task_id, f"Configuration diff for {device.name}:\n"
|
173
|
+
)
|
174
|
+
utils.push_task_output(task_id, f"{'='*60}\n")
|
175
|
+
utils.push_task_output(task_id, f"{diff_output}\n")
|
176
|
+
utils.push_task_output(task_id, f"{'='*60}\n\n")
|
177
|
+
elif task_id and netbox_changed and not diff_output:
|
178
|
+
# First-time configuration (no diff available)
|
179
|
+
utils.push_task_output(
|
180
|
+
task_id, f"First-time configuration created for {device.name}\n"
|
181
|
+
)
|
182
|
+
else:
|
183
|
+
netbox_changed = save_config_to_netbox(device, sonic_config)
|
184
|
+
|
185
|
+
# Export the generated configuration to local file (only if changed)
|
186
|
+
file_changed = export_config_to_file(device, sonic_config)
|
187
|
+
|
188
|
+
if netbox_changed or file_changed:
|
189
|
+
logger.info(f"Configuration updated for device {device.name}")
|
190
|
+
else:
|
191
|
+
logger.info(f"No configuration changes for device {device.name}")
|
192
|
+
|
193
|
+
logger.info(
|
194
|
+
f"Generated SONiC config for device {device.name} with {len(sonic_config['PORT'])} ports"
|
195
|
+
)
|
196
|
+
|
197
|
+
logger.info(f"Generated SONiC configurations for {len(device_configs)} devices")
|
198
|
+
|
199
|
+
# Log cache statistics and cleanup
|
200
|
+
cache_stats = get_interface_cache_stats()
|
201
|
+
if cache_stats:
|
202
|
+
logger.debug(
|
203
|
+
f"Interface cache stats: {cache_stats['cached_devices']} devices, {cache_stats['total_interfaces']} interfaces"
|
204
|
+
)
|
205
|
+
|
206
|
+
clear_interface_cache()
|
207
|
+
clear_all_caches()
|
208
|
+
logger.debug("Cleared all caches after sync_sonic task completion")
|
209
|
+
|
210
|
+
# Finish task output if task_id is available
|
211
|
+
if task_id:
|
212
|
+
utils.finish_task_output(task_id, rc=0)
|
213
|
+
|
214
|
+
# Return the dictionary with all device configurations
|
215
|
+
return device_configs
|
osism/tasks/reconciler.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# SPDX-License-Identifier: Apache-2.0
|
2
2
|
|
3
3
|
import io
|
4
|
+
import os
|
4
5
|
import subprocess
|
5
6
|
|
6
7
|
from celery import Celery
|
@@ -27,7 +28,7 @@ def setup_periodic_tasks(sender, **kwargs):
|
|
27
28
|
|
28
29
|
|
29
30
|
@app.task(bind=True, name="osism.tasks.reconciler.run")
|
30
|
-
def run(self, publish=True):
|
31
|
+
def run(self, publish=True, flush_cache=False):
|
31
32
|
lock = Redlock(
|
32
33
|
key="lock_osism_tasks_reconciler_run",
|
33
34
|
masters={utils.redis},
|
@@ -36,8 +37,17 @@ def run(self, publish=True):
|
|
36
37
|
|
37
38
|
if lock.acquire(timeout=20):
|
38
39
|
logger.info("RUN /run.sh")
|
40
|
+
|
41
|
+
env = os.environ.copy()
|
42
|
+
if flush_cache:
|
43
|
+
env["FLUSH_CACHE"] = "true"
|
44
|
+
|
39
45
|
p = subprocess.Popen(
|
40
|
-
"/run.sh",
|
46
|
+
"/run.sh",
|
47
|
+
shell=True,
|
48
|
+
stdout=subprocess.PIPE,
|
49
|
+
stderr=subprocess.STDOUT,
|
50
|
+
env=env,
|
41
51
|
)
|
42
52
|
|
43
53
|
if publish:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: osism
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.20250627.0
|
4
4
|
Summary: OSISM manager interface
|
5
5
|
Home-page: https://github.com/osism/python-osism
|
6
6
|
Author: OSISM GmbH
|
@@ -32,7 +32,7 @@ Requires-Dist: cliff==4.10.0
|
|
32
32
|
Requires-Dist: deepdiff==8.5.0
|
33
33
|
Requires-Dist: docker==7.1.0
|
34
34
|
Requires-Dist: dtrack-auditor==1.5.0
|
35
|
-
Requires-Dist: fastapi==0.115.
|
35
|
+
Requires-Dist: fastapi==0.115.14
|
36
36
|
Requires-Dist: flower==2.0.1
|
37
37
|
Requires-Dist: hiredis==3.2.1
|
38
38
|
Requires-Dist: jc==1.25.5
|
@@ -41,8 +41,8 @@ Requires-Dist: kombu==5.5.4
|
|
41
41
|
Requires-Dist: kubernetes==33.1.0
|
42
42
|
Requires-Dist: loguru==0.7.3
|
43
43
|
Requires-Dist: nbcli==0.10.0.dev2
|
44
|
-
Requires-Dist: netmiko==4.5.0
|
45
44
|
Requires-Dist: openstacksdk==4.6.0
|
45
|
+
Requires-Dist: paramiko==3.5.1
|
46
46
|
Requires-Dist: pottery==3.0.1
|
47
47
|
Requires-Dist: prompt-toolkit==3.0.51
|
48
48
|
Requires-Dist: pynetbox==7.5.0
|
@@ -1,12 +1,12 @@
|
|
1
1
|
osism/__init__.py,sha256=1UiNTBus0V0f2AbZQzAtVtu6zkfCCrw0OTq--NwFAqY,341
|
2
2
|
osism/__main__.py,sha256=ILe4gu61xEISiBsxanqTQIdSkV-YhpZXTRlguCYyssk,141
|
3
|
-
osism/api.py,sha256=
|
3
|
+
osism/api.py,sha256=cvFLczibM6Hrc3KWDNN4daUauyLF7zpuU1jll-5ywPI,5585
|
4
4
|
osism/main.py,sha256=Dt2-9sLXcS-Ny4DAz7hrha-KRc7zd7BFUTRdfs_X8z4,893
|
5
|
-
osism/settings.py,sha256=
|
5
|
+
osism/settings.py,sha256=bebPBT6Hd1-KhJfwZdFR-s8eMwV4B1IFr-WrQBkOrWw,1786
|
6
6
|
osism/actions/__init__.py,sha256=bG7Ffen4LvQtgnYPFEpFccsWs81t4zqqeqn9ZeirH6E,38
|
7
7
|
osism/commands/__init__.py,sha256=Ag4wX_DCgXRdoLn6t069jqb3DdRylsX2nyYkiyCx4uk,456
|
8
8
|
osism/commands/apply.py,sha256=q645f4qxmOAaUjVD7npzM2aNuOqfptVAkCLfE6x5IV8,16833
|
9
|
-
osism/commands/baremetal.py,sha256=
|
9
|
+
osism/commands/baremetal.py,sha256=w1LyZDms-DtULsF_76JsauOYHc2tcvoMRP6F9dYby9E,10688
|
10
10
|
osism/commands/compose.py,sha256=iqzG7mS9E1VWaLNN6yQowjOqiHn3BMdj-yfXb3Dc4Ok,1200
|
11
11
|
osism/commands/compute.py,sha256=cgqXWJa5wAvn-7e3FWCgX6hie_aK0yrKRkcNzjLXwDY,25799
|
12
12
|
osism/commands/configuration.py,sha256=sPe8b0dVKFRbr30xoeVdAnHbGwCwgUh0xa_Vzv5pSQQ,954
|
@@ -14,15 +14,15 @@ osism/commands/console.py,sha256=8BPz1hio5Wi6kONVAWFuSqkDRrMcLEYeFIY8dbtN6e4,321
|
|
14
14
|
osism/commands/container.py,sha256=Fku2GaCM3Idq_FxExUtNqjrEM0XYjpVvXmueSVO8S_c,1601
|
15
15
|
osism/commands/get.py,sha256=ryytjtXWmlMV0NucP5tGkMZu0nIlC4xVtjRk4iMZ06c,8967
|
16
16
|
osism/commands/log.py,sha256=2IpYuosC7FZwwLvM8HmKSU1NRNIelVVYzqjjVMCrOJk,4072
|
17
|
-
osism/commands/manage.py,sha256=
|
17
|
+
osism/commands/manage.py,sha256=uzfmt3R0PJ4HxUw_V945pN0FbKb3zhyiBuD9br1ORYE,23149
|
18
18
|
osism/commands/netbox.py,sha256=e65P0kWrjTLw2T9HZthxjDTIRa-KAHgSSJAlvVef7n4,7345
|
19
19
|
osism/commands/noset.py,sha256=7zDFuFMyNpo7DUOKcNiYV8nodtdMOYFp5LDPcuJhlZ8,1481
|
20
|
-
osism/commands/reconciler.py,sha256=
|
20
|
+
osism/commands/reconciler.py,sha256=ubQfX8j13s3NuMKnT0Lt6O-szf7Z1V02AfsMQFHmO74,2209
|
21
21
|
osism/commands/server.py,sha256=avmoOv5rjOi-fN2A-27cPwOtiy2Q2j6UFtCh3QrfWAI,7512
|
22
22
|
osism/commands/service.py,sha256=A1lgAlGeCJpbFFqF55DRWPcCirIgpU0dzjzVLZ0mz3k,2649
|
23
23
|
osism/commands/set.py,sha256=xLBi2DzbVQo2jb3-cOIE9In5UB3vFxquQJkDN-EsfhM,1425
|
24
24
|
osism/commands/status.py,sha256=X-Rcj-XuNPDBoxsGkf96NswwpmTognxz1V6E2NX2ZgY,1997
|
25
|
-
osism/commands/sync.py,sha256=
|
25
|
+
osism/commands/sync.py,sha256=jOg-g8NmVOkXBI6rOuiOx2WgUJc1PplLAAAwc0VuIfw,1919
|
26
26
|
osism/commands/task.py,sha256=mwJJ7a71Lw3o_FX7j3rR0-NbPdPwMDOjbOAiiXE4uGc,543
|
27
27
|
osism/commands/validate.py,sha256=E1n1kEo6h8J5c7Ns5OHpr0R7i4IU6uj08LE_gt3kBCg,3262
|
28
28
|
osism/commands/vault.py,sha256=llaqNN8UH8t8cCu2KmdaURvprA4zeG6izCen_W7ulPs,2029
|
@@ -44,19 +44,28 @@ osism/tasks/kolla.py,sha256=wJQpWn_01iWLkr7l7T7RNrQGfRgsgmYi4WQlTmNGvew,618
|
|
44
44
|
osism/tasks/kubernetes.py,sha256=VzXq_VrYU_CLm4cOruqnE3Kq2ydfO9glZ3p0bp3OYoc,625
|
45
45
|
osism/tasks/netbox.py,sha256=g0gL5QImiRTHqixRxze7LfNqPth7cXqLzVWQDUJLDjE,5928
|
46
46
|
osism/tasks/openstack.py,sha256=g15tCll5vP1pC6ysxRCTZxplsdGmXbxaCH3k1Qdv5Xg,6367
|
47
|
-
osism/tasks/reconciler.py,sha256=
|
48
|
-
osism/tasks/conductor/__init__.py,sha256=
|
47
|
+
osism/tasks/reconciler.py,sha256=phbSV6urILqq9mHGMYDFwSfx8bLZmldwgEi8sMWs8RA,2040
|
48
|
+
osism/tasks/conductor/__init__.py,sha256=eBkisjRj0YRT0AArvuvpIHGNEqEijsNvR_55BuVX62I,1600
|
49
49
|
osism/tasks/conductor/config.py,sha256=tvfuYNgvw0F_ZbvrjqnyHfrj3vF6z0zhsRtGNu-Lgvo,3410
|
50
|
-
osism/tasks/conductor/ironic.py,sha256=
|
50
|
+
osism/tasks/conductor/ironic.py,sha256=VT8JyYNh4IDWJ8QTIo46IokILKpGhINfLHjQvwz4FSU,16337
|
51
51
|
osism/tasks/conductor/netbox.py,sha256=5Nc7wrriDOtSuru1KDLt9QpA54vC7tXDPB2J0JP9GKo,11393
|
52
|
-
osism/tasks/conductor/sonic.py,sha256=i-BsYSjjSTSqjuHJJX-ReX3qpGhCW-K7AXMivmPT9g4,56743
|
53
52
|
osism/tasks/conductor/utils.py,sha256=-a0-pRuhV4Fjj0SgdgBqtRJtAdGdqck5pzfi6NYBApU,2338
|
53
|
+
osism/tasks/conductor/sonic/__init__.py,sha256=oxTTl_MGK4iWK9uNDRNlULtGrDGCQHrlJZ04weh_Lh8,777
|
54
|
+
osism/tasks/conductor/sonic/bgp.py,sha256=PC6gGI5bCj2PCXcNGyMV9-EdlJWDsYaodzxigmYSZvw,3088
|
55
|
+
osism/tasks/conductor/sonic/cache.py,sha256=Asv2k3nLJejuq7iB0a_LyK8dEmJzypP9v3OHkNY3GwI,3438
|
56
|
+
osism/tasks/conductor/sonic/config_generator.py,sha256=Fww6uOC7DplhsqR_jW9PHPB0pAAY1AiTGeNAQ2BUN4k,39259
|
57
|
+
osism/tasks/conductor/sonic/connections.py,sha256=NvRjwJv3NF3ry5Xe9qHzk7pQbfDQHYx_j3ATRMUs7gA,14244
|
58
|
+
osism/tasks/conductor/sonic/constants.py,sha256=HjVFwmH-AN3np1qN97ahEAcwz2-4cHa-pA9pXWqWsqs,2219
|
59
|
+
osism/tasks/conductor/sonic/device.py,sha256=ZYJA0bQ8waKWStzWUPxbcwNWa2Z_hMB3pqs8aA_nxXA,2458
|
60
|
+
osism/tasks/conductor/sonic/exporter.py,sha256=25L1vbi84ZQD0xNHNTWk-anTz5QRkGJskCECBkeGQw4,8882
|
61
|
+
osism/tasks/conductor/sonic/interface.py,sha256=318wOwXYSSMKTPP2WSZIps-JvIkCQ2gYdQs9ZYHXwwg,38957
|
62
|
+
osism/tasks/conductor/sonic/sync.py,sha256=fpgsQVwq6Hb7eeDHhLkAqx5BkaK3Ce_m_WvmWEsJyOo,9182
|
54
63
|
osism/utils/__init__.py,sha256=gN5VtLJfrvyn6_snuTte7YR-vDygkpbORopIV8qSEsA,6064
|
55
|
-
osism-0.
|
56
|
-
osism-0.
|
57
|
-
osism-0.
|
58
|
-
osism-0.
|
59
|
-
osism-0.
|
60
|
-
osism-0.
|
61
|
-
osism-0.
|
62
|
-
osism-0.
|
64
|
+
osism-0.20250627.0.dist-info/licenses/AUTHORS,sha256=oWotd63qsnNR945QLJP9mEXaXNtCMaesfo8ZNuLjwpU,39
|
65
|
+
osism-0.20250627.0.dist-info/licenses/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
|
66
|
+
osism-0.20250627.0.dist-info/METADATA,sha256=z9qQh_i8ZIPgWTACdHuDa5mZKbmi9vWrTPQ5xUivpUI,2904
|
67
|
+
osism-0.20250627.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
68
|
+
osism-0.20250627.0.dist-info/entry_points.txt,sha256=eRq0DXdl4z2DdmPta6dqpzMe1M0DaUCNw9i4Jgdfhf0,3426
|
69
|
+
osism-0.20250627.0.dist-info/pbr.json,sha256=rZRiHfI7rgnmVfh2COv00pQVKhMCCu6cw0bifLp9cVw,47
|
70
|
+
osism-0.20250627.0.dist-info/top_level.txt,sha256=8L8dsI9hcaGHsdnR4k_LN9EM78EhwrXRFHyAryPXZtY,6
|
71
|
+
osism-0.20250627.0.dist-info/RECORD,,
|
@@ -37,6 +37,7 @@ manage compute migrate = osism.commands.compute:ComputeMigrate
|
|
37
37
|
manage compute migration list = osism.commands.compute:ComputeMigrationList
|
38
38
|
manage compute start = osism.commands.compute:ComputeStart
|
39
39
|
manage compute stop = osism.commands.compute:ComputeStop
|
40
|
+
manage dnsmasq = osism.commands.manage:Dnsmasq
|
40
41
|
manage flavors = osism.commands.manage:Flavors
|
41
42
|
manage image clusterapi = osism.commands.manage:ImageClusterapi
|
42
43
|
manage image octavia = osism.commands.manage:ImageOctavia
|
@@ -44,6 +45,7 @@ manage images = osism.commands.manage:Images
|
|
44
45
|
manage netbox = osism.commands.netbox:Manage
|
45
46
|
manage server list = osism.commands.server:ServerList
|
46
47
|
manage server migrate = osism.commands.server:ServerMigrate
|
48
|
+
manage sonic = osism.commands.manage:Sonic
|
47
49
|
manage volume list = osism.commands.volume:VolumeList
|
48
50
|
netbox = osism.commands.netbox:Console
|
49
51
|
noset bootstrap = osism.commands.noset:NoBootstrap
|
@@ -56,6 +58,7 @@ set bootstrap = osism.commands.set:Bootstrap
|
|
56
58
|
set maintenance = osism.commands.set:Maintenance
|
57
59
|
set vault password = osism.commands.vault:SetPassword
|
58
60
|
sync configuration = osism.commands.configuration:Sync
|
61
|
+
sync dnsmasq = osism.commands.manage:Dnsmasq
|
59
62
|
sync facts = osism.commands.sync:Facts
|
60
63
|
sync inventory = osism.commands.reconciler:Sync
|
61
64
|
sync ironic = osism.commands.netbox:Ironic
|
@@ -0,0 +1 @@
|
|
1
|
+
Christian Berendt <berendt@osism.tech>
|
@@ -0,0 +1 @@
|
|
1
|
+
{"git_version": "e1bd41d", "is_release": false}
|