switchmng.routes package¶
Submodules¶
switchmng.routes.blueprint module¶
switchmng.routes.delete module¶
-
switchmng.routes.delete.delete_connector(resource_id)¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]- Parameters
resource_id (str) –
-
switchmng.routes.delete.delete_network_protocol(resource_id)¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]- Parameters
resource_id (str) –
-
switchmng.routes.delete.delete_port_model(switch_model_resource_id, port_model_resource_id)¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]- Parameters
switch_model_resource_id (str) –
port_model_resource_id (str) –
-
switchmng.routes.delete.delete_switch(resource_id)¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]- Parameters
resource_id (str) –
-
switchmng.routes.delete.delete_switch_model(resource_id)¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]- Parameters
resource_id (str) –
-
switchmng.routes.delete.delete_vlan(resource_id)¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]- Parameters
resource_id (str) –
switchmng.routes.errors module¶
-
switchmng.routes.errors.error_400(message=None)¶ JSON error handler for HTTP error 400
-
switchmng.routes.errors.error_401(message=None)¶ JSON error handler for HTTP error 401
-
switchmng.routes.errors.error_403(message=None)¶ JSON error handler for HTTP error 403
-
switchmng.routes.errors.error_404(message=None)¶ JSON error handler for HTTP error 404
-
switchmng.routes.errors.error_405(message=None)¶ JSON error handler for HTTP error 405
-
switchmng.routes.errors.error_406(message=None)¶ JSON error handler for HTTP error 406
-
switchmng.routes.errors.error_408(message=None)¶ JSON error handler for HTTP error 408
-
switchmng.routes.errors.error_409(message=None)¶ JSON error handler for HTTP error 409
-
switchmng.routes.errors.error_410(message=None)¶ JSON error handler for HTTP error 410
-
switchmng.routes.errors.error_411(message=None)¶ JSON error handler for HTTP error 411
-
switchmng.routes.errors.error_412(message=None)¶ JSON error handler for HTTP error 412
-
switchmng.routes.errors.error_413(message=None)¶ JSON error handler for HTTP error 413
-
switchmng.routes.errors.error_414(message=None)¶ JSON error handler for HTTP error 414
-
switchmng.routes.errors.error_415(message=None)¶ JSON error handler for HTTP error 415
-
switchmng.routes.errors.error_416(message=None)¶ JSON error handler for HTTP error 416
-
switchmng.routes.errors.error_417(message=None)¶ JSON error handler for HTTP error 417
-
switchmng.routes.errors.error_418(message=None)¶ JSON error handler for HTTP error 418
-
switchmng.routes.errors.error_428(message=None)¶ JSON error handler for HTTP error 428
-
switchmng.routes.errors.error_429(message=None)¶ JSON error handler for HTTP error 429
-
switchmng.routes.errors.error_431(message=None)¶ JSON error handler for HTTP error 431
-
switchmng.routes.errors.error_451(message=None)¶ JSON error handler for HTTP error 451
-
switchmng.routes.errors.error_500(message=None)¶ JSON error handler for HTTP error 500
-
switchmng.routes.errors.ierror_400(error)¶ Error handler for HTTP error 400
-
switchmng.routes.errors.ierror_401(error)¶ Error handler for HTTP error 401
-
switchmng.routes.errors.ierror_403(error)¶ Error handler for HTTP error 403
-
switchmng.routes.errors.ierror_404(error)¶ Error handler for HTTP error 404
-
switchmng.routes.errors.ierror_405(error)¶ Error handler for HTTP error 405
-
switchmng.routes.errors.ierror_406(error)¶ Error handler for HTTP error 406
-
switchmng.routes.errors.ierror_408(error)¶ Error handler for HTTP error 408
-
switchmng.routes.errors.ierror_409(error)¶ Error handler for HTTP error 409
-
switchmng.routes.errors.ierror_410(error)¶ Error handler for HTTP error 410
-
switchmng.routes.errors.ierror_411(error)¶ Error handler for HTTP error 411
-
switchmng.routes.errors.ierror_412(error)¶ Error handler for HTTP error 412
-
switchmng.routes.errors.ierror_413(error)¶ Error handler for HTTP error 413
-
switchmng.routes.errors.ierror_414(error)¶ Error handler for HTTP error 414
-
switchmng.routes.errors.ierror_415(error)¶ Error handler for HTTP error 415
-
switchmng.routes.errors.ierror_416(error)¶ Error handler for HTTP error 416
-
switchmng.routes.errors.ierror_417(error)¶ Error handler for HTTP error 417
-
switchmng.routes.errors.ierror_418(error)¶ Error handler for HTTP error 418
-
switchmng.routes.errors.ierror_428(error)¶ Error handler for HTTP error 428
-
switchmng.routes.errors.ierror_429(error)¶ Error handler for HTTP error 429
-
switchmng.routes.errors.ierror_431(error)¶ Error handler for HTTP error 431
-
switchmng.routes.errors.ierror_451(error)¶ Error handler for HTTP error 451
-
switchmng.routes.errors.ierror_500(error)¶ Error handler for HTTP error 500
-
switchmng.routes.errors.ierror_unknown(error)¶ Catch-all error handler
switchmng.routes.get module¶
-
switchmng.routes.get.get_connector(resource_id)¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]- Parameters
resource_id (str) –
-
switchmng.routes.get.get_connectors()¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]
-
switchmng.routes.get.get_network_protocol(resource_id)¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]- Parameters
resource_id (str) –
-
switchmng.routes.get.get_network_protocols()¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]
-
switchmng.routes.get.get_port(switch_resource_id, port_resource_id)¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]- Parameters
switch_resource_id (str) –
port_resource_id (str) –
-
switchmng.routes.get.get_port_model(switch_model_resource_id, port_model_resource_id)¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]- Parameters
switch_model_resource_id (str) –
port_model_resource_id (str) –
-
switchmng.routes.get.get_port_models(switch_model_resource_id)¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]- Parameters
switch_model_resource_id (str) –
-
switchmng.routes.get.get_ports(switch_resource_id)¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]- Parameters
switch_resource_id (str) –
-
switchmng.routes.get.get_switch(resource_id)¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]- Parameters
resource_id (str) –
-
switchmng.routes.get.get_switch_model(resource_id)¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]- Parameters
resource_id (str) –
-
switchmng.routes.get.get_switch_models()¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]
-
switchmng.routes.get.get_switches()¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]
-
switchmng.routes.get.get_vlan(resource_id)¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]- Parameters
resource_id (str) –
-
switchmng.routes.get.get_vlans()¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]
switchmng.routes.patch module¶
-
switchmng.routes.patch.patch_connector(resource_id)¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]- Parameters
resource_id (str) –
-
switchmng.routes.patch.patch_network_protocols(resource_id)¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]- Parameters
resource_id (str) –
-
switchmng.routes.patch.patch_port(switch_resource_id, port_resource_id)¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]- Parameters
switch_resource_id (str) –
port_resource_id (str) –
-
switchmng.routes.patch.patch_port_model(switch_model_resource_id, port_model_resource_id)¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]- Parameters
switch_model_resource_id (str) –
port_model_resource_id (str) –
-
switchmng.routes.patch.patch_switch(resource_id)¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]- Parameters
resource_id (str) –
-
switchmng.routes.patch.patch_switch_model(resource_id)¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]- Parameters
resource_id (str) –
-
switchmng.routes.patch.patch_vlan(resource_id)¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]- Parameters
resource_id (str) –
switchmng.routes.post module¶
-
switchmng.routes.post.post_connector()¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]
-
switchmng.routes.post.post_network_protocol()¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]
-
switchmng.routes.post.post_port_model(switch_model_resource_id)¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]- Parameters
switch_model_resource_id (str) –
-
switchmng.routes.post.post_switch()¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]
-
switchmng.routes.post.post_switch_model()¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]
-
switchmng.routes.post.post_vlan()¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]
switchmng.routes.put module¶
-
switchmng.routes.put.put_connector(resource_id)¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]- Parameters
resource_id (str) –
-
switchmng.routes.put.put_network_protocols(resource_id)¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]- Parameters
resource_id (str) –
-
switchmng.routes.put.put_port(switch_resource_id, port_resource_id)¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]- Parameters
switch_resource_id (str) –
port_resource_id (str) –
-
switchmng.routes.put.put_port_model(switch_model_resource_id, port_model_resource_id)¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]- Parameters
switch_model_resource_id (str) –
port_model_resource_id (str) –
-
switchmng.routes.put.put_switch(resource_id)¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]- Parameters
resource_id (str) –
-
switchmng.routes.put.put_switch_model(resource_id)¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]- Parameters
resource_id (str) –
-
switchmng.routes.put.put_vlan(resource_id)¶ - Return type
Tuple[Dict[str,Union[str,int,None,Dict[str,Any],List[Any],Dict[str,Union[str,int,None,Dict[str,Any],List[Any]]],List[Union[str,int,None,Dict[str,Any],List[Any]]]]],int]- Parameters
resource_id (str) –