summaryrefslogtreecommitdiffstats
path: root/cli/objects/modes.py
blob: 04e281d9246246aa46903039a9886aef88842e1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#
# Copyright (C) 2020 Soleta Networks <info@soleta.eu>
#
# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the
# Free Software Foundation, version 3.
#

class OgModes():

	@staticmethod
	def list_available_modes(rest):
		r = rest.get('/modes')
		print(r.json())