diff options
author | Stephen Wong <stephen.kf.wong@gmail.com> | 2018-11-01 17:12:57 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-11-01 17:12:57 +0000 |
commit | 0f3febd952f08909683f154762101b32f071c4f6 (patch) | |
tree | 9d1f08fb1f1f638fdf168ae894b1c4fff62ff744 /clover/controller/control/api/snort.py | |
parent | 18d4b855d6c49a343cf541a392cc7d4ffa2d3744 (diff) | |
parent | 9a6490fe5414569551aaa0b3764bc1c1f81fb151 (diff) |
Merge "Initial UI dashboard added for visibility"
Diffstat (limited to 'clover/controller/control/api/snort.py')
-rw-r--r-- | clover/controller/control/api/snort.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clover/controller/control/api/snort.py b/clover/controller/control/api/snort.py index e2177be..fc3811e 100644 --- a/clover/controller/control/api/snort.py +++ b/clover/controller/control/api/snort.py @@ -15,12 +15,12 @@ import redis snort = Blueprint('snort', __name__) grpc_port = '50052' -pod_name = 'snort-ids' +pod_name = 'snort-ids.default' snort_grpc = pod_name + ':' + grpc_port channel = grpc.insecure_channel(snort_grpc) stub = snort_pb2_grpc.ControllerStub(channel) -HOST_IP = 'redis' +HOST_IP = 'redis.default' @snort.route("/snort/addrule", methods=['GET', 'POST']) |