Searched refs:datastore (Results 1 - 23 of 23) sorted by relevance

/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sadm/dhcpmgr/com/sun/dhcpmgr/bridge/
H A DBridge.java46 public native Macro getMacro(String key, DhcpDatastore datastore) argument
48 public native Option getOption(String key, DhcpDatastore datastore) argument
51 DhcpDatastore datastore) throws BridgeException;
53 DhcptabRecord newRecord, DhcpDatastore datastore)
56 DhcpDatastore datastore) throws BridgeException;
57 public native void cvtDhcptab(DhcpDatastore datastore) argument
61 public native Option [] getOptions(DhcpDatastore datastore) argument
63 public native Macro [] getMacros(DhcpDatastore datastore) argument
65 public native Network [] getNetworks(DhcpDatastore datastore) argument
70 DhcpDatastore datastore) throw
50 createDhcptabRecord(DhcptabRecord rec, DhcpDatastore datastore) argument
52 modifyDhcptabRecord(DhcptabRecord oldRecord, DhcptabRecord newRecord, DhcpDatastore datastore) argument
55 deleteDhcptabRecord(DhcptabRecord rec, DhcpDatastore datastore) argument
69 cvtNetwork(String table, DhcpDatastore datastore) argument
71 loadNetwork(String table, DhcpDatastore datastore) argument
73 createDhcpClientRecord(DhcpClientRecord rec, String table, DhcpDatastore datastore) argument
75 modifyDhcpClientRecord(DhcpClientRecord oldRecord, DhcpClientRecord newRecord, String table, DhcpDatastore datastore) argument
78 deleteDhcpClientRecord(DhcpClientRecord rec, String table, DhcpDatastore datastore) argument
80 getDhcpClientRecord(DhcpClientRecord rec, String table, DhcpDatastore datastore) argument
97 createDhcptab(DhcpDatastore datastore) argument
99 deleteDhcptab(DhcpDatastore datastore) argument
101 createDhcpNetwork(String net, DhcpDatastore datastore) argument
103 deleteDhcpNetwork(String net, DhcpDatastore datastore) argument
105 makeLocation(DhcpDatastore datastore) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sadm/dhcpmgr/com/sun/dhcpmgr/server/
H A DDhcptabMgr.java39 public Option [] getOptions(DhcpDatastore datastore) argument
43 public Macro [] getMacros(DhcpDatastore datastore) argument
47 public Macro getMacro(String key, DhcpDatastore datastore) argument
51 public Option getOption(String key, DhcpDatastore datastore) argument
56 DhcpDatastore datastore) throws BridgeException;
60 boolean signalServer, DhcpDatastore datastore)
65 DhcpDatastore datastore) throws BridgeException;
72 public void cvtDhcptab(DhcpDatastore datastore) argument
74 public void createDhcptab(DhcpDatastore datastore) argument
78 public void deleteDhcptab(DhcpDatastore datastore) argument
55 createRecord(DhcptabRecord rec, boolean signalServer, DhcpDatastore datastore) argument
59 modifyRecord(DhcptabRecord oldRec, DhcptabRecord newRec, boolean signalServer, DhcpDatastore datastore) argument
64 deleteRecord(DhcptabRecord rec, boolean signalServer, DhcpDatastore datastore) argument
84 createLocaleMacro(DhcpDatastore datastore) argument
89 createServerMacro(String svrName, InetAddress svrAddress, int leaseLength, boolean leaseNegotiable, String dnsDomain, Vector dnsServs, DhcpDatastore datastore) argument
96 createNetworkMacro(Network network, IPAddress [] routers, boolean isLan, String nisDomain, Vector nisServs, DhcpDatastore datastore) argument
[all...]
H A DDhcpNetMgr.java40 public Network [] getNetworks(DhcpDatastore datastore) argument
45 DhcpDatastore datastore) throws BridgeException;
55 DhcpDatastore datastore) throws BridgeException;
57 DhcpDatastore datastore) throws BridgeException;
61 boolean deleteHosts, DhcpDatastore datastore)
66 DhcpDatastore datastore) throws BridgeException;
68 DhcpDatastore datastore) throws BridgeException;
70 DhcpDatastore datastore) throws BridgeException;
74 boolean deleteHosts, DhcpDatastore datastore)
44 loadNetwork(String network, DhcpDatastore datastore) argument
53 modifyClient(DhcpClientRecord oldClient, DhcpClientRecord newClient, String table, DhcpDatastore datastore) argument
56 addClient(DhcpClientRecord client, String table, DhcpDatastore datastore) argument
60 deleteClient(DhcpClientRecord client, String table, boolean deleteHosts, DhcpDatastore datastore) argument
65 getClient(DhcpClientRecord client, String table, DhcpDatastore datastore) argument
67 cvtNetwork(String network, DhcpDatastore datastore) argument
69 createNetwork(String network, DhcpDatastore datastore) argument
73 deleteNetwork(String network, boolean deleteMacro, boolean deleteHosts, DhcpDatastore datastore) argument
H A DDhcpNetMgrImpl.java67 public Network [] getNetworks(DhcpDatastore datastore) argument
69 return bridge.getNetworks(datastore);
85 * @param datastore user-supplied datastore attributes
89 DhcpDatastore datastore) throws BridgeException {
90 return bridge.loadNetwork(network, datastore);
128 * @param datastore user-supplied datastore attributes
131 DhcpClientRecord newClient, String table, DhcpDatastore datastore)
178 table, datastore);
88 loadNetwork(String network, DhcpDatastore datastore) argument
130 modifyClient(DhcpClientRecord oldClient, DhcpClientRecord newClient, String table, DhcpDatastore datastore) argument
199 addClient(DhcpClientRecord client, String table, DhcpDatastore datastore) argument
238 deleteClient(DhcpClientRecord client, String table, boolean deleteHosts, DhcpDatastore datastore) argument
262 getClient(DhcpClientRecord client, String table, DhcpDatastore datastore) argument
278 cvtNetwork(String network, DhcpDatastore datastore) argument
298 createNetwork(String network, DhcpDatastore datastore) argument
323 deleteNetwork(String network, boolean deleteMacro, boolean deleteHosts, DhcpDatastore datastore) argument
[all...]
H A DDhcptabMgrImpl.java69 * @param datastore user-supplied datastore attributes
72 public Option [] getOptions(DhcpDatastore datastore) argument
74 return bridge.getOptions(datastore);
87 * @param datastore user-supplied datastore attributes
90 public Macro [] getMacros(DhcpDatastore datastore) argument
98 optionsTable.add(bridge.getOptions(datastore));
99 return bridge.getMacros(datastore);
118 * @param datastore use
120 createRecord(DhcptabRecord rec, boolean signalServer, DhcpDatastore datastore) argument
148 modifyRecord(DhcptabRecord oldRec, DhcptabRecord newRec, boolean signalServer, DhcpDatastore datastore) argument
175 deleteRecord(DhcptabRecord rec, boolean signalServer, DhcpDatastore datastore) argument
297 getMacro(String key, DhcpDatastore datastore) argument
320 getOption(String key, DhcpDatastore datastore) argument
330 cvtDhcptab(DhcpDatastore datastore) argument
348 createDhcptab(DhcpDatastore datastore) argument
364 deleteDhcptab(DhcpDatastore datastore) argument
374 createLocaleMacro(DhcpDatastore datastore) argument
394 createServerMacro(String svrName, InetAddress svrAddress, int leaseLength, boolean leaseNegotiable, String dnsDomain, Vector dnsServs, DhcpDatastore datastore) argument
432 createNetworkMacro(Network network, IPAddress [] routers, boolean isLan, String nisDomain, Vector nisServs, DhcpDatastore datastore) argument
[all...]
H A DDhcpServiceMgr.java44 public void makeLocation(DhcpDatastore datastore) argument
H A DDhcpServiceMgrImpl.java76 public void makeLocation(DhcpDatastore datastore) argument
78 bridge.makeLocation(datastore);
225 * Check if the datastore version is current.
226 * @return true if the datastore version if current.
/opensolaris-onvv-gate/usr/src/pkg/manifests/
H A DSUNWdhcsb.mf29 depend fmri=pkg:/service/network/dhcp/datastore/binfiles@0.5.11,5.11-0.133 \
H A Dservice-network-dhcp-datastore-binfiles.mf27 value=pkg:/service/network/dhcp/datastore/binfiles@$(PKGVERS)
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sadm/dhcpmgr/lib/
H A Dnetwork.c405 dsvc_datastore_t datastore; local
417 if (!dd_make_datastore_t(env, &datastore, jdatastore)) {
423 rcode = list_dd(&datastore, DSVC_DHCPNETWORK, &list, &count);
425 dd_free_datastore_t(&datastore);
469 * Use the current datastore to create a network table in a new datastore.
599 dsvc_datastore_t datastore; local
618 if (!dd_make_datastore_t(env, &datastore, jdatastore)) {
626 dd_free_datastore_t(&datastore);
630 rcode = open_dd(&handle, &datastore, DSVC_DHCPNETWOR
700 dsvc_datastore_t datastore; local
770 dsvc_datastore_t datastore; local
854 dsvc_datastore_t datastore; local
927 dsvc_datastore_t datastore; local
1031 dsvc_datastore_t datastore; local
1077 dsvc_datastore_t datastore; local
[all...]
H A Ddhcptab.c304 dsvc_datastore_t datastore; local
318 if (!dd_make_datastore_t(env, &datastore, jdatastore)) {
326 dd_free_datastore_t(&datastore);
331 rcode = open_dd(&handle, &datastore, DSVC_DHCPTAB,
334 dd_free_datastore_t(&datastore);
371 * Use the current datastore to create a dhcptab table in a new datastore.
479 dsvc_datastore_t datastore; local
502 if (!dd_make_datastore_t(env, &datastore, jdatastore)) {
508 rcode = open_dd(&handle, &datastore, DSVC_DHCPTA
583 dsvc_datastore_t datastore; local
657 dsvc_datastore_t datastore; local
795 dsvc_datastore_t datastore; local
848 dsvc_datastore_t datastore; local
912 dsvc_datastore_t datastore; local
962 dsvc_datastore_t datastore; local
998 dsvc_datastore_t datastore; local
[all...]
H A Dservice.c68 * Determine whether an upgrade of the datastore is necessary.
76 dsvc_datastore_t datastore; local
83 if (dd_get_conf_datastore_t(env, &datastore)) {
84 cfgVersion = datastore.d_conver;
86 datastore.d_conver = DSVC_CUR_CONVER;
87 free(datastore.d_location);
88 datastore.d_location = NULL;
89 rcode = status_dd(&datastore);
93 curVersion = datastore.d_conver;
99 dd_free_datastore_t(&datastore);
120 dsvc_datastore_t datastore; local
175 dsvc_datastore_t datastore; local
534 dsvc_datastore_t datastore; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sadm/dhcpmgr/com/sun/dhcpmgr/cli/common/
H A DDhcpCliFunction.java65 private DhcpDatastore datastore = null; field in class:DhcpCliFunction
132 return datastore;
140 datastore = ds;
150 datastore = createDhcpDatastore(r, l, a);
177 DhcpDatastore datastore = null;
180 datastore = new DhcpDatastore(r, l, a, v);
183 return datastore;
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.lib/dsvclockd/
H A DMakefile30 OBJS = dsvclockd.o container.o datastore.o
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.lib/in.dhcpd/tests/
H A Dmkdstore.c30 * mkdstore: fast datastore creation program.
71 dsvc_datastore_t datastore; /* Datastore for container access */ variable
120 /* Load current datastore. */
122 if ((i = confopt_to_datastore(dsp, &datastore)) != DSVC_SUCCESS) {
123 (void) fprintf(stderr, "Invalid datastore: %s\n",
127 err = open_dd(&dh, &datastore, DSVC_DHCPNETWORK, network,
134 err = open_dd(&dh, &datastore, DSVC_DHCPNETWORK, network,
H A Dtest_dstore.c96 dsvc_datastore_t datastore; /* Datastore for container access */ variable
121 * Simulated binary datastore work
225 * Simulated datastore work
827 /* Load current datastore. */
829 if ((i = confopt_to_datastore(dsp, &datastore))
831 (void) fprintf(stderr, "Invalid datastore: %s\n",
839 err = open_dd(&dh[i], &datastore, DSVC_DHCPNETWORK, np,
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.lib/in.dhcpd/
H A DREADME.caching41 * Improve performance by reducing the frequency of datastore lookups.
54 handle to the underlying datastore, and a variety of caches which
81 retrieved from previous datastore lookups or from IP addresses that
90 unused records retrieved from a previous datastore lookup for
96 The concurrency between the datastore and cached records is handled by the
97 underlying datastore implementation using perimeters and is transparent to
100 the underlying datastore records.
131 To find a new record, the client thread first searches the datastore
137 repopulate them by performing datastore lookups. Finally, any
155 extending a lease, then the client thread does a datastore looku
[all...]
H A Ddhcptab.c151 err = open_dd(&dh, &datastore, DSVC_DHCPTAB, DT_DHCPTAB, DSVC_READ);
159 datastore.d_resource, datastore.d_location);
166 datastore.d_resource, datastore.d_location);
172 datastore.d_resource, datastore.d_location);
210 while ((err = open_dd(&dh, &datastore, DSVC_DHCPTAB, DT_DHCPTAB,
H A Dmain.c255 static dhcp_confopt_t *dsp; /* Confopt for datastore access */
256 dsvc_datastore_t datastore; /* Datastore for container access */ variable
378 /* Load current datastore, if any. */
381 if ((i = confopt_to_datastore(dsp, &datastore)) !=
384 "WARNING: Invalid datastore: %s\n"),
390 ns = status_dd(&datastore);
580 datastore.d_resource ?
581 datastore.d_resource : "");
583 datastore.d_location ?
584 datastore
[all...]
H A Ddhcpd.h153 extern dsvc_datastore_t datastore;
H A Dper_dnet.c61 static hash_tbl *ntable; /* global per net datastore table */
78 if (list_dd(&datastore, DSVC_DHCPNETWORK, &listppp, &cnt) ==
155 err = dhcp_open_dd(&pnd->dh, &datastore, DSVC_DHCPNETWORK, pnd->network,
165 /* Find out how many addresses the server owns in this datastore */
240 * unhash_dnet: Free a datastore reference.
314 /* Free cached datastore records. */
357 * dnet_cmp: Compare datastore references by network address.
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sadm/dhcpmgr/com/sun/dhcpmgr/data/
H A DDhcpdOptions.java244 * @param datastore a datastore object whose attributes
247 public void setDhcpDatastore(DhcpDatastore datastore) { argument
248 setResource(datastore.getResource());
249 setPath(datastore.getLocation());
250 setConfig(datastore.getConfig());
251 setResourceVersion(datastore.getVersion());
/opensolaris-onvv-gate/usr/src/lib/libdhcpsvc/private/
H A DREADME.synch31 access to locally-backed datastores (i.e., have their backing datastore on
33 the module author to synchronize access to the underlying datastore between
98 datastore) tuple are synchronized with respect to one another. One
125 is shared and accessible by all hosts which are accessing the datastore.
129 compatibility. We discourage use of this feature in future datastore

Completed in 102 milliseconds