Skip to content

Commit

Permalink
update ping service defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
afourmy committed Jul 7, 2019
1 parent 49253e3 commit b87d45d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
1 change: 0 additions & 1 deletion eNMS/models/automation.py
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,6 @@ def workflow_targets_processing(
passed_devices = allowed_devices[job.name]
else:
failed_devices = allowed_devices[job.name]
print("tttt"*100, job, passed_devices, failed_devices)
for devices, edge in ((passed_devices, "success"), (failed_devices, "failure")):
if not devices:
continue
Expand Down
3 changes: 2 additions & 1 deletion eNMS/next_release
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
- Fix for Rest Call Service
- Fix for Rest Call Service has_targets
- Rename query to YaQL query for payload services
- Remove credentials for workflow
- change packet size to 56 by default in PingService
- Other minor bug fix.
8 changes: 4 additions & 4 deletions eNMS/services/networking/ping_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ class PingService(Service):
ports = Column(String(SMALL_STRING_LENGTH), default="")
count = Column(Integer, default=5)
timeout = Column(Integer, default=2)
ttl = Column(Integer, default=0)
packet_size = Column(Integer, default=0)
ttl = Column(Integer, default=60)
packet_size = Column(Integer, default=56)

__mapper_args__ = {"polymorphic_identity": "PingService"}

Expand Down Expand Up @@ -80,5 +80,5 @@ class PingServiceForm(ServiceForm):
ports = StringField()
count = IntegerField(default=5)
timeout = IntegerField(default=2)
ttl = IntegerField(default=0)
packet_size = IntegerField(default=0)
ttl = IntegerField(default=60)
packet_size = IntegerField(default=56)

0 comments on commit b87d45d

Please sign in to comment.