Lines Matching refs:conf_str

470         conf_str = kwargs["conf_str"]
472 xml_str = get_nc_config(module, conf_str)
480 conf_str = kwargs["conf_str"]
482 xml_str = set_nc_config(module, conf_str)
497 conf_str = CE_GET_BGP_ENABLE_HEADER + \
499 recv_xml = self.netconf_get_config(module=module, conf_str=conf_str)
520 conf_str = CE_GET_BGP_ENABLE_HEADER + \
523 module=module, conf_str=conf_str)
556 conf_str = CE_GET_BGP_ENABLE_HEADER + \
559 module=module, conf_str=conf_str)
588 conf_str = CE_GET_BGP_ENABLE_HEADER + \
590 recv_xml = self.netconf_get_config(module=module, conf_str=conf_str)
611 conf_str = CE_GET_BGP_ENABLE_HEADER + \
614 module=module, conf_str=conf_str)
643 conf_str = CE_GET_BGP_ENABLE_HEADER + \
645 recv_xml = self.netconf_get_config(module=module, conf_str=conf_str)
662 conf_str = CE_GET_BGP_ENABLE_HEADER + \
664 recv_xml = self.netconf_get_config(module=module, conf_str=conf_str)
681 conf_str = CE_GET_BGP_ENABLE_HEADER + \
683 recv_xml = self.netconf_get_config(module=module, conf_str=conf_str)
700 conf_str = CE_GET_BGP_ENABLE_HEADER + \
702 recv_xml = self.netconf_get_config(module=module, conf_str=conf_str)
719 conf_str = CE_GET_BGP_ENABLE_HEADER + \
721 recv_xml = self.netconf_get_config(module=module, conf_str=conf_str)
738 conf_str = CE_GET_BGP_ENABLE_HEADER + \
740 recv_xml = self.netconf_get_config(module=module, conf_str=conf_str)
768 conf_str = CE_GET_BGP_ENABLE_HEADER + \
771 module=module, conf_str=conf_str)
808 conf_str = CE_GET_BGP_ENABLE_HEADER + \
811 module=module, conf_str=conf_str)
848 conf_str = CE_GET_BGP_ENABLE_HEADER + \
851 module=module, conf_str=conf_str)
893 conf_str = CE_GET_BGP_INSTANCE_HEADER + \
895 recv_xml = self.netconf_get_config(module=module, conf_str=conf_str)
945 conf_str = CE_GET_BGP_INSTANCE_HEADER + "<vrfName>%s</vrfName>" % vrf_name + \
947 recv_xml = self.netconf_get_config(module=module, conf_str=conf_str)
981 conf_str = CE_GET_BGP_INSTANCE_HEADER + "<vrfName>%s</vrfName>" % vrf_name + \
983 recv_xml = self.netconf_get_config(module=module, conf_str=conf_str)
1011 conf_str = CE_GET_BGP_INSTANCE_HEADER + "<vrfName>%s</vrfName>" % vrf_name + \
1014 module=module, conf_str=conf_str)
1052 conf_str = CE_GET_BGP_INSTANCE_HEADER + "<vrfName>%s</vrfName>" % vrf_name + \
1055 module=module, conf_str=conf_str)
1093 conf_str = CE_GET_BGP_INSTANCE_HEADER + "<vrfName>%s</vrfName>" % vrf_name + \
1096 module=module, conf_str=conf_str)
1134 conf_str = CE_GET_BGP_INSTANCE_HEADER + "<vrfName>%s</vrfName>" % vrf_name + \
1137 module=module, conf_str=conf_str)
1173 conf_str = CE_GET_BGP_INSTANCE_HEADER + "<vrfName>%s</vrfName>" % vrf_name + \
1175 recv_xml = self.netconf_get_config(module=module, conf_str=conf_str)
1211 conf_str = CE_GET_BGP_INSTANCE_HEADER + "<vrfName>%s</vrfName>" % vrf_name + \
1213 recv_xml = self.netconf_get_config(module=module, conf_str=conf_str)
1250 conf_str = CE_GET_BGP_ENABLE
1252 xml_str = self.netconf_get_config(module=module, conf_str=conf_str)
1270 conf_str = CE_MERGE_BGP_ENABLE_HEADER
1275 conf_str += "<bgpEnable>true</bgpEnable>"
1277 conf_str += "<bgpEnable>false</bgpEnable>"
1281 conf_str += "<asNumber>%s</asNumber>" % as_number
1283 conf_str += CE_MERGE_BGP_ENABLE_TAIL
1285 recv_xml = self.netconf_set_config(module=module, conf_str=conf_str)
1303 conf_str = CE_MERGE_BGP_ENABLE_HEADER
1309 conf_str += "<gracefulRestart>%s</gracefulRestart>" % graceful_restart
1319 conf_str += "<timeWaitForRib>%s</timeWaitForRib>" % time_wait_for_rib
1326 conf_str += "<asPathLimit>%s</asPathLimit>" % as_path_limit
1333 conf_str += "<checkFirstAs>%s</checkFirstAs>" % check_first_as
1343 conf_str += "<confedIdNumber>%s</confedIdNumber>" % confed_id_number
1350 conf_str += "<confedNonstanded>%s</confedNonstanded>" % confed_nonstanded
1360 conf_str += "<bgpRidAutoSel>%s</bgpRidAutoSel>" % bgp_rid_auto_sel
1370 conf_str += "<keepAllRoutes>%s</keepAllRoutes>" % keep_all_routes
1380 conf_str += "<memoryLimit>%s</memoryLimit>" % memory_limit
1390 conf_str += "<grPeerReset>%s</grPeerReset>" % gr_peer_reset
1400 conf_str += "<isShutdown>%s</isShutdown>" % is_shutdown
1412 conf_str += "<suppressInterval>%s</suppressInterval>" % suppress_interval
1419 conf_str += "<holdInterval>%s</holdInterval>" % hold_interval
1422 conf_str += "<clearInterval>%s</clearInterval>" % clear_interval
1424 conf_str += CE_MERGE_BGP_ENABLE_TAIL
1426 recv_xml = self.netconf_set_config(module=module, conf_str=conf_str)
1437 conf_str = CE_MERGE_BGP_ENABLE_HEADER
1443 conf_str += "<gracefulRestart>%s</gracefulRestart>" % graceful_restart
1453 conf_str += "<timeWaitForRib>600</timeWaitForRib>"
1460 conf_str += "<asPathLimit>255</asPathLimit>"
1467 conf_str += "<checkFirstAs>%s</checkFirstAs>" % check_first_as
1478 conf_str += "<confedIdNumber></confedIdNumber>"
1485 conf_str += "<confedNonstanded>%s</confedNonstanded>" % confed_nonstanded
1495 conf_str += "<bgpRidAutoSel>%s</bgpRidAutoSel>" % bgp_rid_auto_sel
1505 conf_str += "<keepAllRoutes>%s</keepAllRoutes>" % keep_all_routes
1515 conf_str += "<memoryLimit>%s</memoryLimit>" % memory_limit
1525 conf_str += "<grPeerReset>%s</grPeerReset>" % gr_peer_reset
1535 conf_str += "<isShutdown>%s</isShutdown>" % is_shutdown
1547 conf_str += "<suppressInterval>60</suppressInterval>"
1553 conf_str += "<holdInterval>120</holdInterval>"
1556 conf_str += "<clearInterval>600</clearInterval>"
1558 conf_str += CE_MERGE_BGP_ENABLE_TAIL
1560 recv_xml = self.netconf_set_config(module=module, conf_str=conf_str)
1572 conf_str = CE_GET_BGP_CONFED_PEER_AS
1574 xml_str = self.netconf_get_config(module=module, conf_str=conf_str)
1594 conf_str = CE_MERGE_BGP_CONFED_PEER_AS % confed_peer_as_num
1596 recv_xml = self.netconf_set_config(module=module, conf_str=conf_str)
1613 conf_str = CE_CREATE_BGP_CONFED_PEER_AS % confed_peer_as_num
1615 recv_xml = self.netconf_set_config(module=module, conf_str=conf_str)
1632 conf_str = CE_DELETE_BGP_CONFED_PEER_AS % confed_peer_as_num
1634 recv_xml = self.netconf_set_config(module=module, conf_str=conf_str)
1649 conf_str = CE_GET_BGP_INSTANCE
1650 xml_str = self.netconf_get_config(module=module, conf_str=conf_str)
1668 conf_str = CE_MERGE_BGP_INSTANCE_HEADER
1671 conf_str += "<vrfName>%s</vrfName>" % vrf_name
1673 conf_str += CE_MERGE_BGP_INSTANCE_TAIL
1675 recv_xml = self.netconf_set_config(module=module, conf_str=conf_str)
1692 conf_str = CE_CREATE_BGP_INSTANCE_HEADER
1700 conf_str += "<vrfName>%s</vrfName>" % vrf_name
1702 conf_str += CE_CREATE_BGP_INSTANCE_TAIL
1704 recv_xml = self.netconf_set_config(module=module, conf_str=conf_str)
1719 conf_str = CE_DELETE_BGP_INSTANCE_HEADER
1723 conf_str += "<vrfName>%s</vrfName>" % vrf_name
1725 conf_str += CE_DELETE_BGP_INSTANCE_TAIL
1727 recv_xml = self.netconf_set_config(module=module, conf_str=conf_str)
1743 conf_str = CE_MERGE_BGP_INSTANCE_HEADER
1746 conf_str += "<vrfName>%s</vrfName>" % vrf_name
1752 conf_str += "<defaultAfType>%s</defaultAfType>" % default_af_type
1761 conf_str += "<vrfRidAutoSel>%s</vrfRidAutoSel>" % vrf_rid_auto_sel
1771 conf_str += "<routerId>%s</routerId>" % router_id
1778 conf_str += "<keepaliveTime>%s</keepaliveTime>" % keepalive_time
1785 conf_str += "<holdTime>%s</holdTime>" % hold_time
1792 conf_str += "<minHoldTime>%s</minHoldTime>" % min_hold_time
1799 conf_str += "<connRetryTime>%s</connRetryTime>" % conn_retry_time
1806 conf_str += "<ebgpIfSensitive>%s</ebgpIfSensitive>" % ebgp_if_sensitive
1814 conf_str += CE_MERGE_BGP_INSTANCE_TAIL
1816 recv_xml = self.netconf_set_config(module=module, conf_str=conf_str)
1827 conf_str = CE_DELETE_BGP_INSTANCE_HEADER
1830 conf_str += "<vrfName>%s</vrfName>" % vrf_name
1836 conf_str += "<routerId>%s</routerId>" % router_id
1843 conf_str += "<vrfRidAutoSel>%s</vrfRidAutoSel>" % vrf_rid_auto_sel
1850 conf_str += "<keepaliveTime>%s</keepaliveTime>" % keepalive_time
1857 conf_str += "<holdTime>%s</holdTime>" % hold_time
1864 conf_str += "<minHoldTime>%s</minHoldTime>" % min_hold_time
1871 conf_str += "<connRetryTime>%s</connRetryTime>" % conn_retry_time
1878 conf_str += "<ebgpIfSensitive>%s</ebgpIfSensitive>" % ebgp_if_sensitive
1885 conf_str += "<defaultAfType>%s</defaultAfType>" % default_af_type
1899 conf_str += CE_DELETE_BGP_INSTANCE_TAIL
1901 recv_xml = self.netconf_set_config(module=module, conf_str=conf_str)
1913 conf_str = CE_MERGE_BGP_INSTANCE_HEADER
1916 conf_str += "<vrfName>%s</vrfName>" % vrf_name
1922 conf_str += "<routerId></routerId>"
1929 conf_str += "<vrfRidAutoSel>%s</vrfRidAutoSel>" % "false"
1936 conf_str += "<keepaliveTime>%s</keepaliveTime>" % "60"
1943 conf_str += "<holdTime>%s</holdTime>" % "180"
1950 conf_str += "<minHoldTime>%s</minHoldTime>" % "0"
1957 conf_str += "<connRetryTime>%s</connRetryTime>" % "32"
1964 conf_str += "<ebgpIfSensitive>%s</ebgpIfSensitive>" % "true"
1971 conf_str += "<defaultAfType>%s</defaultAfType>" % "ipv4uni"
1985 conf_str += CE_MERGE_BGP_INSTANCE_TAIL
1987 recv_xml = self.netconf_set_config(module=module, conf_str=conf_str)