Class VlanManager
java.lang.Object
ru.bitel.bgbilling.modules.ipn.server.bean.VlanManager
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
createVlan
(int vid, int gateId, int cid) getFreeVlan
(int gateId, List<List<Integer>> rangeList) int
getUsedVlan
(int gateId, int vlanId) boolean
getVlan
(int gateId) int
getVlan
(int gateId, int cid) getVlanList
(int cid) void
removeVlan
(int vid, int gateId, int cid)
-
Field Details
-
mid
protected int mid -
con
-
-
Constructor Details
-
VlanManager
-
-
Method Details
-
getVlan
public int getVlan(int gateId, int cid) -
getVlan
public boolean getVlan(int gateId) -
getUsedVlan
public int getUsedVlan(int gateId, int vlanId) -
getVlanList
-
getFreeVlan
-
createVlan
public int createVlan(int vid, int gateId, int cid) -
removeVlan
public void removeVlan(int vid, int gateId, int cid)
-