Skip to content
Snippets Groups Projects
Commit c70cb7e3 authored by Henrik Thostrup Jensen's avatar Henrik Thostrup Jensen
Browse files

update schema with different state machines

parent 673507b4
No related branches found
No related tags found
No related merge requests found
-- OpenNSA SQL Schema (PostgreSQL) -- OpenNSA SQL Schema (PostgreSQL)
-- consider some generic key-value thing for future usage
CREATE TYPE label AS ( CREATE TYPE label AS (
label_type text, label_type text,
...@@ -12,8 +13,10 @@ CREATE TABLE connections ( ...@@ -12,8 +13,10 @@ CREATE TABLE connections (
revision integer NOT NULL, revision integer NOT NULL,
global_reservation_id text, global_reservation_id text,
description text, description text,
state text NOT NULL,
nsa text NOT NULL, nsa text NOT NULL,
reservation_state text NOT NULL,
provision_state text NOT NULL,
activation_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_labels label[], source_labels label[],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment