networkapi.plugins.Dell.FTOS.BGP.tests package

Submodules

networkapi.plugins.Dell.FTOS.BGP.tests.test_cli module

Copyright 2017 Globo.com

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

class networkapi.plugins.Dell.FTOS.BGP.tests.test_cli.CliPluginTestCaseSuccess(methodName='runTest')[source]

Bases: django.test.testcases.TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_copy_script_file_to_config()[source]
test_deploy_neighbor_v4()[source]
test_deploy_neighbor_v6()[source]
test_deploy_prefix_list()[source]
test_deploy_route_map()[source]
test_factory_bgp()[source]
test_factory_bgp_deploy_neighbor()[source]
test_factory_bgp_deploy_prefix_list()[source]
test_factory_bgp_deploy_route_map()[source]
test_factory_bgp_undeploy_neighbor()[source]
test_factory_bgp_undeploy_prefix_list()[source]
test_factory_bgp_undeploy_route_map()[source]
test_generate_template_dict_for_ipv4_neighbor()[source]
test_undeploy_neighbor_v4()[source]
test_undeploy_neighbor_v6()[source]
test_undeploy_prefix_list()[source]
test_undeploy_route_map()[source]
test_wait_string()[source]
test_wait_string_2_sleep()[source]
test_wait_string_sleep()[source]

networkapi.plugins.Dell.FTOS.BGP.tests.test_generic module

class networkapi.plugins.Dell.FTOS.BGP.tests.test_generic.GenericPluginTestCaseSuccess(methodName='runTest')[source]

Bases: django.test.testcases.TestCase

test_deploy_neighbor_with_error()[source]
test_deploy_neighbor_with_success()[source]
test_factory_bgp()[source]
test_factory_bgp_deploy_neighbor()[source]
test_generate_xml_from_dict_missing_remote_as()[source]
test_generate_xml_from_dict_missing_remote_ip()[source]
test_generate_xml_from_dict_with_maximum_hops_in_wrong_format()[source]
test_generate_xml_from_dict_with_next_hop_self_in_wrong_format()[source]
test_generate_xml_from_valid_dict()[source]
test_remote_ip_appears_as_a_last_in_generated_ordered_dict()[source]
test_treat_community_false()[source]
test_treat_community_true()[source]
test_treat_community_without_this_field()[source]
test_treat_soft_reconfiguration_false()[source]
test_treat_soft_reconfiguration_true()[source]
test_treat_soft_reconfiguration_without_this_field()[source]
test_undeploy_neighbor()[source]
test_validate_invalid_neighbors()[source]

Tests what happens when not valid Neighbors are passed as input.

Module contents