networkmanager.idl

Go to the documentation of this file.
00001 // OSB library ************************************************ -*- IDL -*-
00006 /*
00007   AUTHOR(S): Huang Yong Feng (hyf)
00008 
00009   RCS information
00010    $Name: OSB_060808 $
00011    $Revision: 1.30.2.1 $
00012 
00013   License
00014    OSB rating and billing library for communication networks
00015    Copyright (C) 2004, 2005, 2006  OSB systems
00016 
00017    This file may be distributed and/or modify under the terms of the
00018    GNU General Public License (GPL) as published by the Free Software
00019    Foundation which is provided in the file LICENSE.GPL included in the
00020    packaging of this file.
00021 
00022    The file is distributed in the hope that it will be useful, but WITHOUT
00023    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00024    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00025    for more details.
00026 
00027    Holders of a OSB Commercial License may use this file under the terms
00028    and conditions of this commercial license.
00029  */
00030 
00031 #ifndef NETWORKMANAGER_IDL
00032 #define NETWORKMANAGER_IDL
00033 // ************************************************************************
00034 // included IDLs
00035 #include "network.idl"
00036 #include "inventorypool.idl"
00037 #include "resfwd.idl"
00038 #include "corba_utility.idl"
00039 
00040 // ************************************************************************
00041 // interface declarations
00042 module corba {
00043   module imgmt {
00044     interface DvcRsrcMgr;
00045   };
00046 };
00047 
00048 // ************************************************************************
00049 // module extensions
00050 module corba {
00051   module nwmgr {
00052 
00053     // forward declarations
00054     interface NetworkElementMgr;
00055     interface TrunkGroupMgr;
00056 
00070     interface NetworkManager
00071     {
00073         readonly attribute common::ServerInfo getServerInfo;
00081         void ping();
00082 
00084 
00085 
00095         nwmgr::nw::Network getNetwork(
00096             in nwmgr::nw::NetworkId id
00097         ) raises (common::OsbCorbaException);
00098 
00107         nwmgr::nw::NetworkSeq getNetworks()
00108             raises (common::OsbCorbaException);
00109 
00123         nwmgr::nw::Network creNetwork(
00124             in common::Utf8String name,
00125             in common::Utf8String desc,
00126             in nwmgr::TimeZoneId  tzId,
00127             in boolean            noWait
00128         ) raises (common::OsbCorbaException);
00129 
00141         void delNetwork(
00142             in nwmgr::nw::NetworkId id,
00143             in boolean              noWait
00144         ) raises (common::OsbCorbaException);
00146 
00148 
00149 
00156         imgmt::Pools inventoryPools(
00157             in boolean forceRead
00158         ) raises (common::OsbCorbaException);
00159 
00171         imgmt::PoolId savePool(
00172             inout imgmt::Pool pool,
00173             in    boolean     noWait
00174         ) raises (common::OsbCorbaException);
00176 
00178 
00179 
00186         imgmt::DvcRsrcMgr mkDvcRsrcMgr();
00188 
00190 
00191 
00192         res::TrunkResource getTr(
00193             in res::ResourceId id
00194         ) raises (common::OsbCorbaException);
00195 
00197         res::TrunkResourceSeq getTrs()
00198             raises (common::OsbCorbaException);
00199 
00201         res::TrunkResourceSeq getTrsOfNetwork(
00202             in nwmgr::nw::NetworkId id
00203         ) raises (common::OsbCorbaException);
00204 
00211         res::TrunkResourceWriter creNewTr(
00212             in common::Utf8String   rn,
00213             in nwmgr::nw::NetworkId nwId
00214         );
00215 
00217         void delTr(
00218             in res::ResourceId id,
00219             in boolean         noWait
00220         ) raises (common::OsbCorbaException);
00222 
00224 
00225 
00226         res::AccessNumber getAn(
00227             in res::ResourceId id
00228         ) raises (common::OsbCorbaException);
00229 
00231         res::AccessNumberSeq getAns()
00232             raises (common::OsbCorbaException);
00233 
00235         res::AccessNumberSeq getAnsOfNetwork(
00236             in nwmgr::nw::NetworkId id
00237         ) raises (common::OsbCorbaException);
00238 
00245         res::AccessNumberWriter creNewAn(
00246             in common::Utf8String   rn,
00247             in nwmgr::nw::NetworkId nwId
00248         );
00249 
00251         void delAn(
00252             in res::ResourceId id,
00253             in boolean         noWait
00254         ) raises (common::OsbCorbaException);
00256 
00258 
00259 
00260         res::E164Resource getE164(
00261             in res::ResourceId id
00262         ) raises (common::OsbCorbaException);
00263 
00276         res::E164ResourceSeq searchE164s(
00277             in res::ResourceStatus status,
00278             in common::Utf8String  pattern,
00279             in long                maxNum
00280         ) raises (common::OsbCorbaException);
00281 
00293         res::E164ResourceSeq createE164s(
00294             in nwmgr::nwe::NetworkElementId neId,
00295             in common::Utf8String           ccNdc,
00296             in common::Utf8String           first,
00297             in long                         qnty
00298         ) raises (common::OsbCorbaException);
00299 
00301         void delE164(
00302             in res::ResourceId id,
00303             in boolean         noWait
00304         ) raises (common::OsbCorbaException);
00306 
00308 
00309 
00317         tcat::cp::ConnectionPt getConnectionPt(
00318             in tcat::cp::ConnectionPtId cpId
00319         ) raises (common::OsbCorbaException);
00320 
00327         tcat::cp::ConnectionPtSeq getConnectionPts();
00329 
00330 
00332 
00333         TimeZone getTimeZone(
00334             in nwmgr::TimeZoneId id
00335         ) raises (common::OsbCorbaException);
00336 
00337         TimeZoneSeq getTimeZones()
00338             raises (common::OsbCorbaException);
00340 
00342 
00343 
00344         res::Ip4Address getIp4(
00345             in res::ResourceId id
00346         ) raises (common::OsbCorbaException);
00347 
00349         res::Ip4AddressSeq getIp4s()
00350             raises (common::OsbCorbaException);
00351 
00353         res::Ip4AddressSeq getIp4sOfNetwork(
00354             in nwmgr::nw::NetworkId id
00355         ) raises (common::OsbCorbaException);
00356 
00363         res::Ip4AddressWriter creNewIp4(
00364             in common::Utf8String   rn,
00365             in nwmgr::nw::NetworkId nwId
00366         );
00367 
00369         void delIp4(
00370             in res::ResourceId id,
00371             in boolean                noWait
00372         ) raises (common::OsbCorbaException);
00374 
00376 
00377 
00378         res::IpGroup getIpg(
00379             in res::ResourceId id
00380         ) raises (common::OsbCorbaException);
00381 
00383         res::IpGroupSeq getIpgs()
00384             raises (common::OsbCorbaException);
00385 
00387         res::IpGroupSeq getIpgsOfNetwork(
00388             in nwmgr::nw::NetworkId id
00389         ) raises (common::OsbCorbaException);
00390 
00397         res::IpGroupWriter creNewIpg(
00398             in common::Utf8String   rn,
00399             in nwmgr::nw::NetworkId nwId
00400         );
00401 
00403         void delIpg(
00404             in res::ResourceId id,
00405             in boolean         noWait
00406         ) raises (common::OsbCorbaException);
00408 
00410         NetworkElementMgr getNetworkElementMgr();
00411 
00413         TrunkGroupMgr getTrunkGroupMgr();
00414 
00415     };                              // interface NetworkManager
00416 
00423     interface NetworkElementMgr
00424     {
00434         nwmgr::nwe::NetworkElementWriter creNewElement(
00435             in nwmgr::nw::NetworkId id
00436         ) raises (common::OsbCorbaException);
00437 
00439         //void addElement(
00440         //    in nwe::NetworkElementWriter writer
00441         //) raises (common::OsbCorbaException);
00442 
00452         void delElement(
00453             in nwmgr::nwe::NetworkElementId id,
00454             in boolean                      noWait
00455         ) raises (common::OsbCorbaException);
00456 
00457     };                              // interface NetworkElementMgr
00458 
00465     interface TrunkGroupMgr
00466     {
00476         nwmgr::trk::TrunkGroup getTrkGroup(
00477             in nwmgr::trk::TrunkGroupId id
00478         ) raises (common::OsbCorbaException);
00479 
00490         nwmgr::trk::TrunkGroupWriter creNewTrkGroup(
00491             in nwmgr::nwe::NetworkElementId id
00492         ) raises (common::OsbCorbaException);
00493 
00495         //void addTrkGroup(
00496         //    in trk::TrunkGroupWriter writer
00497         //) raises (common::OsbCorbaException);
00498 
00510         void delTrkGroup(
00511             in nwmgr::nwe::NetworkElementId eid,
00512             in nwmgr::trk::TrunkGroupId     tid,
00513             in boolean                      noWait
00514         ) raises (common::OsbCorbaException);
00515 
00516       };                                // interface TrunkGroupMgr
00517   };                                    // module nwmgr
00518 };                                      // module corba
00519 #endif                                  // NERWORKMANAGER_IDL

Generated on Sat Sep 2 14:23:00 2006 for OSB Library by  doxygen 1.4.7