Compare commits

..

2 Commits

2 changed files with 7 additions and 3 deletions

View File

@@ -15,7 +15,7 @@
"user": "chatbot",
"pass": "K0s0ng11@2026"
},
"ccr1036": {
"router-dimensi-ccr1036": {
"host": "103.138.63.184",
"port": 80,
"user": "chatbot",
@@ -55,13 +55,13 @@
"name": "goldnet"
},
"routers": {
"router-goldnet-keramas": {
"router-goldnet-keramas-core": {
"host": "10.8.0.7",
"port": 80,
"user": "chatbot",
"pass": "K0s0ng11@2026"
},
"router-goldnet-lb": {
"router-goldnet-keramas-lb": {
"host": "10.8.0.10",
"port": 80,
"user": "chatbot",

View File

@@ -322,6 +322,10 @@ async def call_tool(name: str, arguments: Any) -> List[TextContent | ImageConten
# 3. Compare
unregistered = []
for s in router_secrets:
# Filter only PPPoE service (exclude 'any' and others)
if s.get('service') != 'pppoe':
continue
s_name = s.get('name')
if s_name and s_name not in billing_users:
unregistered.append(f"{s_name} (Profile: {s.get('profile', '?')})")