Initial project upload
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
"""
|
||||
레거시 호환성 래퍼 - XE9680_H200_IB_10EA_MAC_info.py
|
||||
실제 로직은 unified/collect_mac.py의 'xe9680_h200_10ea' 프로파일 사용
|
||||
"""
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
script_dir = Path(__file__).parent
|
||||
sys.path.insert(0, str(script_dir))
|
||||
|
||||
from unified.collect_mac import main as unified_main
|
||||
|
||||
if __name__ == "__main__":
|
||||
if len(sys.argv) < 2:
|
||||
print("Usage: python XE9680_H200_IB_10EA_MAC_info.py <ip_file>")
|
||||
sys.exit(1)
|
||||
|
||||
# xe9680_h200_10ea 프로파일 사용
|
||||
sys.argv.append("xe9680_h200_10ea")
|
||||
unified_main()
|
||||
Reference in New Issue
Block a user