List, add or delete Wireguard peers. Also show client configuration for already added peers.
wg-peer [add [<desc>]|show <peer>|del <peer> ...|list]
where:
a[dd]
add a new peer
#!/usr/bin/env python3 | |
"""scapy-arp-listener.py | |
Listen for arp packets using scapy to learn the IP and Mac Address of LAN hosts | |
Copyright (C) 2018 Jonathan Cutrer | |
License Dual MIT, 0BSD | |
""" |
diff --git a/homeassistant/components/unifi/config_flow.py b/homeassistant/components/unifi/config_flow.py | |
index e5a8965df..06751ed6e 100644 | |
--- a/homeassistant/components/unifi/config_flow.py | |
+++ b/homeassistant/components/unifi/config_flow.py | |
@@ -2,6 +2,7 @@ | |
import voluptuous as vol | |
from homeassistant import config_entries | |
+from homeassistant.core import callback | |
from homeassistant.const import ( |
# reference | |
# ubuntu, php | |
# https://websiteforstudents.com/apache2-with-php-7-1-support-on-ubuntu-18-04-lts-beta-server/ | |
# apache | |
# https://www.digitalocean.com/community/tutorials/how-to-install-the-apache-web-server-on-ubuntu-18-04 | |
# https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-18-04 | |
# vsftpd |
from azure.monitor.opentelemetry.exporter import AzureMonitorTraceExporter | |
from fastapi import FastAPI, Request | |
from fastapi.responses import JSONResponse | |
from opentelemetry.context import get_current as get_current_context | |
from opentelemetry.instrumentation.fastapi import FastAPIInstrumentor | |
from opentelemetry.sdk.trace import TracerProvider, _Span | |
from opentelemetry.sdk.trace.export import (BatchSpanProcessor, | |
ConsoleSpanExporter, | |
SimpleSpanProcessor) | |
from starlette.exceptions import HTTPException as StarletteHTTPException |