repo
stringlengths
7
55
path
stringlengths
4
223
func_name
stringlengths
1
134
original_string
stringlengths
75
104k
language
stringclasses
1 value
code
stringlengths
75
104k
code_tokens
listlengths
19
28.4k
docstring
stringlengths
1
46.9k
docstring_tokens
listlengths
1
1.97k
sha
stringlengths
40
40
url
stringlengths
87
315
partition
stringclasses
3 values
summary
stringlengths
4
350
acutesoftware/AIKIF
aikif/dataTools/if_redis.py
redis_server.import_datatable
def import_datatable(self, l_datatable, schema='datatable', col_key=0): """ import a datatable (grid) by using the schema:table:column as keys. e.g. Sample input ( via cls_database.py -> test.csv) TERM,GENDER,ID,tot1,tot2 5320,M,78,18,66 1310,M,78,10,12 L...
python
def import_datatable(self, l_datatable, schema='datatable', col_key=0): """ import a datatable (grid) by using the schema:table:column as keys. e.g. Sample input ( via cls_database.py -> test.csv) TERM,GENDER,ID,tot1,tot2 5320,M,78,18,66 1310,M,78,10,12 L...
[ "def", "import_datatable", "(", "self", ",", "l_datatable", ",", "schema", "=", "'datatable'", ",", "col_key", "=", "0", ")", ":", "key", "=", "''", "hdr", "=", "l_datatable", ".", "get_header", "(", ")", "schema_root_key", "=", "schema", "+", "':'", "+"...
import a datatable (grid) by using the schema:table:column as keys. e.g. Sample input ( via cls_database.py -> test.csv) TERM,GENDER,ID,tot1,tot2 5320,M,78,18,66 1310,M,78,10,12 Loads the following:
[ "import", "a", "datatable", "(", "grid", ")", "by", "using", "the", "schema", ":", "table", ":", "column", "as", "keys", ".", "e", ".", "g", ".", "Sample", "input", "(", "via", "cls_database", ".", "py", "-", ">", "test", ".", "csv", ")", "TERM", ...
fcf1582dc5f884b9a4fa7c6e20e9de9d94d21d03
https://github.com/acutesoftware/AIKIF/blob/fcf1582dc5f884b9a4fa7c6e20e9de9d94d21d03/aikif/dataTools/if_redis.py#L119-L142
train
Import a datatable into the database.
Nachtfeuer/pipeline
spline/components/packer.py
Packer.creator
def creator(_, config): """Creator function for creating an instance of a Packer image script.""" packer_script = render(config.script, model=config.model, env=config.env, variables=config.variables, item=config.item) filename = "packer.dry.run.see.comment" ...
python
def creator(_, config): """Creator function for creating an instance of a Packer image script.""" packer_script = render(config.script, model=config.model, env=config.env, variables=config.variables, item=config.item) filename = "packer.dry.run.see.comment" ...
[ "def", "creator", "(", "_", ",", "config", ")", ":", "packer_script", "=", "render", "(", "config", ".", "script", ",", "model", "=", "config", ".", "model", ",", "env", "=", "config", ".", "env", ",", "variables", "=", "config", ".", "variables", ",...
Creator function for creating an instance of a Packer image script.
[ "Creator", "function", "for", "creating", "an", "instance", "of", "a", "Packer", "image", "script", "." ]
04ca18c4e95e4349532bb45b768206393e1f2c13
https://github.com/Nachtfeuer/pipeline/blob/04ca18c4e95e4349532bb45b768206393e1f2c13/spline/components/packer.py#L37-L57
train
Creator function for creating an instance of a Packer image script.
wanadev/pyguetzli
pyguetzli/guetzli.py
process_jpeg_bytes
def process_jpeg_bytes(bytes_in, quality=DEFAULT_JPEG_QUALITY): """Generates an optimized JPEG from JPEG-encoded bytes. :param bytes_in: the input image's bytes :param quality: the output JPEG quality (default 95) :returns: Optimized JPEG bytes :rtype: bytes :raises ValueError: Guetzli was no...
python
def process_jpeg_bytes(bytes_in, quality=DEFAULT_JPEG_QUALITY): """Generates an optimized JPEG from JPEG-encoded bytes. :param bytes_in: the input image's bytes :param quality: the output JPEG quality (default 95) :returns: Optimized JPEG bytes :rtype: bytes :raises ValueError: Guetzli was no...
[ "def", "process_jpeg_bytes", "(", "bytes_in", ",", "quality", "=", "DEFAULT_JPEG_QUALITY", ")", ":", "bytes_out_p", "=", "ffi", ".", "new", "(", "\"char**\"", ")", "bytes_out_p_gc", "=", "ffi", ".", "gc", "(", "bytes_out_p", ",", "lib", ".", "guetzli_free_byte...
Generates an optimized JPEG from JPEG-encoded bytes. :param bytes_in: the input image's bytes :param quality: the output JPEG quality (default 95) :returns: Optimized JPEG bytes :rtype: bytes :raises ValueError: Guetzli was not able to decode the image (the image is probab...
[ "Generates", "an", "optimized", "JPEG", "from", "JPEG", "-", "encoded", "bytes", "." ]
4e0c221f5e8f23adb38505c3c1c5a09294b7ee98
https://github.com/wanadev/pyguetzli/blob/4e0c221f5e8f23adb38505c3c1c5a09294b7ee98/pyguetzli/guetzli.py#L13-L46
train
Generates an optimized JPEG from JPEG - encoded bytes.
wanadev/pyguetzli
pyguetzli/guetzli.py
process_rgb_bytes
def process_rgb_bytes(bytes_in, width, height, quality=DEFAULT_JPEG_QUALITY): """Generates an optimized JPEG from RGB bytes. :param bytes bytes_in: the input image's bytes :param int width: the width of the input image :param int height: the height of the input image :param int quality: the output ...
python
def process_rgb_bytes(bytes_in, width, height, quality=DEFAULT_JPEG_QUALITY): """Generates an optimized JPEG from RGB bytes. :param bytes bytes_in: the input image's bytes :param int width: the width of the input image :param int height: the height of the input image :param int quality: the output ...
[ "def", "process_rgb_bytes", "(", "bytes_in", ",", "width", ",", "height", ",", "quality", "=", "DEFAULT_JPEG_QUALITY", ")", ":", "if", "len", "(", "bytes_in", ")", "!=", "width", "*", "height", "*", "3", ":", "raise", "ValueError", "(", "\"bytes_in length is...
Generates an optimized JPEG from RGB bytes. :param bytes bytes_in: the input image's bytes :param int width: the width of the input image :param int height: the height of the input image :param int quality: the output JPEG quality (default 95) :returns: Optimized JPEG bytes :rtype: bytes ...
[ "Generates", "an", "optimized", "JPEG", "from", "RGB", "bytes", "." ]
4e0c221f5e8f23adb38505c3c1c5a09294b7ee98
https://github.com/wanadev/pyguetzli/blob/4e0c221f5e8f23adb38505c3c1c5a09294b7ee98/pyguetzli/guetzli.py#L49-L90
train
Generates an optimized JPEG from RGB bytes.
Nachtfeuer/pipeline
spline/tools/decorators.py
singleton
def singleton(the_class): """ Decorator for a class to make a singleton out of it. @type the_class: class @param the_class: the class that should work as a singleton @rtype: decorator @return: decorator """ class_instances = {} def get_instance(*args, **kwargs): """ ...
python
def singleton(the_class): """ Decorator for a class to make a singleton out of it. @type the_class: class @param the_class: the class that should work as a singleton @rtype: decorator @return: decorator """ class_instances = {} def get_instance(*args, **kwargs): """ ...
[ "def", "singleton", "(", "the_class", ")", ":", "class_instances", "=", "{", "}", "def", "get_instance", "(", "*", "args", ",", "*", "*", "kwargs", ")", ":", "\"\"\"\n Creating or just return the one and only class instance.\n\n The singleton depends on the pa...
Decorator for a class to make a singleton out of it. @type the_class: class @param the_class: the class that should work as a singleton @rtype: decorator @return: decorator
[ "Decorator", "for", "a", "class", "to", "make", "a", "singleton", "out", "of", "it", "." ]
04ca18c4e95e4349532bb45b768206393e1f2c13
https://github.com/Nachtfeuer/pipeline/blob/04ca18c4e95e4349532bb45b768206393e1f2c13/spline/tools/decorators.py#L25-L53
train
Decorator for a class that makes a singleton out of it.
acutesoftware/AIKIF
aikif/lib/cls_plan_search.py
find_path_BFS
def find_path_BFS(Graph,n,m): """ Breadth first search """ if m not in Graph: return None if n == m: return [m] path = [[n]] searched = [] while True: j = len(path) #k = len(Graph[n]) for i in range(j): node = path[i][-1] fo...
python
def find_path_BFS(Graph,n,m): """ Breadth first search """ if m not in Graph: return None if n == m: return [m] path = [[n]] searched = [] while True: j = len(path) #k = len(Graph[n]) for i in range(j): node = path[i][-1] fo...
[ "def", "find_path_BFS", "(", "Graph", ",", "n", ",", "m", ")", ":", "if", "m", "not", "in", "Graph", ":", "return", "None", "if", "n", "==", "m", ":", "return", "[", "m", "]", "path", "=", "[", "[", "n", "]", "]", "searched", "=", "[", "]", ...
Breadth first search
[ "Breadth", "first", "search" ]
fcf1582dc5f884b9a4fa7c6e20e9de9d94d21d03
https://github.com/acutesoftware/AIKIF/blob/fcf1582dc5f884b9a4fa7c6e20e9de9d94d21d03/aikif/lib/cls_plan_search.py#L146-L169
train
Find the path of a node in a Breadth first search of a node in a tree.
acutesoftware/AIKIF
aikif/lib/cls_plan_search.py
PlanSearchAStar.heuristic_cost
def heuristic_cost(self, start, target): """ assumes start and target are an (x,y) grid """ (x1, y1) = start (x2, y2) = target return abs(x1 - x2) + abs(y1 - y2)
python
def heuristic_cost(self, start, target): """ assumes start and target are an (x,y) grid """ (x1, y1) = start (x2, y2) = target return abs(x1 - x2) + abs(y1 - y2)
[ "def", "heuristic_cost", "(", "self", ",", "start", ",", "target", ")", ":", "(", "x1", ",", "y1", ")", "=", "start", "(", "x2", ",", "y2", ")", "=", "target", "return", "abs", "(", "x1", "-", "x2", ")", "+", "abs", "(", "y1", "-", "y2", ")" ...
assumes start and target are an (x,y) grid
[ "assumes", "start", "and", "target", "are", "an", "(", "x", "y", ")", "grid" ]
fcf1582dc5f884b9a4fa7c6e20e9de9d94d21d03
https://github.com/acutesoftware/AIKIF/blob/fcf1582dc5f884b9a4fa7c6e20e9de9d94d21d03/aikif/lib/cls_plan_search.py#L114-L118
train
returns the heuristic cost of the given start and target
acutesoftware/AIKIF
aikif/toolbox/game_board_utils.py
build_board_2048
def build_board_2048(): """ builds a 2048 starting board Printing Grid 0 0 0 2 0 0 4 0 0 0 0 0 0 0 0 0 """ grd = Grid(4,4, [2,4]) grd.new_tile() grd.new_tile() print(grd) return grd
python
def build_board_2048(): """ builds a 2048 starting board Printing Grid 0 0 0 2 0 0 4 0 0 0 0 0 0 0 0 0 """ grd = Grid(4,4, [2,4]) grd.new_tile() grd.new_tile() print(grd) return grd
[ "def", "build_board_2048", "(", ")", ":", "grd", "=", "Grid", "(", "4", ",", "4", ",", "[", "2", ",", "4", "]", ")", "grd", ".", "new_tile", "(", ")", "grd", ".", "new_tile", "(", ")", "print", "(", "grd", ")", "return", "grd" ]
builds a 2048 starting board Printing Grid 0 0 0 2 0 0 4 0 0 0 0 0 0 0 0 0
[ "builds", "a", "2048", "starting", "board", "Printing", "Grid", "0", "0", "0", "2", "0", "0", "4", "0", "0", "0", "0", "0", "0", "0", "0", "0" ]
fcf1582dc5f884b9a4fa7c6e20e9de9d94d21d03
https://github.com/acutesoftware/AIKIF/blob/fcf1582dc5f884b9a4fa7c6e20e9de9d94d21d03/aikif/toolbox/game_board_utils.py#L10-L23
train
builds a 2048 starting board Printing Grid 2 4 } }
acutesoftware/AIKIF
aikif/toolbox/game_board_utils.py
build_board_checkers
def build_board_checkers(): """ builds a checkers starting board Printing Grid 0 B 0 B 0 B 0 B B 0 B 0 B 0 B 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
python
def build_board_checkers(): """ builds a checkers starting board Printing Grid 0 B 0 B 0 B 0 B B 0 B 0 B 0 B 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
[ "def", "build_board_checkers", "(", ")", ":", "grd", "=", "Grid", "(", "8", ",", "8", ",", "[", "\"B\"", ",", "\"W\"", "]", ")", "for", "c", "in", "range", "(", "4", ")", ":", "grd", ".", "set_tile", "(", "0", ",", "(", "c", "*", "2", ")", ...
builds a checkers starting board Printing Grid 0 B 0 B 0 B 0 B B 0 B 0 B 0 B 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
[ "builds", "a", "checkers", "starting", "board", "Printing", "Grid", "0", "B", "0", "B", "0", "B", "0", "B", "B", "0", "B", "0", "B", "0", "B", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"...
fcf1582dc5f884b9a4fa7c6e20e9de9d94d21d03
https://github.com/acutesoftware/AIKIF/blob/fcf1582dc5f884b9a4fa7c6e20e9de9d94d21d03/aikif/toolbox/game_board_utils.py#L25-L45
train
builds a checkers starting board
acutesoftware/AIKIF
aikif/toolbox/game_board_utils.py
TEST
def TEST(): """ tests for this module """ grd = Grid(4,4, [2,4]) grd.new_tile() grd.new_tile() print(grd) print("There are ", grd.count_blank_positions(), " blanks in grid 1\n") grd2 = Grid(5,5, ['A','B']) grd2.new_tile(26) print(grd2) build_board_checkers() print("There ar...
python
def TEST(): """ tests for this module """ grd = Grid(4,4, [2,4]) grd.new_tile() grd.new_tile() print(grd) print("There are ", grd.count_blank_positions(), " blanks in grid 1\n") grd2 = Grid(5,5, ['A','B']) grd2.new_tile(26) print(grd2) build_board_checkers() print("There ar...
[ "def", "TEST", "(", ")", ":", "grd", "=", "Grid", "(", "4", ",", "4", ",", "[", "2", ",", "4", "]", ")", "grd", ".", "new_tile", "(", ")", "grd", ".", "new_tile", "(", ")", "print", "(", "grd", ")", "print", "(", "\"There are \"", ",", "grd",...
tests for this module
[ "tests", "for", "this", "module" ]
fcf1582dc5f884b9a4fa7c6e20e9de9d94d21d03
https://github.com/acutesoftware/AIKIF/blob/fcf1582dc5f884b9a4fa7c6e20e9de9d94d21d03/aikif/toolbox/game_board_utils.py#L47-L60
train
tests for this module
masci/django-appengine-toolkit
appengine_toolkit/storage.py
GoogleCloudStorage.path
def path(self, name): """ Returns the full path to the file, including leading '/' and bucket name. Access to the bucket root are not allowed. """ if not name: raise SuspiciousOperation("Attempted access to '%s' denied." % name) return os.path.join(self._bucke...
python
def path(self, name): """ Returns the full path to the file, including leading '/' and bucket name. Access to the bucket root are not allowed. """ if not name: raise SuspiciousOperation("Attempted access to '%s' denied." % name) return os.path.join(self._bucke...
[ "def", "path", "(", "self", ",", "name", ")", ":", "if", "not", "name", ":", "raise", "SuspiciousOperation", "(", "\"Attempted access to '%s' denied.\"", "%", "name", ")", "return", "os", ".", "path", ".", "join", "(", "self", ".", "_bucket", ",", "name", ...
Returns the full path to the file, including leading '/' and bucket name. Access to the bucket root are not allowed.
[ "Returns", "the", "full", "path", "to", "the", "file", "including", "leading", "/", "and", "bucket", "name", ".", "Access", "to", "the", "bucket", "root", "are", "not", "allowed", "." ]
9ffe8b05a263889787fb34a3e28ebc66b1f0a1d2
https://github.com/masci/django-appengine-toolkit/blob/9ffe8b05a263889787fb34a3e28ebc66b1f0a1d2/appengine_toolkit/storage.py#L32-L39
train
Returns the full path to the file including leading slash and bucket name.
masci/django-appengine-toolkit
appengine_toolkit/storage.py
GoogleCloudStorage.listdir
def listdir(self, name): """ TODO collect directories """ return [], [obj.filename for obj in cloudstorage.listbucket(self.path(name))]
python
def listdir(self, name): """ TODO collect directories """ return [], [obj.filename for obj in cloudstorage.listbucket(self.path(name))]
[ "def", "listdir", "(", "self", ",", "name", ")", ":", "return", "[", "]", ",", "[", "obj", ".", "filename", "for", "obj", "in", "cloudstorage", ".", "listbucket", "(", "self", ".", "path", "(", "name", ")", ")", "]" ]
TODO collect directories
[ "TODO", "collect", "directories" ]
9ffe8b05a263889787fb34a3e28ebc66b1f0a1d2
https://github.com/masci/django-appengine-toolkit/blob/9ffe8b05a263889787fb34a3e28ebc66b1f0a1d2/appengine_toolkit/storage.py#L64-L68
train
listdir - Returns a list of the names of the objects in the named bucket
masci/django-appengine-toolkit
appengine_toolkit/storage.py
GoogleCloudStorage.url
def url(self, name): """ Ask blobstore api for an url to directly serve the file """ key = blobstore.create_gs_key('/gs' + name) return images.get_serving_url(key)
python
def url(self, name): """ Ask blobstore api for an url to directly serve the file """ key = blobstore.create_gs_key('/gs' + name) return images.get_serving_url(key)
[ "def", "url", "(", "self", ",", "name", ")", ":", "key", "=", "blobstore", ".", "create_gs_key", "(", "'/gs'", "+", "name", ")", "return", "images", ".", "get_serving_url", "(", "key", ")" ]
Ask blobstore api for an url to directly serve the file
[ "Ask", "blobstore", "api", "for", "an", "url", "to", "directly", "serve", "the", "file" ]
9ffe8b05a263889787fb34a3e28ebc66b1f0a1d2
https://github.com/masci/django-appengine-toolkit/blob/9ffe8b05a263889787fb34a3e28ebc66b1f0a1d2/appengine_toolkit/storage.py#L74-L79
train
Ask blobstore api for an url to directly serve the file
Nachtfeuer/pipeline
spline/components/stage.py
Stage.process
def process(self, stage): """Processing one stage.""" self.logger.info("Processing pipeline stage '%s'", self.title) output = [] for entry in stage: key = list(entry.keys())[0] if key == "env": self.pipeline.data.env_list[1].update(entry[key]) ...
python
def process(self, stage): """Processing one stage.""" self.logger.info("Processing pipeline stage '%s'", self.title) output = [] for entry in stage: key = list(entry.keys())[0] if key == "env": self.pipeline.data.env_list[1].update(entry[key]) ...
[ "def", "process", "(", "self", ",", "stage", ")", ":", "self", ".", "logger", ".", "info", "(", "\"Processing pipeline stage '%s'\"", ",", "self", ".", "title", ")", "output", "=", "[", "]", "for", "entry", "in", "stage", ":", "key", "=", "list", "(", ...
Processing one stage.
[ "Processing", "one", "stage", "." ]
04ca18c4e95e4349532bb45b768206393e1f2c13
https://github.com/Nachtfeuer/pipeline/blob/04ca18c4e95e4349532bb45b768206393e1f2c13/spline/components/stage.py#L47-L69
train
Process one stage.
StackStorm/pybind
pybind/nos/v6_0_2f/rbridge_id/interface/ve/ipv6/vrrpv3e/__init__.py
vrrpv3e._set_virtual_mac
def _set_virtual_mac(self, v, load=False): """ Setter method for virtual_mac, mapped from YANG variable /rbridge_id/interface/ve/ipv6/vrrpv3e/virtual_mac (container) If this variable is read-only (config: false) in the source YANG file, then _set_virtual_mac is considered as a private method. Backen...
python
def _set_virtual_mac(self, v, load=False): """ Setter method for virtual_mac, mapped from YANG variable /rbridge_id/interface/ve/ipv6/vrrpv3e/virtual_mac (container) If this variable is read-only (config: false) in the source YANG file, then _set_virtual_mac is considered as a private method. Backen...
[ "def", "_set_virtual_mac", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "ba...
Setter method for virtual_mac, mapped from YANG variable /rbridge_id/interface/ve/ipv6/vrrpv3e/virtual_mac (container) If this variable is read-only (config: false) in the source YANG file, then _set_virtual_mac is considered as a private method. Backends looking to populate this variable should do so v...
[ "Setter", "method", "for", "virtual_mac", "mapped", "from", "YANG", "variable", "/", "rbridge_id", "/", "interface", "/", "ve", "/", "ipv6", "/", "vrrpv3e", "/", "virtual_mac", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "("...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/rbridge_id/interface/ve/ipv6/vrrpv3e/__init__.py#L149-L172
train
Sets the virtual MAC of the
StackStorm/pybind
pybind/slxos/v17s_1_02/ha/process_restart/__init__.py
process_restart._set_disable_res
def _set_disable_res(self, v, load=False): """ Setter method for disable_res, mapped from YANG variable /ha/process_restart/disable_res (container) If this variable is read-only (config: false) in the source YANG file, then _set_disable_res is considered as a private method. Backends looking to popu...
python
def _set_disable_res(self, v, load=False): """ Setter method for disable_res, mapped from YANG variable /ha/process_restart/disable_res (container) If this variable is read-only (config: false) in the source YANG file, then _set_disable_res is considered as a private method. Backends looking to popu...
[ "def", "_set_disable_res", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "ba...
Setter method for disable_res, mapped from YANG variable /ha/process_restart/disable_res (container) If this variable is read-only (config: false) in the source YANG file, then _set_disable_res is considered as a private method. Backends looking to populate this variable should do so via calling thisObj...
[ "Setter", "method", "for", "disable_res", "mapped", "from", "YANG", "variable", "/", "ha", "/", "process_restart", "/", "disable_res", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the"...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/ha/process_restart/__init__.py#L92-L113
train
Sets the disable flag for the
StackStorm/pybind
pybind/nos/v7_2_0/brocade_ha_rpc/__init__.py
brocade_ha._set_redundancy
def _set_redundancy(self, v, load=False): """ Setter method for redundancy, mapped from YANG variable /brocade_ha_rpc/redundancy (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_redundancy is considered as a private method. Backends looking to populate this vari...
python
def _set_redundancy(self, v, load=False): """ Setter method for redundancy, mapped from YANG variable /brocade_ha_rpc/redundancy (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_redundancy is considered as a private method. Backends looking to populate this vari...
[ "def", "_set_redundancy", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "bas...
Setter method for redundancy, mapped from YANG variable /brocade_ha_rpc/redundancy (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_redundancy is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_redunda...
[ "Setter", "method", "for", "redundancy", "mapped", "from", "YANG", "variable", "/", "brocade_ha_rpc", "/", "redundancy", "(", "rpc", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/brocade_ha_rpc/__init__.py#L97-L118
train
Set the redundancy of the node.
StackStorm/pybind
pybind/nos/v7_2_0/brocade_ha_rpc/__init__.py
brocade_ha._set_reload
def _set_reload(self, v, load=False): """ Setter method for reload, mapped from YANG variable /brocade_ha_rpc/reload (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_reload is considered as a private method. Backends looking to populate this variable should ...
python
def _set_reload(self, v, load=False): """ Setter method for reload, mapped from YANG variable /brocade_ha_rpc/reload (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_reload is considered as a private method. Backends looking to populate this variable should ...
[ "def", "_set_reload", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base", ...
Setter method for reload, mapped from YANG variable /brocade_ha_rpc/reload (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_reload is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_reload() directly.
[ "Setter", "method", "for", "reload", "mapped", "from", "YANG", "variable", "/", "brocade_ha_rpc", "/", "reload", "(", "rpc", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file"...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/brocade_ha_rpc/__init__.py#L130-L151
train
Set reload property of
StackStorm/pybind
pybind/slxos/v17s_1_02/isis_state/interface_brief/isis_intf_brief/__init__.py
isis_intf_brief._set_circuit_type
def _set_circuit_type(self, v, load=False): """ Setter method for circuit_type, mapped from YANG variable /isis_state/interface_brief/isis_intf_brief/circuit_type (isis-circ-type) If this variable is read-only (config: false) in the source YANG file, then _set_circuit_type is considered as a private ...
python
def _set_circuit_type(self, v, load=False): """ Setter method for circuit_type, mapped from YANG variable /isis_state/interface_brief/isis_intf_brief/circuit_type (isis-circ-type) If this variable is read-only (config: false) in the source YANG file, then _set_circuit_type is considered as a private ...
[ "def", "_set_circuit_type", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "b...
Setter method for circuit_type, mapped from YANG variable /isis_state/interface_brief/isis_intf_brief/circuit_type (isis-circ-type) If this variable is read-only (config: false) in the source YANG file, then _set_circuit_type is considered as a private method. Backends looking to populate this variable shou...
[ "Setter", "method", "for", "circuit_type", "mapped", "from", "YANG", "variable", "/", "isis_state", "/", "interface_brief", "/", "isis_intf_brief", "/", "circuit_type", "(", "isis", "-", "circ", "-", "type", ")", "If", "this", "variable", "is", "read", "-", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/isis_state/interface_brief/isis_intf_brief/__init__.py#L147-L170
train
Sets the circuit type of the ISIS node.
budacom/trading-bots
trading_bots/contrib/clients.py
MarketClient.trading_fees
def trading_fees(self) -> TradingFees: """Fetch trading fees.""" return self._fetch('trading fees', self.market.code)(self._trading_fees)()
python
def trading_fees(self) -> TradingFees: """Fetch trading fees.""" return self._fetch('trading fees', self.market.code)(self._trading_fees)()
[ "def", "trading_fees", "(", "self", ")", "->", "TradingFees", ":", "return", "self", ".", "_fetch", "(", "'trading fees'", ",", "self", ".", "market", ".", "code", ")", "(", "self", ".", "_trading_fees", ")", "(", ")" ]
Fetch trading fees.
[ "Fetch", "trading", "fees", "." ]
8cb68bb8d0b5f822108db1cc5dae336e3d3c3452
https://github.com/budacom/trading-bots/blob/8cb68bb8d0b5f822108db1cc5dae336e3d3c3452/trading_bots/contrib/clients.py#L202-L204
train
Fetch all trading fees.
budacom/trading-bots
trading_bots/contrib/clients.py
MarketClient.fetch_ticker
def fetch_ticker(self) -> Ticker: """Fetch the market ticker.""" return self._fetch('ticker', self.market.code)(self._ticker)()
python
def fetch_ticker(self) -> Ticker: """Fetch the market ticker.""" return self._fetch('ticker', self.market.code)(self._ticker)()
[ "def", "fetch_ticker", "(", "self", ")", "->", "Ticker", ":", "return", "self", ".", "_fetch", "(", "'ticker'", ",", "self", ".", "market", ".", "code", ")", "(", "self", ".", "_ticker", ")", "(", ")" ]
Fetch the market ticker.
[ "Fetch", "the", "market", "ticker", "." ]
8cb68bb8d0b5f822108db1cc5dae336e3d3c3452
https://github.com/budacom/trading-bots/blob/8cb68bb8d0b5f822108db1cc5dae336e3d3c3452/trading_bots/contrib/clients.py#L210-L212
train
Fetch the market ticker.
budacom/trading-bots
trading_bots/contrib/clients.py
MarketClient.fetch_order_book
def fetch_order_book(self) -> OrderBook: """Fetch the order book.""" return self._fetch('order book', self.market.code)(self._order_book)()
python
def fetch_order_book(self) -> OrderBook: """Fetch the order book.""" return self._fetch('order book', self.market.code)(self._order_book)()
[ "def", "fetch_order_book", "(", "self", ")", "->", "OrderBook", ":", "return", "self", ".", "_fetch", "(", "'order book'", ",", "self", ".", "market", ".", "code", ")", "(", "self", ".", "_order_book", ")", "(", ")" ]
Fetch the order book.
[ "Fetch", "the", "order", "book", "." ]
8cb68bb8d0b5f822108db1cc5dae336e3d3c3452
https://github.com/budacom/trading-bots/blob/8cb68bb8d0b5f822108db1cc5dae336e3d3c3452/trading_bots/contrib/clients.py#L232-L234
train
Fetch the order book.
budacom/trading-bots
trading_bots/contrib/clients.py
MarketClient.fetch_trades_since
def fetch_trades_since(self, since: int) -> List[Trade]: """Fetch trades since given timestamp.""" return self._fetch_since('trades', self.market.code)(self._trades_since)(since)
python
def fetch_trades_since(self, since: int) -> List[Trade]: """Fetch trades since given timestamp.""" return self._fetch_since('trades', self.market.code)(self._trades_since)(since)
[ "def", "fetch_trades_since", "(", "self", ",", "since", ":", "int", ")", "->", "List", "[", "Trade", "]", ":", "return", "self", ".", "_fetch_since", "(", "'trades'", ",", "self", ".", "market", ".", "code", ")", "(", "self", ".", "_trades_since", ")",...
Fetch trades since given timestamp.
[ "Fetch", "trades", "since", "given", "timestamp", "." ]
8cb68bb8d0b5f822108db1cc5dae336e3d3c3452
https://github.com/budacom/trading-bots/blob/8cb68bb8d0b5f822108db1cc5dae336e3d3c3452/trading_bots/contrib/clients.py#L241-L243
train
Fetch trades since given timestamp.
budacom/trading-bots
trading_bots/contrib/clients.py
WalletClient.fetch_deposits
def fetch_deposits(self, limit: int) -> List[Deposit]: """Fetch latest deposits, must provide a limit.""" return self._transactions(self._deposits, 'deposits', limit)
python
def fetch_deposits(self, limit: int) -> List[Deposit]: """Fetch latest deposits, must provide a limit.""" return self._transactions(self._deposits, 'deposits', limit)
[ "def", "fetch_deposits", "(", "self", ",", "limit", ":", "int", ")", "->", "List", "[", "Deposit", "]", ":", "return", "self", ".", "_transactions", "(", "self", ".", "_deposits", ",", "'deposits'", ",", "limit", ")" ]
Fetch latest deposits, must provide a limit.
[ "Fetch", "latest", "deposits", "must", "provide", "a", "limit", "." ]
8cb68bb8d0b5f822108db1cc5dae336e3d3c3452
https://github.com/budacom/trading-bots/blob/8cb68bb8d0b5f822108db1cc5dae336e3d3c3452/trading_bots/contrib/clients.py#L292-L294
train
Fetch latest deposits.
budacom/trading-bots
trading_bots/contrib/clients.py
WalletClient.fetch_deposits_since
def fetch_deposits_since(self, since: int) -> List[Deposit]: """Fetch all deposits since the given timestamp.""" return self._transactions_since(self._deposits_since, 'deposits', since)
python
def fetch_deposits_since(self, since: int) -> List[Deposit]: """Fetch all deposits since the given timestamp.""" return self._transactions_since(self._deposits_since, 'deposits', since)
[ "def", "fetch_deposits_since", "(", "self", ",", "since", ":", "int", ")", "->", "List", "[", "Deposit", "]", ":", "return", "self", ".", "_transactions_since", "(", "self", ".", "_deposits_since", ",", "'deposits'", ",", "since", ")" ]
Fetch all deposits since the given timestamp.
[ "Fetch", "all", "deposits", "since", "the", "given", "timestamp", "." ]
8cb68bb8d0b5f822108db1cc5dae336e3d3c3452
https://github.com/budacom/trading-bots/blob/8cb68bb8d0b5f822108db1cc5dae336e3d3c3452/trading_bots/contrib/clients.py#L304-L306
train
Fetch all deposits since the given timestamp.
budacom/trading-bots
trading_bots/contrib/clients.py
WalletClient.fetch_withdrawals
def fetch_withdrawals(self, limit: int) -> List[Withdrawal]: """Fetch latest withdrawals, must provide a limit.""" return self._transactions(self._withdrawals, 'withdrawals', limit)
python
def fetch_withdrawals(self, limit: int) -> List[Withdrawal]: """Fetch latest withdrawals, must provide a limit.""" return self._transactions(self._withdrawals, 'withdrawals', limit)
[ "def", "fetch_withdrawals", "(", "self", ",", "limit", ":", "int", ")", "->", "List", "[", "Withdrawal", "]", ":", "return", "self", ".", "_transactions", "(", "self", ".", "_withdrawals", ",", "'withdrawals'", ",", "limit", ")" ]
Fetch latest withdrawals, must provide a limit.
[ "Fetch", "latest", "withdrawals", "must", "provide", "a", "limit", "." ]
8cb68bb8d0b5f822108db1cc5dae336e3d3c3452
https://github.com/budacom/trading-bots/blob/8cb68bb8d0b5f822108db1cc5dae336e3d3c3452/trading_bots/contrib/clients.py#L313-L315
train
Fetch latest withdrawals. Must provide a limit.
budacom/trading-bots
trading_bots/contrib/clients.py
WalletClient.fetch_withdrawals_since
def fetch_withdrawals_since(self, since: int) -> List[Withdrawal]: """Fetch all withdrawals since the given timestamp.""" return self._transactions_since(self._withdrawals_since, 'withdrawals', since)
python
def fetch_withdrawals_since(self, since: int) -> List[Withdrawal]: """Fetch all withdrawals since the given timestamp.""" return self._transactions_since(self._withdrawals_since, 'withdrawals', since)
[ "def", "fetch_withdrawals_since", "(", "self", ",", "since", ":", "int", ")", "->", "List", "[", "Withdrawal", "]", ":", "return", "self", ".", "_transactions_since", "(", "self", ".", "_withdrawals_since", ",", "'withdrawals'", ",", "since", ")" ]
Fetch all withdrawals since the given timestamp.
[ "Fetch", "all", "withdrawals", "since", "the", "given", "timestamp", "." ]
8cb68bb8d0b5f822108db1cc5dae336e3d3c3452
https://github.com/budacom/trading-bots/blob/8cb68bb8d0b5f822108db1cc5dae336e3d3c3452/trading_bots/contrib/clients.py#L325-L327
train
Fetch all withdrawals since the given timestamp.
budacom/trading-bots
trading_bots/contrib/clients.py
WalletClient.request_withdrawal
def request_withdrawal(self, amount: Number, address: str, subtract_fee: bool=False, **params) -> Withdrawal: """Request a withdrawal.""" self.log.debug(f'Requesting {self.currency} withdrawal from {self.name} to {address}') amount = self._parse_money(amount) if self.dry_run: ...
python
def request_withdrawal(self, amount: Number, address: str, subtract_fee: bool=False, **params) -> Withdrawal: """Request a withdrawal.""" self.log.debug(f'Requesting {self.currency} withdrawal from {self.name} to {address}') amount = self._parse_money(amount) if self.dry_run: ...
[ "def", "request_withdrawal", "(", "self", ",", "amount", ":", "Number", ",", "address", ":", "str", ",", "subtract_fee", ":", "bool", "=", "False", ",", "*", "*", "params", ")", "->", "Withdrawal", ":", "self", ".", "log", ".", "debug", "(", "f'Request...
Request a withdrawal.
[ "Request", "a", "withdrawal", "." ]
8cb68bb8d0b5f822108db1cc5dae336e3d3c3452
https://github.com/budacom/trading-bots/blob/8cb68bb8d0b5f822108db1cc5dae336e3d3c3452/trading_bots/contrib/clients.py#L346-L363
train
Request a withdrawal.
budacom/trading-bots
trading_bots/contrib/clients.py
TradingClient.fetch_order
def fetch_order(self, order_id: str) -> Order: """Fetch an order by ID.""" return self._fetch(f'order id={order_id}', exc=OrderNotFound)(self._order)(order_id)
python
def fetch_order(self, order_id: str) -> Order: """Fetch an order by ID.""" return self._fetch(f'order id={order_id}', exc=OrderNotFound)(self._order)(order_id)
[ "def", "fetch_order", "(", "self", ",", "order_id", ":", "str", ")", "->", "Order", ":", "return", "self", ".", "_fetch", "(", "f'order id={order_id}'", ",", "exc", "=", "OrderNotFound", ")", "(", "self", ".", "_order", ")", "(", "order_id", ")" ]
Fetch an order by ID.
[ "Fetch", "an", "order", "by", "ID", "." ]
8cb68bb8d0b5f822108db1cc5dae336e3d3c3452
https://github.com/budacom/trading-bots/blob/8cb68bb8d0b5f822108db1cc5dae336e3d3c3452/trading_bots/contrib/clients.py#L410-L412
train
Fetch an order by ID.
budacom/trading-bots
trading_bots/contrib/clients.py
TradingClient.fetch_open_orders
def fetch_open_orders(self, limit: int) -> List[Order]: """Fetch latest open orders, must provide a limit.""" return self._fetch_orders_limit(self._open_orders, limit)
python
def fetch_open_orders(self, limit: int) -> List[Order]: """Fetch latest open orders, must provide a limit.""" return self._fetch_orders_limit(self._open_orders, limit)
[ "def", "fetch_open_orders", "(", "self", ",", "limit", ":", "int", ")", "->", "List", "[", "Order", "]", ":", "return", "self", ".", "_fetch_orders_limit", "(", "self", ".", "_open_orders", ",", "limit", ")" ]
Fetch latest open orders, must provide a limit.
[ "Fetch", "latest", "open", "orders", "must", "provide", "a", "limit", "." ]
8cb68bb8d0b5f822108db1cc5dae336e3d3c3452
https://github.com/budacom/trading-bots/blob/8cb68bb8d0b5f822108db1cc5dae336e3d3c3452/trading_bots/contrib/clients.py#L424-L426
train
Fetch latest open orders.
budacom/trading-bots
trading_bots/contrib/clients.py
TradingClient.fetch_closed_orders
def fetch_closed_orders(self, limit: int) -> List[Order]: """Fetch latest closed orders, must provide a limit.""" return self._fetch_orders_limit(self._closed_orders, limit)
python
def fetch_closed_orders(self, limit: int) -> List[Order]: """Fetch latest closed orders, must provide a limit.""" return self._fetch_orders_limit(self._closed_orders, limit)
[ "def", "fetch_closed_orders", "(", "self", ",", "limit", ":", "int", ")", "->", "List", "[", "Order", "]", ":", "return", "self", ".", "_fetch_orders_limit", "(", "self", ".", "_closed_orders", ",", "limit", ")" ]
Fetch latest closed orders, must provide a limit.
[ "Fetch", "latest", "closed", "orders", "must", "provide", "a", "limit", "." ]
8cb68bb8d0b5f822108db1cc5dae336e3d3c3452
https://github.com/budacom/trading-bots/blob/8cb68bb8d0b5f822108db1cc5dae336e3d3c3452/trading_bots/contrib/clients.py#L436-L438
train
Fetch latest closed orders.
budacom/trading-bots
trading_bots/contrib/clients.py
TradingClient.fetch_closed_orders_since
def fetch_closed_orders_since(self, since: int) -> List[Order]: """Fetch closed orders since the given timestamp.""" return self._fetch_orders_since(self._closed_orders_since, since)
python
def fetch_closed_orders_since(self, since: int) -> List[Order]: """Fetch closed orders since the given timestamp.""" return self._fetch_orders_since(self._closed_orders_since, since)
[ "def", "fetch_closed_orders_since", "(", "self", ",", "since", ":", "int", ")", "->", "List", "[", "Order", "]", ":", "return", "self", ".", "_fetch_orders_since", "(", "self", ".", "_closed_orders_since", ",", "since", ")" ]
Fetch closed orders since the given timestamp.
[ "Fetch", "closed", "orders", "since", "the", "given", "timestamp", "." ]
8cb68bb8d0b5f822108db1cc5dae336e3d3c3452
https://github.com/budacom/trading-bots/blob/8cb68bb8d0b5f822108db1cc5dae336e3d3c3452/trading_bots/contrib/clients.py#L448-L450
train
Fetch closed orders since the given timestamp.
budacom/trading-bots
trading_bots/contrib/clients.py
TradingClient.cancel_order
def cancel_order(self, order_id: str) -> str: """Cancel an order by ID.""" self.log.debug(f'Canceling order id={order_id} on {self.name}') if self.dry_run: # Don't cancel if dry run self.log.warning(f'DRY RUN: Order cancelled on {self.name}: id={order_id}') return order...
python
def cancel_order(self, order_id: str) -> str: """Cancel an order by ID.""" self.log.debug(f'Canceling order id={order_id} on {self.name}') if self.dry_run: # Don't cancel if dry run self.log.warning(f'DRY RUN: Order cancelled on {self.name}: id={order_id}') return order...
[ "def", "cancel_order", "(", "self", ",", "order_id", ":", "str", ")", "->", "str", ":", "self", ".", "log", ".", "debug", "(", "f'Canceling order id={order_id} on {self.name}'", ")", "if", "self", ".", "dry_run", ":", "# Don't cancel if dry run", "self", ".", ...
Cancel an order by ID.
[ "Cancel", "an", "order", "by", "ID", "." ]
8cb68bb8d0b5f822108db1cc5dae336e3d3c3452
https://github.com/budacom/trading-bots/blob/8cb68bb8d0b5f822108db1cc5dae336e3d3c3452/trading_bots/contrib/clients.py#L456-L470
train
Cancel an order by ID.
budacom/trading-bots
trading_bots/contrib/clients.py
TradingClient.cancel_orders
def cancel_orders(self, order_ids: List[str]) -> List[str]: """Cancel multiple orders by a list of IDs.""" orders_to_cancel = order_ids self.log.debug(f'Canceling orders on {self.name}: ids={orders_to_cancel}') cancelled_orders = [] if self.dry_run: # Don't cancel if dry run ...
python
def cancel_orders(self, order_ids: List[str]) -> List[str]: """Cancel multiple orders by a list of IDs.""" orders_to_cancel = order_ids self.log.debug(f'Canceling orders on {self.name}: ids={orders_to_cancel}') cancelled_orders = [] if self.dry_run: # Don't cancel if dry run ...
[ "def", "cancel_orders", "(", "self", ",", "order_ids", ":", "List", "[", "str", "]", ")", "->", "List", "[", "str", "]", ":", "orders_to_cancel", "=", "order_ids", "self", ".", "log", ".", "debug", "(", "f'Canceling orders on {self.name}: ids={orders_to_cancel}'...
Cancel multiple orders by a list of IDs.
[ "Cancel", "multiple", "orders", "by", "a", "list", "of", "IDs", "." ]
8cb68bb8d0b5f822108db1cc5dae336e3d3c3452
https://github.com/budacom/trading-bots/blob/8cb68bb8d0b5f822108db1cc5dae336e3d3c3452/trading_bots/contrib/clients.py#L476-L501
train
Cancel multiple orders by a list of IDs.
budacom/trading-bots
trading_bots/contrib/clients.py
TradingClient.cancel_all_orders
def cancel_all_orders(self) -> List[str]: """Cancel all open orders.""" order_ids = [o.id for o in self.fetch_all_open_orders()] return self.cancel_orders(order_ids)
python
def cancel_all_orders(self) -> List[str]: """Cancel all open orders.""" order_ids = [o.id for o in self.fetch_all_open_orders()] return self.cancel_orders(order_ids)
[ "def", "cancel_all_orders", "(", "self", ")", "->", "List", "[", "str", "]", ":", "order_ids", "=", "[", "o", ".", "id", "for", "o", "in", "self", ".", "fetch_all_open_orders", "(", ")", "]", "return", "self", ".", "cancel_orders", "(", "order_ids", ")...
Cancel all open orders.
[ "Cancel", "all", "open", "orders", "." ]
8cb68bb8d0b5f822108db1cc5dae336e3d3c3452
https://github.com/budacom/trading-bots/blob/8cb68bb8d0b5f822108db1cc5dae336e3d3c3452/trading_bots/contrib/clients.py#L503-L506
train
Cancel all open orders.
budacom/trading-bots
trading_bots/contrib/clients.py
TradingClient.min_order_amount
def min_order_amount(self) -> Money: """Minimum amount to place an order.""" return self._fetch('minimum order amount', self.market.code)(self._min_order_amount)()
python
def min_order_amount(self) -> Money: """Minimum amount to place an order.""" return self._fetch('minimum order amount', self.market.code)(self._min_order_amount)()
[ "def", "min_order_amount", "(", "self", ")", "->", "Money", ":", "return", "self", ".", "_fetch", "(", "'minimum order amount'", ",", "self", ".", "market", ".", "code", ")", "(", "self", ".", "_min_order_amount", ")", "(", ")" ]
Minimum amount to place an order.
[ "Minimum", "amount", "to", "place", "an", "order", "." ]
8cb68bb8d0b5f822108db1cc5dae336e3d3c3452
https://github.com/budacom/trading-bots/blob/8cb68bb8d0b5f822108db1cc5dae336e3d3c3452/trading_bots/contrib/clients.py#L517-L519
train
Minimum amount to place an order.
budacom/trading-bots
trading_bots/contrib/clients.py
TradingClient.place_order
def place_order(self, side: Side, order_type: OrderType, amount: Number, price: Number=None) -> Order: """Place an order.""" order_repr = f'side={side} type={order_type} amount={amount} price={price}' order_err = f'Failed to place order on {self.name}!: {order_repr}' self.log.debug(f'Pl...
python
def place_order(self, side: Side, order_type: OrderType, amount: Number, price: Number=None) -> Order: """Place an order.""" order_repr = f'side={side} type={order_type} amount={amount} price={price}' order_err = f'Failed to place order on {self.name}!: {order_repr}' self.log.debug(f'Pl...
[ "def", "place_order", "(", "self", ",", "side", ":", "Side", ",", "order_type", ":", "OrderType", ",", "amount", ":", "Number", ",", "price", ":", "Number", "=", "None", ")", "->", "Order", ":", "order_repr", "=", "f'side={side} type={order_type} amount={amoun...
Place an order.
[ "Place", "an", "order", "." ]
8cb68bb8d0b5f822108db1cc5dae336e3d3c3452
https://github.com/budacom/trading-bots/blob/8cb68bb8d0b5f822108db1cc5dae336e3d3c3452/trading_bots/contrib/clients.py#L525-L550
train
Place an order on the basket.
budacom/trading-bots
trading_bots/contrib/clients.py
TradingClient.place_market_order
def place_market_order(self, side: Side, amount: Number) -> Order: """Place a market order.""" return self.place_order(side, OrderType.MARKET, amount)
python
def place_market_order(self, side: Side, amount: Number) -> Order: """Place a market order.""" return self.place_order(side, OrderType.MARKET, amount)
[ "def", "place_market_order", "(", "self", ",", "side", ":", "Side", ",", "amount", ":", "Number", ")", "->", "Order", ":", "return", "self", ".", "place_order", "(", "side", ",", "OrderType", ".", "MARKET", ",", "amount", ")" ]
Place a market order.
[ "Place", "a", "market", "order", "." ]
8cb68bb8d0b5f822108db1cc5dae336e3d3c3452
https://github.com/budacom/trading-bots/blob/8cb68bb8d0b5f822108db1cc5dae336e3d3c3452/trading_bots/contrib/clients.py#L552-L554
train
Place a market order.
budacom/trading-bots
trading_bots/contrib/clients.py
TradingClient.place_limit_order
def place_limit_order(self, side: Side, amount: Number, price: Number) -> Order: """Place a limit order.""" return self.place_order(side, OrderType.LIMIT, amount, price)
python
def place_limit_order(self, side: Side, amount: Number, price: Number) -> Order: """Place a limit order.""" return self.place_order(side, OrderType.LIMIT, amount, price)
[ "def", "place_limit_order", "(", "self", ",", "side", ":", "Side", ",", "amount", ":", "Number", ",", "price", ":", "Number", ")", "->", "Order", ":", "return", "self", ".", "place_order", "(", "side", ",", "OrderType", ".", "LIMIT", ",", "amount", ","...
Place a limit order.
[ "Place", "a", "limit", "order", "." ]
8cb68bb8d0b5f822108db1cc5dae336e3d3c3452
https://github.com/budacom/trading-bots/blob/8cb68bb8d0b5f822108db1cc5dae336e3d3c3452/trading_bots/contrib/clients.py#L556-L558
train
Place a limit order.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_node._set_node_id
def _set_node_id(self, v, load=False): """ Setter method for node_id, mapped from YANG variable /node_id (list) If this variable is read-only (config: false) in the source YANG file, then _set_node_id is considered as a private method. Backends looking to populate this variable should do so via ...
python
def _set_node_id(self, v, load=False): """ Setter method for node_id, mapped from YANG variable /node_id (list) If this variable is read-only (config: false) in the source YANG file, then _set_node_id is considered as a private method. Backends looking to populate this variable should do so via ...
[ "def", "_set_node_id", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base",...
Setter method for node_id, mapped from YANG variable /node_id (list) If this variable is read-only (config: false) in the source YANG file, then _set_node_id is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_node_id() directly.
[ "Setter", "method", "for", "node_id", "mapped", "from", "YANG", "variable", "/", "node_id", "(", "list", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then", "_set_node...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L211-L232
train
Set the node_id of the based on node_id.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_firmware._set_firmware
def _set_firmware(self, v, load=False): """ Setter method for firmware, mapped from YANG variable /firmware (container) If this variable is read-only (config: false) in the source YANG file, then _set_firmware is considered as a private method. Backends looking to populate this variable should d...
python
def _set_firmware(self, v, load=False): """ Setter method for firmware, mapped from YANG variable /firmware (container) If this variable is read-only (config: false) in the source YANG file, then _set_firmware is considered as a private method. Backends looking to populate this variable should d...
[ "def", "_set_firmware", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base"...
Setter method for firmware, mapped from YANG variable /firmware (container) If this variable is read-only (config: false) in the source YANG file, then _set_firmware is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_firmware() directly.
[ "Setter", "method", "for", "firmware", "mapped", "from", "YANG", "variable", "/", "firmware", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then", "_s...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L708-L729
train
Sets the firmware property of the
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_mc_hms_operational._set_igmp_snooping_state
def _set_igmp_snooping_state(self, v, load=False): """ Setter method for igmp_snooping_state, mapped from YANG variable /igmp_snooping_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_igmp_snooping_state is considered as a private method. Backends lo...
python
def _set_igmp_snooping_state(self, v, load=False): """ Setter method for igmp_snooping_state, mapped from YANG variable /igmp_snooping_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_igmp_snooping_state is considered as a private method. Backends lo...
[ "def", "_set_igmp_snooping_state", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",...
Setter method for igmp_snooping_state, mapped from YANG variable /igmp_snooping_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_igmp_snooping_state is considered as a private method. Backends looking to populate this variable should do so via calling th...
[ "Setter", "method", "for", "igmp_snooping_state", "mapped", "from", "YANG", "variable", "/", "igmp_snooping_state", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L1023-L1046
train
Sets the state of the IGMP snooping root MO .
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_qos_mqc._set_police_remark_profile
def _set_police_remark_profile(self, v, load=False): """ Setter method for police_remark_profile, mapped from YANG variable /police_remark_profile (list) If this variable is read-only (config: false) in the source YANG file, then _set_police_remark_profile is considered as a private method. Backends...
python
def _set_police_remark_profile(self, v, load=False): """ Setter method for police_remark_profile, mapped from YANG variable /police_remark_profile (list) If this variable is read-only (config: false) in the source YANG file, then _set_police_remark_profile is considered as a private method. Backends...
[ "def", "_set_police_remark_profile", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ...
Setter method for police_remark_profile, mapped from YANG variable /police_remark_profile (list) If this variable is read-only (config: false) in the source YANG file, then _set_police_remark_profile is considered as a private method. Backends looking to populate this variable should do so via calling t...
[ "Setter", "method", "for", "police_remark_profile", "mapped", "from", "YANG", "variable", "/", "police_remark_profile", "(", "list", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "f...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L1264-L1285
train
Sets the police remark profile for a node.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_hardware._set_hardware
def _set_hardware(self, v, load=False): """ Setter method for hardware, mapped from YANG variable /hardware (container) If this variable is read-only (config: false) in the source YANG file, then _set_hardware is considered as a private method. Backends looking to populate this variable should d...
python
def _set_hardware(self, v, load=False): """ Setter method for hardware, mapped from YANG variable /hardware (container) If this variable is read-only (config: false) in the source YANG file, then _set_hardware is considered as a private method. Backends looking to populate this variable should d...
[ "def", "_set_hardware", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base"...
Setter method for hardware, mapped from YANG variable /hardware (container) If this variable is read-only (config: false) in the source YANG file, then _set_hardware is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_hardware() directly. ...
[ "Setter", "method", "for", "hardware", "mapped", "from", "YANG", "variable", "/", "hardware", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then", "_s...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L1603-L1628
train
Sets the value of hardware in the base base
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_zone._set_zoning
def _set_zoning(self, v, load=False): """ Setter method for zoning, mapped from YANG variable /zoning (container) If this variable is read-only (config: false) in the source YANG file, then _set_zoning is considered as a private method. Backends looking to populate this variable should do so via...
python
def _set_zoning(self, v, load=False): """ Setter method for zoning, mapped from YANG variable /zoning (container) If this variable is read-only (config: false) in the source YANG file, then _set_zoning is considered as a private method. Backends looking to populate this variable should do so via...
[ "def", "_set_zoning", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base", ...
Setter method for zoning, mapped from YANG variable /zoning (container) If this variable is read-only (config: false) in the source YANG file, then _set_zoning is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_zoning() directly.
[ "Setter", "method", "for", "zoning", "mapped", "from", "YANG", "variable", "/", "zoning", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then", "_set_z...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L1837-L1858
train
Sets the zoning property of the .
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_resource_monitor._set_resource_monitor
def _set_resource_monitor(self, v, load=False): """ Setter method for resource_monitor, mapped from YANG variable /resource_monitor (container) If this variable is read-only (config: false) in the source YANG file, then _set_resource_monitor is considered as a private method. Backends looking to pop...
python
def _set_resource_monitor(self, v, load=False): """ Setter method for resource_monitor, mapped from YANG variable /resource_monitor (container) If this variable is read-only (config: false) in the source YANG file, then _set_resource_monitor is considered as a private method. Backends looking to pop...
[ "def", "_set_resource_monitor", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", ...
Setter method for resource_monitor, mapped from YANG variable /resource_monitor (container) If this variable is read-only (config: false) in the source YANG file, then _set_resource_monitor is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._se...
[ "Setter", "method", "for", "resource_monitor", "mapped", "from", "YANG", "variable", "/", "resource_monitor", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file",...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L2255-L2276
train
Sets the resource monitor for the
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_ssm_operational._set_acl_state
def _set_acl_state(self, v, load=False): """ Setter method for acl_state, mapped from YANG variable /acl_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_acl_state is considered as a private method. Backends looking to populate this variable should ...
python
def _set_acl_state(self, v, load=False): """ Setter method for acl_state, mapped from YANG variable /acl_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_acl_state is considered as a private method. Backends looking to populate this variable should ...
[ "def", "_set_acl_state", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base...
Setter method for acl_state, mapped from YANG variable /acl_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_acl_state is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_acl_state() directl...
[ "Setter", "method", "for", "acl_state", "mapped", "from", "YANG", "variable", "/", "acl_state", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then", "...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L2942-L2965
train
Sets the state of the
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_ssm_operational._set_cpu_queue_info_state
def _set_cpu_queue_info_state(self, v, load=False): """ Setter method for cpu_queue_info_state, mapped from YANG variable /cpu_queue_info_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_cpu_queue_info_state is considered as a private method. Backend...
python
def _set_cpu_queue_info_state(self, v, load=False): """ Setter method for cpu_queue_info_state, mapped from YANG variable /cpu_queue_info_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_cpu_queue_info_state is considered as a private method. Backend...
[ "def", "_set_cpu_queue_info_state", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", "...
Setter method for cpu_queue_info_state, mapped from YANG variable /cpu_queue_info_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_cpu_queue_info_state is considered as a private method. Backends looking to populate this variable should do so via calling...
[ "Setter", "method", "for", "cpu_queue_info_state", "mapped", "from", "YANG", "variable", "/", "cpu_queue_info_state", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L2979-L3002
train
Sets the state of the CPU Queue info.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_ssm_operational._set_filter_info_state
def _set_filter_info_state(self, v, load=False): """ Setter method for filter_info_state, mapped from YANG variable /filter_info_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_filter_info_state is considered as a private method. Backends looking to...
python
def _set_filter_info_state(self, v, load=False): """ Setter method for filter_info_state, mapped from YANG variable /filter_info_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_filter_info_state is considered as a private method. Backends looking to...
[ "def", "_set_filter_info_state", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",",...
Setter method for filter_info_state, mapped from YANG variable /filter_info_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_filter_info_state is considered as a private method. Backends looking to populate this variable should do so via calling thisObj....
[ "Setter", "method", "for", "filter_info_state", "mapped", "from", "YANG", "variable", "/", "filter_info_state", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L3016-L3039
train
Sets the state of the filter - info - tree.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_ssm_operational._set_overlay_service_policy_brief_state
def _set_overlay_service_policy_brief_state(self, v, load=False): """ Setter method for overlay_service_policy_brief_state, mapped from YANG variable /overlay_service_policy_brief_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_overlay_service_policy_br...
python
def _set_overlay_service_policy_brief_state(self, v, load=False): """ Setter method for overlay_service_policy_brief_state, mapped from YANG variable /overlay_service_policy_brief_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_overlay_service_policy_br...
[ "def", "_set_overlay_service_policy_brief_state", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "...
Setter method for overlay_service_policy_brief_state, mapped from YANG variable /overlay_service_policy_brief_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_overlay_service_policy_brief_state is considered as a private method. Backends looking to populate ...
[ "Setter", "method", "for", "overlay_service_policy_brief_state", "mapped", "from", "YANG", "variable", "/", "overlay_service_policy_brief_state", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "t...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L3053-L3076
train
Sets the state of the overlay service policy to brief.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_ssm_operational._set_vxlan_stats_acl_state
def _set_vxlan_stats_acl_state(self, v, load=False): """ Setter method for vxlan_stats_acl_state, mapped from YANG variable /vxlan_stats_acl_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_vxlan_stats_acl_state is considered as a private method. Bac...
python
def _set_vxlan_stats_acl_state(self, v, load=False): """ Setter method for vxlan_stats_acl_state, mapped from YANG variable /vxlan_stats_acl_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_vxlan_stats_acl_state is considered as a private method. Bac...
[ "def", "_set_vxlan_stats_acl_state", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ...
Setter method for vxlan_stats_acl_state, mapped from YANG variable /vxlan_stats_acl_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_vxlan_stats_acl_state is considered as a private method. Backends looking to populate this variable should do so via call...
[ "Setter", "method", "for", "vxlan_stats_acl_state", "mapped", "from", "YANG", "variable", "/", "vxlan_stats_acl_state", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG",...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L3127-L3150
train
Sets the state of the VXLAN stats ACL.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_overlay_policy._set_overlay_class_map
def _set_overlay_class_map(self, v, load=False): """ Setter method for overlay_class_map, mapped from YANG variable /overlay_class_map (list) If this variable is read-only (config: false) in the source YANG file, then _set_overlay_class_map is considered as a private method. Backends looking to popu...
python
def _set_overlay_class_map(self, v, load=False): """ Setter method for overlay_class_map, mapped from YANG variable /overlay_class_map (list) If this variable is read-only (config: false) in the source YANG file, then _set_overlay_class_map is considered as a private method. Backends looking to popu...
[ "def", "_set_overlay_class_map", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",",...
Setter method for overlay_class_map, mapped from YANG variable /overlay_class_map (list) If this variable is read-only (config: false) in the source YANG file, then _set_overlay_class_map is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_...
[ "Setter", "method", "for", "overlay_class_map", "mapped", "from", "YANG", "variable", "/", "overlay_class_map", "(", "list", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L3676-L3700
train
Sets the overlay - class - map property of the base base.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_overlay_policy._set_overlay_policy_map
def _set_overlay_policy_map(self, v, load=False): """ Setter method for overlay_policy_map, mapped from YANG variable /overlay_policy_map (list) If this variable is read-only (config: false) in the source YANG file, then _set_overlay_policy_map is considered as a private method. Backends looking to ...
python
def _set_overlay_policy_map(self, v, load=False): """ Setter method for overlay_policy_map, mapped from YANG variable /overlay_policy_map (list) If this variable is read-only (config: false) in the source YANG file, then _set_overlay_policy_map is considered as a private method. Backends looking to ...
[ "def", "_set_overlay_policy_map", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ","...
Setter method for overlay_policy_map, mapped from YANG variable /overlay_policy_map (list) If this variable is read-only (config: false) in the source YANG file, then _set_overlay_policy_map is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._s...
[ "Setter", "method", "for", "overlay_policy_map", "mapped", "from", "YANG", "variable", "/", "overlay_policy_map", "(", "list", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L3714-L3737
train
Sets the policy map for the given overlay - policy - map
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_overlay_policy._set_overlay_transit
def _set_overlay_transit(self, v, load=False): """ Setter method for overlay_transit, mapped from YANG variable /overlay_transit (list) If this variable is read-only (config: false) in the source YANG file, then _set_overlay_transit is considered as a private method. Backends looking to populate thi...
python
def _set_overlay_transit(self, v, load=False): """ Setter method for overlay_transit, mapped from YANG variable /overlay_transit (list) If this variable is read-only (config: false) in the source YANG file, then _set_overlay_transit is considered as a private method. Backends looking to populate thi...
[ "def", "_set_overlay_transit", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", ...
Setter method for overlay_transit, mapped from YANG variable /overlay_transit (list) If this variable is read-only (config: false) in the source YANG file, then _set_overlay_transit is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_overla...
[ "Setter", "method", "for", "overlay_transit", "mapped", "from", "YANG", "variable", "/", "overlay_transit", "(", "list", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "the...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L3749-L3770
train
Set the overlay_transit variable.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_common_def._set_routing_system
def _set_routing_system(self, v, load=False): """ Setter method for routing_system, mapped from YANG variable /routing_system (container) If this variable is read-only (config: false) in the source YANG file, then _set_routing_system is considered as a private method. Backends looking to populate th...
python
def _set_routing_system(self, v, load=False): """ Setter method for routing_system, mapped from YANG variable /routing_system (container) If this variable is read-only (config: false) in the source YANG file, then _set_routing_system is considered as a private method. Backends looking to populate th...
[ "def", "_set_routing_system", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", ...
Setter method for routing_system, mapped from YANG variable /routing_system (container) If this variable is read-only (config: false) in the source YANG file, then _set_routing_system is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_rout...
[ "Setter", "method", "for", "routing_system", "mapped", "from", "YANG", "variable", "/", "routing_system", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L4082-L4103
train
Sets the routing system of the
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_pwm_operational._set_vc_peer_state
def _set_vc_peer_state(self, v, load=False): """ Setter method for vc_peer_state, mapped from YANG variable /vc_peer_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_vc_peer_state is considered as a private method. Backends looking to populate this v...
python
def _set_vc_peer_state(self, v, load=False): """ Setter method for vc_peer_state, mapped from YANG variable /vc_peer_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_vc_peer_state is considered as a private method. Backends looking to populate this v...
[ "def", "_set_vc_peer_state", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "...
Setter method for vc_peer_state, mapped from YANG variable /vc_peer_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_vc_peer_state is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_vc_peer...
[ "Setter", "method", "for", "vc_peer_state", "mapped", "from", "YANG", "variable", "/", "vc_peer_state", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "th...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L4337-L4360
train
Sets the state of the VC peer.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_openflow_operational._set_openflow_state
def _set_openflow_state(self, v, load=False): """ Setter method for openflow_state, mapped from YANG variable /openflow_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_openflow_state is considered as a private method. Backends looking to populate th...
python
def _set_openflow_state(self, v, load=False): """ Setter method for openflow_state, mapped from YANG variable /openflow_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_openflow_state is considered as a private method. Backends looking to populate th...
[ "def", "_set_openflow_state", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", ...
Setter method for openflow_state, mapped from YANG variable /openflow_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_openflow_state is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_open...
[ "Setter", "method", "for", "openflow_state", "mapped", "from", "YANG", "variable", "/", "openflow_state", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L4654-L4677
train
Sets the state of the openflow - tree.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_openflow_operational._set_queues_state
def _set_queues_state(self, v, load=False): """ Setter method for queues_state, mapped from YANG variable /queues_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_queues_state is considered as a private method. Backends looking to populate this varia...
python
def _set_queues_state(self, v, load=False): """ Setter method for queues_state, mapped from YANG variable /queues_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_queues_state is considered as a private method. Backends looking to populate this varia...
[ "def", "_set_queues_state", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "b...
Setter method for queues_state, mapped from YANG variable /queues_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_queues_state is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_queues_sta...
[ "Setter", "method", "for", "queues_state", "mapped", "from", "YANG", "variable", "/", "queues_state", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L4691-L4714
train
Sets the state of the Queues
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_mct_operational._set_mctd_client_state_state
def _set_mctd_client_state_state(self, v, load=False): """ Setter method for mctd_client_state_state, mapped from YANG variable /mctd_client_state_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_mctd_client_state_state is considered as a private met...
python
def _set_mctd_client_state_state(self, v, load=False): """ Setter method for mctd_client_state_state, mapped from YANG variable /mctd_client_state_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_mctd_client_state_state is considered as a private met...
[ "def", "_set_mctd_client_state_state", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ...
Setter method for mctd_client_state_state, mapped from YANG variable /mctd_client_state_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_mctd_client_state_state is considered as a private method. Backends looking to populate this variable should do so vi...
[ "Setter", "method", "for", "mctd_client_state_state", "mapped", "from", "YANG", "variable", "/", "mctd_client_state_state", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YA...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L4955-L4978
train
Sets the state of the MCTD client.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_ptp_operational._set_ptp_state
def _set_ptp_state(self, v, load=False): """ Setter method for ptp_state, mapped from YANG variable /ptp_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_ptp_state is considered as a private method. Backends looking to populate this variable should ...
python
def _set_ptp_state(self, v, load=False): """ Setter method for ptp_state, mapped from YANG variable /ptp_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_ptp_state is considered as a private method. Backends looking to populate this variable should ...
[ "def", "_set_ptp_state", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base...
Setter method for ptp_state, mapped from YANG variable /ptp_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_ptp_state is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_ptp_state() directl...
[ "Setter", "method", "for", "ptp_state", "mapped", "from", "YANG", "variable", "/", "ptp_state", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then", "...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L5473-L5496
train
Sets the state of the PTP state.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_span._set_monitor
def _set_monitor(self, v, load=False): """ Setter method for monitor, mapped from YANG variable /monitor (container) If this variable is read-only (config: false) in the source YANG file, then _set_monitor is considered as a private method. Backends looking to populate this variable should do so...
python
def _set_monitor(self, v, load=False): """ Setter method for monitor, mapped from YANG variable /monitor (container) If this variable is read-only (config: false) in the source YANG file, then _set_monitor is considered as a private method. Backends looking to populate this variable should do so...
[ "def", "_set_monitor", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base",...
Setter method for monitor, mapped from YANG variable /monitor (container) If this variable is read-only (config: false) in the source YANG file, then _set_monitor is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_monitor() directly.
[ "Setter", "method", "for", "monitor", "mapped", "from", "YANG", "variable", "/", "monitor", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then", "_set...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L5631-L5652
train
Sets the monitor property of the
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_mac_access_list._set_mac
def _set_mac(self, v, load=False): """ Setter method for mac, mapped from YANG variable /mac (container) If this variable is read-only (config: false) in the source YANG file, then _set_mac is considered as a private method. Backends looking to populate this variable should do so via calling thi...
python
def _set_mac(self, v, load=False): """ Setter method for mac, mapped from YANG variable /mac (container) If this variable is read-only (config: false) in the source YANG file, then _set_mac is considered as a private method. Backends looking to populate this variable should do so via calling thi...
[ "def", "_set_mac", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base", "...
Setter method for mac, mapped from YANG variable /mac (container) If this variable is read-only (config: false) in the source YANG file, then _set_mac is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_mac() directly.
[ "Setter", "method", "for", "mac", "mapped", "from", "YANG", "variable", "/", "mac", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then", "_set_mac", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L5777-L5798
train
Set the MAC address of the current node.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_terminal._set_terminal_cfg
def _set_terminal_cfg(self, v, load=False): """ Setter method for terminal_cfg, mapped from YANG variable /terminal_cfg (container) If this variable is read-only (config: false) in the source YANG file, then _set_terminal_cfg is considered as a private method. Backends looking to populate this varia...
python
def _set_terminal_cfg(self, v, load=False): """ Setter method for terminal_cfg, mapped from YANG variable /terminal_cfg (container) If this variable is read-only (config: false) in the source YANG file, then _set_terminal_cfg is considered as a private method. Backends looking to populate this varia...
[ "def", "_set_terminal_cfg", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "b...
Setter method for terminal_cfg, mapped from YANG variable /terminal_cfg (container) If this variable is read-only (config: false) in the source YANG file, then _set_terminal_cfg is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_terminal_c...
[ "Setter", "method", "for", "terminal_cfg", "mapped", "from", "YANG", "variable", "/", "terminal_cfg", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L5921-L5942
train
Sets the terminal_cfg variable.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_mpls_operational._set_mpls_state
def _set_mpls_state(self, v, load=False): """ Setter method for mpls_state, mapped from YANG variable /mpls_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_mpls_state is considered as a private method. Backends looking to populate this variable shou...
python
def _set_mpls_state(self, v, load=False): """ Setter method for mpls_state, mapped from YANG variable /mpls_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_mpls_state is considered as a private method. Backends looking to populate this variable shou...
[ "def", "_set_mpls_state", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "bas...
Setter method for mpls_state, mapped from YANG variable /mpls_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_mpls_state is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_mpls_state() dir...
[ "Setter", "method", "for", "mpls_state", "mapped", "from", "YANG", "variable", "/", "mpls_state", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L6912-L6935
train
Sets the state of the MPLS archive.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_sysdiag_operational._set_tm_state
def _set_tm_state(self, v, load=False): """ Setter method for tm_state, mapped from YANG variable /tm_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_tm_state is considered as a private method. Backends looking to populate this variable should d...
python
def _set_tm_state(self, v, load=False): """ Setter method for tm_state, mapped from YANG variable /tm_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_tm_state is considered as a private method. Backends looking to populate this variable should d...
[ "def", "_set_tm_state", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base"...
Setter method for tm_state, mapped from YANG variable /tm_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_tm_state is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_tm_state() directly. ...
[ "Setter", "method", "for", "tm_state", "mapped", "from", "YANG", "variable", "/", "tm_state", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then", "_s...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L7165-L7188
train
Sets the state of the
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_vrf._set_vrf
def _set_vrf(self, v, load=False): """ Setter method for vrf, mapped from YANG variable /vrf (list) If this variable is read-only (config: false) in the source YANG file, then _set_vrf is considered as a private method. Backends looking to populate this variable should do so via calling thisObj....
python
def _set_vrf(self, v, load=False): """ Setter method for vrf, mapped from YANG variable /vrf (list) If this variable is read-only (config: false) in the source YANG file, then _set_vrf is considered as a private method. Backends looking to populate this variable should do so via calling thisObj....
[ "def", "_set_vrf", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base", "...
Setter method for vrf, mapped from YANG variable /vrf (list) If this variable is read-only (config: false) in the source YANG file, then _set_vrf is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_vrf() directly.
[ "Setter", "method", "for", "vrf", "mapped", "from", "YANG", "variable", "/", "vrf", "(", "list", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then", "_set_vrf", "is"...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L7321-L7342
train
Set the vrf of the
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_fcoe._set_fcoe_fsb
def _set_fcoe_fsb(self, v, load=False): """ Setter method for fcoe_fsb, mapped from YANG variable /fcoe_fsb (container) If this variable is read-only (config: false) in the source YANG file, then _set_fcoe_fsb is considered as a private method. Backends looking to populate this variable should d...
python
def _set_fcoe_fsb(self, v, load=False): """ Setter method for fcoe_fsb, mapped from YANG variable /fcoe_fsb (container) If this variable is read-only (config: false) in the source YANG file, then _set_fcoe_fsb is considered as a private method. Backends looking to populate this variable should d...
[ "def", "_set_fcoe_fsb", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base"...
Setter method for fcoe_fsb, mapped from YANG variable /fcoe_fsb (container) If this variable is read-only (config: false) in the source YANG file, then _set_fcoe_fsb is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_fcoe_fsb() directly. ...
[ "Setter", "method", "for", "fcoe_fsb", "mapped", "from", "YANG", "variable", "/", "fcoe_fsb", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then", "_s...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L7808-L7831
train
Set the FIP_FSB variable for the sequence of FIP_FSBs.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_fcoe._set_fcoe
def _set_fcoe(self, v, load=False): """ Setter method for fcoe, mapped from YANG variable /fcoe (container) If this variable is read-only (config: false) in the source YANG file, then _set_fcoe is considered as a private method. Backends looking to populate this variable should do so via calling...
python
def _set_fcoe(self, v, load=False): """ Setter method for fcoe, mapped from YANG variable /fcoe (container) If this variable is read-only (config: false) in the source YANG file, then _set_fcoe is considered as a private method. Backends looking to populate this variable should do so via calling...
[ "def", "_set_fcoe", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base", ...
Setter method for fcoe, mapped from YANG variable /fcoe (container) If this variable is read-only (config: false) in the source YANG file, then _set_fcoe is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_fcoe() directly. YANG Descrip...
[ "Setter", "method", "for", "fcoe", "mapped", "from", "YANG", "variable", "/", "fcoe", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then", "_set_fcoe"...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L7846-L7870
train
Set the value of the FCOE map.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_vrrp._set_protocol_vrrp
def _set_protocol_vrrp(self, v, load=False): """ Setter method for protocol_vrrp, mapped from YANG variable /protocol_vrrp (container) If this variable is read-only (config: false) in the source YANG file, then _set_protocol_vrrp is considered as a private method. Backends looking to populate this v...
python
def _set_protocol_vrrp(self, v, load=False): """ Setter method for protocol_vrrp, mapped from YANG variable /protocol_vrrp (container) If this variable is read-only (config: false) in the source YANG file, then _set_protocol_vrrp is considered as a private method. Backends looking to populate this v...
[ "def", "_set_protocol_vrrp", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "...
Setter method for protocol_vrrp, mapped from YANG variable /protocol_vrrp (container) If this variable is read-only (config: false) in the source YANG file, then _set_protocol_vrrp is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_protoco...
[ "Setter", "method", "for", "protocol_vrrp", "mapped", "from", "YANG", "variable", "/", "protocol_vrrp", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "th...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L7968-L7991
train
Sets the protocol vrrp of the
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_acl_policy._set_acl_policy
def _set_acl_policy(self, v, load=False): """ Setter method for acl_policy, mapped from YANG variable /acl_policy (container) If this variable is read-only (config: false) in the source YANG file, then _set_acl_policy is considered as a private method. Backends looking to populate this variable shou...
python
def _set_acl_policy(self, v, load=False): """ Setter method for acl_policy, mapped from YANG variable /acl_policy (container) If this variable is read-only (config: false) in the source YANG file, then _set_acl_policy is considered as a private method. Backends looking to populate this variable shou...
[ "def", "_set_acl_policy", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "bas...
Setter method for acl_policy, mapped from YANG variable /acl_policy (container) If this variable is read-only (config: false) in the source YANG file, then _set_acl_policy is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_acl_policy() dir...
[ "Setter", "method", "for", "acl_policy", "mapped", "from", "YANG", "variable", "/", "acl_policy", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L8216-L8237
train
Sets the ACL policy for the
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_l2sys_operational._set_bd_mac_br_state
def _set_bd_mac_br_state(self, v, load=False): """ Setter method for bd_mac_br_state, mapped from YANG variable /bd_mac_br_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_bd_mac_br_state is considered as a private method. Backends looking to populat...
python
def _set_bd_mac_br_state(self, v, load=False): """ Setter method for bd_mac_br_state, mapped from YANG variable /bd_mac_br_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_bd_mac_br_state is considered as a private method. Backends looking to populat...
[ "def", "_set_bd_mac_br_state", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", ...
Setter method for bd_mac_br_state, mapped from YANG variable /bd_mac_br_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_bd_mac_br_state is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_b...
[ "Setter", "method", "for", "bd_mac_br_state", "mapped", "from", "YANG", "variable", "/", "bd_mac_br_state", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L8336-L8359
train
Sets the state of the MAC brief bridge.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_isis_operational._set_adj_neighbor_entries_state
def _set_adj_neighbor_entries_state(self, v, load=False): """ Setter method for adj_neighbor_entries_state, mapped from YANG variable /adj_neighbor_entries_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_adj_neighbor_entries_state is considered as a pri...
python
def _set_adj_neighbor_entries_state(self, v, load=False): """ Setter method for adj_neighbor_entries_state, mapped from YANG variable /adj_neighbor_entries_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_adj_neighbor_entries_state is considered as a pri...
[ "def", "_set_adj_neighbor_entries_state", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v...
Setter method for adj_neighbor_entries_state, mapped from YANG variable /adj_neighbor_entries_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_adj_neighbor_entries_state is considered as a private method. Backends looking to populate this variable should ...
[ "Setter", "method", "for", "adj_neighbor_entries_state", "mapped", "from", "YANG", "variable", "/", "adj_neighbor_entries_state", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source",...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L8630-L8653
train
Sets the state of the Adjacency Neighbor Entries to the given state.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_isis_operational._set_counts_state
def _set_counts_state(self, v, load=False): """ Setter method for counts_state, mapped from YANG variable /counts_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_counts_state is considered as a private method. Backends looking to populate this varia...
python
def _set_counts_state(self, v, load=False): """ Setter method for counts_state, mapped from YANG variable /counts_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_counts_state is considered as a private method. Backends looking to populate this varia...
[ "def", "_set_counts_state", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "b...
Setter method for counts_state, mapped from YANG variable /counts_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_counts_state is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_counts_sta...
[ "Setter", "method", "for", "counts_state", "mapped", "from", "YANG", "variable", "/", "counts_state", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L8667-L8690
train
Sets the counts state of the sequence.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_isis_operational._set_isis_state
def _set_isis_state(self, v, load=False): """ Setter method for isis_state, mapped from YANG variable /isis_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_isis_state is considered as a private method. Backends looking to populate this variable shou...
python
def _set_isis_state(self, v, load=False): """ Setter method for isis_state, mapped from YANG variable /isis_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_isis_state is considered as a private method. Backends looking to populate this variable shou...
[ "def", "_set_isis_state", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "bas...
Setter method for isis_state, mapped from YANG variable /isis_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_isis_state is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_isis_state() dir...
[ "Setter", "method", "for", "isis_state", "mapped", "from", "YANG", "variable", "/", "isis_state", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L8704-L8727
train
Sets the state of the isis - tree.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_isis_operational._set_traffic_state
def _set_traffic_state(self, v, load=False): """ Setter method for traffic_state, mapped from YANG variable /traffic_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_traffic_state is considered as a private method. Backends looking to populate this v...
python
def _set_traffic_state(self, v, load=False): """ Setter method for traffic_state, mapped from YANG variable /traffic_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_traffic_state is considered as a private method. Backends looking to populate this v...
[ "def", "_set_traffic_state", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "...
Setter method for traffic_state, mapped from YANG variable /traffic_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_traffic_state is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_traffic...
[ "Setter", "method", "for", "traffic_state", "mapped", "from", "YANG", "variable", "/", "traffic_state", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "th...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L8741-L8764
train
Sets the state of the IS - IS packet counts .
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_vcs._set_local_node
def _set_local_node(self, v, load=False): """ Setter method for local_node, mapped from YANG variable /local_node (container) If this variable is read-only (config: false) in the source YANG file, then _set_local_node is considered as a private method. Backends looking to populate this variable shou...
python
def _set_local_node(self, v, load=False): """ Setter method for local_node, mapped from YANG variable /local_node (container) If this variable is read-only (config: false) in the source YANG file, then _set_local_node is considered as a private method. Backends looking to populate this variable shou...
[ "def", "_set_local_node", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "bas...
Setter method for local_node, mapped from YANG variable /local_node (container) If this variable is read-only (config: false) in the source YANG file, then _set_local_node is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_local_node() dir...
[ "Setter", "method", "for", "local_node", "mapped", "from", "YANG", "variable", "/", "local_node", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L8986-L9007
train
Sets the local node of the
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_mct._set_cluster
def _set_cluster(self, v, load=False): """ Setter method for cluster, mapped from YANG variable /cluster (list) If this variable is read-only (config: false) in the source YANG file, then _set_cluster is considered as a private method. Backends looking to populate this variable should do so via ...
python
def _set_cluster(self, v, load=False): """ Setter method for cluster, mapped from YANG variable /cluster (list) If this variable is read-only (config: false) in the source YANG file, then _set_cluster is considered as a private method. Backends looking to populate this variable should do so via ...
[ "def", "_set_cluster", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base",...
Setter method for cluster, mapped from YANG variable /cluster (list) If this variable is read-only (config: false) in the source YANG file, then _set_cluster is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_cluster() directly.
[ "Setter", "method", "for", "cluster", "mapped", "from", "YANG", "variable", "/", "cluster", "(", "list", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then", "_set_clus...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L9745-L9766
train
Set the cluster property.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_ras._set_copy
def _set_copy(self, v, load=False): """ Setter method for copy, mapped from YANG variable /copy (container) If this variable is read-only (config: false) in the source YANG file, then _set_copy is considered as a private method. Backends looking to populate this variable should do so via calling...
python
def _set_copy(self, v, load=False): """ Setter method for copy, mapped from YANG variable /copy (container) If this variable is read-only (config: false) in the source YANG file, then _set_copy is considered as a private method. Backends looking to populate this variable should do so via calling...
[ "def", "_set_copy", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base", ...
Setter method for copy, mapped from YANG variable /copy (container) If this variable is read-only (config: false) in the source YANG file, then _set_copy is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_copy() directly.
[ "Setter", "method", "for", "copy", "mapped", "from", "YANG", "variable", "/", "copy", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then", "_set_copy"...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L9899-L9920
train
Sets the value of the property to v.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_ras._set_support
def _set_support(self, v, load=False): """ Setter method for support, mapped from YANG variable /support (container) If this variable is read-only (config: false) in the source YANG file, then _set_support is considered as a private method. Backends looking to populate this variable should do so...
python
def _set_support(self, v, load=False): """ Setter method for support, mapped from YANG variable /support (container) If this variable is read-only (config: false) in the source YANG file, then _set_support is considered as a private method. Backends looking to populate this variable should do so...
[ "def", "_set_support", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base",...
Setter method for support, mapped from YANG variable /support (container) If this variable is read-only (config: false) in the source YANG file, then _set_support is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_support() directly.
[ "Setter", "method", "for", "support", "mapped", "from", "YANG", "variable", "/", "support", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then", "_set...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L10031-L10052
train
Sets the support property of the
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_qos_mpls._set_qos_mpls
def _set_qos_mpls(self, v, load=False): """ Setter method for qos_mpls, mapped from YANG variable /qos_mpls (container) If this variable is read-only (config: false) in the source YANG file, then _set_qos_mpls is considered as a private method. Backends looking to populate this variable should d...
python
def _set_qos_mpls(self, v, load=False): """ Setter method for qos_mpls, mapped from YANG variable /qos_mpls (container) If this variable is read-only (config: false) in the source YANG file, then _set_qos_mpls is considered as a private method. Backends looking to populate this variable should d...
[ "def", "_set_qos_mpls", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base"...
Setter method for qos_mpls, mapped from YANG variable /qos_mpls (container) If this variable is read-only (config: false) in the source YANG file, then _set_qos_mpls is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_qos_mpls() directly.
[ "Setter", "method", "for", "qos_mpls", "mapped", "from", "YANG", "variable", "/", "qos_mpls", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then", "_s...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L10185-L10206
train
Sets the value of the QoS parameter in the base node.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_preprovision._set_preprovision
def _set_preprovision(self, v, load=False): """ Setter method for preprovision, mapped from YANG variable /preprovision (container) If this variable is read-only (config: false) in the source YANG file, then _set_preprovision is considered as a private method. Backends looking to populate this varia...
python
def _set_preprovision(self, v, load=False): """ Setter method for preprovision, mapped from YANG variable /preprovision (container) If this variable is read-only (config: false) in the source YANG file, then _set_preprovision is considered as a private method. Backends looking to populate this varia...
[ "def", "_set_preprovision", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "b...
Setter method for preprovision, mapped from YANG variable /preprovision (container) If this variable is read-only (config: false) in the source YANG file, then _set_preprovision is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_preprovisi...
[ "Setter", "method", "for", "preprovision", "mapped", "from", "YANG", "variable", "/", "preprovision", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L10317-L10340
train
Set the pre - provisioning property of the .
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_interface._set_global_mtu_conf
def _set_global_mtu_conf(self, v, load=False): """ Setter method for global_mtu_conf, mapped from YANG variable /global_mtu_conf (container) If this variable is read-only (config: false) in the source YANG file, then _set_global_mtu_conf is considered as a private method. Backends looking to populat...
python
def _set_global_mtu_conf(self, v, load=False): """ Setter method for global_mtu_conf, mapped from YANG variable /global_mtu_conf (container) If this variable is read-only (config: false) in the source YANG file, then _set_global_mtu_conf is considered as a private method. Backends looking to populat...
[ "def", "_set_global_mtu_conf", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", ...
Setter method for global_mtu_conf, mapped from YANG variable /global_mtu_conf (container) If this variable is read-only (config: false) in the source YANG file, then _set_global_mtu_conf is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_g...
[ "Setter", "method", "for", "global_mtu_conf", "mapped", "from", "YANG", "variable", "/", "global_mtu_conf", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L10584-L10605
train
Sets the global MTU configuration for the node.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_rbridge._set_rbridge_id
def _set_rbridge_id(self, v, load=False): """ Setter method for rbridge_id, mapped from YANG variable /rbridge_id (list) If this variable is read-only (config: false) in the source YANG file, then _set_rbridge_id is considered as a private method. Backends looking to populate this variable should ...
python
def _set_rbridge_id(self, v, load=False): """ Setter method for rbridge_id, mapped from YANG variable /rbridge_id (list) If this variable is read-only (config: false) in the source YANG file, then _set_rbridge_id is considered as a private method. Backends looking to populate this variable should ...
[ "def", "_set_rbridge_id", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "bas...
Setter method for rbridge_id, mapped from YANG variable /rbridge_id (list) If this variable is read-only (config: false) in the source YANG file, then _set_rbridge_id is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_rbridge_id() directly...
[ "Setter", "method", "for", "rbridge_id", "mapped", "from", "YANG", "variable", "/", "rbridge_id", "(", "list", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then", "_se...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L10820-L10841
train
Set the rbridge_id of the sequence.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_license._set_dpod
def _set_dpod(self, v, load=False): """ Setter method for dpod, mapped from YANG variable /dpod (container) If this variable is read-only (config: false) in the source YANG file, then _set_dpod is considered as a private method. Backends looking to populate this variable should do so via calling...
python
def _set_dpod(self, v, load=False): """ Setter method for dpod, mapped from YANG variable /dpod (container) If this variable is read-only (config: false) in the source YANG file, then _set_dpod is considered as a private method. Backends looking to populate this variable should do so via calling...
[ "def", "_set_dpod", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base", ...
Setter method for dpod, mapped from YANG variable /dpod (container) If this variable is read-only (config: false) in the source YANG file, then _set_dpod is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_dpod() directly.
[ "Setter", "method", "for", "dpod", "mapped", "from", "YANG", "variable", "/", "dpod", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then", "_set_dpod"...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L11067-L11088
train
Set the value of the dpod variable.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_vrrpv3._set_vrrp_rbridge_global
def _set_vrrp_rbridge_global(self, v, load=False): """ Setter method for vrrp_rbridge_global, mapped from YANG variable /vrrp_rbridge_global (container) If this variable is read-only (config: false) in the source YANG file, then _set_vrrp_rbridge_global is considered as a private method. Backends lo...
python
def _set_vrrp_rbridge_global(self, v, load=False): """ Setter method for vrrp_rbridge_global, mapped from YANG variable /vrrp_rbridge_global (container) If this variable is read-only (config: false) in the source YANG file, then _set_vrrp_rbridge_global is considered as a private method. Backends lo...
[ "def", "_set_vrrp_rbridge_global", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",...
Setter method for vrrp_rbridge_global, mapped from YANG variable /vrrp_rbridge_global (container) If this variable is read-only (config: false) in the source YANG file, then _set_vrrp_rbridge_global is considered as a private method. Backends looking to populate this variable should do so via calling th...
[ "Setter", "method", "for", "vrrp_rbridge_global", "mapped", "from", "YANG", "variable", "/", "vrrp_rbridge_global", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L11198-L11219
train
Sets the value of the vrrp_rbridge_global variable.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_pw_profile._set_pw_profile
def _set_pw_profile(self, v, load=False): """ Setter method for pw_profile, mapped from YANG variable /pw_profile (list) If this variable is read-only (config: false) in the source YANG file, then _set_pw_profile is considered as a private method. Backends looking to populate this variable should ...
python
def _set_pw_profile(self, v, load=False): """ Setter method for pw_profile, mapped from YANG variable /pw_profile (list) If this variable is read-only (config: false) in the source YANG file, then _set_pw_profile is considered as a private method. Backends looking to populate this variable should ...
[ "def", "_set_pw_profile", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "bas...
Setter method for pw_profile, mapped from YANG variable /pw_profile (list) If this variable is read-only (config: false) in the source YANG file, then _set_pw_profile is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_pw_profile() directly...
[ "Setter", "method", "for", "pw_profile", "mapped", "from", "YANG", "variable", "/", "pw_profile", "(", "list", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then", "_se...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L11394-L11415
train
Set the pw - profile of a private
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_qos_cee._set_cee_map
def _set_cee_map(self, v, load=False): """ Setter method for cee_map, mapped from YANG variable /cee_map (list) If this variable is read-only (config: false) in the source YANG file, then _set_cee_map is considered as a private method. Backends looking to populate this variable should do so via ...
python
def _set_cee_map(self, v, load=False): """ Setter method for cee_map, mapped from YANG variable /cee_map (list) If this variable is read-only (config: false) in the source YANG file, then _set_cee_map is considered as a private method. Backends looking to populate this variable should do so via ...
[ "def", "_set_cee_map", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base",...
Setter method for cee_map, mapped from YANG variable /cee_map (list) If this variable is read-only (config: false) in the source YANG file, then _set_cee_map is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_cee_map() directly.
[ "Setter", "method", "for", "cee_map", "mapped", "from", "YANG", "variable", "/", "cee_map", "(", "list", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then", "_set_cee_...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L12030-L12051
train
Set the value of the cee_map variable.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_aaa._set_aaa_config
def _set_aaa_config(self, v, load=False): """ Setter method for aaa_config, mapped from YANG variable /aaa_config (container) If this variable is read-only (config: false) in the source YANG file, then _set_aaa_config is considered as a private method. Backends looking to populate this variable shou...
python
def _set_aaa_config(self, v, load=False): """ Setter method for aaa_config, mapped from YANG variable /aaa_config (container) If this variable is read-only (config: false) in the source YANG file, then _set_aaa_config is considered as a private method. Backends looking to populate this variable shou...
[ "def", "_set_aaa_config", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "bas...
Setter method for aaa_config, mapped from YANG variable /aaa_config (container) If this variable is read-only (config: false) in the source YANG file, then _set_aaa_config is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_aaa_config() dir...
[ "Setter", "method", "for", "aaa_config", "mapped", "from", "YANG", "variable", "/", "aaa_config", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L12215-L12236
train
Sets the value of the AAA_CONFIG variable.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_aaa._set_username
def _set_username(self, v, load=False): """ Setter method for username, mapped from YANG variable /username (list) If this variable is read-only (config: false) in the source YANG file, then _set_username is considered as a private method. Backends looking to populate this variable should do so ...
python
def _set_username(self, v, load=False): """ Setter method for username, mapped from YANG variable /username (list) If this variable is read-only (config: false) in the source YANG file, then _set_username is considered as a private method. Backends looking to populate this variable should do so ...
[ "def", "_set_username", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base"...
Setter method for username, mapped from YANG variable /username (list) If this variable is read-only (config: false) in the source YANG file, then _set_username is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_username() directly.
[ "Setter", "method", "for", "username", "mapped", "from", "YANG", "variable", "/", "username", "(", "list", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then", "_set_us...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L12248-L12269
train
Set the username of the
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_aaa._set_service
def _set_service(self, v, load=False): """ Setter method for service, mapped from YANG variable /service (container) If this variable is read-only (config: false) in the source YANG file, then _set_service is considered as a private method. Backends looking to populate this variable should do so...
python
def _set_service(self, v, load=False): """ Setter method for service, mapped from YANG variable /service (container) If this variable is read-only (config: false) in the source YANG file, then _set_service is considered as a private method. Backends looking to populate this variable should do so...
[ "def", "_set_service", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base",...
Setter method for service, mapped from YANG variable /service (container) If this variable is read-only (config: false) in the source YANG file, then _set_service is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_service() directly.
[ "Setter", "method", "for", "service", "mapped", "from", "YANG", "variable", "/", "service", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then", "_set...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L12281-L12302
train
Sets the service of the
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_sysmgr_operational._set_sfm_state
def _set_sfm_state(self, v, load=False): """ Setter method for sfm_state, mapped from YANG variable /sfm_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_sfm_state is considered as a private method. Backends looking to populate this variable should ...
python
def _set_sfm_state(self, v, load=False): """ Setter method for sfm_state, mapped from YANG variable /sfm_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_sfm_state is considered as a private method. Backends looking to populate this variable should ...
[ "def", "_set_sfm_state", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base...
Setter method for sfm_state, mapped from YANG variable /sfm_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_sfm_state is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_sfm_state() directl...
[ "Setter", "method", "for", "sfm_state", "mapped", "from", "YANG", "variable", "/", "sfm_state", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then", "...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L12720-L12743
train
Sets the state of the Sfm system.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_system_capabilities._set_capabilities
def _set_capabilities(self, v, load=False): """ Setter method for capabilities, mapped from YANG variable /capabilities (container) If this variable is read-only (config: false) in the source YANG file, then _set_capabilities is considered as a private method. Backends looking to populate this varia...
python
def _set_capabilities(self, v, load=False): """ Setter method for capabilities, mapped from YANG variable /capabilities (container) If this variable is read-only (config: false) in the source YANG file, then _set_capabilities is considered as a private method. Backends looking to populate this varia...
[ "def", "_set_capabilities", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "b...
Setter method for capabilities, mapped from YANG variable /capabilities (container) If this variable is read-only (config: false) in the source YANG file, then _set_capabilities is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_capabiliti...
[ "Setter", "method", "for", "capabilities", "mapped", "from", "YANG", "variable", "/", "capabilities", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L12853-L12874
train
Sets the capabilities of the
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_openflow._set_openflow_global
def _set_openflow_global(self, v, load=False): """ Setter method for openflow_global, mapped from YANG variable /openflow_global (container) If this variable is read-only (config: false) in the source YANG file, then _set_openflow_global is considered as a private method. Backends looking to populat...
python
def _set_openflow_global(self, v, load=False): """ Setter method for openflow_global, mapped from YANG variable /openflow_global (container) If this variable is read-only (config: false) in the source YANG file, then _set_openflow_global is considered as a private method. Backends looking to populat...
[ "def", "_set_openflow_global", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", ...
Setter method for openflow_global, mapped from YANG variable /openflow_global (container) If this variable is read-only (config: false) in the source YANG file, then _set_openflow_global is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_o...
[ "Setter", "method", "for", "openflow_global", "mapped", "from", "YANG", "variable", "/", "openflow_global", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L12976-L12997
train
Sets the openflow global variable.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_system_monitor._set_system_monitor_mail
def _set_system_monitor_mail(self, v, load=False): """ Setter method for system_monitor_mail, mapped from YANG variable /system_monitor_mail (container) If this variable is read-only (config: false) in the source YANG file, then _set_system_monitor_mail is considered as a private method. Backends lo...
python
def _set_system_monitor_mail(self, v, load=False): """ Setter method for system_monitor_mail, mapped from YANG variable /system_monitor_mail (container) If this variable is read-only (config: false) in the source YANG file, then _set_system_monitor_mail is considered as a private method. Backends lo...
[ "def", "_set_system_monitor_mail", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",...
Setter method for system_monitor_mail, mapped from YANG variable /system_monitor_mail (container) If this variable is read-only (config: false) in the source YANG file, then _set_system_monitor_mail is considered as a private method. Backends looking to populate this variable should do so via calling th...
[ "Setter", "method", "for", "system_monitor_mail", "mapped", "from", "YANG", "variable", "/", "system_monitor_mail", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L13142-L13163
train
Sets the system monitor mail.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_tpvm._set_tpvm
def _set_tpvm(self, v, load=False): """ Setter method for tpvm, mapped from YANG variable /tpvm (container) If this variable is read-only (config: false) in the source YANG file, then _set_tpvm is considered as a private method. Backends looking to populate this variable should do so via calling...
python
def _set_tpvm(self, v, load=False): """ Setter method for tpvm, mapped from YANG variable /tpvm (container) If this variable is read-only (config: false) in the source YANG file, then _set_tpvm is considered as a private method. Backends looking to populate this variable should do so via calling...
[ "def", "_set_tpvm", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base", ...
Setter method for tpvm, mapped from YANG variable /tpvm (container) If this variable is read-only (config: false) in the source YANG file, then _set_tpvm is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_tpvm() directly.
[ "Setter", "method", "for", "tpvm", "mapped", "from", "YANG", "variable", "/", "tpvm", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "then", "_set_tpvm"...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L13260-L13281
train
Set the value of the tpvm variable.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_qos_operational._set_dscp_exp_state
def _set_dscp_exp_state(self, v, load=False): """ Setter method for dscp_exp_state, mapped from YANG variable /dscp_exp_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_dscp_exp_state is considered as a private method. Backends looking to populate th...
python
def _set_dscp_exp_state(self, v, load=False): """ Setter method for dscp_exp_state, mapped from YANG variable /dscp_exp_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_dscp_exp_state is considered as a private method. Backends looking to populate th...
[ "def", "_set_dscp_exp_state", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", ...
Setter method for dscp_exp_state, mapped from YANG variable /dscp_exp_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_dscp_exp_state is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_dscp...
[ "Setter", "method", "for", "dscp_exp_state", "mapped", "from", "YANG", "variable", "/", "dscp_exp_state", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L13462-L13485
train
Sets the state of the dscp - exp - tree.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_qos_operational._set_exp_dscp_state
def _set_exp_dscp_state(self, v, load=False): """ Setter method for exp_dscp_state, mapped from YANG variable /exp_dscp_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_exp_dscp_state is considered as a private method. Backends looking to populate th...
python
def _set_exp_dscp_state(self, v, load=False): """ Setter method for exp_dscp_state, mapped from YANG variable /exp_dscp_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_exp_dscp_state is considered as a private method. Backends looking to populate th...
[ "def", "_set_exp_dscp_state", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", ...
Setter method for exp_dscp_state, mapped from YANG variable /exp_dscp_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_exp_dscp_state is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_exp_...
[ "Setter", "method", "for", "exp_dscp_state", "mapped", "from", "YANG", "variable", "/", "exp_dscp_state", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L13499-L13522
train
Sets the state of the exp - DSCP in the sequence.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_qos_operational._set_exp_traffic_class_state
def _set_exp_traffic_class_state(self, v, load=False): """ Setter method for exp_traffic_class_state, mapped from YANG variable /exp_traffic_class_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_exp_traffic_class_state is considered as a private met...
python
def _set_exp_traffic_class_state(self, v, load=False): """ Setter method for exp_traffic_class_state, mapped from YANG variable /exp_traffic_class_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_exp_traffic_class_state is considered as a private met...
[ "def", "_set_exp_traffic_class_state", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ...
Setter method for exp_traffic_class_state, mapped from YANG variable /exp_traffic_class_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_exp_traffic_class_state is considered as a private method. Backends looking to populate this variable should do so vi...
[ "Setter", "method", "for", "exp_traffic_class_state", "mapped", "from", "YANG", "variable", "/", "exp_traffic_class_state", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YA...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L13536-L13559
train
Sets the state of the exp - traffic - class.
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_qos_operational._set_traffic_class_exp_state
def _set_traffic_class_exp_state(self, v, load=False): """ Setter method for traffic_class_exp_state, mapped from YANG variable /traffic_class_exp_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_traffic_class_exp_state is considered as a private met...
python
def _set_traffic_class_exp_state(self, v, load=False): """ Setter method for traffic_class_exp_state, mapped from YANG variable /traffic_class_exp_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_traffic_class_exp_state is considered as a private met...
[ "def", "_set_traffic_class_exp_state", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ...
Setter method for traffic_class_exp_state, mapped from YANG variable /traffic_class_exp_state (container) If this variable is read-only (config: false) in the source YANG file, then _set_traffic_class_exp_state is considered as a private method. Backends looking to populate this variable should do so vi...
[ "Setter", "method", "for", "traffic_class_exp_state", "mapped", "from", "YANG", "variable", "/", "traffic_class_exp_state", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YA...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L13573-L13596
train
Sets the state of the traffic class exp
StackStorm/pybind
pybind/slxos/v17s_1_02/__init__.py
brocade_tunnels._set_overlay_gateway
def _set_overlay_gateway(self, v, load=False): """ Setter method for overlay_gateway, mapped from YANG variable /overlay_gateway (list) If this variable is read-only (config: false) in the source YANG file, then _set_overlay_gateway is considered as a private method. Backends looking to populate thi...
python
def _set_overlay_gateway(self, v, load=False): """ Setter method for overlay_gateway, mapped from YANG variable /overlay_gateway (list) If this variable is read-only (config: false) in the source YANG file, then _set_overlay_gateway is considered as a private method. Backends looking to populate thi...
[ "def", "_set_overlay_gateway", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", ...
Setter method for overlay_gateway, mapped from YANG variable /overlay_gateway (list) If this variable is read-only (config: false) in the source YANG file, then _set_overlay_gateway is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_overla...
[ "Setter", "method", "for", "overlay_gateway", "mapped", "from", "YANG", "variable", "/", "overlay_gateway", "(", "list", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "file", "the...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/__init__.py#L13767-L13788
train
Sets the overlay_gateway variable.