Skip to content

Commit

Permalink
T3501: normalize formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
natali-rs1985 committed Oct 28, 2024
1 parent 6c5fa76 commit af8eb89
Showing 1 changed file with 31 additions and 3 deletions.
34 changes: 31 additions & 3 deletions smoketest/scripts/cli/test_system_option.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

base_path = ['system', 'option']


class TestSystemOption(VyOSUnitTestSHIM.TestCase):
def tearDown(self):
self.cli_delete(base_path)
Expand Down Expand Up @@ -67,9 +68,36 @@ def test_performance(self):
gc_thresh2 = '262000'
gc_thresh3 = '524000'

self.cli_set(['system', 'sysctl', 'parameter', 'net.ipv4.neigh.default.gc_thresh1', 'value', gc_thresh1])
self.cli_set(['system', 'sysctl', 'parameter', 'net.ipv4.neigh.default.gc_thresh2', 'value', gc_thresh2])
self.cli_set(['system', 'sysctl', 'parameter', 'net.ipv4.neigh.default.gc_thresh3', 'value', gc_thresh3])
self.cli_set(
[
'system',
'sysctl',
'parameter',
'net.ipv4.neigh.default.gc_thresh1',
'value',
gc_thresh1,
]
)
self.cli_set(
[
'system',
'sysctl',
'parameter',
'net.ipv4.neigh.default.gc_thresh2',
'value',
gc_thresh2,
]
)
self.cli_set(
[
'system',
'sysctl',
'parameter',
'net.ipv4.neigh.default.gc_thresh3',
'value',
gc_thresh3,
]
)

self.cli_set(base_path + ['performance', 'network-throughput'])
self.cli_commit()
Expand Down

0 comments on commit af8eb89

Please sign in to comment.