mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
integrate IPs with SessionS
This commit is contained in:
committed by
Dan Christian Bogos
parent
17f11d060b
commit
897d6f0da1
@@ -1336,6 +1336,7 @@ const (
|
||||
MetaGigawords = "*gigawords"
|
||||
CapAttributes = "Attributes"
|
||||
CapResourceAllocation = "ResourceAllocation"
|
||||
CapAllocatedIP = "AllocatedIP"
|
||||
CapMaxUsage = "MaxUsage"
|
||||
CapRoutes = "Routes"
|
||||
CapRouteProfiles = "RouteProfiles"
|
||||
|
||||
@@ -194,6 +194,10 @@ func NewErrResourceS(err error) error {
|
||||
return fmt.Errorf("RESOURCES_ERROR:%s", err)
|
||||
}
|
||||
|
||||
func NewErrIPs(err error) error {
|
||||
return fmt.Errorf("IPS_ERROR:%s", err)
|
||||
}
|
||||
|
||||
func NewErrRouteS(err error) error {
|
||||
return fmt.Errorf("ROUTES_ERROR:%s", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user