1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 03:08:14 +00:00

Update some sentences related to suspending a link.

This commit is contained in:
grossmj 2017-07-20 11:11:44 +07:00
parent 5fd842e54d
commit ca3f6fb4b8
3 changed files with 3 additions and 3 deletions

View File

@ -135,7 +135,7 @@ class Link:
def get_active_filters(self):
"""
Return the active filters.
If the node is suspend the filters will be override
Filters are overridden if the link is suspended.
"""
if self._suspend:
return {"frequency_drop": [-1]}

View File

@ -199,7 +199,7 @@ class UDPLink(Link):
if node["node"].node_type and node["node"].status == "started":
return node
raise aiohttp.web.HTTPConflict(text="Can not capture because no running device on this link")
raise aiohttp.web.HTTPConflict(text="Cannot capture because there is no running device on this link")
@asyncio.coroutine
def read_pcap_from_source(self):

View File

@ -66,7 +66,7 @@ LINK_OBJECT_SCHEMA = {
},
"suspend": {
"type": "boolean",
"description": "Link has been turned off"
"description": "Suspend the link"
},
"filters": FILTER_OBJECT_SCHEMA,
"capturing": {