Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
opennsa3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michal Hažlinský
opennsa3
Commits
6d08df90
Commit
6d08df90
authored
11 years ago
by
Henrik Thostrup Jensen
Browse files
Options
Downloads
Patches
Plain Diff
update db schema for new nsi2 revision (combined with label overhaul)
parent
53ac0983
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
datafiles/schema.sql
+6
-7
6 additions, 7 deletions
datafiles/schema.sql
with
6 additions
and
7 deletions
datafiles/schema.sql
+
6
−
7
View file @
6d08df90
...
@@ -23,10 +23,10 @@ CREATE TABLE service_connections (
...
@@ -23,10 +23,10 @@ CREATE TABLE service_connections (
lifecycle_state
text
NOT
NULL
,
lifecycle_state
text
NOT
NULL
,
source_network
text
NOT
NULL
,
source_network
text
NOT
NULL
,
source_port
text
NOT
NULL
,
source_port
text
NOT
NULL
,
source_label
s
label
[]
,
source_label
label
,
dest_network
text
NOT
NULL
,
dest_network
text
NOT
NULL
,
dest_port
text
NOT
NULL
,
dest_port
text
NOT
NULL
,
dest_label
s
label
[]
,
dest_label
label
,
start_time
timestamp
NOT
NULL
,
start_time
timestamp
NOT
NULL
,
end_time
timestamp
NOT
NULL
,
end_time
timestamp
NOT
NULL
,
bandwidth
integer
NOT
NULL
-- mbps
bandwidth
integer
NOT
NULL
-- mbps
...
@@ -38,7 +38,6 @@ CREATE TABLE sub_connections (
...
@@ -38,7 +38,6 @@ CREATE TABLE sub_connections (
service_connection_id
integer
NOT
NULL
REFERENCES
service_connections
(
id
),
service_connection_id
integer
NOT
NULL
REFERENCES
service_connections
(
id
),
connection_id
text
NOT
NULL
,
connection_id
text
NOT
NULL
,
provider_nsa
text
NOT
NULL
,
provider_nsa
text
NOT
NULL
,
local_link
boolean
NOT
NULL
,
revision
integer
NOT
NULL
,
revision
integer
NOT
NULL
,
order_id
integer
NOT
NULL
,
order_id
integer
NOT
NULL
,
reservation_state
text
NOT
NULL
,
reservation_state
text
NOT
NULL
,
...
@@ -49,10 +48,10 @@ CREATE TABLE sub_connections (
...
@@ -49,10 +48,10 @@ CREATE TABLE sub_connections (
data_plane_consistent
boolean
,
data_plane_consistent
boolean
,
source_network
text
NOT
NULL
,
source_network
text
NOT
NULL
,
source_port
text
NOT
NULL
,
source_port
text
NOT
NULL
,
source_label
s
label
[]
,
source_label
label
,
dest_network
text
NOT
NULL
,
dest_network
text
NOT
NULL
,
dest_port
text
NOT
NULL
,
dest_port
text
NOT
NULL
,
dest_label
s
label
[]
,
dest_label
label
,
UNIQUE
(
provider_nsa
,
connection_id
)
UNIQUE
(
provider_nsa
,
connection_id
)
);
);
...
@@ -72,10 +71,10 @@ CREATE TABLE generic_backend_connections (
...
@@ -72,10 +71,10 @@ CREATE TABLE generic_backend_connections (
data_plane_active
boolean
NOT
NULL
,
data_plane_active
boolean
NOT
NULL
,
source_network
text
NOT
NULL
,
source_network
text
NOT
NULL
,
source_port
text
NOT
NULL
,
source_port
text
NOT
NULL
,
source_label
s
label
[]
,
source_label
label
,
dest_network
text
NOT
NULL
,
dest_network
text
NOT
NULL
,
dest_port
text
NOT
NULL
,
dest_port
text
NOT
NULL
,
dest_label
s
label
[]
,
dest_label
label
,
start_time
timestamp
NOT
NULL
,
start_time
timestamp
NOT
NULL
,
end_time
timestamp
NOT
NULL
,
end_time
timestamp
NOT
NULL
,
bandwidth
integer
NOT
NULL
-- mbps
bandwidth
integer
NOT
NULL
-- mbps
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment