AppendixB
Data Schema
StartTime
EndTime
AND
(StartDate <
WeekDay NOTNULL)
StartDate
EndDate
Cost
MaxUnits
MaxPercentage integer
MaxPercentage <=
);
CREATE TABLE IngressRouteAttributes_1 () INHERITS (RouteAttributes);
CREATE TABLE IngressRouteAttributes_2 () INHERITS (RouteAttributes);
CREATE TABLE EgressRouteAttributes (
QoS
ListKey integer
) INHERITS (RouteAttributes);
CREATE TABLE EgressRouteAttributes_1 () INHERITS
(EgressRouteAttributes);
CREATE TABLE EgressRouteAttributes_2 () INHERITS
(EgressRouteAttributes);
CHECK (Weekday >=0 AND Weekday <= 6),
time,
time
CONSTRAINT TimeRangeInvalid
CHECK (
(StartTime ISNULL AND EndTime ISNULL AND
lower(DaypartType) = 'always') OR
(StartTime NOTNULL AND EndTime NOTNULL
(StartTime < EndTime) OR
(
lower(DaypartType) = 'absolute' AND
EndDate) AND
(lower(DaypartType) != 'weekly' OR
)
)),
date,
date,
integer
CONSTRAINT CostInvalid
CHECK (Cost >= 1),
integer
CONSTRAINT MaxUnitsInvalid
CHECK (MaxUnits >= 0),
CONSTRAINT MaxPercentageInvalid
CHECK (MaxPercentage >= 1 AND
100)
integer
CONSTRAINT QoSInvalid
CHECK (QoS >= 1 and QoS <= 9),
Cisco Carrier Sensitive Routing User Guide
Dataset Schema
B-9