Home
last modified time | relevance | path

Searched refs:getCfgOptionDef (Results 1 – 22 of 22) sorted by relevance

/dports/net/kea/kea-2.0.1/src/lib/dhcpsrv/tests/
H A Dclient_class_def_unittest.cc50 EXPECT_FALSE(cclass->getCfgOptionDef()); in TEST()
119 ASSERT_TRUE(cclass_copy->getCfgOptionDef()); in TEST()
120 EXPECT_NE(cclass_copy->getCfgOptionDef(), cclass->getCfgOptionDef()); in TEST()
121 EXPECT_TRUE(cclass_copy->getCfgOptionDef()->get("dhcp6", 1024)); in TEST()
619 EXPECT_FALSE(cclass->getCfgOptionDef()); in TEST()
H A Dcb_ctl_dhcp_unittest.cc539 auto found_def = srv_cfg->getCfgOptionDef()->get("isc", "one"); in testDatabaseConfigApply()
668 EXPECT_TRUE(srv_cfg->getCfgOptionDef()->get("isc", "two")); in testDatabaseConfigApplyDelete()
669 auto found_def = srv_cfg->getCfgOptionDef()->get("isc", "one"); in testDatabaseConfigApplyDelete()
1335 auto found_def = srv_cfg->getCfgOptionDef()->get("isc", "one"); in testDatabaseConfigApply()
1464 EXPECT_TRUE(srv_cfg->getCfgOptionDef()->get("isc", "two")); in testDatabaseConfigApplyDelete()
1465 auto found_def = srv_cfg->getCfgOptionDef()->get("isc", "one"); in testDatabaseConfigApplyDelete()
H A Dclient_class_def_parser_unittest.cc765 CfgOptionDefPtr cfg = cclass->getCfgOptionDef(); in TEST_F()
809 CfgOptionDefPtr cfg = cclass->getCfgOptionDef(); in TEST_F()
851 CfgOptionDefPtr cfg_def = cclass->getCfgOptionDef(); in TEST_F()
H A Ddhcp_parsers_unittest.cc243 CfgOptionDefPtr cfg_def = CfgMgr::instance().getStagingCfg()->getCfgOptionDef(); in parseElementSet()
538 cfg_option_def_(cfg->getCfgOptionDef()), in CfgOptionsTest()
632 CfgMgr::instance().getStagingCfg()->getCfgOptionDef()->get("isc", 100); in TEST_F()
678 CfgMgr::instance().getStagingCfg()->getCfgOptionDef()->get("isc", 100); in TEST_F()
715 CfgMgr::instance().getStagingCfg()->getCfgOptionDef()->get(DHCP6_OPTION_SPACE, 10000); in TEST_F()
H A Dsrv_config_unittest.cc331 conf1.getCfgOptionDef()->add(def); in TEST_F()
393 conf1.getCfgOptionDef()-> in TEST_F()
400 conf2.getCfgOptionDef()-> in TEST_F()
/dports/net/kea/kea-2.0.1/src/lib/dhcpsrv/
H A Dcb_ctl_dhcp4.cc100 cfg->getCfgOptionDef()->del((*entry)->getObjectId()); in databaseConfigApply()
179 external_cfg->getCfgOptionDef()->add(*option_def); in databaseConfigApply()
H A Dsrv_config.h272 CfgOptionDefPtr getCfgOptionDef() { in getCfgOptionDef() function
283 ConstCfgOptionDefPtr getCfgOptionDef() const { in getCfgOptionDef() function
H A Dcb_ctl_dhcp6.cc99 cfg->getCfgOptionDef()->del((*entry)->getObjectId()); in databaseConfigApply()
178 external_cfg->getCfgOptionDef()->add(*option_def); in databaseConfigApply()
H A Dclient_class_def.h108 const CfgOptionDefPtr& getCfgOptionDef() const;
H A Dclient_class_def.cc121 ClientClassDef::getCfgOptionDef() const { in getCfgOptionDef() function in isc::dhcp::ClientClassDef
H A Dsrv_config.cc183 cfg_option_def_->merge((*other_srv_config.getCfgOptionDef())); in merge()
/dports/net/kea/kea-2.0.1/src/bin/dhcp4/tests/
H A Dconfig_parser_unittest.cc2281 getCfgOptionDef()->get("isc", 100); in TEST_F()
2346 getCfgOptionDef()->get("isc", 100); in TEST_F()
2401 getCfgOptionDef()->get("isc", 100)); in TEST_F()
2403 getCfgOptionDef()->get("isc", 101)); in TEST_F()
2413 getCfgOptionDef()->get("isc", 100); in TEST_F()
2425 getCfgOptionDef()->get("isc", 101); in TEST_F()
2470 getCfgOptionDef()->get("isc", 100)); in TEST_F()
2517 getCfgOptionDef()->get("isc", 100); in TEST_F()
2528 getCfgOptionDef()->get("isc", 100); in TEST_F()
2560 getCfgOptionDef()->get("isc", 100); in TEST_F()
[all …]
H A Dconfig_backend_unittest.cc283 ConstCfgOptionDefPtr option_defs = staging_cfg->getCfgOptionDef(); in TEST_F()
/dports/net/kea/kea-2.0.1/src/bin/dhcp6/tests/
H A Dconfig_parser_unittest.cc2654 getCfgOptionDef()->get("isc", 100); in TEST_F()
2718 getCfgOptionDef()->get("isc", 100); in TEST_F()
2772 getCfgOptionDef()->get("isc", 100)); in TEST_F()
2774 getCfgOptionDef()->get("isc", 101)); in TEST_F()
2784 getCfgOptionDef()->get("isc", 100); in TEST_F()
2795 getCfgOptionDef()->get("isc", 101); in TEST_F()
2839 getCfgOptionDef()->get("isc", 100)); in TEST_F()
2886 getCfgOptionDef()->get("isc", 100); in TEST_F()
2927 getCfgOptionDef()->get("isc", 100); in TEST_F()
3152 getCfgOptionDef()->get(DHCP6_OPTION_SPACE, 100); in TEST_F()
[all …]
H A Dconfig_backend_unittest.cc275 ConstCfgOptionDefPtr option_defs = staging_cfg->getCfgOptionDef(); in TEST_F()
/dports/net/kea/kea-2.0.1/src/hooks/dhcp/mysql_cb/tests/
H A Dmysql_cb_dhcp4_unittest.cc4333 EXPECT_NO_THROW(class1->getCfgOptionDef()->add(test_option_defs_[0])); in TEST_F()
4334 EXPECT_NO_THROW(class1->getCfgOptionDef()->add(test_option_defs_[2])); in TEST_F()
4353 ASSERT_TRUE(client_class->getCfgOptionDef()); in TEST_F()
4354 …auto returned_def_foo = client_class->getCfgOptionDef()->get(test_option_defs_[0]->getOptionSpaceN… in TEST_F()
4364 …auto returned_def_fish = client_class->getCfgOptionDef()->get(test_option_defs_[2]->getOptionSpace… in TEST_F()
4378 EXPECT_NO_THROW(class1->getCfgOptionDef()->add(test_option_defs_[2])); in TEST_F()
4388 ASSERT_TRUE(client_class->getCfgOptionDef()); in TEST_F()
4389 …returned_def_foo = client_class->getCfgOptionDef()->get(test_option_defs_[0]->getOptionSpaceName(), in TEST_F()
4394 …returned_def_fish = client_class->getCfgOptionDef()->get(test_option_defs_[2]->getOptionSpaceName(… in TEST_F()
H A Dmysql_cb_dhcp6_unittest.cc4501 EXPECT_NO_THROW(class1->getCfgOptionDef()->add(test_option_defs_[0])); in TEST_F()
4502 EXPECT_NO_THROW(class1->getCfgOptionDef()->add(test_option_defs_[2])); in TEST_F()
4521 ASSERT_TRUE(client_class->getCfgOptionDef()); in TEST_F()
4522 …auto returned_def_foo = client_class->getCfgOptionDef()->get(test_option_defs_[0]->getOptionSpaceN… in TEST_F()
4533 …auto returned_def_fish = client_class->getCfgOptionDef()->get(test_option_defs_[2]->getOptionSpace… in TEST_F()
4547 EXPECT_NO_THROW(class1->getCfgOptionDef()->add(test_option_defs_[2])); in TEST_F()
4557 ASSERT_TRUE(client_class->getCfgOptionDef()); in TEST_F()
4558 …returned_def_foo = client_class->getCfgOptionDef()->get(test_option_defs_[0]->getOptionSpaceName(), in TEST_F()
4563 …returned_def_fish = client_class->getCfgOptionDef()->get(test_option_defs_[2]->getOptionSpaceName(… in TEST_F()
/dports/net/kea/kea-2.0.1/src/bin/dhcp4/
H A Djson_config_parser.cc405 CfgOptionDefPtr cfg_option_def = srv_cfg->getCfgOptionDef(); in configureDhcp4Server()
H A Ddhcp4_srv.cc3898 if (!ccdef->getCfgOptionDef()) { in run()
3901 def = ccdef->getCfgOptionDef()->get(DHCP4_OPTION_SPACE, code); in run()
/dports/net/kea/kea-2.0.1/src/bin/dhcp6/
H A Djson_config_parser.cc515 CfgOptionDefPtr cfg_option_def = srv_config->getCfgOptionDef(); in configureDhcp6Server()
/dports/net/kea/kea-2.0.1/src/hooks/dhcp/mysql_cb/
H A Dmysql_cb_dhcp4.cc2511 last_client_class->getCfgOptionDef()->add(def); in getClientClasses4()
2723 if (client_class->getCfgOptionDef()) { in createUpdateClientClass4()
2724 auto option_defs = client_class->getCfgOptionDef()->getContainer(); in createUpdateClientClass4()
H A Dmysql_cb_dhcp6.cc2943 last_client_class->getCfgOptionDef()->add(def); in getClientClasses6()
3154 if (client_class->getCfgOptionDef()) { in createUpdateClientClass6()
3155 auto option_defs = client_class->getCfgOptionDef()->getContainer(); in createUpdateClientClass6()