From 54020201d071a7b248aabc6b5e6cae5dcd8730fd Mon Sep 17 00:00:00 2001 From: Mark90 Date: Fri, 6 Feb 2026 12:33:29 +0100 Subject: [PATCH 1/7] Update netbox snapshot --- docker/postgresql/01-netbox.sql | 6711 ++++++++++++++++++++++--------- 1 file changed, 4840 insertions(+), 1871 deletions(-) diff --git a/docker/postgresql/01-netbox.sql b/docker/postgresql/01-netbox.sql index 5465ab0..5f9030a 100644 --- a/docker/postgresql/01-netbox.sql +++ b/docker/postgresql/01-netbox.sql @@ -2,7 +2,7 @@ -- PostgreSQL database dump -- --- Dumped from database version 17.5 +-- Dumped from database version 17.7 (Debian 17.7-3.pgdg12+1) -- Dumped by pg_dump version 17.5 SET statement_timeout = 0; @@ -40,6 +40,15 @@ SET xmloption = content; SET client_min_messages = warning; SET row_security = off; +-- +-- Name: natural_sort; Type: COLLATION; Schema: public; Owner: nwa +-- + +CREATE COLLATION public.natural_sort (provider = icu, locale = 'und-u-kn'); + + +ALTER COLLATION public.natural_sort OWNER TO nwa; + SET default_tablespace = ''; SET default_table_access_method = heap; @@ -147,6 +156,9 @@ CREATE TABLE public.circuits_circuit ( type_id bigint NOT NULL, termination_date date, provider_account_id bigint, + _abs_distance numeric(13,4), + distance numeric(8,2), + distance_unit character varying(50), CONSTRAINT circuits_circuit_commit_rate_check CHECK ((commit_rate >= 0)) ); @@ -167,6 +179,71 @@ ALTER TABLE public.circuits_circuit ALTER COLUMN id ADD GENERATED BY DEFAULT AS ); +-- +-- Name: circuits_circuitgroup; Type: TABLE; Schema: public; Owner: nwa +-- + +CREATE TABLE public.circuits_circuitgroup ( + id bigint NOT NULL, + created timestamp with time zone, + last_updated timestamp with time zone, + custom_field_data jsonb NOT NULL, + name character varying(100) NOT NULL, + slug character varying(100) NOT NULL, + description character varying(200) NOT NULL, + tenant_id bigint +); + + +ALTER TABLE public.circuits_circuitgroup OWNER TO nwa; + +-- +-- Name: circuits_circuitgroup_id_seq; Type: SEQUENCE; Schema: public; Owner: nwa +-- + +ALTER TABLE public.circuits_circuitgroup ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.circuits_circuitgroup_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: circuits_circuitgroupassignment; Type: TABLE; Schema: public; Owner: nwa +-- + +CREATE TABLE public.circuits_circuitgroupassignment ( + id bigint NOT NULL, + created timestamp with time zone, + last_updated timestamp with time zone, + custom_field_data jsonb NOT NULL, + priority character varying(50), + member_id bigint NOT NULL, + group_id bigint NOT NULL, + member_type_id integer NOT NULL, + CONSTRAINT circuits_circuitgroupassignment_member_id_0c42fe52_check CHECK ((member_id >= 0)) +); + + +ALTER TABLE public.circuits_circuitgroupassignment OWNER TO nwa; + +-- +-- Name: circuits_circuitgroupassignment_id_seq; Type: SEQUENCE; Schema: public; Owner: nwa +-- + +ALTER TABLE public.circuits_circuitgroupassignment ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.circuits_circuitgroupassignment_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + -- -- Name: circuits_circuittermination; Type: TABLE; Schema: public; Owner: nwa -- @@ -184,11 +261,17 @@ CREATE TABLE public.circuits_circuittermination ( description character varying(200) NOT NULL, cable_id bigint, circuit_id bigint NOT NULL, - provider_network_id bigint, - site_id bigint, + _provider_network_id bigint, custom_field_data jsonb NOT NULL, - cable_end character varying(1) NOT NULL, + cable_end character varying(1), + termination_id bigint, + termination_type_id integer, + _location_id bigint, + _region_id bigint, + _site_id bigint, + _site_group_id bigint, CONSTRAINT circuits_circuittermination_port_speed_check CHECK ((port_speed >= 0)), + CONSTRAINT circuits_circuittermination_termination_id_check CHECK ((termination_id >= 0)), CONSTRAINT circuits_circuittermination_upstream_speed_check CHECK ((upstream_speed >= 0)) ); @@ -250,7 +333,7 @@ CREATE TABLE public.circuits_provider ( last_updated timestamp with time zone, custom_field_data jsonb NOT NULL, id bigint NOT NULL, - name character varying(100) NOT NULL, + name character varying(100) NOT NULL COLLATE public.natural_sort, slug character varying(100) NOT NULL, comments text NOT NULL, description character varying(200) NOT NULL @@ -342,7 +425,7 @@ CREATE TABLE public.circuits_providernetwork ( last_updated timestamp with time zone, custom_field_data jsonb NOT NULL, id bigint NOT NULL, - name character varying(100) NOT NULL, + name character varying(100) NOT NULL COLLATE public.natural_sort, description character varying(200) NOT NULL, comments text NOT NULL, provider_id bigint NOT NULL, @@ -366,6 +449,106 @@ ALTER TABLE public.circuits_providernetwork ALTER COLUMN id ADD GENERATED BY DEF ); +-- +-- Name: circuits_virtualcircuit; Type: TABLE; Schema: public; Owner: nwa +-- + +CREATE TABLE public.circuits_virtualcircuit ( + id bigint NOT NULL, + created timestamp with time zone, + last_updated timestamp with time zone, + custom_field_data jsonb NOT NULL, + description character varying(200) NOT NULL, + comments text NOT NULL, + cid character varying(100) NOT NULL, + status character varying(50) NOT NULL, + provider_account_id bigint, + provider_network_id bigint NOT NULL, + type_id bigint NOT NULL, + tenant_id bigint +); + + +ALTER TABLE public.circuits_virtualcircuit OWNER TO nwa; + +-- +-- Name: circuits_virtualcircuit_id_seq; Type: SEQUENCE; Schema: public; Owner: nwa +-- + +ALTER TABLE public.circuits_virtualcircuit ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.circuits_virtualcircuit_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: circuits_virtualcircuittermination; Type: TABLE; Schema: public; Owner: nwa +-- + +CREATE TABLE public.circuits_virtualcircuittermination ( + id bigint NOT NULL, + created timestamp with time zone, + last_updated timestamp with time zone, + custom_field_data jsonb NOT NULL, + role character varying(50) NOT NULL, + description character varying(200) NOT NULL, + interface_id bigint NOT NULL, + virtual_circuit_id bigint NOT NULL +); + + +ALTER TABLE public.circuits_virtualcircuittermination OWNER TO nwa; + +-- +-- Name: circuits_virtualcircuittermination_id_seq; Type: SEQUENCE; Schema: public; Owner: nwa +-- + +ALTER TABLE public.circuits_virtualcircuittermination ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.circuits_virtualcircuittermination_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: circuits_virtualcircuittype; Type: TABLE; Schema: public; Owner: nwa +-- + +CREATE TABLE public.circuits_virtualcircuittype ( + id bigint NOT NULL, + created timestamp with time zone, + last_updated timestamp with time zone, + custom_field_data jsonb NOT NULL, + name character varying(100) NOT NULL, + slug character varying(100) NOT NULL, + description character varying(200) NOT NULL, + color character varying(6) NOT NULL +); + + +ALTER TABLE public.circuits_virtualcircuittype OWNER TO nwa; + +-- +-- Name: circuits_virtualcircuittype_id_seq; Type: SEQUENCE; Schema: public; Owner: nwa +-- + +ALTER TABLE public.circuits_virtualcircuittype ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.circuits_virtualcircuittype_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + -- -- Name: core_autosyncrecord; Type: TABLE; Schema: public; Owner: nwa -- @@ -460,7 +643,9 @@ CREATE TABLE public.core_datasource ( enabled boolean NOT NULL, ignore_rules text NOT NULL, parameters jsonb, - last_synced timestamp with time zone + last_synced timestamp with time zone, + sync_interval smallint, + CONSTRAINT core_datasource_sync_interval_check CHECK ((sync_interval >= 0)) ); @@ -496,9 +681,10 @@ CREATE TABLE public.core_job ( status character varying(30) NOT NULL, data jsonb, job_id uuid NOT NULL, - object_type_id integer NOT NULL, + object_type_id integer, user_id bigint, error text NOT NULL, + log_entries jsonb[] NOT NULL, CONSTRAINT core_job_interval_check CHECK (("interval" >= 0)), CONSTRAINT core_job_object_id_check CHECK ((object_id >= 0)) ); @@ -554,6 +740,59 @@ ALTER TABLE public.core_managedfile ALTER COLUMN id ADD GENERATED BY DEFAULT AS ); +-- +-- Name: core_objectchange; Type: TABLE; Schema: public; Owner: nwa +-- + +CREATE TABLE public.core_objectchange ( + id bigint NOT NULL, + "time" timestamp with time zone NOT NULL, + user_name character varying(150) NOT NULL, + request_id uuid NOT NULL, + action character varying(50) NOT NULL, + changed_object_id bigint NOT NULL, + related_object_id bigint, + object_repr character varying(200) NOT NULL, + prechange_data jsonb, + postchange_data jsonb, + changed_object_type_id integer NOT NULL, + related_object_type_id integer, + user_id bigint, + message character varying(200) NOT NULL, + CONSTRAINT core_objectchange_changed_object_id_check CHECK ((changed_object_id >= 0)), + CONSTRAINT core_objectchange_related_object_id_check CHECK ((related_object_id >= 0)) +); + + +ALTER TABLE public.core_objectchange OWNER TO nwa; + +-- +-- Name: core_objectchange_id_seq; Type: SEQUENCE; Schema: public; Owner: nwa +-- + +ALTER TABLE public.core_objectchange ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.core_objectchange_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: core_objecttype; Type: TABLE; Schema: public; Owner: nwa +-- + +CREATE TABLE public.core_objecttype ( + contenttype_ptr_id integer NOT NULL, + public boolean NOT NULL, + features character varying(50)[] NOT NULL +); + + +ALTER TABLE public.core_objecttype OWNER TO nwa; + -- -- Name: dcim_cable; Type: TABLE; Schema: public; Owner: nwa -- @@ -563,12 +802,12 @@ CREATE TABLE public.dcim_cable ( last_updated timestamp with time zone, custom_field_data jsonb NOT NULL, id bigint NOT NULL, - type character varying(50) NOT NULL, + type character varying(50), status character varying(50) NOT NULL, label character varying(100) NOT NULL, color character varying(6) NOT NULL, length numeric(8,2), - length_unit character varying(50) NOT NULL, + length_unit character varying(50), _abs_length numeric(10,4), tenant_id bigint, comments text NOT NULL, @@ -667,18 +906,20 @@ CREATE TABLE public.dcim_consoleport ( last_updated timestamp with time zone, custom_field_data jsonb NOT NULL, id bigint NOT NULL, - name character varying(64) NOT NULL, - _name character varying(100) NOT NULL, + name character varying(64) NOT NULL COLLATE public.natural_sort, label character varying(64) NOT NULL, description character varying(200) NOT NULL, mark_connected boolean NOT NULL, - type character varying(50) NOT NULL, + type character varying(50), speed integer, _path_id bigint, cable_id bigint, device_id bigint NOT NULL, module_id bigint, - cable_end character varying(1) NOT NULL, + cable_end character varying(1), + _location_id bigint, + _rack_id bigint, + _site_id bigint, CONSTRAINT dcim_consoleport_speed_check CHECK ((speed >= 0)) ); @@ -707,11 +948,10 @@ CREATE TABLE public.dcim_consoleporttemplate ( created timestamp with time zone, last_updated timestamp with time zone, id bigint NOT NULL, - name character varying(64) NOT NULL, - _name character varying(100) NOT NULL, + name character varying(64) NOT NULL COLLATE public.natural_sort, label character varying(64) NOT NULL, description character varying(200) NOT NULL, - type character varying(50) NOT NULL, + type character varying(50), device_type_id bigint, module_type_id bigint ); @@ -742,18 +982,20 @@ CREATE TABLE public.dcim_consoleserverport ( last_updated timestamp with time zone, custom_field_data jsonb NOT NULL, id bigint NOT NULL, - name character varying(64) NOT NULL, - _name character varying(100) NOT NULL, + name character varying(64) NOT NULL COLLATE public.natural_sort, label character varying(64) NOT NULL, description character varying(200) NOT NULL, mark_connected boolean NOT NULL, - type character varying(50) NOT NULL, + type character varying(50), speed integer, _path_id bigint, cable_id bigint, device_id bigint NOT NULL, module_id bigint, - cable_end character varying(1) NOT NULL, + cable_end character varying(1), + _location_id bigint, + _rack_id bigint, + _site_id bigint, CONSTRAINT dcim_consoleserverport_speed_check CHECK ((speed >= 0)) ); @@ -782,11 +1024,10 @@ CREATE TABLE public.dcim_consoleserverporttemplate ( created timestamp with time zone, last_updated timestamp with time zone, id bigint NOT NULL, - name character varying(64) NOT NULL, - _name character varying(100) NOT NULL, + name character varying(64) NOT NULL COLLATE public.natural_sort, label character varying(64) NOT NULL, description character varying(200) NOT NULL, - type character varying(50) NOT NULL, + type character varying(50), device_type_id bigint, module_type_id bigint ); @@ -818,12 +1059,11 @@ CREATE TABLE public.dcim_device ( custom_field_data jsonb NOT NULL, id bigint NOT NULL, local_context_data jsonb, - name character varying(64), - _name character varying(100), + name character varying(64) COLLATE public.natural_sort, serial character varying(50) NOT NULL, asset_tag character varying(50), "position" numeric(4,1), - face character varying(50) NOT NULL, + face character varying(50), status character varying(50) NOT NULL, vc_position integer, vc_priority smallint, @@ -839,7 +1079,7 @@ CREATE TABLE public.dcim_device ( site_id bigint NOT NULL, tenant_id bigint, virtual_chassis_id bigint, - airflow character varying(50) NOT NULL, + airflow character varying(50), description character varying(200) NOT NULL, config_template_id bigint, latitude numeric(8,6), @@ -885,12 +1125,14 @@ CREATE TABLE public.dcim_devicebay ( last_updated timestamp with time zone, custom_field_data jsonb NOT NULL, id bigint NOT NULL, - name character varying(64) NOT NULL, - _name character varying(100) NOT NULL, + name character varying(64) NOT NULL COLLATE public.natural_sort, label character varying(64) NOT NULL, description character varying(200) NOT NULL, device_id bigint NOT NULL, - installed_device_id bigint + installed_device_id bigint, + _location_id bigint, + _rack_id bigint, + _site_id bigint ); @@ -918,8 +1160,7 @@ CREATE TABLE public.dcim_devicebaytemplate ( created timestamp with time zone, last_updated timestamp with time zone, id bigint NOT NULL, - name character varying(64) NOT NULL, - _name character varying(100) NOT NULL, + name character varying(64) NOT NULL COLLATE public.natural_sort, label character varying(64) NOT NULL, description character varying(200) NOT NULL, device_type_id bigint NOT NULL @@ -956,7 +1197,17 @@ CREATE TABLE public.dcim_devicerole ( color character varying(6) NOT NULL, vm_role boolean NOT NULL, description character varying(200) NOT NULL, - config_template_id bigint + config_template_id bigint, + level integer NOT NULL, + lft integer NOT NULL, + rght integer NOT NULL, + tree_id integer NOT NULL, + parent_id bigint, + comments text NOT NULL, + CONSTRAINT dcim_devicerole_level_check CHECK ((level >= 0)), + CONSTRAINT dcim_devicerole_lft_check CHECK ((lft >= 0)), + CONSTRAINT dcim_devicerole_rght_check CHECK ((rght >= 0)), + CONSTRAINT dcim_devicerole_tree_id_check CHECK ((tree_id >= 0)) ); @@ -990,14 +1241,14 @@ CREATE TABLE public.dcim_devicetype ( part_number character varying(50) NOT NULL, u_height numeric(4,1) NOT NULL, is_full_depth boolean NOT NULL, - subdevice_role character varying(50) NOT NULL, + subdevice_role character varying(50), front_image character varying(100) NOT NULL, rear_image character varying(100) NOT NULL, comments text NOT NULL, manufacturer_id bigint NOT NULL, - airflow character varying(50) NOT NULL, + airflow character varying(50), weight numeric(8,2), - weight_unit character varying(50) NOT NULL, + weight_unit character varying(50), _abs_weight bigint, description character varying(200) NOT NULL, default_platform_id bigint, @@ -1041,8 +1292,7 @@ CREATE TABLE public.dcim_frontport ( last_updated timestamp with time zone, custom_field_data jsonb NOT NULL, id bigint NOT NULL, - name character varying(64) NOT NULL, - _name character varying(100) NOT NULL, + name character varying(64) NOT NULL COLLATE public.natural_sort, label character varying(64) NOT NULL, description character varying(200) NOT NULL, mark_connected boolean NOT NULL, @@ -1053,7 +1303,10 @@ CREATE TABLE public.dcim_frontport ( rear_port_id bigint NOT NULL, color character varying(6) NOT NULL, module_id bigint, - cable_end character varying(1) NOT NULL, + cable_end character varying(1), + _location_id bigint, + _rack_id bigint, + _site_id bigint, CONSTRAINT dcim_frontport_rear_port_position_check CHECK ((rear_port_position >= 0)) ); @@ -1082,8 +1335,7 @@ CREATE TABLE public.dcim_frontporttemplate ( created timestamp with time zone, last_updated timestamp with time zone, id bigint NOT NULL, - name character varying(64) NOT NULL, - _name character varying(100) NOT NULL, + name character varying(64) NOT NULL COLLATE public.natural_sort, label character varying(64) NOT NULL, description character varying(200) NOT NULL, type character varying(50) NOT NULL, @@ -1121,14 +1373,13 @@ CREATE TABLE public.dcim_interface ( last_updated timestamp with time zone, custom_field_data jsonb NOT NULL, id bigint NOT NULL, - name character varying(64) NOT NULL, + name character varying(64) NOT NULL COLLATE public.natural_sort, label character varying(64) NOT NULL, description character varying(200) NOT NULL, mark_connected boolean NOT NULL, enabled boolean NOT NULL, - mac_address macaddr, mtu integer, - mode character varying(50) NOT NULL, + mode character varying(50), _name character varying(100) NOT NULL, type character varying(50) NOT NULL, mgmt_only boolean NOT NULL, @@ -1140,8 +1391,8 @@ CREATE TABLE public.dcim_interface ( untagged_vlan_id bigint, wwn macaddr8, bridge_id bigint, - rf_role character varying(30) NOT NULL, - rf_channel character varying(50) NOT NULL, + rf_role character varying(30), + rf_channel character varying(50), rf_channel_frequency numeric(7,2), rf_channel_width numeric(7,3), tx_power smallint, @@ -1150,12 +1401,17 @@ CREATE TABLE public.dcim_interface ( vrf_id bigint, duplex character varying(50), speed integer, - poe_mode character varying(50) NOT NULL, - poe_type character varying(50) NOT NULL, - cable_end character varying(1) NOT NULL, + poe_mode character varying(50), + poe_type character varying(50), + cable_end character varying(1), + vlan_translation_policy_id bigint, + qinq_svlan_id bigint, + primary_mac_address_id bigint, + _location_id bigint, + _rack_id bigint, + _site_id bigint, CONSTRAINT dcim_interface_mtu_check CHECK ((mtu >= 0)), - CONSTRAINT dcim_interface_speed_check CHECK ((speed >= 0)), - CONSTRAINT dcim_interface_tx_power_check CHECK ((tx_power >= 0)) + CONSTRAINT dcim_interface_speed_check CHECK ((speed >= 0)) ); @@ -1264,7 +1520,7 @@ CREATE TABLE public.dcim_interfacetemplate ( created timestamp with time zone, last_updated timestamp with time zone, id bigint NOT NULL, - name character varying(64) NOT NULL, + name character varying(64) NOT NULL COLLATE public.natural_sort, label character varying(64) NOT NULL, description character varying(200) NOT NULL, _name character varying(100) NOT NULL, @@ -1272,11 +1528,11 @@ CREATE TABLE public.dcim_interfacetemplate ( mgmt_only boolean NOT NULL, device_type_id bigint, module_type_id bigint, - poe_mode character varying(50) NOT NULL, - poe_type character varying(50) NOT NULL, + poe_mode character varying(50), + poe_type character varying(50), enabled boolean NOT NULL, bridge_id bigint, - rf_role character varying(30) NOT NULL + rf_role character varying(30) ); @@ -1305,8 +1561,7 @@ CREATE TABLE public.dcim_inventoryitem ( last_updated timestamp with time zone, custom_field_data jsonb NOT NULL, id bigint NOT NULL, - name character varying(64) NOT NULL, - _name character varying(100) NOT NULL, + name character varying(64) NOT NULL COLLATE public.natural_sort, label character varying(64) NOT NULL, description character varying(200) NOT NULL, part_id character varying(50) NOT NULL, @@ -1323,6 +1578,10 @@ CREATE TABLE public.dcim_inventoryitem ( role_id bigint, component_id bigint, component_type_id integer, + status character varying(50) NOT NULL, + _location_id bigint, + _rack_id bigint, + _site_id bigint, CONSTRAINT dcim_inventoryitem_component_id_check CHECK ((component_id >= 0)), CONSTRAINT dcim_inventoryitem_level_check CHECK ((level >= 0)), CONSTRAINT dcim_inventoryitem_lft_check CHECK ((lft >= 0)), @@ -1387,8 +1646,7 @@ CREATE TABLE public.dcim_inventoryitemtemplate ( id bigint NOT NULL, created timestamp with time zone, last_updated timestamp with time zone, - name character varying(64) NOT NULL, - _name character varying(100) NOT NULL, + name character varying(64) NOT NULL COLLATE public.natural_sort, label character varying(64) NOT NULL, description character varying(200) NOT NULL, component_id bigint, @@ -1447,6 +1705,7 @@ CREATE TABLE public.dcim_location ( tenant_id bigint, status character varying(50) NOT NULL, facility character varying(50) NOT NULL, + comments text NOT NULL, CONSTRAINT dcim_location_level_check CHECK ((level >= 0)), CONSTRAINT dcim_location_lft_check CHECK ((lft >= 0)), CONSTRAINT dcim_location_rght_check CHECK ((rght >= 0)), @@ -1471,28 +1730,31 @@ ALTER TABLE public.dcim_location ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDE -- --- Name: dcim_manufacturer; Type: TABLE; Schema: public; Owner: nwa +-- Name: dcim_macaddress; Type: TABLE; Schema: public; Owner: nwa -- -CREATE TABLE public.dcim_manufacturer ( +CREATE TABLE public.dcim_macaddress ( + id bigint NOT NULL, created timestamp with time zone, last_updated timestamp with time zone, custom_field_data jsonb NOT NULL, - id bigint NOT NULL, - name character varying(100) NOT NULL, - slug character varying(100) NOT NULL, - description character varying(200) NOT NULL + description character varying(200) NOT NULL, + comments text NOT NULL, + mac_address macaddr NOT NULL, + assigned_object_id bigint, + assigned_object_type_id integer, + CONSTRAINT dcim_macaddress_assigned_object_id_check CHECK ((assigned_object_id >= 0)) ); -ALTER TABLE public.dcim_manufacturer OWNER TO nwa; +ALTER TABLE public.dcim_macaddress OWNER TO nwa; -- --- Name: dcim_manufacturer_id_seq; Type: SEQUENCE; Schema: public; Owner: nwa +-- Name: dcim_macaddress_id_seq; Type: SEQUENCE; Schema: public; Owner: nwa -- -ALTER TABLE public.dcim_manufacturer ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( - SEQUENCE NAME public.dcim_manufacturer_id_seq +ALTER TABLE public.dcim_macaddress ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.dcim_macaddress_id_seq START WITH 1 INCREMENT BY 1 NO MINVALUE @@ -1502,10 +1764,41 @@ ALTER TABLE public.dcim_manufacturer ALTER COLUMN id ADD GENERATED BY DEFAULT AS -- --- Name: dcim_module; Type: TABLE; Schema: public; Owner: nwa +-- Name: dcim_manufacturer; Type: TABLE; Schema: public; Owner: nwa -- -CREATE TABLE public.dcim_module ( +CREATE TABLE public.dcim_manufacturer ( + created timestamp with time zone, + last_updated timestamp with time zone, + custom_field_data jsonb NOT NULL, + id bigint NOT NULL, + name character varying(100) NOT NULL, + slug character varying(100) NOT NULL, + description character varying(200) NOT NULL +); + + +ALTER TABLE public.dcim_manufacturer OWNER TO nwa; + +-- +-- Name: dcim_manufacturer_id_seq; Type: SEQUENCE; Schema: public; Owner: nwa +-- + +ALTER TABLE public.dcim_manufacturer ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.dcim_manufacturer_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: dcim_module; Type: TABLE; Schema: public; Owner: nwa +-- + +CREATE TABLE public.dcim_module ( id bigint NOT NULL, created timestamp with time zone, last_updated timestamp with time zone, @@ -1547,12 +1840,24 @@ CREATE TABLE public.dcim_modulebay ( created timestamp with time zone, last_updated timestamp with time zone, custom_field_data jsonb NOT NULL, - name character varying(64) NOT NULL, - _name character varying(100) NOT NULL, + name character varying(64) NOT NULL COLLATE public.natural_sort, label character varying(64) NOT NULL, "position" character varying(30) NOT NULL, description character varying(200) NOT NULL, - device_id bigint NOT NULL + device_id bigint NOT NULL, + level integer NOT NULL, + lft integer NOT NULL, + module_id bigint, + parent_id bigint, + rght integer NOT NULL, + tree_id integer NOT NULL, + _location_id bigint, + _rack_id bigint, + _site_id bigint, + CONSTRAINT dcim_modulebay_level_check CHECK ((level >= 0)), + CONSTRAINT dcim_modulebay_lft_check CHECK ((lft >= 0)), + CONSTRAINT dcim_modulebay_rght_check CHECK ((rght >= 0)), + CONSTRAINT dcim_modulebay_tree_id_check CHECK ((tree_id >= 0)) ); @@ -1580,12 +1885,12 @@ CREATE TABLE public.dcim_modulebaytemplate ( id bigint NOT NULL, created timestamp with time zone, last_updated timestamp with time zone, - name character varying(64) NOT NULL, - _name character varying(100) NOT NULL, + name character varying(64) NOT NULL COLLATE public.natural_sort, label character varying(64) NOT NULL, "position" character varying(30) NOT NULL, description character varying(200) NOT NULL, - device_type_id bigint NOT NULL + device_type_id bigint, + module_type_id bigint ); @@ -1619,9 +1924,12 @@ CREATE TABLE public.dcim_moduletype ( comments text NOT NULL, manufacturer_id bigint NOT NULL, weight numeric(8,2), - weight_unit character varying(50) NOT NULL, + weight_unit character varying(50), _abs_weight bigint, description character varying(200) NOT NULL, + airflow character varying(50), + attribute_data jsonb, + profile_id bigint, CONSTRAINT dcim_moduletype__abs_weight_check CHECK ((_abs_weight >= 0)) ); @@ -1642,6 +1950,38 @@ ALTER TABLE public.dcim_moduletype ALTER COLUMN id ADD GENERATED BY DEFAULT AS I ); +-- +-- Name: dcim_moduletypeprofile; Type: TABLE; Schema: public; Owner: nwa +-- + +CREATE TABLE public.dcim_moduletypeprofile ( + id bigint NOT NULL, + created timestamp with time zone, + last_updated timestamp with time zone, + custom_field_data jsonb NOT NULL, + description character varying(200) NOT NULL, + comments text NOT NULL, + name character varying(100) NOT NULL, + schema jsonb +); + + +ALTER TABLE public.dcim_moduletypeprofile OWNER TO nwa; + +-- +-- Name: dcim_moduletypeprofile_id_seq; Type: SEQUENCE; Schema: public; Owner: nwa +-- + +ALTER TABLE public.dcim_moduletypeprofile ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.dcim_moduletypeprofile_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + -- -- Name: dcim_platform; Type: TABLE; Schema: public; Owner: nwa -- @@ -1655,7 +1995,17 @@ CREATE TABLE public.dcim_platform ( slug character varying(100) NOT NULL, description character varying(200) NOT NULL, manufacturer_id bigint, - config_template_id bigint + config_template_id bigint, + parent_id bigint, + level integer NOT NULL, + lft integer NOT NULL, + rght integer NOT NULL, + tree_id integer NOT NULL, + comments text NOT NULL, + CONSTRAINT dcim_platform_level_check CHECK ((level >= 0)), + CONSTRAINT dcim_platform_lft_check CHECK ((lft >= 0)), + CONSTRAINT dcim_platform_rght_check CHECK ((rght >= 0)), + CONSTRAINT dcim_platform_tree_id_check CHECK ((tree_id >= 0)) ); @@ -1685,7 +2035,7 @@ CREATE TABLE public.dcim_powerfeed ( custom_field_data jsonb NOT NULL, id bigint NOT NULL, mark_connected boolean NOT NULL, - name character varying(100) NOT NULL, + name character varying(100) NOT NULL COLLATE public.natural_sort, status character varying(50) NOT NULL, type character varying(50) NOT NULL, supply character varying(50) NOT NULL, @@ -1699,7 +2049,7 @@ CREATE TABLE public.dcim_powerfeed ( cable_id bigint, power_panel_id bigint NOT NULL, rack_id bigint, - cable_end character varying(1) NOT NULL, + cable_end character varying(1), description character varying(200) NOT NULL, tenant_id bigint, CONSTRAINT dcim_powerfeed_amperage_check CHECK ((amperage >= 0)), @@ -1733,19 +2083,23 @@ CREATE TABLE public.dcim_poweroutlet ( last_updated timestamp with time zone, custom_field_data jsonb NOT NULL, id bigint NOT NULL, - name character varying(64) NOT NULL, - _name character varying(100) NOT NULL, + name character varying(64) NOT NULL COLLATE public.natural_sort, label character varying(64) NOT NULL, description character varying(200) NOT NULL, mark_connected boolean NOT NULL, - type character varying(50) NOT NULL, - feed_leg character varying(50) NOT NULL, + type character varying(50), + feed_leg character varying(50), _path_id bigint, cable_id bigint, device_id bigint NOT NULL, power_port_id bigint, module_id bigint, - cable_end character varying(1) NOT NULL + cable_end character varying(1), + color character varying(6) NOT NULL, + status character varying(50) NOT NULL, + _location_id bigint, + _rack_id bigint, + _site_id bigint ); @@ -1773,12 +2127,11 @@ CREATE TABLE public.dcim_poweroutlettemplate ( created timestamp with time zone, last_updated timestamp with time zone, id bigint NOT NULL, - name character varying(64) NOT NULL, - _name character varying(100) NOT NULL, + name character varying(64) NOT NULL COLLATE public.natural_sort, label character varying(64) NOT NULL, description character varying(200) NOT NULL, - type character varying(50) NOT NULL, - feed_leg character varying(50) NOT NULL, + type character varying(50), + feed_leg character varying(50), device_type_id bigint, power_port_id bigint, module_type_id bigint @@ -1810,7 +2163,7 @@ CREATE TABLE public.dcim_powerpanel ( last_updated timestamp with time zone, custom_field_data jsonb NOT NULL, id bigint NOT NULL, - name character varying(100) NOT NULL, + name character varying(100) NOT NULL COLLATE public.natural_sort, location_id bigint, site_id bigint NOT NULL, comments text NOT NULL, @@ -1843,19 +2196,21 @@ CREATE TABLE public.dcim_powerport ( last_updated timestamp with time zone, custom_field_data jsonb NOT NULL, id bigint NOT NULL, - name character varying(64) NOT NULL, - _name character varying(100) NOT NULL, + name character varying(64) NOT NULL COLLATE public.natural_sort, label character varying(64) NOT NULL, description character varying(200) NOT NULL, mark_connected boolean NOT NULL, - type character varying(50) NOT NULL, + type character varying(50), maximum_draw integer, allocated_draw integer, _path_id bigint, cable_id bigint, device_id bigint NOT NULL, module_id bigint, - cable_end character varying(1) NOT NULL, + cable_end character varying(1), + _location_id bigint, + _rack_id bigint, + _site_id bigint, CONSTRAINT dcim_powerport_allocated_draw_check CHECK ((allocated_draw >= 0)), CONSTRAINT dcim_powerport_maximum_draw_check CHECK ((maximum_draw >= 0)) ); @@ -1885,11 +2240,10 @@ CREATE TABLE public.dcim_powerporttemplate ( created timestamp with time zone, last_updated timestamp with time zone, id bigint NOT NULL, - name character varying(64) NOT NULL, - _name character varying(100) NOT NULL, + name character varying(64) NOT NULL COLLATE public.natural_sort, label character varying(64) NOT NULL, description character varying(200) NOT NULL, - type character varying(50) NOT NULL, + type character varying(50), maximum_draw integer, allocated_draw integer, device_type_id bigint, @@ -1924,19 +2278,18 @@ CREATE TABLE public.dcim_rack ( last_updated timestamp with time zone, custom_field_data jsonb NOT NULL, id bigint NOT NULL, - name character varying(100) NOT NULL, - _name character varying(100) NOT NULL, + name character varying(100) NOT NULL COLLATE public.natural_sort, facility_id character varying(50), status character varying(50) NOT NULL, serial character varying(50) NOT NULL, asset_tag character varying(50), - type character varying(50) NOT NULL, + form_factor character varying(50), width smallint NOT NULL, u_height smallint NOT NULL, desc_units boolean NOT NULL, outer_width smallint, outer_depth smallint, - outer_unit character varying(50) NOT NULL, + outer_unit character varying(50), comments text NOT NULL, location_id bigint, role_id bigint, @@ -1944,17 +2297,21 @@ CREATE TABLE public.dcim_rack ( tenant_id bigint, weight numeric(8,2), max_weight integer, - weight_unit character varying(50) NOT NULL, + weight_unit character varying(50), _abs_weight bigint, _abs_max_weight bigint, mounting_depth smallint, description character varying(200) NOT NULL, starting_unit smallint NOT NULL, + rack_type_id bigint, + airflow character varying(50), + outer_height smallint, CONSTRAINT dcim_rack__abs_max_weight_check CHECK ((_abs_max_weight >= 0)), CONSTRAINT dcim_rack__abs_weight_check CHECK ((_abs_weight >= 0)), CONSTRAINT dcim_rack_max_weight_check CHECK ((max_weight >= 0)), CONSTRAINT dcim_rack_mounting_depth_check CHECK ((mounting_depth >= 0)), CONSTRAINT dcim_rack_outer_depth_check CHECK ((outer_depth >= 0)), + CONSTRAINT dcim_rack_outer_height_check CHECK ((outer_height >= 0)), CONSTRAINT dcim_rack_outer_width_check CHECK ((outer_width >= 0)), CONSTRAINT dcim_rack_starting_unit_check CHECK ((starting_unit >= 0)), CONSTRAINT dcim_rack_u_height_check CHECK ((u_height >= 0)), @@ -1992,7 +2349,8 @@ CREATE TABLE public.dcim_rackreservation ( rack_id bigint NOT NULL, tenant_id bigint, user_id bigint NOT NULL, - comments text NOT NULL + comments text NOT NULL, + status character varying(50) NOT NULL ); @@ -2044,6 +2402,64 @@ ALTER TABLE public.dcim_rackrole ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDE ); +-- +-- Name: dcim_racktype; Type: TABLE; Schema: public; Owner: nwa +-- + +CREATE TABLE public.dcim_racktype ( + id bigint NOT NULL, + created timestamp with time zone, + last_updated timestamp with time zone, + custom_field_data jsonb NOT NULL, + description character varying(200) NOT NULL, + comments text NOT NULL, + weight numeric(8,2), + weight_unit character varying(50), + _abs_weight bigint, + manufacturer_id bigint NOT NULL, + model character varying(100) NOT NULL, + slug character varying(100) NOT NULL, + form_factor character varying(50) NOT NULL, + width smallint NOT NULL, + u_height smallint NOT NULL, + starting_unit smallint NOT NULL, + desc_units boolean NOT NULL, + outer_width smallint, + outer_depth smallint, + outer_unit character varying(50), + max_weight integer, + _abs_max_weight bigint, + mounting_depth smallint, + outer_height smallint, + CONSTRAINT dcim_racktype__abs_max_weight_check CHECK ((_abs_max_weight >= 0)), + CONSTRAINT dcim_racktype__abs_weight_check CHECK ((_abs_weight >= 0)), + CONSTRAINT dcim_racktype_max_weight_check CHECK ((max_weight >= 0)), + CONSTRAINT dcim_racktype_mounting_depth_check CHECK ((mounting_depth >= 0)), + CONSTRAINT dcim_racktype_outer_depth_check CHECK ((outer_depth >= 0)), + CONSTRAINT dcim_racktype_outer_height_check CHECK ((outer_height >= 0)), + CONSTRAINT dcim_racktype_outer_width_check CHECK ((outer_width >= 0)), + CONSTRAINT dcim_racktype_starting_unit_check CHECK ((starting_unit >= 0)), + CONSTRAINT dcim_racktype_u_height_check CHECK ((u_height >= 0)), + CONSTRAINT dcim_racktype_width_check CHECK ((width >= 0)) +); + + +ALTER TABLE public.dcim_racktype OWNER TO nwa; + +-- +-- Name: dcim_racktype_id_seq; Type: SEQUENCE; Schema: public; Owner: nwa +-- + +ALTER TABLE public.dcim_racktype ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.dcim_racktype_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + -- -- Name: dcim_rearport; Type: TABLE; Schema: public; Owner: nwa -- @@ -2053,8 +2469,7 @@ CREATE TABLE public.dcim_rearport ( last_updated timestamp with time zone, custom_field_data jsonb NOT NULL, id bigint NOT NULL, - name character varying(64) NOT NULL, - _name character varying(100) NOT NULL, + name character varying(64) NOT NULL COLLATE public.natural_sort, label character varying(64) NOT NULL, description character varying(200) NOT NULL, mark_connected boolean NOT NULL, @@ -2064,7 +2479,10 @@ CREATE TABLE public.dcim_rearport ( device_id bigint NOT NULL, color character varying(6) NOT NULL, module_id bigint, - cable_end character varying(1) NOT NULL, + cable_end character varying(1), + _location_id bigint, + _rack_id bigint, + _site_id bigint, CONSTRAINT dcim_rearport_positions_check CHECK ((positions >= 0)) ); @@ -2093,8 +2511,7 @@ CREATE TABLE public.dcim_rearporttemplate ( created timestamp with time zone, last_updated timestamp with time zone, id bigint NOT NULL, - name character varying(64) NOT NULL, - _name character varying(100) NOT NULL, + name character varying(64) NOT NULL COLLATE public.natural_sort, label character varying(64) NOT NULL, description character varying(200) NOT NULL, type character varying(50) NOT NULL, @@ -2139,6 +2556,7 @@ CREATE TABLE public.dcim_region ( tree_id integer NOT NULL, level integer NOT NULL, parent_id bigint, + comments text NOT NULL, CONSTRAINT dcim_region_level_check CHECK ((level >= 0)), CONSTRAINT dcim_region_lft_check CHECK ((lft >= 0)), CONSTRAINT dcim_region_rght_check CHECK ((rght >= 0)), @@ -2171,12 +2589,11 @@ CREATE TABLE public.dcim_site ( last_updated timestamp with time zone, custom_field_data jsonb NOT NULL, id bigint NOT NULL, - name character varying(100) NOT NULL, - _name character varying(100) NOT NULL, + name character varying(100) NOT NULL COLLATE public.natural_sort, slug character varying(100) NOT NULL, status character varying(50) NOT NULL, facility character varying(50) NOT NULL, - time_zone character varying(63) NOT NULL, + time_zone character varying(63), description character varying(200) NOT NULL, physical_address character varying(200) NOT NULL, shipping_address character varying(200) NOT NULL, @@ -2249,6 +2666,7 @@ CREATE TABLE public.dcim_sitegroup ( tree_id integer NOT NULL, level integer NOT NULL, parent_id bigint, + comments text NOT NULL, CONSTRAINT dcim_sitegroup_level_check CHECK ((level >= 0)), CONSTRAINT dcim_sitegroup_lft_check CHECK ((lft >= 0)), CONSTRAINT dcim_sitegroup_rght_check CHECK ((rght >= 0)), @@ -2281,7 +2699,7 @@ CREATE TABLE public.dcim_virtualchassis ( last_updated timestamp with time zone, custom_field_data jsonb NOT NULL, id bigint NOT NULL, - name character varying(64) NOT NULL, + name character varying(64) NOT NULL COLLATE public.natural_sort, domain character varying(30) NOT NULL, master_id bigint, comments text NOT NULL, @@ -2316,7 +2734,7 @@ CREATE TABLE public.dcim_virtualdevicecontext ( last_updated timestamp with time zone, custom_field_data jsonb NOT NULL, description character varying(200) NOT NULL, - name character varying(64) NOT NULL, + name character varying(64) NOT NULL COLLATE public.natural_sort, status character varying(50) NOT NULL, identifier smallint, comments text NOT NULL, @@ -2442,36 +2860,6 @@ ALTER TABLE public.extras_bookmark ALTER COLUMN id ADD GENERATED BY DEFAULT AS I ); --- --- Name: extras_branch; Type: TABLE; Schema: public; Owner: nwa --- - -CREATE TABLE public.extras_branch ( - id bigint NOT NULL, - created timestamp with time zone, - last_updated timestamp with time zone, - name character varying(100) NOT NULL, - description character varying(200) NOT NULL, - user_id bigint -); - - -ALTER TABLE public.extras_branch OWNER TO nwa; - --- --- Name: extras_branch_id_seq; Type: SEQUENCE; Schema: public; Owner: nwa --- - -ALTER TABLE public.extras_branch ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( - SEQUENCE NAME public.extras_branch_id_seq - START WITH 1 - INCREMENT BY 1 - NO MINVALUE - NO MAXVALUE - CACHE 1 -); - - -- -- Name: extras_cachedvalue; Type: TABLE; Schema: public; Owner: nwa -- @@ -2510,6 +2898,7 @@ CREATE TABLE public.extras_configcontext ( data_source_id bigint, auto_sync_enabled boolean NOT NULL, data_synced timestamp with time zone, + profile_id bigint, CONSTRAINT extras_configcontext_weight_check CHECK ((weight >= 0)) ); @@ -2881,6 +3270,43 @@ ALTER TABLE public.extras_configcontext_tenants ALTER COLUMN id ADD GENERATED BY ); +-- +-- Name: extras_configcontextprofile; Type: TABLE; Schema: public; Owner: nwa +-- + +CREATE TABLE public.extras_configcontextprofile ( + id bigint NOT NULL, + created timestamp with time zone, + last_updated timestamp with time zone, + custom_field_data jsonb NOT NULL, + data_path character varying(1000) NOT NULL, + auto_sync_enabled boolean NOT NULL, + data_synced timestamp with time zone, + comments text NOT NULL, + name character varying(100) NOT NULL, + description character varying(200) NOT NULL, + schema jsonb, + data_file_id bigint, + data_source_id bigint +); + + +ALTER TABLE public.extras_configcontextprofile OWNER TO nwa; + +-- +-- Name: extras_configcontextprofile_id_seq; Type: SEQUENCE; Schema: public; Owner: nwa +-- + +ALTER TABLE public.extras_configcontextprofile ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.extras_configcontextprofile_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + -- -- Name: extras_configrevision_id_seq; Type: SEQUENCE; Schema: public; Owner: nwa -- @@ -2911,7 +3337,11 @@ CREATE TABLE public.extras_configtemplate ( environment_params jsonb, data_file_id bigint, data_source_id bigint, - auto_sync_enabled boolean NOT NULL + auto_sync_enabled boolean NOT NULL, + as_attachment boolean NOT NULL, + file_extension character varying(15) NOT NULL, + file_name character varying(200) NOT NULL, + mime_type character varying(50) NOT NULL ); @@ -2945,8 +3375,8 @@ CREATE TABLE public.extras_customfield ( filter_logic character varying(50) NOT NULL, "default" jsonb, weight smallint NOT NULL, - validation_minimum bigint, - validation_maximum bigint, + validation_minimum numeric(16,4), + validation_maximum numeric(16,4), validation_regex character varying(500) NOT NULL, created timestamp with time zone, last_updated timestamp with time zone, @@ -2958,6 +3388,8 @@ CREATE TABLE public.extras_customfield ( ui_editable character varying(50) NOT NULL, ui_visible character varying(50) NOT NULL, comments text NOT NULL, + "unique" boolean NOT NULL, + related_object_filter jsonb, CONSTRAINT extras_customfield_search_weight_check CHECK ((search_weight >= 0)), CONSTRAINT extras_customfield_weight_check CHECK ((weight >= 0)) ); @@ -2986,7 +3418,7 @@ ALTER TABLE public.extras_customfield ALTER COLUMN id ADD GENERATED BY DEFAULT A CREATE TABLE public.extras_customfield_object_types ( id bigint NOT NULL, customfield_id bigint NOT NULL, - objecttype_id integer NOT NULL + contenttype_id integer NOT NULL ); @@ -3016,7 +3448,7 @@ CREATE TABLE public.extras_customfieldchoiceset ( last_updated timestamp with time zone, name character varying(100) NOT NULL, description character varying(200) NOT NULL, - base_choices character varying(50) NOT NULL, + base_choices character varying(50), extra_choices character varying(100)[], order_alphabetically boolean NOT NULL ); @@ -3081,7 +3513,7 @@ ALTER TABLE public.extras_customlink ALTER COLUMN id ADD GENERATED BY DEFAULT AS CREATE TABLE public.extras_customlink_object_types ( id bigint NOT NULL, customlink_id bigint NOT NULL, - objecttype_id integer NOT NULL + contenttype_id integer NOT NULL ); @@ -3140,11 +3572,6 @@ CREATE TABLE public.extras_eventrule ( custom_field_data jsonb NOT NULL, name character varying(150) NOT NULL, description character varying(200) NOT NULL, - type_create boolean NOT NULL, - type_update boolean NOT NULL, - type_delete boolean NOT NULL, - type_job_start boolean NOT NULL, - type_job_end boolean NOT NULL, enabled boolean NOT NULL, conditions jsonb, action_type character varying(30) NOT NULL, @@ -3152,6 +3579,7 @@ CREATE TABLE public.extras_eventrule ( action_data jsonb, comments text NOT NULL, action_object_type_id integer NOT NULL, + event_types character varying(50)[] NOT NULL, CONSTRAINT extras_eventrule_action_object_id_check CHECK ((action_object_id >= 0)) ); @@ -3179,7 +3607,7 @@ ALTER TABLE public.extras_eventrule ALTER COLUMN id ADD GENERATED BY DEFAULT AS CREATE TABLE public.extras_eventrule_object_types ( id bigint NOT NULL, eventrule_id bigint NOT NULL, - objecttype_id integer NOT NULL + contenttype_id integer NOT NULL ); @@ -3217,7 +3645,9 @@ CREATE TABLE public.extras_exporttemplate ( data_path character varying(1000) NOT NULL, data_source_id bigint, auto_sync_enabled boolean NOT NULL, - data_synced timestamp with time zone + data_synced timestamp with time zone, + file_name character varying(200) NOT NULL, + environment_params jsonb ); @@ -3244,7 +3674,7 @@ ALTER TABLE public.extras_exporttemplate ALTER COLUMN id ADD GENERATED BY DEFAUL CREATE TABLE public.extras_exporttemplate_object_types ( id bigint NOT NULL, exporttemplate_id bigint NOT NULL, - objecttype_id integer NOT NULL + contenttype_id integer NOT NULL ); @@ -3278,6 +3708,7 @@ CREATE TABLE public.extras_imageattachment ( created timestamp with time zone, object_type_id integer NOT NULL, last_updated timestamp with time zone, + description character varying(200) NOT NULL, CONSTRAINT extras_imageattachment_image_height_check CHECK ((image_height >= 0)), CONSTRAINT extras_imageattachment_image_width_check CHECK ((image_width >= 0)), CONSTRAINT extras_imageattachment_object_id_check CHECK ((object_id >= 0)) @@ -3335,36 +3766,30 @@ ALTER TABLE public.extras_journalentry ALTER COLUMN id ADD GENERATED BY DEFAULT -- --- Name: extras_objectchange; Type: TABLE; Schema: public; Owner: nwa +-- Name: extras_notification; Type: TABLE; Schema: public; Owner: nwa -- -CREATE TABLE public.extras_objectchange ( +CREATE TABLE public.extras_notification ( id bigint NOT NULL, - "time" timestamp with time zone NOT NULL, - user_name character varying(150) NOT NULL, - request_id uuid NOT NULL, - action character varying(50) NOT NULL, - changed_object_id bigint NOT NULL, - related_object_id bigint, + created timestamp with time zone NOT NULL, + read timestamp with time zone, + object_id bigint NOT NULL, + event_type character varying(50) NOT NULL, + object_type_id integer NOT NULL, object_repr character varying(200) NOT NULL, - prechange_data jsonb, - postchange_data jsonb, - changed_object_type_id integer NOT NULL, - related_object_type_id integer, - user_id bigint, - CONSTRAINT extras_objectchange_changed_object_id_check CHECK ((changed_object_id >= 0)), - CONSTRAINT extras_objectchange_related_object_id_check CHECK ((related_object_id >= 0)) + user_id bigint NOT NULL, + CONSTRAINT extras_notification_object_id_check CHECK ((object_id >= 0)) ); -ALTER TABLE public.extras_objectchange OWNER TO nwa; +ALTER TABLE public.extras_notification OWNER TO nwa; -- --- Name: extras_objectchange_id_seq; Type: SEQUENCE; Schema: public; Owner: nwa +-- Name: extras_notification_id_seq; Type: SEQUENCE; Schema: public; Owner: nwa -- -ALTER TABLE public.extras_objectchange ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( - SEQUENCE NAME public.extras_objectchange_id_seq +ALTER TABLE public.extras_notification ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.extras_notification_id_seq START WITH 1 INCREMENT BY 1 NO MINVALUE @@ -3374,39 +3799,122 @@ ALTER TABLE public.extras_objectchange ALTER COLUMN id ADD GENERATED BY DEFAULT -- --- Name: extras_savedfilter; Type: TABLE; Schema: public; Owner: nwa +-- Name: extras_notificationgroup; Type: TABLE; Schema: public; Owner: nwa -- -CREATE TABLE public.extras_savedfilter ( +CREATE TABLE public.extras_notificationgroup ( id bigint NOT NULL, created timestamp with time zone, last_updated timestamp with time zone, name character varying(100) NOT NULL, - slug character varying(100) NOT NULL, - description character varying(200) NOT NULL, - weight smallint NOT NULL, - enabled boolean NOT NULL, - shared boolean NOT NULL, - parameters jsonb NOT NULL, - user_id bigint, - CONSTRAINT extras_savedfilter_weight_check CHECK ((weight >= 0)) + description character varying(200) NOT NULL ); -ALTER TABLE public.extras_savedfilter OWNER TO nwa; +ALTER TABLE public.extras_notificationgroup OWNER TO nwa; -- --- Name: extras_savedfilter_id_seq; Type: SEQUENCE; Schema: public; Owner: nwa +-- Name: extras_notificationgroup_groups; Type: TABLE; Schema: public; Owner: nwa -- -ALTER TABLE public.extras_savedfilter ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( - SEQUENCE NAME public.extras_savedfilter_id_seq - START WITH 1 - INCREMENT BY 1 - NO MINVALUE - NO MAXVALUE - CACHE 1 -); +CREATE TABLE public.extras_notificationgroup_groups ( + id bigint NOT NULL, + notificationgroup_id bigint NOT NULL, + group_id bigint NOT NULL +); + + +ALTER TABLE public.extras_notificationgroup_groups OWNER TO nwa; + +-- +-- Name: extras_notificationgroup_groups_id_seq; Type: SEQUENCE; Schema: public; Owner: nwa +-- + +ALTER TABLE public.extras_notificationgroup_groups ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.extras_notificationgroup_groups_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: extras_notificationgroup_id_seq; Type: SEQUENCE; Schema: public; Owner: nwa +-- + +ALTER TABLE public.extras_notificationgroup ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.extras_notificationgroup_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: extras_notificationgroup_users; Type: TABLE; Schema: public; Owner: nwa +-- + +CREATE TABLE public.extras_notificationgroup_users ( + id bigint NOT NULL, + notificationgroup_id bigint NOT NULL, + user_id bigint NOT NULL +); + + +ALTER TABLE public.extras_notificationgroup_users OWNER TO nwa; + +-- +-- Name: extras_notificationgroup_users_id_seq; Type: SEQUENCE; Schema: public; Owner: nwa +-- + +ALTER TABLE public.extras_notificationgroup_users ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.extras_notificationgroup_users_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: extras_savedfilter; Type: TABLE; Schema: public; Owner: nwa +-- + +CREATE TABLE public.extras_savedfilter ( + id bigint NOT NULL, + created timestamp with time zone, + last_updated timestamp with time zone, + name character varying(100) NOT NULL, + slug character varying(100) NOT NULL, + description character varying(200) NOT NULL, + weight smallint NOT NULL, + enabled boolean NOT NULL, + shared boolean NOT NULL, + parameters jsonb NOT NULL, + user_id bigint, + CONSTRAINT extras_savedfilter_weight_check CHECK ((weight >= 0)) +); + + +ALTER TABLE public.extras_savedfilter OWNER TO nwa; + +-- +-- Name: extras_savedfilter_id_seq; Type: SEQUENCE; Schema: public; Owner: nwa +-- + +ALTER TABLE public.extras_savedfilter ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.extras_savedfilter_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); -- @@ -3416,7 +3924,7 @@ ALTER TABLE public.extras_savedfilter ALTER COLUMN id ADD GENERATED BY DEFAULT A CREATE TABLE public.extras_savedfilter_object_types ( id bigint NOT NULL, savedfilter_id bigint NOT NULL, - objecttype_id integer NOT NULL + contenttype_id integer NOT NULL ); @@ -3465,28 +3973,65 @@ ALTER TABLE public.extras_script ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDE -- --- Name: extras_stagedchange; Type: TABLE; Schema: public; Owner: nwa +-- Name: extras_subscription; Type: TABLE; Schema: public; Owner: nwa -- -CREATE TABLE public.extras_stagedchange ( +CREATE TABLE public.extras_subscription ( id bigint NOT NULL, - action character varying(20) NOT NULL, - object_id bigint, - data jsonb, - branch_id bigint NOT NULL, + created timestamp with time zone NOT NULL, + object_id bigint NOT NULL, + object_type_id integer NOT NULL, + user_id bigint NOT NULL, + CONSTRAINT extras_subscription_object_id_check CHECK ((object_id >= 0)) +); + + +ALTER TABLE public.extras_subscription OWNER TO nwa; + +-- +-- Name: extras_subscription_id_seq; Type: SEQUENCE; Schema: public; Owner: nwa +-- + +ALTER TABLE public.extras_subscription ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.extras_subscription_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: extras_tableconfig; Type: TABLE; Schema: public; Owner: nwa +-- + +CREATE TABLE public.extras_tableconfig ( + id bigint NOT NULL, + created timestamp with time zone, + last_updated timestamp with time zone, + "table" character varying(100) NOT NULL, + name character varying(100) NOT NULL, + description character varying(200) NOT NULL, + weight smallint NOT NULL, + enabled boolean NOT NULL, + shared boolean NOT NULL, + columns character varying(100)[] NOT NULL, + ordering character varying(100)[], object_type_id integer NOT NULL, - CONSTRAINT extras_stagedchange_object_id_check CHECK ((object_id >= 0)) + user_id bigint, + CONSTRAINT extras_tableconfig_weight_check CHECK ((weight >= 0)) ); -ALTER TABLE public.extras_stagedchange OWNER TO nwa; +ALTER TABLE public.extras_tableconfig OWNER TO nwa; -- --- Name: extras_stagedchange_id_seq; Type: SEQUENCE; Schema: public; Owner: nwa +-- Name: extras_tableconfig_id_seq; Type: SEQUENCE; Schema: public; Owner: nwa -- -ALTER TABLE public.extras_stagedchange ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( - SEQUENCE NAME public.extras_stagedchange_id_seq +ALTER TABLE public.extras_tableconfig ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.extras_tableconfig_id_seq START WITH 1 INCREMENT BY 1 NO MINVALUE @@ -3506,7 +4051,9 @@ CREATE TABLE public.extras_tag ( last_updated timestamp with time zone, id bigint NOT NULL, color character varying(6) NOT NULL, - description character varying(200) NOT NULL + description character varying(200) NOT NULL, + weight smallint NOT NULL, + CONSTRAINT extras_tag_weight_check CHECK ((weight >= 0)) ); @@ -3533,7 +4080,7 @@ ALTER TABLE public.extras_tag ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTI CREATE TABLE public.extras_tag_object_types ( id bigint NOT NULL, tag_id bigint NOT NULL, - objecttype_id integer NOT NULL + contenttype_id integer NOT NULL ); @@ -3696,7 +4243,7 @@ CREATE TABLE public.ipam_asnrange ( last_updated timestamp with time zone, custom_field_data jsonb NOT NULL, description character varying(200) NOT NULL, - name character varying(100) NOT NULL, + name character varying(100) NOT NULL COLLATE public.natural_sort, slug character varying(100) NOT NULL, start bigint NOT NULL, "end" bigint NOT NULL, @@ -3732,7 +4279,7 @@ CREATE TABLE public.ipam_fhrpgroup ( id bigint NOT NULL, group_id smallint NOT NULL, protocol character varying(50) NOT NULL, - auth_type character varying(50) NOT NULL, + auth_type character varying(50), auth_key character varying(255) NOT NULL, description character varying(200) NOT NULL, name character varying(100) NOT NULL, @@ -3801,7 +4348,7 @@ CREATE TABLE public.ipam_ipaddress ( id bigint NOT NULL, address inet NOT NULL, status character varying(50) NOT NULL, - role character varying(50) NOT NULL, + role character varying(50), assigned_object_id bigint, dns_name character varying(255) NOT NULL, description character varying(200) NOT NULL, @@ -3849,6 +4396,7 @@ CREATE TABLE public.ipam_iprange ( vrf_id bigint, comments text NOT NULL, mark_utilized boolean NOT NULL, + mark_populated boolean NOT NULL, CONSTRAINT ipam_iprange_size_check CHECK ((size >= 0)) ); @@ -3883,7 +4431,6 @@ CREATE TABLE public.ipam_prefix ( is_pool boolean NOT NULL, description character varying(200) NOT NULL, role_id bigint, - site_id bigint, tenant_id bigint, vlan_id bigint, vrf_id bigint, @@ -3891,8 +4438,15 @@ CREATE TABLE public.ipam_prefix ( _depth smallint NOT NULL, mark_utilized boolean NOT NULL, comments text NOT NULL, + scope_id bigint, + scope_type_id integer, + _location_id bigint, + _region_id bigint, + _site_id bigint, + _site_group_id bigint, CONSTRAINT ipam_prefix__children_check CHECK ((_children >= 0)), - CONSTRAINT ipam_prefix__depth_check CHECK ((_depth >= 0)) + CONSTRAINT ipam_prefix__depth_check CHECK ((_depth >= 0)), + CONSTRAINT ipam_prefix_scope_id_check CHECK ((scope_id >= 0)) ); @@ -3986,7 +4540,7 @@ CREATE TABLE public.ipam_routetarget ( last_updated timestamp with time zone, custom_field_data jsonb NOT NULL, id bigint NOT NULL, - name character varying(21) NOT NULL, + name character varying(21) NOT NULL COLLATE public.natural_sort, description character varying(200) NOT NULL, tenant_id bigint, comments text NOT NULL @@ -4022,9 +4576,10 @@ CREATE TABLE public.ipam_service ( protocol character varying(50) NOT NULL, ports integer[] NOT NULL, description character varying(200) NOT NULL, - device_id bigint, - virtual_machine_id bigint, - comments text NOT NULL + comments text NOT NULL, + parent_object_id bigint NOT NULL, + parent_object_type_id integer NOT NULL, + CONSTRAINT ipam_service_parent_object_id_check CHECK ((parent_object_id >= 0)) ); @@ -4122,6 +4677,8 @@ CREATE TABLE public.ipam_vlan ( site_id bigint, tenant_id bigint, comments text NOT NULL, + qinq_role character varying(50), + qinq_svlan_id bigint, CONSTRAINT ipam_vlan_vid_check CHECK ((vid >= 0)) ); @@ -4151,15 +4708,15 @@ CREATE TABLE public.ipam_vlangroup ( last_updated timestamp with time zone, custom_field_data jsonb NOT NULL, id bigint NOT NULL, - name character varying(100) NOT NULL, + name character varying(100) NOT NULL COLLATE public.natural_sort, slug character varying(100) NOT NULL, scope_id bigint, description character varying(200) NOT NULL, scope_type_id integer, - max_vid smallint NOT NULL, - min_vid smallint NOT NULL, - CONSTRAINT ipam_vlangroup_max_vid_check CHECK ((max_vid >= 0)), - CONSTRAINT ipam_vlangroup_min_vid_check CHECK ((min_vid >= 0)), + vid_ranges int4range[] NOT NULL, + _total_vlan_ids bigint NOT NULL, + tenant_id bigint, + CONSTRAINT ipam_vlangroup__total_vlan_ids_check CHECK ((_total_vlan_ids >= 0)), CONSTRAINT ipam_vlangroup_scope_id_check CHECK ((scope_id >= 0)) ); @@ -4180,6 +4737,71 @@ ALTER TABLE public.ipam_vlangroup ALTER COLUMN id ADD GENERATED BY DEFAULT AS ID ); +-- +-- Name: ipam_vlantranslationpolicy; Type: TABLE; Schema: public; Owner: nwa +-- + +CREATE TABLE public.ipam_vlantranslationpolicy ( + id bigint NOT NULL, + created timestamp with time zone, + last_updated timestamp with time zone, + custom_field_data jsonb NOT NULL, + comments text NOT NULL, + name character varying(100) NOT NULL, + description character varying(200) NOT NULL +); + + +ALTER TABLE public.ipam_vlantranslationpolicy OWNER TO nwa; + +-- +-- Name: ipam_vlantranslationpolicy_id_seq; Type: SEQUENCE; Schema: public; Owner: nwa +-- + +ALTER TABLE public.ipam_vlantranslationpolicy ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.ipam_vlantranslationpolicy_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: ipam_vlantranslationrule; Type: TABLE; Schema: public; Owner: nwa +-- + +CREATE TABLE public.ipam_vlantranslationrule ( + id bigint NOT NULL, + created timestamp with time zone, + last_updated timestamp with time zone, + custom_field_data jsonb NOT NULL, + local_vid smallint NOT NULL, + remote_vid smallint NOT NULL, + policy_id bigint NOT NULL, + description character varying(200) NOT NULL, + CONSTRAINT ipam_vlantranslationrule_local_vid_check CHECK ((local_vid >= 0)), + CONSTRAINT ipam_vlantranslationrule_remote_vid_check CHECK ((remote_vid >= 0)) +); + + +ALTER TABLE public.ipam_vlantranslationrule OWNER TO nwa; + +-- +-- Name: ipam_vlantranslationrule_id_seq; Type: SEQUENCE; Schema: public; Owner: nwa +-- + +ALTER TABLE public.ipam_vlantranslationrule ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.ipam_vlantranslationrule_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + -- -- Name: ipam_vrf; Type: TABLE; Schema: public; Owner: nwa -- @@ -4189,7 +4811,7 @@ CREATE TABLE public.ipam_vrf ( last_updated timestamp with time zone, custom_field_data jsonb NOT NULL, id bigint NOT NULL, - name character varying(100) NOT NULL, + name character varying(100) NOT NULL COLLATE public.natural_sort, rd character varying(21), enforce_unique boolean NOT NULL, description character varying(200) NOT NULL, @@ -4398,7 +5020,8 @@ CREATE TABLE public.social_auth_usersocialauth ( user_id bigint NOT NULL, created timestamp with time zone NOT NULL, modified timestamp with time zone NOT NULL, - extra_data jsonb NOT NULL + extra_data jsonb NOT NULL, + CONSTRAINT user_social_auth_uid_required CHECK ((NOT ((uid)::text = ''::text))) ); @@ -4482,13 +5105,12 @@ CREATE TABLE public.tenancy_contact ( created timestamp with time zone, last_updated timestamp with time zone, custom_field_data jsonb NOT NULL, - name character varying(100) NOT NULL, + name character varying(100) NOT NULL COLLATE public.natural_sort, title character varying(100) NOT NULL, phone character varying(50) NOT NULL, email character varying(254) NOT NULL, address character varying(200) NOT NULL, comments text NOT NULL, - group_id bigint, link character varying(200) NOT NULL, description character varying(200) NOT NULL ); @@ -4496,6 +5118,33 @@ CREATE TABLE public.tenancy_contact ( ALTER TABLE public.tenancy_contact OWNER TO nwa; +-- +-- Name: tenancy_contact_groups; Type: TABLE; Schema: public; Owner: nwa +-- + +CREATE TABLE public.tenancy_contact_groups ( + id bigint NOT NULL, + contact_id bigint NOT NULL, + contactgroup_id bigint NOT NULL +); + + +ALTER TABLE public.tenancy_contact_groups OWNER TO nwa; + +-- +-- Name: tenancy_contact_groups_id_seq; Type: SEQUENCE; Schema: public; Owner: nwa +-- + +ALTER TABLE public.tenancy_contact_groups ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.tenancy_contact_groups_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + -- -- Name: tenancy_contact_id_seq; Type: SEQUENCE; Schema: public; Owner: nwa -- @@ -4519,7 +5168,7 @@ CREATE TABLE public.tenancy_contactassignment ( created timestamp with time zone, last_updated timestamp with time zone, object_id bigint NOT NULL, - priority character varying(50) NOT NULL, + priority character varying(50), contact_id bigint NOT NULL, object_type_id integer NOT NULL, role_id bigint NOT NULL, @@ -4561,6 +5210,7 @@ CREATE TABLE public.tenancy_contactgroup ( tree_id integer NOT NULL, level integer NOT NULL, parent_id bigint, + comments text NOT NULL, CONSTRAINT tenancy_contactgroup_level_check CHECK ((level >= 0)), CONSTRAINT tenancy_contactgroup_lft_check CHECK ((lft >= 0)), CONSTRAINT tenancy_contactgroup_rght_check CHECK ((rght >= 0)), @@ -4624,7 +5274,7 @@ CREATE TABLE public.tenancy_tenant ( last_updated timestamp with time zone, custom_field_data jsonb NOT NULL, id bigint NOT NULL, - name character varying(100) NOT NULL, + name character varying(100) NOT NULL COLLATE public.natural_sort, slug character varying(100) NOT NULL, description character varying(200) NOT NULL, comments text NOT NULL, @@ -4657,7 +5307,7 @@ CREATE TABLE public.tenancy_tenantgroup ( last_updated timestamp with time zone, custom_field_data jsonb NOT NULL, id bigint NOT NULL, - name character varying(100) NOT NULL, + name character varying(100) NOT NULL COLLATE public.natural_sort, slug character varying(100) NOT NULL, description character varying(200) NOT NULL, lft integer NOT NULL, @@ -4665,6 +5315,7 @@ CREATE TABLE public.tenancy_tenantgroup ( tree_id integer NOT NULL, level integer NOT NULL, parent_id bigint, + comments text NOT NULL, CONSTRAINT tenancy_tenantgroup_level_check CHECK ((level >= 0)), CONSTRAINT tenancy_tenantgroup_lft_check CHECK ((lft >= 0)), CONSTRAINT tenancy_tenantgroup_rght_check CHECK ((rght >= 0)), @@ -4688,6 +5339,18 @@ ALTER TABLE public.tenancy_tenantgroup ALTER COLUMN id ADD GENERATED BY DEFAULT ); +-- +-- Name: thumbnail_kvstore; Type: TABLE; Schema: public; Owner: nwa +-- + +CREATE TABLE public.thumbnail_kvstore ( + key character varying(200) NOT NULL, + value text NOT NULL +); + + +ALTER TABLE public.thumbnail_kvstore OWNER TO nwa; + -- -- Name: users_group; Type: TABLE; Schema: public; Owner: nwa -- @@ -4806,7 +5469,7 @@ ALTER TABLE public.users_objectpermission ALTER COLUMN id ADD GENERATED BY DEFAU CREATE TABLE public.users_objectpermission_object_types ( id bigint NOT NULL, objectpermission_id bigint NOT NULL, - objecttype_id integer NOT NULL + contenttype_id integer NOT NULL ); @@ -5011,14 +5674,20 @@ CREATE TABLE public.virtualization_cluster ( last_updated timestamp with time zone, custom_field_data jsonb NOT NULL, id bigint NOT NULL, - name character varying(100) NOT NULL, + name character varying(100) NOT NULL COLLATE public.natural_sort, comments text NOT NULL, group_id bigint, - site_id bigint, tenant_id bigint, type_id bigint NOT NULL, status character varying(50) NOT NULL, - description character varying(200) NOT NULL + description character varying(200) NOT NULL, + scope_id bigint, + scope_type_id integer, + _location_id bigint, + _region_id bigint, + _site_id bigint, + _site_group_id bigint, + CONSTRAINT virtualization_cluster_scope_id_check CHECK ((scope_id >= 0)) ); @@ -5109,8 +5778,7 @@ CREATE TABLE public.virtualization_virtualdisk ( created timestamp with time zone, last_updated timestamp with time zone, custom_field_data jsonb NOT NULL, - name character varying(64) NOT NULL, - _name character varying(100) NOT NULL, + name character varying(64) NOT NULL COLLATE public.natural_sort, description character varying(200) NOT NULL, size integer NOT NULL, virtual_machine_id bigint NOT NULL, @@ -5144,7 +5812,7 @@ CREATE TABLE public.virtualization_virtualmachine ( custom_field_data jsonb NOT NULL, id bigint NOT NULL, local_context_data jsonb, - name character varying(64) NOT NULL, + name character varying(64) NOT NULL COLLATE public.natural_sort, status character varying(50) NOT NULL, vcpus numeric(6,2), memory integer, @@ -5156,13 +5824,13 @@ CREATE TABLE public.virtualization_virtualmachine ( primary_ip6_id bigint, role_id bigint, tenant_id bigint, - _name character varying(100) NOT NULL, site_id bigint, device_id bigint, description character varying(200) NOT NULL, interface_count bigint NOT NULL, config_template_id bigint, virtual_disk_count bigint NOT NULL, + serial character varying(50) NOT NULL, CONSTRAINT virtualization_virtualmachine_disk_check CHECK ((disk >= 0)), CONSTRAINT virtualization_virtualmachine_memory_check CHECK ((memory >= 0)) ); @@ -5194,9 +5862,8 @@ CREATE TABLE public.virtualization_vminterface ( custom_field_data jsonb NOT NULL, id bigint NOT NULL, enabled boolean NOT NULL, - mac_address macaddr, mtu integer, - mode character varying(50) NOT NULL, + mode character varying(50), name character varying(64) NOT NULL, _name character varying(100) NOT NULL, description character varying(200) NOT NULL, @@ -5205,6 +5872,9 @@ CREATE TABLE public.virtualization_vminterface ( virtual_machine_id bigint NOT NULL, bridge_id bigint, vrf_id bigint, + vlan_translation_policy_id bigint, + qinq_svlan_id bigint, + primary_mac_address_id bigint, CONSTRAINT virtualization_vminterface_mtu_check CHECK ((mtu >= 0)) ); @@ -5263,9 +5933,9 @@ CREATE TABLE public.vpn_ikepolicy ( custom_field_data jsonb NOT NULL, description character varying(200) NOT NULL, comments text NOT NULL, - name character varying(100) NOT NULL, + name character varying(100) NOT NULL COLLATE public.natural_sort, version smallint NOT NULL, - mode character varying NOT NULL, + mode character varying, preshared_key text NOT NULL, CONSTRAINT vpn_ikepolicy_version_check CHECK ((version >= 0)) ); @@ -5325,10 +5995,10 @@ CREATE TABLE public.vpn_ikeproposal ( custom_field_data jsonb NOT NULL, description character varying(200) NOT NULL, comments text NOT NULL, - name character varying(100) NOT NULL, + name character varying(100) NOT NULL COLLATE public.natural_sort, authentication_method character varying NOT NULL, encryption_algorithm character varying NOT NULL, - authentication_algorithm character varying NOT NULL, + authentication_algorithm character varying, "group" smallint NOT NULL, sa_lifetime integer, CONSTRAINT vpn_ikeproposal_group_check CHECK (("group" >= 0)), @@ -5363,7 +6033,7 @@ CREATE TABLE public.vpn_ipsecpolicy ( custom_field_data jsonb NOT NULL, description character varying(200) NOT NULL, comments text NOT NULL, - name character varying(100) NOT NULL, + name character varying(100) NOT NULL COLLATE public.natural_sort, pfs_group smallint, CONSTRAINT vpn_ipsecpolicy_pfs_group_check CHECK ((pfs_group >= 0)) ); @@ -5423,7 +6093,7 @@ CREATE TABLE public.vpn_ipsecprofile ( custom_field_data jsonb NOT NULL, description character varying(200) NOT NULL, comments text NOT NULL, - name character varying(100) NOT NULL, + name character varying(100) NOT NULL COLLATE public.natural_sort, mode character varying NOT NULL, ike_policy_id bigint NOT NULL, ipsec_policy_id bigint NOT NULL @@ -5457,9 +6127,9 @@ CREATE TABLE public.vpn_ipsecproposal ( custom_field_data jsonb NOT NULL, description character varying(200) NOT NULL, comments text NOT NULL, - name character varying(100) NOT NULL, - encryption_algorithm character varying NOT NULL, - authentication_algorithm character varying NOT NULL, + name character varying(100) NOT NULL COLLATE public.natural_sort, + encryption_algorithm character varying, + authentication_algorithm character varying, sa_lifetime_seconds integer, sa_lifetime_data integer, CONSTRAINT vpn_ipsecproposal_sa_lifetime_data_check CHECK ((sa_lifetime_data >= 0)), @@ -5492,13 +6162,14 @@ CREATE TABLE public.vpn_l2vpn ( created timestamp with time zone, last_updated timestamp with time zone, custom_field_data jsonb NOT NULL, - name character varying(100) NOT NULL, + name character varying(100) NOT NULL COLLATE public.natural_sort, slug character varying(100) NOT NULL, type character varying(50) NOT NULL, identifier bigint, description character varying(200) NOT NULL, tenant_id bigint, - comments text NOT NULL + comments text NOT NULL, + status character varying(50) NOT NULL ); @@ -5615,7 +6286,7 @@ CREATE TABLE public.vpn_tunnel ( custom_field_data jsonb NOT NULL, description character varying(200) NOT NULL, comments text NOT NULL, - name character varying(100) NOT NULL, + name character varying(100) NOT NULL COLLATE public.natural_sort, status character varying(50) NOT NULL, group_id bigint, encapsulation character varying(50) NOT NULL, @@ -5719,13 +6390,20 @@ CREATE TABLE public.wireless_wirelesslan ( ssid character varying(32) NOT NULL, group_id bigint, description character varying(200) NOT NULL, - auth_cipher character varying(50) NOT NULL, + auth_cipher character varying(50), auth_psk character varying(64) NOT NULL, - auth_type character varying(50) NOT NULL, + auth_type character varying(50), vlan_id bigint, tenant_id bigint, comments text NOT NULL, - status character varying(50) NOT NULL + status character varying(50) NOT NULL, + _location_id bigint, + _region_id bigint, + _site_id bigint, + _site_group_id bigint, + scope_id bigint, + scope_type_id integer, + CONSTRAINT wireless_wirelesslan_scope_id_check CHECK ((scope_id >= 0)) ); @@ -5754,7 +6432,7 @@ CREATE TABLE public.wireless_wirelesslangroup ( created timestamp with time zone, last_updated timestamp with time zone, custom_field_data jsonb NOT NULL, - name character varying(100) NOT NULL, + name character varying(100) NOT NULL COLLATE public.natural_sort, slug character varying(100) NOT NULL, description character varying(200) NOT NULL, lft integer NOT NULL, @@ -5762,6 +6440,7 @@ CREATE TABLE public.wireless_wirelesslangroup ( tree_id integer NOT NULL, level integer NOT NULL, parent_id bigint, + comments text NOT NULL, CONSTRAINT wireless_wirelesslangroup_level_check CHECK ((level >= 0)), CONSTRAINT wireless_wirelesslangroup_lft_check CHECK ((lft >= 0)), CONSTRAINT wireless_wirelesslangroup_rght_check CHECK ((rght >= 0)), @@ -5797,15 +6476,18 @@ CREATE TABLE public.wireless_wirelesslink ( ssid character varying(32) NOT NULL, status character varying(50) NOT NULL, description character varying(200) NOT NULL, - auth_cipher character varying(50) NOT NULL, + auth_cipher character varying(50), auth_psk character varying(64) NOT NULL, - auth_type character varying(50) NOT NULL, + auth_type character varying(50), _interface_a_device_id bigint, _interface_b_device_id bigint, interface_a_id bigint NOT NULL, interface_b_id bigint NOT NULL, tenant_id bigint, - comments text NOT NULL + comments text NOT NULL, + _abs_distance numeric(13,4), + distance numeric(8,2), + distance_unit character varying(50) ); @@ -5846,543 +6528,599 @@ COPY public.auth_group_permissions (id, group_id, permission_id) FROM stdin; -- COPY public.auth_permission (id, name, content_type_id, codename) FROM stdin; -1 Can add permission 6 add_permission -2 Can change permission 6 change_permission -3 Can delete permission 6 delete_permission -4 Can view permission 6 view_permission -5 Can add group 7 add_group -6 Can change group 7 change_group -7 Can delete group 7 delete_group -8 Can view group 7 view_group -9 Can add content type 8 add_contenttype -10 Can change content type 8 change_contenttype -11 Can delete content type 8 delete_contenttype -12 Can view content type 8 view_contenttype -13 Can add session 9 add_session -14 Can change session 9 change_session -15 Can delete session 9 delete_session -16 Can view session 9 view_session -17 Can add association 10 add_association -18 Can change association 10 change_association -19 Can delete association 10 delete_association -20 Can view association 10 view_association -21 Can add code 11 add_code -22 Can change code 11 change_code -23 Can delete code 11 delete_code -24 Can view code 11 view_code -25 Can add nonce 12 add_nonce -26 Can change nonce 12 change_nonce -27 Can delete nonce 12 delete_nonce -28 Can view nonce 12 view_nonce -29 Can add user social auth 13 add_usersocialauth -30 Can change user social auth 13 change_usersocialauth -31 Can delete user social auth 13 delete_usersocialauth -32 Can view user social auth 13 view_usersocialauth -33 Can add partial 14 add_partial -34 Can change partial 14 change_partial -35 Can delete partial 14 delete_partial -36 Can view partial 14 view_partial -37 Can add tag 15 add_tag -38 Can change tag 15 change_tag -39 Can delete tag 15 delete_tag -40 Can view tag 15 view_tag -41 Can add tagged item 16 add_taggeditem -42 Can change tagged item 16 change_taggeditem -43 Can delete tagged item 16 delete_taggeditem -44 Can view tagged item 16 view_taggeditem -45 Can add data source 17 add_datasource -46 Can change data source 17 change_datasource -47 Can delete data source 17 delete_datasource -48 Can view data source 17 view_datasource -49 Can add data file 18 add_datafile -50 Can change data file 18 change_datafile -51 Can delete data file 18 delete_datafile -52 Can view data file 18 view_datafile -53 Can add auto sync record 19 add_autosyncrecord -54 Can change auto sync record 19 change_autosyncrecord -55 Can delete auto sync record 19 delete_autosyncrecord -56 Can view auto sync record 19 view_autosyncrecord -57 Can add managed file 5 add_managedfile -58 Can change managed file 5 change_managedfile -59 Can delete managed file 5 delete_managedfile -60 Can view managed file 5 view_managedfile -61 Can add job 20 add_job -62 Can change job 20 change_job -63 Can delete job 20 delete_job -64 Can view job 20 view_job -65 Can add object type 21 add_objecttype -66 Can change object type 21 change_objecttype -67 Can delete object type 21 delete_objecttype -68 Can view object type 21 view_objecttype -69 Can add config revision 22 add_configrevision -70 Can change config revision 22 change_configrevision -71 Can delete config revision 22 delete_configrevision -72 Can view config revision 22 view_configrevision -73 Can add token 23 add_usertoken -74 Can change token 23 change_usertoken -75 Can delete token 23 delete_usertoken -76 Can view token 23 view_usertoken -77 Can add circuit 24 add_circuit -78 Can change circuit 24 change_circuit -79 Can delete circuit 24 delete_circuit -80 Can view circuit 24 view_circuit -81 Can add circuit termination 25 add_circuittermination -82 Can change circuit termination 25 change_circuittermination -83 Can delete circuit termination 25 delete_circuittermination -84 Can view circuit termination 25 view_circuittermination -85 Can add circuit type 26 add_circuittype -86 Can change circuit type 26 change_circuittype -87 Can delete circuit type 26 delete_circuittype -88 Can view circuit type 26 view_circuittype -89 Can add provider 27 add_provider -90 Can change provider 27 change_provider -91 Can delete provider 27 delete_provider -92 Can view provider 27 view_provider -93 Can add provider network 28 add_providernetwork -94 Can change provider network 28 change_providernetwork -95 Can delete provider network 28 delete_providernetwork -96 Can view provider network 28 view_providernetwork -97 Can add provider account 29 add_provideraccount -98 Can change provider account 29 change_provideraccount -99 Can delete provider account 29 delete_provideraccount -100 Can view provider account 29 view_provideraccount -101 Can add cable 30 add_cable -102 Can change cable 30 change_cable -103 Can delete cable 30 delete_cable -104 Can view cable 30 view_cable -105 Can add cable path 31 add_cablepath -106 Can change cable path 31 change_cablepath -107 Can delete cable path 31 delete_cablepath -108 Can view cable path 31 view_cablepath -109 Can add console port 32 add_consoleport -110 Can change console port 32 change_consoleport -111 Can delete console port 32 delete_consoleport -112 Can view console port 32 view_consoleport -113 Can add console port template 33 add_consoleporttemplate -114 Can change console port template 33 change_consoleporttemplate -115 Can delete console port template 33 delete_consoleporttemplate -116 Can view console port template 33 view_consoleporttemplate -117 Can add console server port 34 add_consoleserverport -118 Can change console server port 34 change_consoleserverport -119 Can delete console server port 34 delete_consoleserverport -120 Can view console server port 34 view_consoleserverport -121 Can add console server port template 35 add_consoleserverporttemplate -122 Can change console server port template 35 change_consoleserverporttemplate -123 Can delete console server port template 35 delete_consoleserverporttemplate -124 Can view console server port template 35 view_consoleserverporttemplate -125 Can add device 36 add_device -126 Can change device 36 change_device -127 Can delete device 36 delete_device -128 Can view device 36 view_device -129 Can add device bay 37 add_devicebay -130 Can change device bay 37 change_devicebay -131 Can delete device bay 37 delete_devicebay -132 Can view device bay 37 view_devicebay -133 Can add device bay template 38 add_devicebaytemplate -134 Can change device bay template 38 change_devicebaytemplate -135 Can delete device bay template 38 delete_devicebaytemplate -136 Can view device bay template 38 view_devicebaytemplate -137 Can add device role 39 add_devicerole -138 Can change device role 39 change_devicerole -139 Can delete device role 39 delete_devicerole -140 Can view device role 39 view_devicerole -141 Can add device type 40 add_devicetype -142 Can change device type 40 change_devicetype -143 Can delete device type 40 delete_devicetype -144 Can view device type 40 view_devicetype -145 Can add front port 41 add_frontport -146 Can change front port 41 change_frontport -147 Can delete front port 41 delete_frontport -148 Can view front port 41 view_frontport -149 Can add front port template 42 add_frontporttemplate -150 Can change front port template 42 change_frontporttemplate -151 Can delete front port template 42 delete_frontporttemplate -152 Can view front port template 42 view_frontporttemplate -153 Can add interface 43 add_interface -154 Can change interface 43 change_interface -155 Can delete interface 43 delete_interface -156 Can view interface 43 view_interface -157 Can add interface template 44 add_interfacetemplate -158 Can change interface template 44 change_interfacetemplate -159 Can delete interface template 44 delete_interfacetemplate -160 Can view interface template 44 view_interfacetemplate -161 Can add inventory item 45 add_inventoryitem -162 Can change inventory item 45 change_inventoryitem -163 Can delete inventory item 45 delete_inventoryitem -164 Can view inventory item 45 view_inventoryitem -165 Can add location 46 add_location -166 Can change location 46 change_location -167 Can delete location 46 delete_location -168 Can view location 46 view_location -169 Can add manufacturer 47 add_manufacturer -170 Can change manufacturer 47 change_manufacturer -171 Can delete manufacturer 47 delete_manufacturer -172 Can view manufacturer 47 view_manufacturer -173 Can add platform 48 add_platform -174 Can change platform 48 change_platform -175 Can delete platform 48 delete_platform -176 Can view platform 48 view_platform -177 Can add power feed 49 add_powerfeed -178 Can change power feed 49 change_powerfeed -179 Can delete power feed 49 delete_powerfeed -180 Can view power feed 49 view_powerfeed -181 Can add power outlet 50 add_poweroutlet -182 Can change power outlet 50 change_poweroutlet -183 Can delete power outlet 50 delete_poweroutlet -184 Can view power outlet 50 view_poweroutlet -185 Can add power outlet template 51 add_poweroutlettemplate -186 Can change power outlet template 51 change_poweroutlettemplate -187 Can delete power outlet template 51 delete_poweroutlettemplate -188 Can view power outlet template 51 view_poweroutlettemplate -189 Can add power panel 52 add_powerpanel -190 Can change power panel 52 change_powerpanel -191 Can delete power panel 52 delete_powerpanel -192 Can view power panel 52 view_powerpanel -193 Can add power port 53 add_powerport -194 Can change power port 53 change_powerport -195 Can delete power port 53 delete_powerport -196 Can view power port 53 view_powerport -197 Can add power port template 54 add_powerporttemplate -198 Can change power port template 54 change_powerporttemplate -199 Can delete power port template 54 delete_powerporttemplate -200 Can view power port template 54 view_powerporttemplate -201 Can add rack 55 add_rack -202 Can change rack 55 change_rack -203 Can delete rack 55 delete_rack -204 Can view rack 55 view_rack -205 Can add rack reservation 56 add_rackreservation -206 Can change rack reservation 56 change_rackreservation -207 Can delete rack reservation 56 delete_rackreservation -208 Can view rack reservation 56 view_rackreservation -209 Can add rack role 57 add_rackrole -210 Can change rack role 57 change_rackrole -211 Can delete rack role 57 delete_rackrole -212 Can view rack role 57 view_rackrole -213 Can add rear port 58 add_rearport -214 Can change rear port 58 change_rearport -215 Can delete rear port 58 delete_rearport -216 Can view rear port 58 view_rearport -217 Can add rear port template 59 add_rearporttemplate -218 Can change rear port template 59 change_rearporttemplate -219 Can delete rear port template 59 delete_rearporttemplate -220 Can view rear port template 59 view_rearporttemplate -221 Can add region 60 add_region -222 Can change region 60 change_region -223 Can delete region 60 delete_region -224 Can view region 60 view_region -225 Can add site 61 add_site -226 Can change site 61 change_site -227 Can delete site 61 delete_site -228 Can view site 61 view_site -229 Can add site group 62 add_sitegroup -230 Can change site group 62 change_sitegroup -231 Can delete site group 62 delete_sitegroup -232 Can view site group 62 view_sitegroup -233 Can add virtual chassis 63 add_virtualchassis -234 Can change virtual chassis 63 change_virtualchassis -235 Can delete virtual chassis 63 delete_virtualchassis -236 Can view virtual chassis 63 view_virtualchassis -237 Can add module type 64 add_moduletype -238 Can change module type 64 change_moduletype -239 Can delete module type 64 delete_moduletype -240 Can view module type 64 view_moduletype -241 Can add module bay 65 add_modulebay -242 Can change module bay 65 change_modulebay -243 Can delete module bay 65 delete_modulebay -244 Can view module bay 65 view_modulebay -245 Can add module 66 add_module -246 Can change module 66 change_module -247 Can delete module 66 delete_module -248 Can view module 66 view_module -249 Can add inventory item role 67 add_inventoryitemrole -250 Can change inventory item role 67 change_inventoryitemrole -251 Can delete inventory item role 67 delete_inventoryitemrole -252 Can view inventory item role 67 view_inventoryitemrole -253 Can add inventory item template 68 add_inventoryitemtemplate -254 Can change inventory item template 68 change_inventoryitemtemplate -255 Can delete inventory item template 68 delete_inventoryitemtemplate -256 Can view inventory item template 68 view_inventoryitemtemplate -257 Can add module bay template 69 add_modulebaytemplate -258 Can change module bay template 69 change_modulebaytemplate -259 Can delete module bay template 69 delete_modulebaytemplate -260 Can view module bay template 69 view_modulebaytemplate -261 Can add cable termination 70 add_cabletermination -262 Can change cable termination 70 change_cabletermination -263 Can delete cable termination 70 delete_cabletermination -264 Can view cable termination 70 view_cabletermination -265 Can add virtual device context 71 add_virtualdevicecontext -266 Can change virtual device context 71 change_virtualdevicecontext -267 Can delete virtual device context 71 delete_virtualdevicecontext -268 Can view virtual device context 71 view_virtualdevicecontext -269 Can add aggregate 72 add_aggregate -270 Can change aggregate 72 change_aggregate -271 Can delete aggregate 72 delete_aggregate -272 Can view aggregate 72 view_aggregate -273 Can add IP address 73 add_ipaddress -274 Can change IP address 73 change_ipaddress -275 Can delete IP address 73 delete_ipaddress -276 Can view IP address 73 view_ipaddress -277 Can add prefix 74 add_prefix -278 Can change prefix 74 change_prefix -279 Can delete prefix 74 delete_prefix -280 Can view prefix 74 view_prefix -281 Can add RIR 75 add_rir -282 Can change RIR 75 change_rir -283 Can delete RIR 75 delete_rir -284 Can view RIR 75 view_rir -285 Can add role 76 add_role -286 Can change role 76 change_role -287 Can delete role 76 delete_role -288 Can view role 76 view_role -289 Can add route target 77 add_routetarget -290 Can change route target 77 change_routetarget -291 Can delete route target 77 delete_routetarget -292 Can view route target 77 view_routetarget -293 Can add VRF 78 add_vrf -294 Can change VRF 78 change_vrf -295 Can delete VRF 78 delete_vrf -296 Can view VRF 78 view_vrf -297 Can add VLAN group 79 add_vlangroup -298 Can change VLAN group 79 change_vlangroup -299 Can delete VLAN group 79 delete_vlangroup -300 Can view VLAN group 79 view_vlangroup -301 Can add VLAN 80 add_vlan -302 Can change VLAN 80 change_vlan -303 Can delete VLAN 80 delete_vlan -304 Can view VLAN 80 view_vlan -305 Can add service 81 add_service -306 Can change service 81 change_service -307 Can delete service 81 delete_service -308 Can view service 81 view_service -309 Can add IP range 82 add_iprange -310 Can change IP range 82 change_iprange -311 Can delete IP range 82 delete_iprange -312 Can view IP range 82 view_iprange -313 Can add FHRP group 83 add_fhrpgroup -314 Can change FHRP group 83 change_fhrpgroup -315 Can delete FHRP group 83 delete_fhrpgroup -316 Can view FHRP group 83 view_fhrpgroup -317 Can add FHRP group assignment 84 add_fhrpgroupassignment -318 Can change FHRP group assignment 84 change_fhrpgroupassignment -319 Can delete FHRP group assignment 84 delete_fhrpgroupassignment -320 Can view FHRP group assignment 84 view_fhrpgroupassignment -321 Can add ASN 85 add_asn -322 Can change ASN 85 change_asn -323 Can delete ASN 85 delete_asn -324 Can view ASN 85 view_asn -325 Can add service template 86 add_servicetemplate -326 Can change service template 86 change_servicetemplate -327 Can delete service template 86 delete_servicetemplate -328 Can view service template 86 view_servicetemplate -329 Can add ASN range 87 add_asnrange -330 Can change ASN range 87 change_asnrange -331 Can delete ASN range 87 delete_asnrange -332 Can view ASN range 87 view_asnrange -333 Can add script 2 add_script -334 Can change script 2 change_script -335 Can delete script 2 delete_script -336 Can view script 2 view_script -337 Can add config context 88 add_configcontext -338 Can change config context 88 change_configcontext -339 Can delete config context 88 delete_configcontext -340 Can view config context 88 view_configcontext -341 Can add tag 89 add_tag -342 Can change tag 89 change_tag -343 Can delete tag 89 delete_tag -344 Can view tag 89 view_tag -345 Can add webhook 1 add_webhook -346 Can change webhook 1 change_webhook -347 Can delete webhook 1 delete_webhook -348 Can view webhook 1 view_webhook -349 Can add tagged item 90 add_taggeditem -350 Can change tagged item 90 change_taggeditem -351 Can delete tagged item 90 delete_taggeditem -352 Can view tagged item 90 view_taggeditem -353 Can add object change 91 add_objectchange -354 Can change object change 91 change_objectchange -355 Can delete object change 91 delete_objectchange -356 Can view object change 91 view_objectchange -357 Can add journal entry 92 add_journalentry -358 Can change journal entry 92 change_journalentry -359 Can delete journal entry 92 delete_journalentry -360 Can view journal entry 92 view_journalentry -361 Can add image attachment 93 add_imageattachment -362 Can change image attachment 93 change_imageattachment -363 Can delete image attachment 93 delete_imageattachment -364 Can view image attachment 93 view_imageattachment -365 Can add export template 94 add_exporttemplate -366 Can change export template 94 change_exporttemplate -367 Can delete export template 94 delete_exporttemplate -368 Can view export template 94 view_exporttemplate -369 Can add custom link 95 add_customlink -370 Can change custom link 95 change_customlink -371 Can delete custom link 95 delete_customlink -372 Can view custom link 95 view_customlink -373 Can add custom field 96 add_customfield -374 Can change custom field 96 change_customfield -375 Can delete custom field 96 delete_customfield -376 Can view custom field 96 view_customfield -377 Can add saved filter 97 add_savedfilter -378 Can change saved filter 97 change_savedfilter -379 Can delete saved filter 97 delete_savedfilter -380 Can view saved filter 97 view_savedfilter -381 Can add cached value 98 add_cachedvalue -382 Can change cached value 98 change_cachedvalue -383 Can delete cached value 98 delete_cachedvalue -384 Can view cached value 98 view_cachedvalue -385 Can add branch 99 add_branch -386 Can change branch 99 change_branch -387 Can delete branch 99 delete_branch -388 Can view branch 99 view_branch -389 Can add staged change 100 add_stagedchange -390 Can change staged change 100 change_stagedchange -391 Can delete staged change 100 delete_stagedchange -392 Can view staged change 100 view_stagedchange -393 Can add config template 101 add_configtemplate -394 Can change config template 101 change_configtemplate -395 Can delete config template 101 delete_configtemplate -396 Can view config template 101 view_configtemplate -397 Can add dashboard 102 add_dashboard -398 Can change dashboard 102 change_dashboard -399 Can delete dashboard 102 delete_dashboard -400 Can view dashboard 102 view_dashboard -401 Can add script module 3 add_scriptmodule -402 Can change script module 3 change_scriptmodule -403 Can delete script module 3 delete_scriptmodule -404 Can view script module 3 view_scriptmodule -405 Can add bookmark 103 add_bookmark -406 Can change bookmark 103 change_bookmark -407 Can delete bookmark 103 delete_bookmark -408 Can view bookmark 103 view_bookmark -409 Can add custom field choice set 104 add_customfieldchoiceset -410 Can change custom field choice set 104 change_customfieldchoiceset -411 Can delete custom field choice set 104 delete_customfieldchoiceset -412 Can view custom field choice set 104 view_customfieldchoiceset -413 Can add eventrule 105 add_eventrule -414 Can change eventrule 105 change_eventrule -415 Can delete eventrule 105 delete_eventrule -416 Can view eventrule 105 view_eventrule -417 Can add tenant group 106 add_tenantgroup -418 Can change tenant group 106 change_tenantgroup -419 Can delete tenant group 106 delete_tenantgroup -420 Can view tenant group 106 view_tenantgroup -421 Can add tenant 107 add_tenant -422 Can change tenant 107 change_tenant -423 Can delete tenant 107 delete_tenant -424 Can view tenant 107 view_tenant -425 Can add contact role 108 add_contactrole -426 Can change contact role 108 change_contactrole -427 Can delete contact role 108 delete_contactrole -428 Can view contact role 108 view_contactrole -429 Can add contact group 109 add_contactgroup -430 Can change contact group 109 change_contactgroup -431 Can delete contact group 109 delete_contactgroup -432 Can view contact group 109 view_contactgroup -433 Can add contact 110 add_contact -434 Can change contact 110 change_contact -435 Can delete contact 110 delete_contact -436 Can view contact 110 view_contact -437 Can add contact assignment 111 add_contactassignment -438 Can change contact assignment 111 change_contactassignment -439 Can delete contact assignment 111 delete_contactassignment -440 Can view contact assignment 111 view_contactassignment -441 Can add user 112 add_user -442 Can change user 112 change_user -443 Can delete user 112 delete_user -444 Can view user 112 view_user -445 Can add User Preferences 113 add_userconfig -446 Can change User Preferences 113 change_userconfig -447 Can delete User Preferences 113 delete_userconfig -448 Can view User Preferences 113 view_userconfig -449 Can add token 114 add_token -450 Can change token 114 change_token -451 Can delete token 114 delete_token -452 Can view token 114 view_token -453 Can add permission 115 add_objectpermission -454 Can change permission 115 change_objectpermission -455 Can delete permission 115 delete_objectpermission -456 Can view permission 115 view_objectpermission -457 Can add group 116 add_group -458 Can change group 116 change_group -459 Can delete group 116 delete_group -460 Can view group 116 view_group -461 Can add cluster 117 add_cluster -462 Can change cluster 117 change_cluster -463 Can delete cluster 117 delete_cluster -464 Can view cluster 117 view_cluster -465 Can add cluster group 118 add_clustergroup -466 Can change cluster group 118 change_clustergroup -467 Can delete cluster group 118 delete_clustergroup -468 Can view cluster group 118 view_clustergroup -469 Can add cluster type 119 add_clustertype -470 Can change cluster type 119 change_clustertype -471 Can delete cluster type 119 delete_clustertype -472 Can view cluster type 119 view_clustertype -473 Can add virtual machine 120 add_virtualmachine -474 Can change virtual machine 120 change_virtualmachine -475 Can delete virtual machine 120 delete_virtualmachine -476 Can view virtual machine 120 view_virtualmachine -477 Can add interface 121 add_vminterface -478 Can change interface 121 change_vminterface -479 Can delete interface 121 delete_vminterface -480 Can view interface 121 view_vminterface -481 Can add virtual disk 122 add_virtualdisk -482 Can change virtual disk 122 change_virtualdisk -483 Can delete virtual disk 122 delete_virtualdisk -484 Can view virtual disk 122 view_virtualdisk -485 Can add IKE proposal 123 add_ikeproposal -486 Can change IKE proposal 123 change_ikeproposal -487 Can delete IKE proposal 123 delete_ikeproposal -488 Can view IKE proposal 123 view_ikeproposal -489 Can add IKE policy 124 add_ikepolicy -490 Can change IKE policy 124 change_ikepolicy -491 Can delete IKE policy 124 delete_ikepolicy -492 Can view IKE policy 124 view_ikepolicy -493 Can add IPSec proposal 125 add_ipsecproposal -494 Can change IPSec proposal 125 change_ipsecproposal -495 Can delete IPSec proposal 125 delete_ipsecproposal -496 Can view IPSec proposal 125 view_ipsecproposal -497 Can add IPSec policy 126 add_ipsecpolicy -498 Can change IPSec policy 126 change_ipsecpolicy -499 Can delete IPSec policy 126 delete_ipsecpolicy -500 Can view IPSec policy 126 view_ipsecpolicy -501 Can add IPSec profile 127 add_ipsecprofile -502 Can change IPSec profile 127 change_ipsecprofile -503 Can delete IPSec profile 127 delete_ipsecprofile -504 Can view IPSec profile 127 view_ipsecprofile -505 Can add tunnel group 128 add_tunnelgroup -506 Can change tunnel group 128 change_tunnelgroup -507 Can delete tunnel group 128 delete_tunnelgroup -508 Can view tunnel group 128 view_tunnelgroup -509 Can add tunnel 129 add_tunnel -510 Can change tunnel 129 change_tunnel -511 Can delete tunnel 129 delete_tunnel -512 Can view tunnel 129 view_tunnel -513 Can add tunnel termination 130 add_tunneltermination -514 Can change tunnel termination 130 change_tunneltermination -515 Can delete tunnel termination 130 delete_tunneltermination -516 Can view tunnel termination 130 view_tunneltermination -517 Can add L2VPN 131 add_l2vpn -518 Can change L2VPN 131 change_l2vpn -519 Can delete L2VPN 131 delete_l2vpn -520 Can view L2VPN 131 view_l2vpn -521 Can add L2VPN termination 132 add_l2vpntermination -522 Can change L2VPN termination 132 change_l2vpntermination -523 Can delete L2VPN termination 132 delete_l2vpntermination -524 Can view L2VPN termination 132 view_l2vpntermination -525 Can add Wireless LAN Group 133 add_wirelesslangroup -526 Can change Wireless LAN Group 133 change_wirelesslangroup -527 Can delete Wireless LAN Group 133 delete_wirelesslangroup -528 Can view Wireless LAN Group 133 view_wirelesslangroup -529 Can add Wireless LAN 134 add_wirelesslan -530 Can change Wireless LAN 134 change_wirelesslan -531 Can delete Wireless LAN 134 delete_wirelesslan -532 Can view Wireless LAN 134 view_wirelesslan -533 Can add wireless link 135 add_wirelesslink -534 Can change wireless link 135 change_wirelesslink -535 Can delete wireless link 135 delete_wirelesslink -536 Can view wireless link 135 view_wirelesslink -537 Access admin page 136 view +1 Can add permission 14 add_permission +2 Can change permission 14 change_permission +3 Can delete permission 14 delete_permission +4 Can view permission 14 view_permission +5 Can add group 15 add_group +6 Can change group 15 change_group +7 Can delete group 15 delete_group +8 Can view group 15 view_group +9 Can add content type 16 add_contenttype +10 Can change content type 16 change_contenttype +11 Can delete content type 16 delete_contenttype +12 Can view content type 16 view_contenttype +13 Can add session 17 add_session +14 Can change session 17 change_session +15 Can delete session 17 delete_session +16 Can view session 17 view_session +17 Can add association 20 add_association +18 Can change association 20 change_association +19 Can delete association 20 delete_association +20 Can view association 20 view_association +21 Can add code 21 add_code +22 Can change code 21 change_code +23 Can delete code 21 delete_code +24 Can view code 21 view_code +25 Can add nonce 19 add_nonce +26 Can change nonce 19 change_nonce +27 Can delete nonce 19 delete_nonce +28 Can view nonce 19 view_nonce +29 Can add user social auth 18 add_usersocialauth +30 Can change user social auth 18 change_usersocialauth +31 Can delete user social auth 18 delete_usersocialauth +32 Can view user social auth 18 view_usersocialauth +33 Can add partial 22 add_partial +34 Can change partial 22 change_partial +35 Can delete partial 22 delete_partial +36 Can view partial 22 view_partial +37 Can add kv store 23 add_kvstore +38 Can change kv store 23 change_kvstore +39 Can delete kv store 23 delete_kvstore +40 Can view kv store 23 view_kvstore +41 Can add tag 24 add_tag +42 Can change tag 24 change_tag +43 Can delete tag 24 delete_tag +44 Can view tag 24 view_tag +45 Can add tagged item 25 add_taggeditem +46 Can change tagged item 25 change_taggeditem +47 Can delete tagged item 25 delete_taggeditem +48 Can view tagged item 25 view_taggeditem +49 Can add data source 29 add_datasource +50 Can change data source 29 change_datasource +51 Can delete data source 29 delete_datasource +52 Can view data source 29 view_datasource +53 Can add data file 30 add_datafile +54 Can change data file 30 change_datafile +55 Can delete data file 30 delete_datafile +56 Can view data file 30 view_datafile +57 Can add auto sync record 31 add_autosyncrecord +58 Can change auto sync record 31 change_autosyncrecord +59 Can delete auto sync record 31 delete_autosyncrecord +60 Can view auto sync record 31 view_autosyncrecord +61 Can add managed file 5 add_managedfile +62 Can change managed file 5 change_managedfile +63 Can delete managed file 5 delete_managedfile +64 Can view managed file 5 view_managedfile +65 Can add job 32 add_job +66 Can change job 32 change_job +67 Can delete job 32 delete_job +68 Can view job 32 view_job +69 Can add config revision 28 add_configrevision +70 Can change config revision 28 change_configrevision +71 Can delete config revision 28 delete_configrevision +72 Can view config revision 28 view_configrevision +73 Can add object change 27 add_objectchange +74 Can change object change 27 change_objectchange +75 Can delete object change 27 delete_objectchange +76 Can view object change 27 view_objectchange +77 Can add object type 26 add_objecttype +78 Can change object type 26 change_objecttype +79 Can delete object type 26 delete_objecttype +80 Can view object type 26 view_objecttype +81 Can add token 33 add_usertoken +82 Can change token 33 change_usertoken +83 Can delete token 33 delete_usertoken +84 Can view token 33 view_usertoken +85 Can add circuit 8 add_circuit +86 Can change circuit 8 change_circuit +87 Can delete circuit 8 delete_circuit +88 Can view circuit 8 view_circuit +89 Can add circuit termination 37 add_circuittermination +90 Can change circuit termination 37 change_circuittermination +91 Can delete circuit termination 37 delete_circuittermination +92 Can view circuit termination 37 view_circuittermination +93 Can add circuit type 34 add_circuittype +94 Can change circuit type 34 change_circuittype +95 Can delete circuit type 34 delete_circuittype +96 Can view circuit type 34 view_circuittype +97 Can add provider 38 add_provider +98 Can change provider 38 change_provider +99 Can delete provider 38 delete_provider +100 Can view provider 38 view_provider +101 Can add provider network 7 add_providernetwork +102 Can change provider network 7 change_providernetwork +103 Can delete provider network 7 delete_providernetwork +104 Can view provider network 7 view_providernetwork +105 Can add provider account 39 add_provideraccount +106 Can change provider account 39 change_provideraccount +107 Can delete provider account 39 delete_provideraccount +108 Can view provider account 39 view_provideraccount +109 Can add Circuit group 35 add_circuitgroup +110 Can change Circuit group 35 change_circuitgroup +111 Can delete Circuit group 35 delete_circuitgroup +112 Can view Circuit group 35 view_circuitgroup +113 Can add Circuit group assignment 36 add_circuitgroupassignment +114 Can change Circuit group assignment 36 change_circuitgroupassignment +115 Can delete Circuit group assignment 36 delete_circuitgroupassignment +116 Can view Circuit group assignment 36 view_circuitgroupassignment +117 Can add virtual circuit type 40 add_virtualcircuittype +118 Can change virtual circuit type 40 change_virtualcircuittype +119 Can delete virtual circuit type 40 delete_virtualcircuittype +120 Can view virtual circuit type 40 view_virtualcircuittype +121 Can add circuit 41 add_virtualcircuit +122 Can change circuit 41 change_virtualcircuit +123 Can delete circuit 41 delete_virtualcircuit +124 Can view circuit 41 view_virtualcircuit +125 Can add virtual circuit termination 42 add_virtualcircuittermination +126 Can change virtual circuit termination 42 change_virtualcircuittermination +127 Can delete virtual circuit termination 42 delete_virtualcircuittermination +128 Can view virtual circuit termination 42 view_virtualcircuittermination +129 Can add cable 53 add_cable +130 Can change cable 53 change_cable +131 Can delete cable 53 delete_cable +132 Can view cable 53 view_cable +133 Can add cable path 55 add_cablepath +134 Can change cable path 55 change_cablepath +135 Can delete cable path 55 delete_cablepath +136 Can view cable path 55 view_cablepath +137 Can add console port 43 add_consoleport +138 Can change console port 43 change_consoleport +139 Can delete console port 43 delete_consoleport +140 Can view console port 43 view_consoleport +141 Can add console port template 56 add_consoleporttemplate +142 Can change console port template 56 change_consoleporttemplate +143 Can delete console port template 56 delete_consoleporttemplate +144 Can view console port template 56 view_consoleporttemplate +145 Can add console server port 44 add_consoleserverport +146 Can change console server port 44 change_consoleserverport +147 Can delete console server port 44 delete_consoleserverport +148 Can view console server port 44 view_consoleserverport +149 Can add console server port template 57 add_consoleserverporttemplate +150 Can change console server port template 57 change_consoleserverporttemplate +151 Can delete console server port template 57 delete_consoleserverporttemplate +152 Can view console server port template 57 view_consoleserverporttemplate +153 Can add device 12 add_device +154 Can change device 12 change_device +155 Can delete device 12 delete_device +156 Can view device 12 view_device +157 Can add device bay 50 add_devicebay +158 Can change device bay 50 change_devicebay +159 Can delete device bay 50 delete_devicebay +160 Can view device bay 50 view_devicebay +161 Can add device bay template 64 add_devicebaytemplate +162 Can change device bay template 64 change_devicebaytemplate +163 Can delete device bay template 64 delete_devicebaytemplate +164 Can view device bay template 64 view_devicebaytemplate +165 Can add device role 70 add_devicerole +166 Can change device role 70 change_devicerole +167 Can delete device role 70 delete_devicerole +168 Can view device role 70 view_devicerole +169 Can add device type 69 add_devicetype +170 Can change device type 69 change_devicetype +171 Can delete device type 69 delete_devicetype +172 Can view device type 69 view_devicetype +173 Can add front port 47 add_frontport +174 Can change front port 47 change_frontport +175 Can delete front port 47 delete_frontport +176 Can view front port 47 view_frontport +177 Can add front port template 61 add_frontporttemplate +178 Can change front port template 61 change_frontporttemplate +179 Can delete front port template 61 delete_frontporttemplate +180 Can view front port template 61 view_frontporttemplate +181 Can add interface 9 add_interface +182 Can change interface 9 change_interface +183 Can delete interface 9 delete_interface +184 Can view interface 9 view_interface +185 Can add interface template 60 add_interfacetemplate +186 Can change interface template 60 change_interfacetemplate +187 Can delete interface template 60 delete_interfacetemplate +188 Can view interface template 60 view_interfacetemplate +189 Can add inventory item 52 add_inventoryitem +190 Can change inventory item 52 change_inventoryitem +191 Can delete inventory item 52 delete_inventoryitem +192 Can view inventory item 52 view_inventoryitem +193 Can add location 83 add_location +194 Can change location 83 change_location +195 Can delete location 83 delete_location +196 Can view location 83 view_location +197 Can add manufacturer 68 add_manufacturer +198 Can change manufacturer 68 change_manufacturer +199 Can delete manufacturer 68 delete_manufacturer +200 Can view manufacturer 68 view_manufacturer +201 Can add platform 71 add_platform +202 Can change platform 71 change_platform +203 Can delete platform 71 delete_platform +204 Can view platform 71 view_platform +205 Can add power feed 76 add_powerfeed +206 Can change power feed 76 change_powerfeed +207 Can delete power feed 76 delete_powerfeed +208 Can view power feed 76 view_powerfeed +209 Can add power outlet 46 add_poweroutlet +210 Can change power outlet 46 change_poweroutlet +211 Can delete power outlet 46 delete_poweroutlet +212 Can view power outlet 46 view_poweroutlet +213 Can add power outlet template 59 add_poweroutlettemplate +214 Can change power outlet template 59 change_poweroutlettemplate +215 Can delete power outlet template 59 delete_poweroutlettemplate +216 Can view power outlet template 59 view_poweroutlettemplate +217 Can add power panel 75 add_powerpanel +218 Can change power panel 75 change_powerpanel +219 Can delete power panel 75 delete_powerpanel +220 Can view power panel 75 view_powerpanel +221 Can add power port 45 add_powerport +222 Can change power port 45 change_powerport +223 Can delete power port 45 delete_powerport +224 Can view power port 45 view_powerport +225 Can add power port template 58 add_powerporttemplate +226 Can change power port template 58 change_powerporttemplate +227 Can delete power port template 58 delete_powerporttemplate +228 Can view power port template 58 view_powerporttemplate +229 Can add rack 79 add_rack +230 Can change rack 79 change_rack +231 Can delete rack 79 delete_rack +232 Can view rack 79 view_rack +233 Can add rack reservation 80 add_rackreservation +234 Can change rack reservation 80 change_rackreservation +235 Can delete rack reservation 80 delete_rackreservation +236 Can view rack reservation 80 view_rackreservation +237 Can add rack role 78 add_rackrole +238 Can change rack role 78 change_rackrole +239 Can delete rack role 78 delete_rackrole +240 Can view rack role 78 view_rackrole +241 Can add rear port 48 add_rearport +242 Can change rear port 48 change_rearport +243 Can delete rear port 48 delete_rearport +244 Can view rear port 48 view_rearport +245 Can add rear port template 62 add_rearporttemplate +246 Can change rear port template 62 change_rearporttemplate +247 Can delete rear port template 62 delete_rearporttemplate +248 Can view rear port template 62 view_rearporttemplate +249 Can add region 81 add_region +250 Can change region 81 change_region +251 Can delete region 81 delete_region +252 Can view region 81 view_region +253 Can add site 6 add_site +254 Can change site 6 change_site +255 Can delete site 6 delete_site +256 Can view site 6 view_site +257 Can add site group 82 add_sitegroup +258 Can change site group 82 change_sitegroup +259 Can delete site group 82 delete_sitegroup +260 Can view site group 82 view_sitegroup +261 Can add virtual chassis 72 add_virtualchassis +262 Can change virtual chassis 72 change_virtualchassis +263 Can delete virtual chassis 72 delete_virtualchassis +264 Can view virtual chassis 72 view_virtualchassis +265 Can add module type 66 add_moduletype +266 Can change module type 66 change_moduletype +267 Can delete module type 66 delete_moduletype +268 Can view module type 66 view_moduletype +269 Can add module bay 49 add_modulebay +270 Can change module bay 49 change_modulebay +271 Can delete module bay 49 delete_modulebay +272 Can view module bay 49 view_modulebay +273 Can add module 67 add_module +274 Can change module 67 change_module +275 Can delete module 67 delete_module +276 Can view module 67 view_module +277 Can add inventory item role 51 add_inventoryitemrole +278 Can change inventory item role 51 change_inventoryitemrole +279 Can delete inventory item role 51 delete_inventoryitemrole +280 Can view inventory item role 51 view_inventoryitemrole +281 Can add inventory item template 65 add_inventoryitemtemplate +282 Can change inventory item template 65 change_inventoryitemtemplate +283 Can delete inventory item template 65 delete_inventoryitemtemplate +284 Can view inventory item template 65 view_inventoryitemtemplate +285 Can add module bay template 63 add_modulebaytemplate +286 Can change module bay template 63 change_modulebaytemplate +287 Can delete module bay template 63 delete_modulebaytemplate +288 Can view module bay template 63 view_modulebaytemplate +289 Can add cable termination 54 add_cabletermination +290 Can change cable termination 54 change_cabletermination +291 Can delete cable termination 54 delete_cabletermination +292 Can view cable termination 54 view_cabletermination +293 Can add virtual device context 73 add_virtualdevicecontext +294 Can change virtual device context 73 change_virtualdevicecontext +295 Can delete virtual device context 73 delete_virtualdevicecontext +296 Can view virtual device context 73 view_virtualdevicecontext +297 Can add racktype 77 add_racktype +298 Can change racktype 77 change_racktype +299 Can delete racktype 77 delete_racktype +300 Can view racktype 77 view_racktype +301 Can add MAC address 74 add_macaddress +302 Can change MAC address 74 change_macaddress +303 Can delete MAC address 74 delete_macaddress +304 Can view MAC address 74 view_macaddress +305 Can add module type profile 10 add_moduletypeprofile +306 Can change module type profile 10 change_moduletypeprofile +307 Can delete module type profile 10 delete_moduletypeprofile +308 Can view module type profile 10 view_moduletypeprofile +309 Can add aggregate 91 add_aggregate +310 Can change aggregate 91 change_aggregate +311 Can delete aggregate 91 delete_aggregate +312 Can view aggregate 91 view_aggregate +313 Can add IP address 95 add_ipaddress +314 Can change IP address 95 change_ipaddress +315 Can delete IP address 95 delete_ipaddress +316 Can view IP address 95 view_ipaddress +317 Can add prefix 93 add_prefix +318 Can change prefix 93 change_prefix +319 Can delete prefix 93 delete_prefix +320 Can view prefix 93 view_prefix +321 Can add RIR 90 add_rir +322 Can change RIR 90 change_rir +323 Can delete RIR 90 delete_rir +324 Can view RIR 90 view_rir +325 Can add role 92 add_role +326 Can change role 92 change_role +327 Can delete role 92 delete_role +328 Can view role 92 view_role +329 Can add route target 89 add_routetarget +330 Can change route target 89 change_routetarget +331 Can delete route target 89 delete_routetarget +332 Can view route target 89 view_routetarget +333 Can add VRF 88 add_vrf +334 Can change VRF 88 change_vrf +335 Can delete VRF 88 delete_vrf +336 Can view VRF 88 view_vrf +337 Can add VLAN group 98 add_vlangroup +338 Can change VLAN group 98 change_vlangroup +339 Can delete VLAN group 98 delete_vlangroup +340 Can view VLAN group 98 view_vlangroup +341 Can add VLAN 99 add_vlan +342 Can change VLAN 99 change_vlan +343 Can delete VLAN 99 delete_vlan +344 Can view VLAN 99 view_vlan +345 Can add service 97 add_service +346 Can change service 97 change_service +347 Can delete service 97 delete_service +348 Can view service 97 view_service +349 Can add IP range 94 add_iprange +350 Can change IP range 94 change_iprange +351 Can delete IP range 94 delete_iprange +352 Can view IP range 94 view_iprange +353 Can add FHRP group 86 add_fhrpgroup +354 Can change FHRP group 86 change_fhrpgroup +355 Can delete FHRP group 86 delete_fhrpgroup +356 Can view FHRP group 86 view_fhrpgroup +357 Can add FHRP group assignment 87 add_fhrpgroupassignment +358 Can change FHRP group assignment 87 change_fhrpgroupassignment +359 Can delete FHRP group assignment 87 delete_fhrpgroupassignment +360 Can view FHRP group assignment 87 view_fhrpgroupassignment +361 Can add ASN 85 add_asn +362 Can change ASN 85 change_asn +363 Can delete ASN 85 delete_asn +364 Can view ASN 85 view_asn +365 Can add service template 96 add_servicetemplate +366 Can change service template 96 change_servicetemplate +367 Can delete service template 96 delete_servicetemplate +368 Can view service template 96 view_servicetemplate +369 Can add ASN range 84 add_asnrange +370 Can change ASN range 84 change_asnrange +371 Can delete ASN range 84 delete_asnrange +372 Can view ASN range 84 view_asnrange +373 Can add VLAN translation policy 100 add_vlantranslationpolicy +374 Can change VLAN translation policy 100 change_vlantranslationpolicy +375 Can delete VLAN translation policy 100 delete_vlantranslationpolicy +376 Can view VLAN translation policy 100 view_vlantranslationpolicy +377 Can add VLAN translation rule 101 add_vlantranslationrule +378 Can change VLAN translation rule 101 change_vlantranslationrule +379 Can delete VLAN translation rule 101 delete_vlantranslationrule +380 Can view VLAN translation rule 101 view_vlantranslationrule +381 Can add script 2 add_script +382 Can change script 2 change_script +383 Can delete script 2 delete_script +384 Can view script 2 view_script +385 Can add config context 105 add_configcontext +386 Can change config context 105 change_configcontext +387 Can delete config context 105 delete_configcontext +388 Can view config context 105 view_configcontext +389 Can add tag 102 add_tag +390 Can change tag 102 change_tag +391 Can delete tag 102 delete_tag +392 Can view tag 102 view_tag +393 Can add webhook 1 add_webhook +394 Can change webhook 1 change_webhook +395 Can delete webhook 1 delete_webhook +396 Can view webhook 1 view_webhook +397 Can add tagged item 103 add_taggeditem +398 Can change tagged item 103 change_taggeditem +399 Can delete tagged item 103 delete_taggeditem +400 Can view tagged item 103 view_taggeditem +401 Can add journal entry 116 add_journalentry +402 Can change journal entry 116 change_journalentry +403 Can delete journal entry 116 delete_journalentry +404 Can view journal entry 116 view_journalentry +405 Can add image attachment 115 add_imageattachment +406 Can change image attachment 115 change_imageattachment +407 Can delete image attachment 115 delete_imageattachment +408 Can view image attachment 115 view_imageattachment +409 Can add export template 112 add_exporttemplate +410 Can change export template 112 change_exporttemplate +411 Can delete export template 112 delete_exporttemplate +412 Can view export template 112 view_exporttemplate +413 Can add custom link 111 add_customlink +414 Can change custom link 111 change_customlink +415 Can delete custom link 111 delete_customlink +416 Can view custom link 111 view_customlink +417 Can add custom field 107 add_customfield +418 Can change custom field 107 change_customfield +419 Can delete custom field 107 delete_customfield +420 Can view custom field 107 view_customfield +421 Can add saved filter 113 add_savedfilter +422 Can change saved filter 113 change_savedfilter +423 Can delete saved filter 113 delete_savedfilter +424 Can view saved filter 113 view_savedfilter +425 Can add cached value 121 add_cachedvalue +426 Can change cached value 121 change_cachedvalue +427 Can delete cached value 121 delete_cachedvalue +428 Can view cached value 121 view_cachedvalue +429 Can add config template 106 add_configtemplate +430 Can change config template 106 change_configtemplate +431 Can delete config template 106 delete_configtemplate +432 Can view config template 106 view_configtemplate +433 Can add dashboard 109 add_dashboard +434 Can change dashboard 109 change_dashboard +435 Can delete dashboard 109 delete_dashboard +436 Can view dashboard 109 view_dashboard +437 Can add script module 3 add_scriptmodule +438 Can change script module 3 change_scriptmodule +439 Can delete script module 3 delete_scriptmodule +440 Can view script module 3 view_scriptmodule +441 Can add bookmark 117 add_bookmark +442 Can change bookmark 117 change_bookmark +443 Can delete bookmark 117 delete_bookmark +444 Can view bookmark 117 view_bookmark +445 Can add custom field choice set 108 add_customfieldchoiceset +446 Can change custom field choice set 108 change_customfieldchoiceset +447 Can delete custom field choice set 108 delete_customfieldchoiceset +448 Can view custom field choice set 108 view_customfieldchoiceset +449 Can add eventrule 110 add_eventrule +450 Can change eventrule 110 change_eventrule +451 Can delete eventrule 110 delete_eventrule +452 Can view eventrule 110 view_eventrule +453 Can add notification group 119 add_notificationgroup +454 Can change notification group 119 change_notificationgroup +455 Can delete notification group 119 delete_notificationgroup +456 Can view notification group 119 view_notificationgroup +457 Can add subscription 120 add_subscription +458 Can change subscription 120 change_subscription +459 Can delete subscription 120 delete_subscription +460 Can view subscription 120 view_subscription +461 Can add notification 118 add_notification +462 Can change notification 118 change_notification +463 Can delete notification 118 delete_notification +464 Can view notification 118 view_notification +465 Can add table config 114 add_tableconfig +466 Can change table config 114 change_tableconfig +467 Can delete table config 114 delete_tableconfig +468 Can view table config 114 view_tableconfig +469 Can add config context profile 104 add_configcontextprofile +470 Can change config context profile 104 change_configcontextprofile +471 Can delete config context profile 104 delete_configcontextprofile +472 Can view config context profile 104 view_configcontextprofile +473 Can add tenant group 126 add_tenantgroup +474 Can change tenant group 126 change_tenantgroup +475 Can delete tenant group 126 delete_tenantgroup +476 Can view tenant group 126 view_tenantgroup +477 Can add tenant 127 add_tenant +478 Can change tenant 127 change_tenant +479 Can delete tenant 127 delete_tenant +480 Can view tenant 127 view_tenant +481 Can add contact role 123 add_contactrole +482 Can change contact role 123 change_contactrole +483 Can delete contact role 123 delete_contactrole +484 Can view contact role 123 view_contactrole +485 Can add contact group 122 add_contactgroup +486 Can change contact group 122 change_contactgroup +487 Can delete contact group 122 delete_contactgroup +488 Can view contact group 122 view_contactgroup +489 Can add contact 124 add_contact +490 Can change contact 124 change_contact +491 Can delete contact 124 delete_contact +492 Can view contact 124 view_contact +493 Can add contact assignment 125 add_contactassignment +494 Can change contact assignment 125 change_contactassignment +495 Can delete contact assignment 125 delete_contactassignment +496 Can view contact assignment 125 view_contactassignment +497 Can add user 129 add_user +498 Can change user 129 change_user +499 Can delete user 129 delete_user +500 Can view user 129 view_user +501 Can add User Preferences 130 add_userconfig +502 Can change User Preferences 130 change_userconfig +503 Can delete User Preferences 130 delete_userconfig +504 Can view User Preferences 130 view_userconfig +505 Can add token 131 add_token +506 Can change token 131 change_token +507 Can delete token 131 delete_token +508 Can view token 131 view_token +509 Can add permission 132 add_objectpermission +510 Can change permission 132 change_objectpermission +511 Can delete permission 132 delete_objectpermission +512 Can view permission 132 view_objectpermission +513 Can add group 128 add_group +514 Can change group 128 change_group +515 Can delete group 128 delete_group +516 Can view group 128 view_group +517 Can add cluster 135 add_cluster +518 Can change cluster 135 change_cluster +519 Can delete cluster 135 delete_cluster +520 Can view cluster 135 view_cluster +521 Can add cluster group 134 add_clustergroup +522 Can change cluster group 134 change_clustergroup +523 Can delete cluster group 134 delete_clustergroup +524 Can view cluster group 134 view_clustergroup +525 Can add cluster type 133 add_clustertype +526 Can change cluster type 133 change_clustertype +527 Can delete cluster type 133 delete_clustertype +528 Can view cluster type 133 view_clustertype +529 Can add virtual machine 13 add_virtualmachine +530 Can change virtual machine 13 change_virtualmachine +531 Can delete virtual machine 13 delete_virtualmachine +532 Can view virtual machine 13 view_virtualmachine +533 Can add interface 11 add_vminterface +534 Can change interface 11 change_vminterface +535 Can delete interface 11 delete_vminterface +536 Can view interface 11 view_vminterface +537 Can add virtual disk 136 add_virtualdisk +538 Can change virtual disk 136 change_virtualdisk +539 Can delete virtual disk 136 delete_virtualdisk +540 Can view virtual disk 136 view_virtualdisk +541 Can add IKE proposal 137 add_ikeproposal +542 Can change IKE proposal 137 change_ikeproposal +543 Can delete IKE proposal 137 delete_ikeproposal +544 Can view IKE proposal 137 view_ikeproposal +545 Can add IKE policy 138 add_ikepolicy +546 Can change IKE policy 138 change_ikepolicy +547 Can delete IKE policy 138 delete_ikepolicy +548 Can view IKE policy 138 view_ikepolicy +549 Can add IPSec proposal 139 add_ipsecproposal +550 Can change IPSec proposal 139 change_ipsecproposal +551 Can delete IPSec proposal 139 delete_ipsecproposal +552 Can view IPSec proposal 139 view_ipsecproposal +553 Can add IPSec policy 140 add_ipsecpolicy +554 Can change IPSec policy 140 change_ipsecpolicy +555 Can delete IPSec policy 140 delete_ipsecpolicy +556 Can view IPSec policy 140 view_ipsecpolicy +557 Can add IPSec profile 141 add_ipsecprofile +558 Can change IPSec profile 141 change_ipsecprofile +559 Can delete IPSec profile 141 delete_ipsecprofile +560 Can view IPSec profile 141 view_ipsecprofile +561 Can add tunnel group 144 add_tunnelgroup +562 Can change tunnel group 144 change_tunnelgroup +563 Can delete tunnel group 144 delete_tunnelgroup +564 Can view tunnel group 144 view_tunnelgroup +565 Can add tunnel 145 add_tunnel +566 Can change tunnel 145 change_tunnel +567 Can delete tunnel 145 delete_tunnel +568 Can view tunnel 145 view_tunnel +569 Can add tunnel termination 146 add_tunneltermination +570 Can change tunnel termination 146 change_tunneltermination +571 Can delete tunnel termination 146 delete_tunneltermination +572 Can view tunnel termination 146 view_tunneltermination +573 Can add L2VPN 142 add_l2vpn +574 Can change L2VPN 142 change_l2vpn +575 Can delete L2VPN 142 delete_l2vpn +576 Can view L2VPN 142 view_l2vpn +577 Can add L2VPN termination 143 add_l2vpntermination +578 Can change L2VPN termination 143 change_l2vpntermination +579 Can delete L2VPN termination 143 delete_l2vpntermination +580 Can view L2VPN termination 143 view_l2vpntermination +581 Can add Wireless LAN Group 147 add_wirelesslangroup +582 Can change Wireless LAN Group 147 change_wirelesslangroup +583 Can delete Wireless LAN Group 147 delete_wirelesslangroup +584 Can view Wireless LAN Group 147 view_wirelesslangroup +585 Can add Wireless LAN 148 add_wirelesslan +586 Can change Wireless LAN 148 change_wirelesslan +587 Can delete Wireless LAN 148 delete_wirelesslan +588 Can view Wireless LAN 148 view_wirelesslan +589 Can add wireless link 149 add_wirelesslink +590 Can change wireless link 149 change_wirelesslink +591 Can delete wireless link 149 delete_wirelesslink +592 Can view wireless link 149 view_wirelesslink +593 Access admin page 150 view \. @@ -6390,39 +7128,55 @@ COPY public.auth_permission (id, name, content_type_id, codename) FROM stdin; -- Data for Name: circuits_circuit; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.circuits_circuit (created, last_updated, custom_field_data, id, cid, status, install_date, commit_rate, description, comments, provider_id, tenant_id, termination_a_id, termination_z_id, type_id, termination_date, provider_account_id) FROM stdin; +COPY public.circuits_circuit (created, last_updated, custom_field_data, id, cid, status, install_date, commit_rate, description, comments, provider_id, tenant_id, termination_a_id, termination_z_id, type_id, termination_date, provider_account_id, _abs_distance, distance, distance_unit) FROM stdin; \. -- --- Data for Name: circuits_circuittermination; Type: TABLE DATA; Schema: public; Owner: nwa +-- Data for Name: circuits_circuitgroup; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.circuits_circuittermination (created, last_updated, id, mark_connected, term_side, port_speed, upstream_speed, xconnect_id, pp_info, description, cable_id, circuit_id, provider_network_id, site_id, custom_field_data, cable_end) FROM stdin; +COPY public.circuits_circuitgroup (id, created, last_updated, custom_field_data, name, slug, description, tenant_id) FROM stdin; \. -- --- Data for Name: circuits_circuittype; Type: TABLE DATA; Schema: public; Owner: nwa +-- Data for Name: circuits_circuitgroupassignment; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.circuits_circuittype (created, last_updated, custom_field_data, id, name, slug, description, color) FROM stdin; +COPY public.circuits_circuitgroupassignment (id, created, last_updated, custom_field_data, priority, member_id, group_id, member_type_id) FROM stdin; \. -- --- Data for Name: circuits_provider; Type: TABLE DATA; Schema: public; Owner: nwa +-- Data for Name: circuits_circuittermination; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.circuits_provider (created, last_updated, custom_field_data, id, name, slug, comments, description) FROM stdin; +COPY public.circuits_circuittermination (created, last_updated, id, mark_connected, term_side, port_speed, upstream_speed, xconnect_id, pp_info, description, cable_id, circuit_id, _provider_network_id, custom_field_data, cable_end, termination_id, termination_type_id, _location_id, _region_id, _site_id, _site_group_id) FROM stdin; \. -- --- Data for Name: circuits_provider_asns; Type: TABLE DATA; Schema: public; Owner: nwa +-- Data for Name: circuits_circuittype; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.circuits_provider_asns (id, provider_id, asn_id) FROM stdin; +COPY public.circuits_circuittype (created, last_updated, custom_field_data, id, name, slug, description, color) FROM stdin; +\. + + +-- +-- Data for Name: circuits_provider; Type: TABLE DATA; Schema: public; Owner: nwa +-- + +COPY public.circuits_provider (created, last_updated, custom_field_data, id, name, slug, comments, description) FROM stdin; +\. + + +-- +-- Data for Name: circuits_provider_asns; Type: TABLE DATA; Schema: public; Owner: nwa +-- + +COPY public.circuits_provider_asns (id, provider_id, asn_id) FROM stdin; \. @@ -6442,6 +7196,30 @@ COPY public.circuits_providernetwork (created, last_updated, custom_field_data, \. +-- +-- Data for Name: circuits_virtualcircuit; Type: TABLE DATA; Schema: public; Owner: nwa +-- + +COPY public.circuits_virtualcircuit (id, created, last_updated, custom_field_data, description, comments, cid, status, provider_account_id, provider_network_id, type_id, tenant_id) FROM stdin; +\. + + +-- +-- Data for Name: circuits_virtualcircuittermination; Type: TABLE DATA; Schema: public; Owner: nwa +-- + +COPY public.circuits_virtualcircuittermination (id, created, last_updated, custom_field_data, role, description, interface_id, virtual_circuit_id) FROM stdin; +\. + + +-- +-- Data for Name: circuits_virtualcircuittype; Type: TABLE DATA; Schema: public; Owner: nwa +-- + +COPY public.circuits_virtualcircuittype (id, created, last_updated, custom_field_data, name, slug, description, color) FROM stdin; +\. + + -- -- Data for Name: core_autosyncrecord; Type: TABLE DATA; Schema: public; Owner: nwa -- @@ -6470,7 +7248,7 @@ COPY public.core_datafile (id, created, last_updated, path, size, hash, data, so -- Data for Name: core_datasource; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.core_datasource (id, created, last_updated, custom_field_data, description, comments, name, type, source_url, status, enabled, ignore_rules, parameters, last_synced) FROM stdin; +COPY public.core_datasource (id, created, last_updated, custom_field_data, description, comments, name, type, source_url, status, enabled, ignore_rules, parameters, last_synced, sync_interval) FROM stdin; \. @@ -6478,7 +7256,9 @@ COPY public.core_datasource (id, created, last_updated, custom_field_data, descr -- Data for Name: core_job; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.core_job (id, object_id, name, created, scheduled, "interval", started, completed, status, data, job_id, object_type_id, user_id, error) FROM stdin; +COPY public.core_job (id, object_id, name, created, scheduled, "interval", started, completed, status, data, job_id, object_type_id, user_id, error, log_entries) FROM stdin; +1 \N System Housekeeping 2026-02-06 11:30:53.360004+00 \N 1440 2026-02-06 11:30:53.380124+00 2026-02-06 11:30:54.376959+00 completed \N a82dfb66-9d21-4883-84e9-cc31de4b594a \N \N {"{\\"level\\": \\"info\\", \\"message\\": \\"Reporting census data...\\", \\"timestamp\\": \\"2026-02-06T11:30:53.397Z\\"}","{\\"level\\": \\"info\\", \\"message\\": \\"Clearing expired sessions...\\", \\"timestamp\\": \\"2026-02-06T11:30:53.859Z\\"}","{\\"level\\": \\"info\\", \\"message\\": \\"Sessions cleared.\\", \\"timestamp\\": \\"2026-02-06T11:30:53.861Z\\"}","{\\"level\\": \\"info\\", \\"message\\": \\"Pruning old changelog entries...\\", \\"timestamp\\": \\"2026-02-06T11:30:53.861Z\\"}","{\\"level\\": \\"debug\\", \\"message\\": \\"Changelog retention period: 90 days (2025-11-08 11:30:53)\\", \\"timestamp\\": \\"2026-02-06T11:30:53.863Z\\"}","{\\"level\\": \\"info\\", \\"message\\": \\"Deleted 0 expired changelog records\\", \\"timestamp\\": \\"2026-02-06T11:30:53.864Z\\"}","{\\"level\\": \\"info\\", \\"message\\": \\"Deleting expired jobs...\\", \\"timestamp\\": \\"2026-02-06T11:30:53.864Z\\"}","{\\"level\\": \\"debug\\", \\"message\\": \\"Job retention period: 90 days (2025-11-08 11:30:53)\\", \\"timestamp\\": \\"2026-02-06T11:30:53.864Z\\"}","{\\"level\\": \\"info\\", \\"message\\": \\"Deleted 0 expired jobs\\", \\"timestamp\\": \\"2026-02-06T11:30:53.865Z\\"}","{\\"level\\": \\"info\\", \\"message\\": \\"Checking for new releases...\\", \\"timestamp\\": \\"2026-02-06T11:30:53.865Z\\"}","{\\"level\\": \\"debug\\", \\"message\\": \\"Release check URL: https://api.github.com/repos/netbox-community/netbox/releases\\", \\"timestamp\\": \\"2026-02-06T11:30:53.865Z\\"}","{\\"level\\": \\"debug\\", \\"message\\": \\"Found 30 releases; 26 usable\\", \\"timestamp\\": \\"2026-02-06T11:30:54.375Z\\"}","{\\"level\\": \\"info\\", \\"message\\": \\"Latest release: 4.5.2\\", \\"timestamp\\": \\"2026-02-06T11:30:54.375Z\\"}"} +2 \N System Housekeeping 2026-02-06 11:30:54.380824+00 2026-02-07 11:30:53.380124+00 1440 \N \N scheduled \N 25a79776-02c6-44c5-97f5-1869fdc155a0 \N \N {} \. @@ -6490,6 +7270,171 @@ COPY public.core_managedfile (id, data_path, data_synced, created, last_updated, \. +-- +-- Data for Name: core_objectchange; Type: TABLE DATA; Schema: public; Owner: nwa +-- + +COPY public.core_objectchange (id, "time", user_name, request_id, action, changed_object_id, related_object_id, object_repr, prechange_data, postchange_data, changed_object_type_id, related_object_type_id, user_id, message) FROM stdin; +\. + + +-- +-- Data for Name: core_objecttype; Type: TABLE DATA; Schema: public; Owner: nwa +-- + +COPY public.core_objecttype (contenttype_ptr_id, public, features) FROM stdin; +14 f {} +15 f {} +16 f {} +17 f {} +18 f {} +19 f {} +20 f {} +21 f {} +22 f {} +23 f {} +24 f {} +25 f {} +26 t {} +27 t {} +28 t {} +29 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,jobs,journaling,notifications,tags} +30 t {} +31 f {} +5 f {synced_data} +32 t {} +33 f {} +34 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +8 t {bookmarks,change_logging,cloning,contacts,custom_fields,custom_links,custom_validation,event_rules,export_templates,image_attachments,journaling,notifications,tags} +35 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +36 t {change_logging,custom_fields,custom_validation,event_rules,export_templates,tags} +37 t {change_logging,custom_fields,custom_links,custom_validation,event_rules,export_templates,tags} +38 t {bookmarks,change_logging,cloning,contacts,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +39 t {bookmarks,change_logging,cloning,contacts,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +7 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +40 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +41 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +42 t {change_logging,custom_fields,custom_links,custom_validation,event_rules,export_templates,tags} +43 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +44 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +45 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +46 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +9 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +47 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +48 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +49 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +50 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +51 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +52 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +53 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +54 t {change_logging,custom_validation,event_rules} +55 f {} +56 t {change_logging,custom_validation,event_rules} +57 t {change_logging,custom_validation,event_rules} +58 t {change_logging,custom_validation,event_rules} +59 t {change_logging,custom_validation,event_rules} +60 t {change_logging,custom_validation,event_rules} +61 t {change_logging,custom_validation,event_rules} +62 t {change_logging,custom_validation,event_rules} +63 t {change_logging,custom_validation,event_rules} +64 t {change_logging,custom_validation,event_rules} +65 t {change_logging,custom_validation,event_rules} +10 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +66 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,image_attachments,journaling,notifications,tags} +67 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +68 t {bookmarks,change_logging,cloning,contacts,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +69 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,image_attachments,journaling,notifications,tags} +70 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +71 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +12 t {bookmarks,change_logging,cloning,contacts,custom_fields,custom_links,custom_validation,event_rules,export_templates,image_attachments,journaling,notifications,tags} +72 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +73 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +74 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +75 t {bookmarks,change_logging,cloning,contacts,custom_fields,custom_links,custom_validation,event_rules,export_templates,image_attachments,journaling,notifications,tags} +76 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +77 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +78 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +79 t {bookmarks,change_logging,cloning,contacts,custom_fields,custom_links,custom_validation,event_rules,export_templates,image_attachments,journaling,notifications,tags} +80 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +81 t {bookmarks,change_logging,cloning,contacts,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +82 t {bookmarks,change_logging,cloning,contacts,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +6 t {bookmarks,change_logging,cloning,contacts,custom_fields,custom_links,custom_validation,event_rules,export_templates,image_attachments,journaling,notifications,tags} +83 t {bookmarks,change_logging,cloning,contacts,custom_fields,custom_links,custom_validation,event_rules,export_templates,image_attachments,journaling,notifications,tags} +84 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +85 t {bookmarks,change_logging,cloning,contacts,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +86 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +87 t {change_logging,custom_validation,event_rules} +88 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +89 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +90 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +91 t {bookmarks,change_logging,cloning,contacts,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +92 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +93 t {bookmarks,change_logging,cloning,contacts,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +94 t {bookmarks,change_logging,cloning,contacts,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +95 t {bookmarks,change_logging,cloning,contacts,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +96 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +97 t {bookmarks,change_logging,cloning,contacts,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +98 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +99 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +100 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +101 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +102 t {change_logging,cloning,custom_validation,event_rules,export_templates} +103 f {} +104 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,synced_data,tags} +105 t {change_logging,cloning,custom_links,custom_validation,event_rules,synced_data} +106 t {change_logging,custom_links,custom_validation,event_rules,export_templates,synced_data,tags} +107 t {change_logging,cloning,custom_validation,event_rules,export_templates} +108 t {change_logging,cloning,custom_validation,event_rules,export_templates} +109 t {} +110 t {change_logging,custom_fields,custom_validation,event_rules,export_templates,tags} +1 t {change_logging,custom_fields,custom_validation,event_rules,export_templates,tags} +111 t {change_logging,cloning,custom_validation,event_rules,export_templates} +112 t {change_logging,cloning,custom_validation,event_rules,export_templates,synced_data} +113 t {change_logging,cloning,custom_validation,event_rules,export_templates} +114 t {change_logging,cloning,custom_validation,event_rules} +115 t {change_logging,custom_validation,event_rules} +116 t {change_logging,custom_fields,custom_links,custom_validation,event_rules,export_templates,tags} +117 t {} +118 t {} +119 t {change_logging,custom_validation,event_rules} +120 t {} +2 t {event_rules,jobs} +3 f {jobs,synced_data} +121 f {} +122 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +123 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +124 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +125 t {change_logging,custom_fields,custom_validation,event_rules,export_templates,tags} +126 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +127 t {bookmarks,change_logging,cloning,contacts,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +128 t {} +129 t {} +130 f {} +131 t {} +132 t {cloning} +133 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +134 t {bookmarks,change_logging,cloning,contacts,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +135 t {bookmarks,change_logging,cloning,contacts,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +13 t {bookmarks,change_logging,cloning,contacts,custom_fields,custom_links,custom_validation,event_rules,export_templates,image_attachments,journaling,notifications,tags} +11 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +136 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +137 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +138 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +139 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +140 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +141 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +142 t {bookmarks,change_logging,cloning,contacts,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +143 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +144 t {bookmarks,change_logging,cloning,contacts,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +145 t {bookmarks,change_logging,cloning,contacts,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +146 t {change_logging,custom_fields,custom_links,custom_validation,event_rules,tags} +147 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +148 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +149 t {bookmarks,change_logging,cloning,custom_fields,custom_links,custom_validation,event_rules,export_templates,journaling,notifications,tags} +150 f {} +\. + + -- -- Data for Name: dcim_cable; Type: TABLE DATA; Schema: public; Owner: nwa -- @@ -6518,7 +7463,7 @@ COPY public.dcim_cabletermination (id, cable_end, termination_id, cable_id, term -- Data for Name: dcim_consoleport; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.dcim_consoleport (created, last_updated, custom_field_data, id, name, _name, label, description, mark_connected, type, speed, _path_id, cable_id, device_id, module_id, cable_end) FROM stdin; +COPY public.dcim_consoleport (created, last_updated, custom_field_data, id, name, label, description, mark_connected, type, speed, _path_id, cable_id, device_id, module_id, cable_end, _location_id, _rack_id, _site_id) FROM stdin; \. @@ -6526,7 +7471,7 @@ COPY public.dcim_consoleport (created, last_updated, custom_field_data, id, name -- Data for Name: dcim_consoleporttemplate; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.dcim_consoleporttemplate (created, last_updated, id, name, _name, label, description, type, device_type_id, module_type_id) FROM stdin; +COPY public.dcim_consoleporttemplate (created, last_updated, id, name, label, description, type, device_type_id, module_type_id) FROM stdin; \. @@ -6534,7 +7479,7 @@ COPY public.dcim_consoleporttemplate (created, last_updated, id, name, _name, la -- Data for Name: dcim_consoleserverport; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.dcim_consoleserverport (created, last_updated, custom_field_data, id, name, _name, label, description, mark_connected, type, speed, _path_id, cable_id, device_id, module_id, cable_end) FROM stdin; +COPY public.dcim_consoleserverport (created, last_updated, custom_field_data, id, name, label, description, mark_connected, type, speed, _path_id, cable_id, device_id, module_id, cable_end, _location_id, _rack_id, _site_id) FROM stdin; \. @@ -6542,7 +7487,7 @@ COPY public.dcim_consoleserverport (created, last_updated, custom_field_data, id -- Data for Name: dcim_consoleserverporttemplate; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.dcim_consoleserverporttemplate (created, last_updated, id, name, _name, label, description, type, device_type_id, module_type_id) FROM stdin; +COPY public.dcim_consoleserverporttemplate (created, last_updated, id, name, label, description, type, device_type_id, module_type_id) FROM stdin; \. @@ -6550,7 +7495,7 @@ COPY public.dcim_consoleserverporttemplate (created, last_updated, id, name, _na -- Data for Name: dcim_device; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.dcim_device (created, last_updated, custom_field_data, id, local_context_data, name, _name, serial, asset_tag, "position", face, status, vc_position, vc_priority, comments, cluster_id, role_id, device_type_id, location_id, platform_id, primary_ip4_id, primary_ip6_id, rack_id, site_id, tenant_id, virtual_chassis_id, airflow, description, config_template_id, latitude, longitude, oob_ip_id, console_port_count, console_server_port_count, power_port_count, power_outlet_count, interface_count, front_port_count, rear_port_count, device_bay_count, module_bay_count, inventory_item_count) FROM stdin; +COPY public.dcim_device (created, last_updated, custom_field_data, id, local_context_data, name, serial, asset_tag, "position", face, status, vc_position, vc_priority, comments, cluster_id, role_id, device_type_id, location_id, platform_id, primary_ip4_id, primary_ip6_id, rack_id, site_id, tenant_id, virtual_chassis_id, airflow, description, config_template_id, latitude, longitude, oob_ip_id, console_port_count, console_server_port_count, power_port_count, power_outlet_count, interface_count, front_port_count, rear_port_count, device_bay_count, module_bay_count, inventory_item_count) FROM stdin; \. @@ -6558,7 +7503,7 @@ COPY public.dcim_device (created, last_updated, custom_field_data, id, local_con -- Data for Name: dcim_devicebay; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.dcim_devicebay (created, last_updated, custom_field_data, id, name, _name, label, description, device_id, installed_device_id) FROM stdin; +COPY public.dcim_devicebay (created, last_updated, custom_field_data, id, name, label, description, device_id, installed_device_id, _location_id, _rack_id, _site_id) FROM stdin; \. @@ -6566,7 +7511,7 @@ COPY public.dcim_devicebay (created, last_updated, custom_field_data, id, name, -- Data for Name: dcim_devicebaytemplate; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.dcim_devicebaytemplate (created, last_updated, id, name, _name, label, description, device_type_id) FROM stdin; +COPY public.dcim_devicebaytemplate (created, last_updated, id, name, label, description, device_type_id) FROM stdin; \. @@ -6574,7 +7519,7 @@ COPY public.dcim_devicebaytemplate (created, last_updated, id, name, _name, labe -- Data for Name: dcim_devicerole; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.dcim_devicerole (created, last_updated, custom_field_data, id, name, slug, color, vm_role, description, config_template_id) FROM stdin; +COPY public.dcim_devicerole (created, last_updated, custom_field_data, id, name, slug, color, vm_role, description, config_template_id, level, lft, rght, tree_id, parent_id, comments) FROM stdin; \. @@ -6590,7 +7535,7 @@ COPY public.dcim_devicetype (created, last_updated, custom_field_data, id, model -- Data for Name: dcim_frontport; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.dcim_frontport (created, last_updated, custom_field_data, id, name, _name, label, description, mark_connected, type, rear_port_position, cable_id, device_id, rear_port_id, color, module_id, cable_end) FROM stdin; +COPY public.dcim_frontport (created, last_updated, custom_field_data, id, name, label, description, mark_connected, type, rear_port_position, cable_id, device_id, rear_port_id, color, module_id, cable_end, _location_id, _rack_id, _site_id) FROM stdin; \. @@ -6598,7 +7543,7 @@ COPY public.dcim_frontport (created, last_updated, custom_field_data, id, name, -- Data for Name: dcim_frontporttemplate; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.dcim_frontporttemplate (created, last_updated, id, name, _name, label, description, type, rear_port_position, device_type_id, rear_port_id, color, module_type_id) FROM stdin; +COPY public.dcim_frontporttemplate (created, last_updated, id, name, label, description, type, rear_port_position, device_type_id, rear_port_id, color, module_type_id) FROM stdin; \. @@ -6606,7 +7551,7 @@ COPY public.dcim_frontporttemplate (created, last_updated, id, name, _name, labe -- Data for Name: dcim_interface; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.dcim_interface (created, last_updated, custom_field_data, id, name, label, description, mark_connected, enabled, mac_address, mtu, mode, _name, type, mgmt_only, _path_id, cable_id, device_id, lag_id, parent_id, untagged_vlan_id, wwn, bridge_id, rf_role, rf_channel, rf_channel_frequency, rf_channel_width, tx_power, wireless_link_id, module_id, vrf_id, duplex, speed, poe_mode, poe_type, cable_end) FROM stdin; +COPY public.dcim_interface (created, last_updated, custom_field_data, id, name, label, description, mark_connected, enabled, mtu, mode, _name, type, mgmt_only, _path_id, cable_id, device_id, lag_id, parent_id, untagged_vlan_id, wwn, bridge_id, rf_role, rf_channel, rf_channel_frequency, rf_channel_width, tx_power, wireless_link_id, module_id, vrf_id, duplex, speed, poe_mode, poe_type, cable_end, vlan_translation_policy_id, qinq_svlan_id, primary_mac_address_id, _location_id, _rack_id, _site_id) FROM stdin; \. @@ -6646,7 +7591,7 @@ COPY public.dcim_interfacetemplate (created, last_updated, id, name, label, desc -- Data for Name: dcim_inventoryitem; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.dcim_inventoryitem (created, last_updated, custom_field_data, id, name, _name, label, description, part_id, serial, asset_tag, discovered, lft, rght, tree_id, level, device_id, manufacturer_id, parent_id, role_id, component_id, component_type_id) FROM stdin; +COPY public.dcim_inventoryitem (created, last_updated, custom_field_data, id, name, label, description, part_id, serial, asset_tag, discovered, lft, rght, tree_id, level, device_id, manufacturer_id, parent_id, role_id, component_id, component_type_id, status, _location_id, _rack_id, _site_id) FROM stdin; \. @@ -6662,7 +7607,7 @@ COPY public.dcim_inventoryitemrole (id, created, last_updated, custom_field_data -- Data for Name: dcim_inventoryitemtemplate; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.dcim_inventoryitemtemplate (id, created, last_updated, name, _name, label, description, component_id, part_id, lft, rght, tree_id, level, component_type_id, device_type_id, manufacturer_id, parent_id, role_id) FROM stdin; +COPY public.dcim_inventoryitemtemplate (id, created, last_updated, name, label, description, component_id, part_id, lft, rght, tree_id, level, component_type_id, device_type_id, manufacturer_id, parent_id, role_id) FROM stdin; \. @@ -6670,7 +7615,15 @@ COPY public.dcim_inventoryitemtemplate (id, created, last_updated, name, _name, -- Data for Name: dcim_location; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.dcim_location (created, last_updated, custom_field_data, id, name, slug, description, lft, rght, tree_id, level, parent_id, site_id, tenant_id, status, facility) FROM stdin; +COPY public.dcim_location (created, last_updated, custom_field_data, id, name, slug, description, lft, rght, tree_id, level, parent_id, site_id, tenant_id, status, facility, comments) FROM stdin; +\. + + +-- +-- Data for Name: dcim_macaddress; Type: TABLE DATA; Schema: public; Owner: nwa +-- + +COPY public.dcim_macaddress (id, created, last_updated, custom_field_data, description, comments, mac_address, assigned_object_id, assigned_object_type_id) FROM stdin; \. @@ -6694,7 +7647,7 @@ COPY public.dcim_module (id, created, last_updated, custom_field_data, local_con -- Data for Name: dcim_modulebay; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.dcim_modulebay (id, created, last_updated, custom_field_data, name, _name, label, "position", description, device_id) FROM stdin; +COPY public.dcim_modulebay (id, created, last_updated, custom_field_data, name, label, "position", description, device_id, level, lft, module_id, parent_id, rght, tree_id, _location_id, _rack_id, _site_id) FROM stdin; \. @@ -6702,7 +7655,7 @@ COPY public.dcim_modulebay (id, created, last_updated, custom_field_data, name, -- Data for Name: dcim_modulebaytemplate; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.dcim_modulebaytemplate (id, created, last_updated, name, _name, label, "position", description, device_type_id) FROM stdin; +COPY public.dcim_modulebaytemplate (id, created, last_updated, name, label, "position", description, device_type_id, module_type_id) FROM stdin; \. @@ -6710,7 +7663,22 @@ COPY public.dcim_modulebaytemplate (id, created, last_updated, name, _name, labe -- Data for Name: dcim_moduletype; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.dcim_moduletype (id, created, last_updated, custom_field_data, model, part_number, comments, manufacturer_id, weight, weight_unit, _abs_weight, description) FROM stdin; +COPY public.dcim_moduletype (id, created, last_updated, custom_field_data, model, part_number, comments, manufacturer_id, weight, weight_unit, _abs_weight, description, airflow, attribute_data, profile_id) FROM stdin; +\. + + +-- +-- Data for Name: dcim_moduletypeprofile; Type: TABLE DATA; Schema: public; Owner: nwa +-- + +COPY public.dcim_moduletypeprofile (id, created, last_updated, custom_field_data, description, comments, name, schema) FROM stdin; +1 2026-02-06 11:30:08.407298+00 2026-02-06 11:30:08.407307+00 {} CPU {"properties": {"cores": {"type": "integer", "description": "Number of cores present"}, "speed": {"type": "number", "title": "Speed", "description": "Clock speed in GHz"}, "architecture": {"type": "string", "title": "Architecture"}}} +2 2026-02-06 11:30:08.411103+00 2026-02-06 11:30:08.411108+00 {} Fan {"properties": {"rpm": {"type": "integer", "title": "RPM", "description": "Fan speed (RPM)"}}} +3 2026-02-06 11:30:08.412128+00 2026-02-06 11:30:08.412131+00 {} GPU {"required": ["memory"], "properties": {"gpu": {"type": "string", "title": "GPU"}, "memory": {"type": "integer", "title": "Memory (GB)", "description": "Total memory capacity (in GB)"}, "interface": {"enum": ["PCIe 4.0", "PCIe 4.0 x8", "PCIe 4.0 x16", "PCIe 5.0 x16"], "type": "string"}}} +4 2026-02-06 11:30:08.413132+00 2026-02-06 11:30:08.413136+00 {} Hard disk {"required": ["size"], "properties": {"size": {"type": "integer", "title": "Size (GB)", "description": "Raw disk capacity"}, "type": {"enum": ["HD", "SSD", "NVME"], "type": "string", "title": "Disk type", "default": "SSD"}, "speed": {"type": "integer", "title": "Speed (RPM)"}}} +5 2026-02-06 11:30:08.41402+00 2026-02-06 11:30:08.414024+00 {} Memory {"required": ["class", "size"], "properties": {"ecc": {"type": "boolean", "title": "ECC", "description": "Error-correcting code is enabled"}, "size": {"type": "integer", "title": "Size (GB)", "description": "Raw capacity of the module"}, "class": {"enum": ["DDR3", "DDR4", "DDR5"], "type": "string", "title": "Memory class", "default": "DDR5"}, "data_rate": {"type": "integer", "title": "Data rate", "description": "Speed in MT/s"}}} +6 2026-02-06 11:30:08.414836+00 2026-02-06 11:30:08.414839+00 {} Power supply {"required": ["input_current", "input_voltage"], "properties": {"wattage": {"type": "integer", "description": "Available output power (watts)"}, "hot_swappable": {"type": "boolean", "title": "Hot-swappable", "default": false}, "input_current": {"enum": ["AC", "DC"], "type": "string", "title": "Current type", "default": "AC"}, "input_voltage": {"type": "integer", "title": "Voltage", "default": 120}}} +7 2026-02-06 11:30:08.415624+00 2026-02-06 11:30:08.415627+00 {} Expansion card {"properties": {"bandwidth": {"type": "integer", "description": "Total Bandwidth for this module"}, "connector_type": {"type": "string", "description": "Connector type e.g. PCIe x4"}}} \. @@ -6718,7 +7686,7 @@ COPY public.dcim_moduletype (id, created, last_updated, custom_field_data, model -- Data for Name: dcim_platform; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.dcim_platform (created, last_updated, custom_field_data, id, name, slug, description, manufacturer_id, config_template_id) FROM stdin; +COPY public.dcim_platform (created, last_updated, custom_field_data, id, name, slug, description, manufacturer_id, config_template_id, parent_id, level, lft, rght, tree_id, comments) FROM stdin; \. @@ -6734,7 +7702,7 @@ COPY public.dcim_powerfeed (created, last_updated, custom_field_data, id, mark_c -- Data for Name: dcim_poweroutlet; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.dcim_poweroutlet (created, last_updated, custom_field_data, id, name, _name, label, description, mark_connected, type, feed_leg, _path_id, cable_id, device_id, power_port_id, module_id, cable_end) FROM stdin; +COPY public.dcim_poweroutlet (created, last_updated, custom_field_data, id, name, label, description, mark_connected, type, feed_leg, _path_id, cable_id, device_id, power_port_id, module_id, cable_end, color, status, _location_id, _rack_id, _site_id) FROM stdin; \. @@ -6742,7 +7710,7 @@ COPY public.dcim_poweroutlet (created, last_updated, custom_field_data, id, name -- Data for Name: dcim_poweroutlettemplate; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.dcim_poweroutlettemplate (created, last_updated, id, name, _name, label, description, type, feed_leg, device_type_id, power_port_id, module_type_id) FROM stdin; +COPY public.dcim_poweroutlettemplate (created, last_updated, id, name, label, description, type, feed_leg, device_type_id, power_port_id, module_type_id) FROM stdin; \. @@ -6758,7 +7726,7 @@ COPY public.dcim_powerpanel (created, last_updated, custom_field_data, id, name, -- Data for Name: dcim_powerport; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.dcim_powerport (created, last_updated, custom_field_data, id, name, _name, label, description, mark_connected, type, maximum_draw, allocated_draw, _path_id, cable_id, device_id, module_id, cable_end) FROM stdin; +COPY public.dcim_powerport (created, last_updated, custom_field_data, id, name, label, description, mark_connected, type, maximum_draw, allocated_draw, _path_id, cable_id, device_id, module_id, cable_end, _location_id, _rack_id, _site_id) FROM stdin; \. @@ -6766,7 +7734,7 @@ COPY public.dcim_powerport (created, last_updated, custom_field_data, id, name, -- Data for Name: dcim_powerporttemplate; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.dcim_powerporttemplate (created, last_updated, id, name, _name, label, description, type, maximum_draw, allocated_draw, device_type_id, module_type_id) FROM stdin; +COPY public.dcim_powerporttemplate (created, last_updated, id, name, label, description, type, maximum_draw, allocated_draw, device_type_id, module_type_id) FROM stdin; \. @@ -6774,7 +7742,7 @@ COPY public.dcim_powerporttemplate (created, last_updated, id, name, _name, labe -- Data for Name: dcim_rack; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.dcim_rack (created, last_updated, custom_field_data, id, name, _name, facility_id, status, serial, asset_tag, type, width, u_height, desc_units, outer_width, outer_depth, outer_unit, comments, location_id, role_id, site_id, tenant_id, weight, max_weight, weight_unit, _abs_weight, _abs_max_weight, mounting_depth, description, starting_unit) FROM stdin; +COPY public.dcim_rack (created, last_updated, custom_field_data, id, name, facility_id, status, serial, asset_tag, form_factor, width, u_height, desc_units, outer_width, outer_depth, outer_unit, comments, location_id, role_id, site_id, tenant_id, weight, max_weight, weight_unit, _abs_weight, _abs_max_weight, mounting_depth, description, starting_unit, rack_type_id, airflow, outer_height) FROM stdin; \. @@ -6782,7 +7750,7 @@ COPY public.dcim_rack (created, last_updated, custom_field_data, id, name, _name -- Data for Name: dcim_rackreservation; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.dcim_rackreservation (created, last_updated, custom_field_data, id, units, description, rack_id, tenant_id, user_id, comments) FROM stdin; +COPY public.dcim_rackreservation (created, last_updated, custom_field_data, id, units, description, rack_id, tenant_id, user_id, comments, status) FROM stdin; \. @@ -6794,11 +7762,19 @@ COPY public.dcim_rackrole (created, last_updated, custom_field_data, id, name, s \. +-- +-- Data for Name: dcim_racktype; Type: TABLE DATA; Schema: public; Owner: nwa +-- + +COPY public.dcim_racktype (id, created, last_updated, custom_field_data, description, comments, weight, weight_unit, _abs_weight, manufacturer_id, model, slug, form_factor, width, u_height, starting_unit, desc_units, outer_width, outer_depth, outer_unit, max_weight, _abs_max_weight, mounting_depth, outer_height) FROM stdin; +\. + + -- -- Data for Name: dcim_rearport; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.dcim_rearport (created, last_updated, custom_field_data, id, name, _name, label, description, mark_connected, type, positions, cable_id, device_id, color, module_id, cable_end) FROM stdin; +COPY public.dcim_rearport (created, last_updated, custom_field_data, id, name, label, description, mark_connected, type, positions, cable_id, device_id, color, module_id, cable_end, _location_id, _rack_id, _site_id) FROM stdin; \. @@ -6806,7 +7782,7 @@ COPY public.dcim_rearport (created, last_updated, custom_field_data, id, name, _ -- Data for Name: dcim_rearporttemplate; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.dcim_rearporttemplate (created, last_updated, id, name, _name, label, description, type, positions, device_type_id, color, module_type_id) FROM stdin; +COPY public.dcim_rearporttemplate (created, last_updated, id, name, label, description, type, positions, device_type_id, color, module_type_id) FROM stdin; \. @@ -6814,7 +7790,7 @@ COPY public.dcim_rearporttemplate (created, last_updated, id, name, _name, label -- Data for Name: dcim_region; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.dcim_region (created, last_updated, custom_field_data, id, name, slug, description, lft, rght, tree_id, level, parent_id) FROM stdin; +COPY public.dcim_region (created, last_updated, custom_field_data, id, name, slug, description, lft, rght, tree_id, level, parent_id, comments) FROM stdin; \. @@ -6822,7 +7798,7 @@ COPY public.dcim_region (created, last_updated, custom_field_data, id, name, slu -- Data for Name: dcim_site; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.dcim_site (created, last_updated, custom_field_data, id, name, _name, slug, status, facility, time_zone, description, physical_address, shipping_address, latitude, longitude, comments, group_id, region_id, tenant_id) FROM stdin; +COPY public.dcim_site (created, last_updated, custom_field_data, id, name, slug, status, facility, time_zone, description, physical_address, shipping_address, latitude, longitude, comments, group_id, region_id, tenant_id) FROM stdin; \. @@ -6838,7 +7814,7 @@ COPY public.dcim_site_asns (id, site_id, asn_id) FROM stdin; -- Data for Name: dcim_sitegroup; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.dcim_sitegroup (created, last_updated, custom_field_data, id, name, slug, description, lft, rght, tree_id, level, parent_id) FROM stdin; +COPY public.dcim_sitegroup (created, last_updated, custom_field_data, id, name, slug, description, lft, rght, tree_id, level, parent_id, comments) FROM stdin; \. @@ -6863,141 +7839,155 @@ COPY public.dcim_virtualdevicecontext (id, created, last_updated, custom_field_d -- COPY public.django_content_type (id, app_label, model) FROM stdin; +14 auth permission +15 auth group +16 contenttypes contenttype +17 sessions session +18 social_django usersocialauth +19 social_django nonce +20 social_django association +21 social_django code +22 social_django partial +23 thumbnail kvstore +24 taggit tag +25 taggit taggeditem +26 core objecttype +27 core objectchange +28 core configrevision +29 core datasource +30 core datafile +31 core autosyncrecord +5 core managedfile +32 core job +33 account usertoken +34 circuits circuittype +8 circuits circuit +35 circuits circuitgroup +36 circuits circuitgroupassignment +37 circuits circuittermination +38 circuits provider +39 circuits provideraccount +7 circuits providernetwork +40 circuits virtualcircuittype +41 circuits virtualcircuit +42 circuits virtualcircuittermination +43 dcim consoleport +44 dcim consoleserverport +45 dcim powerport +46 dcim poweroutlet +9 dcim interface +47 dcim frontport +48 dcim rearport +49 dcim modulebay +50 dcim devicebay +51 dcim inventoryitemrole +52 dcim inventoryitem +53 dcim cable +54 dcim cabletermination +55 dcim cablepath +56 dcim consoleporttemplate +57 dcim consoleserverporttemplate +58 dcim powerporttemplate +59 dcim poweroutlettemplate +60 dcim interfacetemplate +61 dcim frontporttemplate +62 dcim rearporttemplate +63 dcim modulebaytemplate +64 dcim devicebaytemplate +65 dcim inventoryitemtemplate +10 dcim moduletypeprofile +66 dcim moduletype +67 dcim module +68 dcim manufacturer +69 dcim devicetype +70 dcim devicerole +71 dcim platform +12 dcim device +72 dcim virtualchassis +73 dcim virtualdevicecontext +74 dcim macaddress +75 dcim powerpanel +76 dcim powerfeed +77 dcim racktype +78 dcim rackrole +79 dcim rack +80 dcim rackreservation +81 dcim region +82 dcim sitegroup +6 dcim site +83 dcim location +84 ipam asnrange +85 ipam asn +86 ipam fhrpgroup +87 ipam fhrpgroupassignment +88 ipam vrf +89 ipam routetarget +90 ipam rir +91 ipam aggregate +92 ipam role +93 ipam prefix +94 ipam iprange +95 ipam ipaddress +96 ipam servicetemplate +97 ipam service +98 ipam vlangroup +99 ipam vlan +100 ipam vlantranslationpolicy +101 ipam vlantranslationrule +102 extras tag +103 extras taggeditem +104 extras configcontextprofile +105 extras configcontext +106 extras configtemplate +107 extras customfield +108 extras customfieldchoiceset +109 extras dashboard +110 extras eventrule 1 extras webhook +111 extras customlink +112 extras exporttemplate +113 extras savedfilter +114 extras tableconfig +115 extras imageattachment +116 extras journalentry +117 extras bookmark +118 extras notification +119 extras notificationgroup +120 extras subscription 2 extras script 3 extras scriptmodule -5 core managedfile -6 auth permission -7 auth group -8 contenttypes contenttype -9 sessions session -10 social_django association -11 social_django code -12 social_django nonce -13 social_django usersocialauth -14 social_django partial -15 taggit tag -16 taggit taggeditem -17 core datasource -18 core datafile -19 core autosyncrecord -20 core job -21 core objecttype -22 core configrevision -23 account usertoken -24 circuits circuit -25 circuits circuittermination -26 circuits circuittype -27 circuits provider -28 circuits providernetwork -29 circuits provideraccount -30 dcim cable -31 dcim cablepath -32 dcim consoleport -33 dcim consoleporttemplate -34 dcim consoleserverport -35 dcim consoleserverporttemplate -36 dcim device -37 dcim devicebay -38 dcim devicebaytemplate -39 dcim devicerole -40 dcim devicetype -41 dcim frontport -42 dcim frontporttemplate -43 dcim interface -44 dcim interfacetemplate -45 dcim inventoryitem -46 dcim location -47 dcim manufacturer -48 dcim platform -49 dcim powerfeed -50 dcim poweroutlet -51 dcim poweroutlettemplate -52 dcim powerpanel -53 dcim powerport -54 dcim powerporttemplate -55 dcim rack -56 dcim rackreservation -57 dcim rackrole -58 dcim rearport -59 dcim rearporttemplate -60 dcim region -61 dcim site -62 dcim sitegroup -63 dcim virtualchassis -64 dcim moduletype -65 dcim modulebay -66 dcim module -67 dcim inventoryitemrole -68 dcim inventoryitemtemplate -69 dcim modulebaytemplate -70 dcim cabletermination -71 dcim virtualdevicecontext -72 ipam aggregate -73 ipam ipaddress -74 ipam prefix -75 ipam rir -76 ipam role -77 ipam routetarget -78 ipam vrf -79 ipam vlangroup -80 ipam vlan -81 ipam service -82 ipam iprange -83 ipam fhrpgroup -84 ipam fhrpgroupassignment -85 ipam asn -86 ipam servicetemplate -87 ipam asnrange -88 extras configcontext -89 extras tag -90 extras taggeditem -91 extras objectchange -92 extras journalentry -93 extras imageattachment -94 extras exporttemplate -95 extras customlink -96 extras customfield -97 extras savedfilter -98 extras cachedvalue -99 extras branch -100 extras stagedchange -101 extras configtemplate -102 extras dashboard -103 extras bookmark -104 extras customfieldchoiceset -105 extras eventrule -106 tenancy tenantgroup -107 tenancy tenant -108 tenancy contactrole -109 tenancy contactgroup -110 tenancy contact -111 tenancy contactassignment -112 users user -113 users userconfig -114 users token -115 users objectpermission -116 users group -117 virtualization cluster -118 virtualization clustergroup -119 virtualization clustertype -120 virtualization virtualmachine -121 virtualization vminterface -122 virtualization virtualdisk -123 vpn ikeproposal -124 vpn ikepolicy -125 vpn ipsecproposal -126 vpn ipsecpolicy -127 vpn ipsecprofile -128 vpn tunnelgroup -129 vpn tunnel -130 vpn tunneltermination -131 vpn l2vpn -132 vpn l2vpntermination -133 wireless wirelesslangroup -134 wireless wirelesslan -135 wireless wirelesslink -136 django_rq queue +121 extras cachedvalue +122 tenancy contactgroup +123 tenancy contactrole +124 tenancy contact +125 tenancy contactassignment +126 tenancy tenantgroup +127 tenancy tenant +128 users group +129 users user +130 users userconfig +131 users token +132 users objectpermission +133 virtualization clustertype +134 virtualization clustergroup +135 virtualization cluster +13 virtualization virtualmachine +11 virtualization vminterface +136 virtualization virtualdisk +137 vpn ikeproposal +138 vpn ikepolicy +139 vpn ipsecproposal +140 vpn ipsecpolicy +141 vpn ipsecprofile +142 vpn l2vpn +143 vpn l2vpntermination +144 vpn tunnelgroup +145 vpn tunnel +146 vpn tunneltermination +147 wireless wirelesslangroup +148 wireless wirelesslan +149 wireless wirelesslink +150 django_rq queue \. @@ -7006,603 +7996,710 @@ COPY public.django_content_type (id, app_label, model) FROM stdin; -- COPY public.django_migrations (id, app, name, applied) FROM stdin; -1 contenttypes 0001_initial 2025-09-25 08:16:24.111749+00 -2 contenttypes 0002_remove_content_type_name 2025-09-25 08:16:24.113952+00 -3 auth 0001_initial 2025-09-25 08:16:24.12272+00 -4 auth 0002_alter_permission_name_max_length 2025-09-25 08:16:24.124413+00 -5 auth 0003_alter_user_email_max_length 2025-09-25 08:16:24.125968+00 -6 auth 0004_alter_user_username_opts 2025-09-25 08:16:24.127354+00 -7 auth 0005_alter_user_last_login_null 2025-09-25 08:16:24.129148+00 -8 auth 0006_require_contenttypes_0002 2025-09-25 08:16:24.129671+00 -9 auth 0007_alter_validators_add_error_messages 2025-09-25 08:16:24.131208+00 -10 auth 0008_alter_user_username_max_length 2025-09-25 08:16:24.132708+00 -11 auth 0009_alter_user_last_name_max_length 2025-09-25 08:16:24.134164+00 -12 auth 0010_alter_group_name_max_length 2025-09-25 08:16:24.136101+00 -13 auth 0011_update_proxy_permissions 2025-09-25 08:16:24.137599+00 -14 auth 0012_alter_user_first_name_max_length 2025-09-25 08:16:24.139104+00 -15 users 0001_api_tokens 2025-09-25 08:16:24.161284+00 -16 users 0002_unicode_literals 2025-09-25 08:16:24.161764+00 -17 users 0003_token_permissions 2025-09-25 08:16:24.162072+00 -18 users 0004_standardize_description 2025-09-25 08:16:24.162354+00 -19 users 0005_userconfig 2025-09-25 08:16:24.162635+00 -20 users 0006_create_userconfigs 2025-09-25 08:16:24.162921+00 -21 users 0007_proxy_group_user 2025-09-25 08:16:24.16319+00 -22 users 0008_objectpermission 2025-09-25 08:16:24.163469+00 -23 users 0009_replicate_permissions 2025-09-25 08:16:24.163757+00 -24 users 0010_update_jsonfield 2025-09-25 08:16:24.163976+00 -25 users 0011_standardize_models 2025-09-25 08:16:24.164186+00 -26 users 0002_standardize_id_fields 2025-09-25 08:16:24.180549+00 -27 users 0003_token_allowed_ips_last_used 2025-09-25 08:16:24.180835+00 -28 users 0004_netboxgroup_netboxuser 2025-09-25 08:16:24.180999+00 -29 account 0001_initial 2025-09-25 08:16:24.182027+00 -30 extras 0001_initial 2025-09-25 08:16:24.255297+00 -31 tenancy 0001_initial 2025-09-25 08:16:24.268784+00 -32 tenancy 0002_tenant_group_optional 2025-09-25 08:16:24.269219+00 -33 tenancy 0003_unicode_literals 2025-09-25 08:16:24.269503+00 -34 tenancy 0004_tags 2025-09-25 08:16:24.269787+00 -35 tenancy 0005_change_logging 2025-09-25 08:16:24.270051+00 -36 tenancy 0006_custom_tag_models 2025-09-25 08:16:24.270309+00 -37 tenancy 0007_nested_tenantgroups 2025-09-25 08:16:24.270577+00 -38 tenancy 0008_nested_tenantgroups_rebuild 2025-09-25 08:16:24.270804+00 -39 tenancy 0009_standardize_description 2025-09-25 08:16:24.271018+00 -40 tenancy 0010_custom_field_data 2025-09-25 08:16:24.271214+00 -41 tenancy 0011_standardize_name_length 2025-09-25 08:16:24.271409+00 -42 tenancy 0012_standardize_models 2025-09-25 08:16:24.271644+00 -43 dcim 0001_initial 2025-09-25 08:16:24.32609+00 -44 dcim 0002_auto_20160622_1821 2025-09-25 08:16:25.10312+00 -45 ipam 0001_initial 2025-09-25 08:16:25.19532+00 -46 virtualization 0001_virtualization 2025-09-25 08:16:25.454616+00 -47 virtualization 0002_virtualmachine_add_status 2025-09-25 08:16:25.455149+00 -48 virtualization 0003_cluster_add_site 2025-09-25 08:16:25.455484+00 -49 virtualization 0004_virtualmachine_add_role 2025-09-25 08:16:25.455796+00 -50 virtualization 0005_django2 2025-09-25 08:16:25.456107+00 -51 virtualization 0006_tags 2025-09-25 08:16:25.456409+00 -52 virtualization 0007_change_logging 2025-09-25 08:16:25.456674+00 -53 virtualization 0008_virtualmachine_local_context_data 2025-09-25 08:16:25.456936+00 -54 virtualization 0009_custom_tag_models 2025-09-25 08:16:25.457157+00 -55 virtualization 0010_cluster_add_tenant 2025-09-25 08:16:25.457356+00 -56 virtualization 0011_3569_virtualmachine_fields 2025-09-25 08:16:25.457603+00 -57 virtualization 0012_vm_name_nonunique 2025-09-25 08:16:25.45785+00 -58 virtualization 0013_deterministic_ordering 2025-09-25 08:16:25.458049+00 -59 virtualization 0014_standardize_description 2025-09-25 08:16:25.458242+00 -60 virtualization 0015_vminterface 2025-09-25 08:16:25.458439+00 -61 virtualization 0016_replicate_interfaces 2025-09-25 08:16:25.45863+00 -62 virtualization 0017_update_jsonfield 2025-09-25 08:16:25.458804+00 -63 virtualization 0018_custom_field_data 2025-09-25 08:16:25.458996+00 -64 virtualization 0019_standardize_name_length 2025-09-25 08:16:25.459175+00 -65 virtualization 0020_standardize_models 2025-09-25 08:16:25.459357+00 -66 virtualization 0021_virtualmachine_vcpus_decimal 2025-09-25 08:16:25.45953+00 -67 virtualization 0022_vminterface_parent 2025-09-25 08:16:25.45976+00 -68 extras 0002_custom_fields 2025-09-25 08:16:25.737282+00 -69 extras 0003_exporttemplate_add_description 2025-09-25 08:16:25.737964+00 -70 extras 0004_topologymap_change_comma_to_semicolon 2025-09-25 08:16:25.738335+00 -71 extras 0005_useraction_add_bulk_create 2025-09-25 08:16:25.738715+00 -72 extras 0006_add_imageattachments 2025-09-25 08:16:25.739081+00 -73 extras 0007_unicode_literals 2025-09-25 08:16:25.739486+00 -74 extras 0008_reports 2025-09-25 08:16:25.739946+00 -75 extras 0009_topologymap_type 2025-09-25 08:16:25.740347+00 -76 extras 0010_customfield_filter_logic 2025-09-25 08:16:25.740623+00 -77 extras 0011_django2 2025-09-25 08:16:25.740868+00 -78 extras 0012_webhooks 2025-09-25 08:16:25.74108+00 -79 extras 0013_objectchange 2025-09-25 08:16:25.741277+00 -80 extras 0014_configcontexts 2025-09-25 08:16:25.741476+00 -81 extras 0015_remove_useraction 2025-09-25 08:16:25.741693+00 -82 extras 0016_exporttemplate_add_cable 2025-09-25 08:16:25.741898+00 -83 extras 0017_exporttemplate_mime_type_length 2025-09-25 08:16:25.7421+00 -84 extras 0018_exporttemplate_add_jinja2 2025-09-25 08:16:25.742298+00 -85 extras 0019_tag_taggeditem 2025-09-25 08:16:25.742497+00 -86 extras 0020_tag_data 2025-09-25 08:16:25.742711+00 -87 extras 0021_add_color_comments_changelog_to_tag 2025-09-25 08:16:25.742909+00 -88 extras 0022_custom_links 2025-09-25 08:16:25.743098+00 -89 extras 0023_fix_tag_sequences 2025-09-25 08:16:25.743288+00 -90 extras 0024_scripts 2025-09-25 08:16:25.743477+00 -91 extras 0025_objectchange_time_index 2025-09-25 08:16:25.743698+00 -92 extras 0026_webhook_ca_file_path 2025-09-25 08:16:25.7439+00 -93 extras 0027_webhook_additional_headers 2025-09-25 08:16:25.744092+00 -94 extras 0028_remove_topology_maps 2025-09-25 08:16:25.744288+00 -95 extras 0029_3569_customfield_fields 2025-09-25 08:16:25.744476+00 -96 extras 0030_3569_objectchange_fields 2025-09-25 08:16:25.744688+00 -97 extras 0031_3569_exporttemplate_fields 2025-09-25 08:16:25.744877+00 -98 extras 0032_3569_webhook_fields 2025-09-25 08:16:25.745054+00 -99 extras 0033_graph_type_template_language 2025-09-25 08:16:25.745228+00 -100 extras 0034_configcontext_tags 2025-09-25 08:16:25.745403+00 -101 extras 0035_deterministic_ordering 2025-09-25 08:16:25.745641+00 -102 extras 0036_contenttype_filters_to_q_objects 2025-09-25 08:16:25.745961+00 -103 extras 0037_configcontexts_clusters 2025-09-25 08:16:25.746161+00 -104 extras 0038_webhook_template_support 2025-09-25 08:16:25.74635+00 -105 extras 0039_update_features_content_types 2025-09-25 08:16:25.746525+00 -106 extras 0040_standardize_description 2025-09-25 08:16:25.746709+00 -107 extras 0041_tag_description 2025-09-25 08:16:25.74688+00 -108 extras 0042_customfield_manager 2025-09-25 08:16:25.74705+00 -109 extras 0043_report 2025-09-25 08:16:25.747219+00 -110 extras 0044_jobresult 2025-09-25 08:16:25.747386+00 -111 extras 0045_configcontext_changelog 2025-09-25 08:16:25.747564+00 -112 extras 0046_update_jsonfield 2025-09-25 08:16:25.747737+00 -113 extras 0047_tag_ordering 2025-09-25 08:16:25.747957+00 -114 extras 0048_exporttemplate_remove_template_language 2025-09-25 08:16:25.748163+00 -115 extras 0049_remove_graph 2025-09-25 08:16:25.748356+00 -116 extras 0050_customfield_changes 2025-09-25 08:16:25.748546+00 -117 extras 0051_migrate_customfields 2025-09-25 08:16:25.748744+00 -118 extras 0052_customfield_cleanup 2025-09-25 08:16:25.748921+00 -119 extras 0053_rename_webhook_obj_type 2025-09-25 08:16:25.749098+00 -120 extras 0054_standardize_models 2025-09-25 08:16:25.74939+00 -121 extras 0055_objectchange_data 2025-09-25 08:16:25.749585+00 -122 extras 0056_extend_configcontext 2025-09-25 08:16:25.7498+00 -123 extras 0057_customlink_rename_fields 2025-09-25 08:16:25.750017+00 -124 extras 0058_journalentry 2025-09-25 08:16:25.75019+00 -125 extras 0059_exporttemplate_as_attachment 2025-09-25 08:16:25.750365+00 -126 tenancy 0002_tenant_ordering 2025-09-25 08:16:26.368258+00 -127 tenancy 0003_contacts 2025-09-25 08:16:26.368768+00 -128 tenancy 0004_extend_tag_support 2025-09-25 08:16:26.369146+00 -129 tenancy 0005_standardize_id_fields 2025-09-25 08:16:26.369479+00 -130 tenancy 0006_created_datetimefield 2025-09-25 08:16:26.369826+00 -131 tenancy 0007_contact_link 2025-09-25 08:16:26.370135+00 -132 tenancy 0008_unique_constraints 2025-09-25 08:16:26.370452+00 -133 tenancy 0009_standardize_description_comments 2025-09-25 08:16:26.370759+00 -134 tenancy 0010_tenant_relax_uniqueness 2025-09-25 08:16:26.371028+00 -135 tenancy 0011_contactassignment_tags 2025-09-25 08:16:26.371259+00 -136 dcim 0003_auto_20160628_1721 2025-09-25 08:16:28.258663+00 -137 dcim 0004_auto_20160701_2049 2025-09-25 08:16:28.25919+00 -138 dcim 0005_auto_20160706_1722 2025-09-25 08:16:28.259464+00 -139 dcim 0006_add_device_primary_ip4_ip6 2025-09-25 08:16:28.259762+00 -140 dcim 0007_device_copy_primary_ip 2025-09-25 08:16:28.260001+00 -141 dcim 0008_device_remove_primary_ip 2025-09-25 08:16:28.260231+00 -142 dcim 0009_site_32bit_asn_support 2025-09-25 08:16:28.260461+00 -143 dcim 0010_devicebay_installed_device_set_null 2025-09-25 08:16:28.26069+00 -144 dcim 0011_devicetype_part_number 2025-09-25 08:16:28.260943+00 -145 dcim 0012_site_rack_device_add_tenant 2025-09-25 08:16:28.261181+00 -146 dcim 0013_add_interface_form_factors 2025-09-25 08:16:28.261424+00 -147 dcim 0014_rack_add_type_width 2025-09-25 08:16:28.261655+00 -148 dcim 0015_rack_add_u_height_validator 2025-09-25 08:16:28.261883+00 -149 dcim 0016_module_add_manufacturer 2025-09-25 08:16:28.262123+00 -150 dcim 0017_rack_add_role 2025-09-25 08:16:28.262356+00 -151 dcim 0018_device_add_asset_tag 2025-09-25 08:16:28.262598+00 -152 dcim 0019_new_iface_form_factors 2025-09-25 08:16:28.262869+00 -153 dcim 0020_rack_desc_units 2025-09-25 08:16:28.263091+00 -154 dcim 0021_add_ff_flexstack 2025-09-25 08:16:28.263316+00 -155 dcim 0022_color_names_to_rgb 2025-09-25 08:16:28.263534+00 -156 dcim 0023_devicetype_comments 2025-09-25 08:16:28.263806+00 -157 dcim 0024_site_add_contact_fields 2025-09-25 08:16:28.264024+00 -158 dcim 0025_devicetype_add_interface_ordering 2025-09-25 08:16:28.26424+00 -159 dcim 0026_add_rack_reservations 2025-09-25 08:16:28.264457+00 -160 dcim 0027_device_add_site 2025-09-25 08:16:28.26466+00 -161 dcim 0028_device_copy_rack_to_site 2025-09-25 08:16:28.264869+00 -162 dcim 0029_allow_rackless_devices 2025-09-25 08:16:28.265089+00 -163 dcim 0030_interface_add_lag 2025-09-25 08:16:28.26532+00 -164 dcim 0031_regions 2025-09-25 08:16:28.265542+00 -165 dcim 0032_device_increase_name_length 2025-09-25 08:16:28.265783+00 -166 dcim 0033_rackreservation_rack_editable 2025-09-25 08:16:28.265995+00 -167 dcim 0034_rename_module_to_inventoryitem 2025-09-25 08:16:28.266208+00 -168 dcim 0035_device_expand_status_choices 2025-09-25 08:16:28.266435+00 -169 dcim 0036_add_ff_juniper_vcp 2025-09-25 08:16:28.266675+00 -170 dcim 0037_unicode_literals 2025-09-25 08:16:28.266905+00 -171 dcim 0038_wireless_interfaces 2025-09-25 08:16:28.267169+00 -172 dcim 0039_interface_add_enabled_mtu 2025-09-25 08:16:28.267437+00 -173 dcim 0040_inventoryitem_add_asset_tag_description 2025-09-25 08:16:28.267669+00 -174 dcim 0041_napalm_integration 2025-09-25 08:16:28.267905+00 -175 dcim 0042_interface_ff_10ge_cx4 2025-09-25 08:16:28.26814+00 -176 dcim 0043_device_component_name_lengths 2025-09-25 08:16:28.268366+00 -177 dcim 0044_virtualization 2025-09-25 08:16:28.268589+00 -178 dcim 0045_devicerole_vm_role 2025-09-25 08:16:28.268798+00 -179 dcim 0046_rack_lengthen_facility_id 2025-09-25 08:16:28.269011+00 -180 dcim 0047_more_100ge_form_factors 2025-09-25 08:16:28.269223+00 -181 dcim 0048_rack_serial 2025-09-25 08:16:28.269426+00 -182 dcim 0049_rackreservation_change_user 2025-09-25 08:16:28.269649+00 -183 dcim 0050_interface_vlan_tagging 2025-09-25 08:16:28.26989+00 -184 dcim 0051_rackreservation_tenant 2025-09-25 08:16:28.270109+00 -185 dcim 0052_virtual_chassis 2025-09-25 08:16:28.270323+00 -186 dcim 0053_platform_manufacturer 2025-09-25 08:16:28.270561+00 -187 dcim 0054_site_status_timezone_description 2025-09-25 08:16:28.270784+00 -188 dcim 0055_virtualchassis_ordering 2025-09-25 08:16:28.271003+00 -189 dcim 0056_django2 2025-09-25 08:16:28.27124+00 -190 dcim 0057_tags 2025-09-25 08:16:28.271468+00 -191 dcim 0058_relax_rack_naming_constraints 2025-09-25 08:16:28.271706+00 -192 dcim 0059_site_latitude_longitude 2025-09-25 08:16:28.271929+00 -193 dcim 0060_change_logging 2025-09-25 08:16:28.272156+00 -194 dcim 0061_platform_napalm_args 2025-09-25 08:16:28.27238+00 -195 dcim 0062_interface_mtu 2025-09-25 08:16:28.272612+00 -196 dcim 0063_device_local_context_data 2025-09-25 08:16:28.272838+00 -197 dcim 0064_remove_platform_rpc_client 2025-09-25 08:16:28.273074+00 -198 dcim 0065_front_rear_ports 2025-09-25 08:16:28.273298+00 -199 dcim 0066_cables 2025-09-25 08:16:28.273534+00 -200 dcim 0067_device_type_remove_qualifiers 2025-09-25 08:16:28.273763+00 -201 dcim 0068_rack_new_fields 2025-09-25 08:16:28.273984+00 -508 ipam 0068_move_l2vpn 2025-09-25 08:16:53.214595+00 -202 dcim 0069_deprecate_nullablecharfield 2025-09-25 08:16:28.274207+00 -203 dcim 0070_custom_tag_models 2025-09-25 08:16:28.274426+00 -204 dcim 0071_device_components_add_description 2025-09-25 08:16:28.274638+00 -205 dcim 0072_powerfeeds 2025-09-25 08:16:28.274868+00 -206 dcim 0073_interface_form_factor_to_type 2025-09-25 08:16:28.275087+00 -207 dcim 0074_increase_field_length_platform_name_slug 2025-09-25 08:16:28.275319+00 -208 dcim 0075_cable_devices 2025-09-25 08:16:28.275544+00 -209 dcim 0076_console_port_types 2025-09-25 08:16:28.275785+00 -210 dcim 0077_power_types 2025-09-25 08:16:28.275987+00 -211 dcim 0078_3569_site_fields 2025-09-25 08:16:28.276166+00 -212 dcim 0079_3569_rack_fields 2025-09-25 08:16:28.276341+00 -213 dcim 0080_3569_devicetype_fields 2025-09-25 08:16:28.276527+00 -214 dcim 0081_3569_device_fields 2025-09-25 08:16:28.276733+00 -215 dcim 0082_3569_interface_fields 2025-09-25 08:16:28.276925+00 -216 dcim 0082_3569_port_fields 2025-09-25 08:16:28.277131+00 -217 dcim 0083_3569_cable_fields 2025-09-25 08:16:28.277315+00 -218 dcim 0084_3569_powerfeed_fields 2025-09-25 08:16:28.277493+00 -219 dcim 0085_3569_poweroutlet_fields 2025-09-25 08:16:28.277689+00 -220 dcim 0086_device_name_nonunique 2025-09-25 08:16:28.277884+00 -221 dcim 0087_role_descriptions 2025-09-25 08:16:28.278054+00 -222 dcim 0088_powerfeed_available_power 2025-09-25 08:16:28.278221+00 -223 dcim 0089_deterministic_ordering 2025-09-25 08:16:28.278385+00 -224 dcim 0090_cable_termination_models 2025-09-25 08:16:28.278589+00 -225 dcim 0091_interface_type_other 2025-09-25 08:16:28.278801+00 -226 dcim 0092_fix_rack_outer_unit 2025-09-25 08:16:28.279009+00 -227 dcim 0093_device_component_ordering 2025-09-25 08:16:28.279196+00 -228 dcim 0094_device_component_template_ordering 2025-09-25 08:16:28.279441+00 -229 dcim 0095_primary_model_ordering 2025-09-25 08:16:28.279651+00 -230 dcim 0096_interface_ordering 2025-09-25 08:16:28.279941+00 -231 dcim 0097_interfacetemplate_type_other 2025-09-25 08:16:28.280123+00 -232 dcim 0098_devicetype_images 2025-09-25 08:16:28.28032+00 -233 dcim 0099_powerfeed_negative_voltage 2025-09-25 08:16:28.280505+00 -234 dcim 0100_mptt_remove_indexes 2025-09-25 08:16:28.280679+00 -235 dcim 0101_nested_rackgroups 2025-09-25 08:16:28.280873+00 -236 dcim 0102_nested_rackgroups_rebuild 2025-09-25 08:16:28.281056+00 -237 dcim 0103_standardize_description 2025-09-25 08:16:28.281221+00 -238 dcim 0104_correct_infiniband_types 2025-09-25 08:16:28.281384+00 -239 dcim 0105_interface_name_collation 2025-09-25 08:16:28.281569+00 -240 dcim 0106_role_default_color 2025-09-25 08:16:28.281751+00 -241 dcim 0107_component_labels 2025-09-25 08:16:28.281926+00 -242 dcim 0108_add_tags 2025-09-25 08:16:28.282097+00 -243 dcim 0109_interface_remove_vm 2025-09-25 08:16:28.282261+00 -244 dcim 0110_virtualchassis_name 2025-09-25 08:16:28.282423+00 -245 dcim 0111_component_template_description 2025-09-25 08:16:28.282628+00 -246 dcim 0112_standardize_components 2025-09-25 08:16:28.282835+00 -247 dcim 0113_nullbooleanfield_to_booleanfield 2025-09-25 08:16:28.283023+00 -248 dcim 0114_update_jsonfield 2025-09-25 08:16:28.283196+00 -249 dcim 0115_rackreservation_order 2025-09-25 08:16:28.28337+00 -250 dcim 0116_rearport_max_positions 2025-09-25 08:16:28.283535+00 -251 dcim 0117_custom_field_data 2025-09-25 08:16:28.283727+00 -252 dcim 0118_inventoryitem_mptt 2025-09-25 08:16:28.283901+00 -253 dcim 0119_inventoryitem_mptt_rebuild 2025-09-25 08:16:28.284075+00 -254 dcim 0120_cache_cable_peer 2025-09-25 08:16:28.284253+00 -255 dcim 0121_cablepath 2025-09-25 08:16:28.284422+00 -256 dcim 0122_standardize_name_length 2025-09-25 08:16:28.284617+00 -257 dcim 0123_standardize_models 2025-09-25 08:16:28.284816+00 -258 dcim 0124_mark_connected 2025-09-25 08:16:28.285011+00 -259 dcim 0125_console_port_speed 2025-09-25 08:16:28.285188+00 -260 dcim 0126_rename_rackgroup_location 2025-09-25 08:16:28.285368+00 -261 dcim 0127_device_location 2025-09-25 08:16:28.285546+00 -262 dcim 0128_device_location_populate 2025-09-25 08:16:28.285785+00 -263 dcim 0129_interface_parent 2025-09-25 08:16:28.286+00 -264 dcim 0130_sitegroup 2025-09-25 08:16:28.286196+00 -265 ipam 0002_vrf_add_enforce_unique 2025-09-25 08:16:28.861718+00 -266 ipam 0003_ipam_add_vlangroups 2025-09-25 08:16:28.862304+00 -267 ipam 0004_ipam_vlangroup_uniqueness 2025-09-25 08:16:28.862654+00 -268 ipam 0005_auto_20160725_1842 2025-09-25 08:16:28.862908+00 -269 ipam 0006_vrf_vlan_add_tenant 2025-09-25 08:16:28.863126+00 -270 ipam 0007_prefix_ipaddress_add_tenant 2025-09-25 08:16:28.863378+00 -271 ipam 0008_prefix_change_order 2025-09-25 08:16:28.863677+00 -272 ipam 0009_ipaddress_add_status 2025-09-25 08:16:28.863938+00 -273 ipam 0010_ipaddress_help_texts 2025-09-25 08:16:28.864201+00 -274 ipam 0011_rir_add_is_private 2025-09-25 08:16:28.864473+00 -275 ipam 0012_services 2025-09-25 08:16:28.864728+00 -276 ipam 0013_prefix_add_is_pool 2025-09-25 08:16:28.864971+00 -277 ipam 0014_ipaddress_status_add_deprecated 2025-09-25 08:16:28.865191+00 -278 ipam 0015_global_vlans 2025-09-25 08:16:28.865406+00 -279 ipam 0016_unicode_literals 2025-09-25 08:16:28.865759+00 -280 ipam 0017_ipaddress_roles 2025-09-25 08:16:28.866092+00 -281 ipam 0018_remove_service_uniqueness_constraint 2025-09-25 08:16:28.866359+00 -282 ipam 0019_virtualization 2025-09-25 08:16:28.866639+00 -283 ipam 0020_ipaddress_add_role_carp 2025-09-25 08:16:28.866895+00 -284 ipam 0021_vrf_ordering 2025-09-25 08:16:28.867138+00 -285 ipam 0022_tags 2025-09-25 08:16:28.867361+00 -286 ipam 0023_change_logging 2025-09-25 08:16:28.867628+00 -287 ipam 0024_vrf_allow_null_rd 2025-09-25 08:16:28.867871+00 -288 ipam 0025_custom_tag_models 2025-09-25 08:16:28.868097+00 -289 ipam 0026_prefix_ordering_vrf_nulls_first 2025-09-25 08:16:28.86833+00 -290 ipam 0027_ipaddress_add_dns_name 2025-09-25 08:16:28.868569+00 -291 ipam 0028_3569_prefix_fields 2025-09-25 08:16:28.868797+00 -292 ipam 0029_3569_ipaddress_fields 2025-09-25 08:16:28.869007+00 -293 ipam 0030_3569_vlan_fields 2025-09-25 08:16:28.869227+00 -294 ipam 0031_3569_service_fields 2025-09-25 08:16:28.86945+00 -295 ipam 0032_role_description 2025-09-25 08:16:28.869674+00 -296 ipam 0033_deterministic_ordering 2025-09-25 08:16:28.869902+00 -297 ipam 0034_fix_ipaddress_status_dhcp 2025-09-25 08:16:28.870133+00 -298 ipam 0035_drop_ip_family 2025-09-25 08:16:28.870363+00 -299 ipam 0036_standardize_description 2025-09-25 08:16:28.870678+00 -300 ipam 0037_ipaddress_assignment 2025-09-25 08:16:28.870905+00 -301 ipam 0038_custom_field_data 2025-09-25 08:16:28.871125+00 -302 ipam 0039_service_ports_array 2025-09-25 08:16:28.871346+00 -303 ipam 0040_service_drop_port 2025-09-25 08:16:28.871581+00 -304 ipam 0041_routetarget 2025-09-25 08:16:28.871815+00 -509 ipam 0069_gfk_indexes 2025-09-25 08:16:53.445978+00 -305 ipam 0042_standardize_name_length 2025-09-25 08:16:28.872063+00 -306 ipam 0043_add_tenancy_to_aggregates 2025-09-25 08:16:28.872318+00 -307 ipam 0044_standardize_models 2025-09-25 08:16:28.872567+00 -308 ipam 0045_vlangroup_scope 2025-09-25 08:16:28.872803+00 -309 ipam 0046_set_vlangroup_scope_types 2025-09-25 08:16:28.873047+00 -310 ipam 0047_prefix_depth_children 2025-09-25 08:16:29.256667+00 -311 ipam 0048_prefix_populate_depth_children 2025-09-25 08:16:29.257133+00 -312 ipam 0049_prefix_mark_utilized 2025-09-25 08:16:29.257433+00 -313 ipam 0050_iprange 2025-09-25 08:16:29.257641+00 -314 ipam 0051_extend_tag_support 2025-09-25 08:16:29.257873+00 -315 ipam 0052_fhrpgroup 2025-09-25 08:16:29.258116+00 -316 ipam 0053_asn_model 2025-09-25 08:16:29.258321+00 -317 wireless 0001_wireless 2025-09-25 08:16:29.450462+00 -318 wireless 0002_standardize_id_fields 2025-09-25 08:16:29.450936+00 -319 wireless 0003_created_datetimefield 2025-09-25 08:16:29.451232+00 -320 wireless 0004_wireless_tenancy 2025-09-25 08:16:29.451518+00 -321 wireless 0005_wirelesslink_interface_types 2025-09-25 08:16:29.451779+00 -322 wireless 0006_unique_constraints 2025-09-25 08:16:29.452023+00 -323 wireless 0007_standardize_description_comments 2025-09-25 08:16:29.452273+00 -324 wireless 0008_wirelesslan_status 2025-09-25 08:16:29.452514+00 -325 dcim 0131_consoleport_speed 2025-09-25 08:16:36.167906+00 -326 dcim 0132_cable_length 2025-09-25 08:16:36.169337+00 -327 dcim 0133_port_colors 2025-09-25 08:16:36.169796+00 -328 dcim 0134_interface_wwn_bridge 2025-09-25 08:16:36.170124+00 -329 dcim 0135_tenancy_extensions 2025-09-25 08:16:36.170419+00 -330 dcim 0136_device_airflow 2025-09-25 08:16:36.170752+00 -331 dcim 0137_relax_uniqueness_constraints 2025-09-25 08:16:36.171125+00 -332 dcim 0138_extend_tag_support 2025-09-25 08:16:36.171656+00 -333 dcim 0139_rename_cable_peer 2025-09-25 08:16:36.17217+00 -334 dcim 0140_wireless 2025-09-25 08:16:36.172629+00 -335 dcim 0141_asn_model 2025-09-25 08:16:36.172953+00 -336 dcim 0142_rename_128gfc_qsfp28 2025-09-25 08:16:36.173231+00 -337 dcim 0143_remove_primary_for_related_name 2025-09-25 08:16:36.173474+00 -338 dcim 0144_fix_cable_abs_length 2025-09-25 08:16:36.173758+00 -339 dcim 0145_site_remove_deprecated_fields 2025-09-25 08:16:36.173993+00 -340 dcim 0146_modules 2025-09-25 08:16:36.174223+00 -341 dcim 0147_inventoryitemrole 2025-09-25 08:16:36.174455+00 -342 dcim 0148_inventoryitem_component 2025-09-25 08:16:36.17468+00 -343 dcim 0149_inventoryitem_templates 2025-09-25 08:16:36.174915+00 -344 dcim 0150_interface_vrf 2025-09-25 08:16:36.175139+00 -345 dcim 0151_interface_speed_duplex 2025-09-25 08:16:36.175362+00 -346 dcim 0152_standardize_id_fields 2025-09-25 08:16:36.175591+00 -347 dcim 0153_created_datetimefield 2025-09-25 08:16:36.175825+00 -348 dcim 0154_half_height_rack_units 2025-09-25 08:16:36.176049+00 -349 dcim 0155_interface_poe_mode_type 2025-09-25 08:16:36.176277+00 -350 dcim 0156_location_status 2025-09-25 08:16:36.176498+00 -351 dcim 0157_new_cabling_models 2025-09-25 08:16:36.176717+00 -352 dcim 0158_populate_cable_terminations 2025-09-25 08:16:36.176934+00 -353 dcim 0159_populate_cable_paths 2025-09-25 08:16:36.177151+00 -354 circuits 0001_initial 2025-09-25 08:16:36.189842+00 -355 circuits 0002_auto_20160622_1821 2025-09-25 08:16:36.972834+00 -356 circuits 0003_provider_32bit_asn_support 2025-09-25 08:16:36.973353+00 -357 circuits 0004_circuit_add_tenant 2025-09-25 08:16:36.973699+00 -358 circuits 0005_circuit_add_upstream_speed 2025-09-25 08:16:36.974053+00 -359 circuits 0006_terminations 2025-09-25 08:16:36.97439+00 -360 circuits 0007_circuit_add_description 2025-09-25 08:16:36.974708+00 -361 circuits 0008_circuittermination_interface_protect_on_delete 2025-09-25 08:16:36.974992+00 -362 circuits 0009_unicode_literals 2025-09-25 08:16:36.975285+00 -363 circuits 0010_circuit_status 2025-09-25 08:16:36.975602+00 -364 circuits 0011_tags 2025-09-25 08:16:36.975874+00 -365 circuits 0012_change_logging 2025-09-25 08:16:36.976145+00 -366 circuits 0013_cables 2025-09-25 08:16:36.976412+00 -367 circuits 0014_circuittermination_description 2025-09-25 08:16:36.976627+00 -368 circuits 0015_custom_tag_models 2025-09-25 08:16:36.976838+00 -369 circuits 0016_3569_circuit_fields 2025-09-25 08:16:36.977046+00 -370 circuits 0017_circuittype_description 2025-09-25 08:16:36.977242+00 -371 circuits 0018_standardize_description 2025-09-25 08:16:36.977454+00 -372 circuits 0019_nullbooleanfield_to_booleanfield 2025-09-25 08:16:36.977657+00 -373 circuits 0020_custom_field_data 2025-09-25 08:16:36.977861+00 -374 circuits 0021_cache_cable_peer 2025-09-25 08:16:36.978066+00 -375 circuits 0022_cablepath 2025-09-25 08:16:36.97827+00 -376 circuits 0023_circuittermination_port_speed_optional 2025-09-25 08:16:36.978473+00 -377 circuits 0024_standardize_name_length 2025-09-25 08:16:36.978678+00 -378 circuits 0025_standardize_models 2025-09-25 08:16:36.978882+00 -379 circuits 0026_mark_connected 2025-09-25 08:16:36.979088+00 -380 circuits 0027_providernetwork 2025-09-25 08:16:36.979297+00 -381 circuits 0028_cache_circuit_terminations 2025-09-25 08:16:36.979508+00 -382 circuits 0029_circuit_tracing 2025-09-25 08:16:36.979771+00 -383 circuits 0003_extend_tag_support 2025-09-25 08:16:37.683923+00 -384 circuits 0004_rename_cable_peer 2025-09-25 08:16:37.684452+00 -385 circuits 0032_provider_service_id 2025-09-25 08:16:37.68473+00 -386 circuits 0033_standardize_id_fields 2025-09-25 08:16:37.684956+00 -387 circuits 0034_created_datetimefield 2025-09-25 08:16:37.685186+00 -388 circuits 0035_provider_asns 2025-09-25 08:16:37.685398+00 -389 circuits 0036_circuit_termination_date_tags_custom_fields 2025-09-25 08:16:37.685613+00 -390 circuits 0037_new_cabling_models 2025-09-25 08:16:37.685836+00 -391 dcim 0160_populate_cable_ends 2025-09-25 08:16:42.080635+00 -392 dcim 0161_cabling_cleanup 2025-09-25 08:16:42.081106+00 -393 dcim 0162_unique_constraints 2025-09-25 08:16:42.081428+00 -394 dcim 0163_weight_fields 2025-09-25 08:16:42.081722+00 -395 dcim 0164_rack_mounting_depth 2025-09-25 08:16:42.082024+00 -396 dcim 0165_standardize_description_comments 2025-09-25 08:16:42.08231+00 -397 dcim 0166_virtualdevicecontext 2025-09-25 08:16:42.082604+00 -398 circuits 0038_cabling_cleanup 2025-09-25 08:16:43.140714+00 -399 circuits 0039_unique_constraints 2025-09-25 08:16:43.141201+00 -400 circuits 0040_provider_remove_deprecated_fields 2025-09-25 08:16:43.141574+00 -401 circuits 0041_standardize_description_comments 2025-09-25 08:16:43.141897+00 -402 circuits 0042_provideraccount 2025-09-25 08:16:43.14219+00 -403 circuits 0043_circuittype_color 2025-09-25 08:16:43.16819+00 -404 core 0001_initial 2025-09-25 08:16:43.381348+00 -405 core 0002_managedfile 2025-09-25 08:16:43.382383+00 -406 core 0003_job 2025-09-25 08:16:43.38289+00 -407 core 0004_replicate_jobresults 2025-09-25 08:16:43.383239+00 -408 core 0005_job_created_auto_now 2025-09-25 08:16:43.383538+00 -409 core 0006_datasource_type_remove_choices 2025-09-25 08:16:43.413363+00 -410 core 0007_job_add_error_field 2025-09-25 08:16:43.425239+00 -411 core 0008_contenttype_proxy 2025-09-25 08:16:43.426754+00 -412 core 0009_configrevision 2025-09-25 08:16:43.42798+00 -413 core 0010_gfk_indexes 2025-09-25 08:16:43.441087+00 -414 extras 0060_customlink_button_class 2025-09-25 08:16:45.37905+00 -415 extras 0061_extras_change_logging 2025-09-25 08:16:45.379881+00 -416 extras 0062_clear_secrets_changelog 2025-09-25 08:16:45.38018+00 -417 extras 0063_webhook_conditions 2025-09-25 08:16:45.38048+00 -418 extras 0064_configrevision 2025-09-25 08:16:45.38072+00 -419 extras 0065_imageattachment_change_logging 2025-09-25 08:16:45.380952+00 -420 extras 0066_customfield_name_validation 2025-09-25 08:16:45.38118+00 -421 extras 0067_customfield_min_max_values 2025-09-25 08:16:45.381397+00 -422 extras 0068_configcontext_cluster_types 2025-09-25 08:16:45.381619+00 -423 extras 0069_custom_object_field 2025-09-25 08:16:45.381833+00 -424 extras 0070_customlink_enabled 2025-09-25 08:16:45.382041+00 -425 extras 0071_standardize_id_fields 2025-09-25 08:16:45.38225+00 -426 extras 0072_created_datetimefield 2025-09-25 08:16:45.382457+00 -427 extras 0073_journalentry_tags_custom_fields 2025-09-25 08:16:45.382681+00 -428 extras 0074_customfield_extensions 2025-09-25 08:16:45.382886+00 -429 extras 0075_configcontext_locations 2025-09-25 08:16:45.383081+00 -430 extras 0076_tag_slug_unicode 2025-09-25 08:16:45.383317+00 -431 extras 0077_customlink_extend_text_and_url 2025-09-25 08:16:45.383576+00 -432 extras 0078_unique_constraints 2025-09-25 08:16:45.383795+00 -433 extras 0079_scheduled_jobs 2025-09-25 08:16:45.383997+00 -434 extras 0080_customlink_content_types 2025-09-25 08:16:45.384214+00 -435 extras 0081_exporttemplate_content_types 2025-09-25 08:16:45.384417+00 -436 extras 0082_savedfilter 2025-09-25 08:16:45.384627+00 -437 extras 0083_search 2025-09-25 08:16:45.384851+00 -438 extras 0084_staging 2025-09-25 08:16:45.385053+00 -439 extras 0085_synced_data 2025-09-25 08:16:45.385253+00 -440 extras 0086_configtemplate 2025-09-25 08:16:45.385468+00 -441 dcim 0167_module_status 2025-09-25 08:16:47.130469+00 -442 dcim 0168_interface_template_enabled 2025-09-25 08:16:47.130982+00 -443 dcim 0169_devicetype_default_platform 2025-09-25 08:16:47.131327+00 -444 dcim 0170_configtemplate 2025-09-25 08:16:47.131645+00 -445 dcim 0171_cabletermination_change_logging 2025-09-25 08:16:47.131939+00 -446 dcim 0172_larger_power_draw_values 2025-09-25 08:16:47.132216+00 -447 dcim 0173_remove_napalm_fields 2025-09-25 08:16:47.132476+00 -448 dcim 0174_device_latitude_device_longitude 2025-09-25 08:16:47.132735+00 -449 dcim 0174_rack_starting_unit 2025-09-25 08:16:47.132962+00 -450 dcim 0175_device_oob_ip 2025-09-25 08:16:47.133193+00 -451 dcim 0176_device_component_counters 2025-09-25 08:16:47.133477+00 -452 dcim 0177_devicetype_component_counters 2025-09-25 08:16:47.133722+00 -453 dcim 0178_virtual_chassis_member_counter 2025-09-25 08:16:47.133942+00 -454 dcim 0179_interfacetemplate_rf_role 2025-09-25 08:16:47.134152+00 -455 dcim 0180_powerfeed_tenant 2025-09-25 08:16:47.134385+00 -456 dcim 0181_rename_device_role_device_role 2025-09-25 08:16:47.134627+00 -457 dcim 0182_zero_length_cable_fix 2025-09-25 08:16:47.134851+00 -458 dcim 0183_devicetype_exclude_from_utilization 2025-09-25 08:16:47.16798+00 -459 dcim 0184_protect_child_interfaces 2025-09-25 08:16:47.212232+00 -460 dcim 0185_gfk_indexes 2025-09-25 08:16:47.449737+00 -461 dcim 0186_location_facility 2025-09-25 08:16:47.480262+00 -462 dcim 0187_alter_device_vc_position 2025-09-25 08:16:47.517415+00 -463 django_rq 0001_initial 2025-09-25 08:16:47.519529+00 -464 extras 0087_dashboard 2025-09-25 08:16:48.017248+00 -465 extras 0088_jobresult_webhooks 2025-09-25 08:16:48.017713+00 -466 extras 0089_customfield_is_cloneable 2025-09-25 08:16:48.018036+00 -467 extras 0090_objectchange_index_request_id 2025-09-25 08:16:48.018342+00 -468 extras 0091_create_managedfiles 2025-09-25 08:16:48.018629+00 -469 extras 0092_delete_jobresult 2025-09-25 08:16:48.018931+00 -470 extras 0093_configrevision_ordering 2025-09-25 08:16:48.019168+00 -471 extras 0094_tag_object_types 2025-09-25 08:16:48.019392+00 -472 extras 0095_bookmarks 2025-09-25 08:16:48.0196+00 -473 extras 0096_customfieldchoiceset 2025-09-25 08:16:48.01979+00 -474 extras 0097_customfield_remove_choices 2025-09-25 08:16:48.019986+00 -475 extras 0098_webhook_custom_field_data_webhook_tags 2025-09-25 08:16:48.020187+00 -476 extras 0099_cachedvalue_ordering 2025-09-25 08:16:48.030179+00 -477 extras 0100_customfield_ui_attrs 2025-09-25 08:16:48.104288+00 -478 extras 0101_eventrule 2025-09-25 08:16:48.776939+00 -479 extras 0102_move_configrevision 2025-09-25 08:16:48.822179+00 -480 extras 0103_gfk_indexes 2025-09-25 08:16:48.912214+00 -481 extras 0104_stagedchange_remove_change_logging 2025-09-25 08:16:48.933367+00 -482 extras 0105_customfield_min_max_values 2025-09-25 08:16:49.109779+00 -483 extras 0106_bookmark_user_cascade_deletion 2025-09-25 08:16:49.154329+00 -484 extras 0107_cachedvalue_extras_cachedvalue_object 2025-09-25 08:16:49.166047+00 -485 extras 0108_convert_reports_to_scripts 2025-09-25 08:16:49.206454+00 -486 extras 0109_script_model 2025-09-25 08:16:49.334171+00 -487 extras 0110_remove_eventrule_action_parameters 2025-09-25 08:16:49.371159+00 -488 extras 0111_rename_content_types 2025-09-25 08:16:49.934354+00 -489 extras 0112_tag_update_object_types 2025-09-25 08:16:49.981065+00 -490 extras 0113_customfield_rename_object_type 2025-09-25 08:16:49.996276+00 -491 extras 0114_customfield_add_comments 2025-09-25 08:16:50.008583+00 -492 extras 0115_convert_dashboard_widgets 2025-09-25 08:16:50.048135+00 -493 extras 0116_custom_link_button_color 2025-09-25 08:16:50.100465+00 -494 ipam 0054_vlangroup_min_max_vids 2025-09-25 08:16:52.938215+00 -495 ipam 0055_servicetemplate 2025-09-25 08:16:52.938921+00 -496 ipam 0056_standardize_id_fields 2025-09-25 08:16:52.93925+00 -497 ipam 0057_created_datetimefield 2025-09-25 08:16:52.939522+00 -498 ipam 0058_ipaddress_nat_inside_nonunique 2025-09-25 08:16:52.939789+00 -499 ipam 0059_l2vpn 2025-09-25 08:16:52.940018+00 -500 ipam 0060_alter_l2vpn_slug 2025-09-25 08:16:52.940266+00 -501 ipam 0061_fhrpgroup_name 2025-09-25 08:16:52.940505+00 -502 ipam 0062_unique_constraints 2025-09-25 08:16:52.940748+00 -503 ipam 0063_standardize_description_comments 2025-09-25 08:16:52.940984+00 -504 ipam 0064_clear_search_cache 2025-09-25 08:16:52.941203+00 -505 ipam 0065_asnrange 2025-09-25 08:16:52.941423+00 -506 ipam 0066_iprange_mark_utilized 2025-09-25 08:16:52.941646+00 -507 ipam 0067_ipaddress_index_host 2025-09-25 08:16:52.941865+00 -510 sessions 0001_initial 2025-09-25 08:16:53.449145+00 -511 default 0001_initial 2025-09-25 08:16:53.503775+00 -512 social_auth 0001_initial 2025-09-25 08:16:53.504275+00 -513 default 0002_add_related_name 2025-09-25 08:16:53.544879+00 -514 social_auth 0002_add_related_name 2025-09-25 08:16:53.545283+00 -515 default 0003_alter_email_max_length 2025-09-25 08:16:53.547888+00 -516 social_auth 0003_alter_email_max_length 2025-09-25 08:16:53.548069+00 -517 default 0004_auto_20160423_0400 2025-09-25 08:16:53.554383+00 -518 social_auth 0004_auto_20160423_0400 2025-09-25 08:16:53.554594+00 -519 social_auth 0005_auto_20160727_2333 2025-09-25 08:16:53.556541+00 -520 social_django 0006_partial 2025-09-25 08:16:53.558556+00 -521 social_django 0007_code_timestamp 2025-09-25 08:16:53.561161+00 -522 social_django 0008_partial_timestamp 2025-09-25 08:16:53.56414+00 -523 social_django 0009_auto_20191118_0520 2025-09-25 08:16:53.576943+00 -524 social_django 0010_uid_db_index 2025-09-25 08:16:53.584245+00 -525 social_django 0011_alter_id_fields 2025-09-25 08:16:53.603411+00 -526 social_django 0012_usersocialauth_extra_data_new 2025-09-25 08:16:53.611599+00 -527 social_django 0013_migrate_extra_data 2025-09-25 08:16:53.655494+00 -528 social_django 0014_remove_usersocialauth_extra_data 2025-09-25 08:16:53.664841+00 -529 social_django 0015_rename_extra_data_new_usersocialauth_extra_data 2025-09-25 08:16:53.673051+00 -530 social_django 0016_alter_usersocialauth_extra_data 2025-09-25 08:16:53.679513+00 -531 taggit 0001_initial 2025-09-25 08:16:53.723772+00 -532 taggit 0002_auto_20150616_2121 2025-09-25 08:16:53.73428+00 -533 taggit 0003_taggeditem_add_unique_index 2025-09-25 08:16:53.7454+00 -534 taggit 0004_alter_taggeditem_content_type_alter_taggeditem_tag 2025-09-25 08:16:53.940574+00 -535 taggit 0005_auto_20220424_2025 2025-09-25 08:16:53.94401+00 -536 taggit 0006_rename_taggeditem_content_type_object_id_taggit_tagg_content_8fc721_idx 2025-09-25 08:16:53.967708+00 -537 tenancy 0012_contactassignment_custom_fields 2025-09-25 08:16:54.005793+00 -538 tenancy 0013_gfk_indexes 2025-09-25 08:16:54.040621+00 -539 tenancy 0014_contactassignment_ordering 2025-09-25 08:16:54.075715+00 -540 tenancy 0015_contactassignment_rename_content_type 2025-09-25 08:16:54.257381+00 -541 users 0005_alter_user_table 2025-09-25 08:16:54.430124+00 -542 users 0006_custom_group_model 2025-09-25 08:16:54.629036+00 -543 users 0007_objectpermission_update_object_types 2025-09-25 08:16:54.676644+00 -544 users 0008_flip_objectpermission_assignments 2025-09-25 08:16:54.975431+00 -545 users 0009_update_group_perms 2025-09-25 08:16:55.06071+00 -546 virtualization 0023_virtualmachine_natural_ordering 2025-09-25 08:16:56.702362+00 -547 virtualization 0024_cluster_relax_uniqueness 2025-09-25 08:16:56.702919+00 -548 virtualization 0025_extend_tag_support 2025-09-25 08:16:56.703263+00 -549 virtualization 0026_vminterface_bridge 2025-09-25 08:16:56.703569+00 -550 virtualization 0027_standardize_id_fields 2025-09-25 08:16:56.70387+00 -551 virtualization 0028_vminterface_vrf 2025-09-25 08:16:56.704156+00 -552 virtualization 0029_created_datetimefield 2025-09-25 08:16:56.704394+00 -553 virtualization 0030_cluster_status 2025-09-25 08:16:56.704613+00 -554 virtualization 0031_virtualmachine_site_device 2025-09-25 08:16:56.704849+00 -555 virtualization 0032_virtualmachine_update_sites 2025-09-25 08:16:56.705059+00 -556 virtualization 0033_unique_constraints 2025-09-25 08:16:56.705271+00 -557 virtualization 0034_standardize_description_comments 2025-09-25 08:16:56.705487+00 -558 virtualization 0035_virtualmachine_interface_count 2025-09-25 08:16:56.705729+00 -559 virtualization 0036_virtualmachine_config_template 2025-09-25 08:16:56.705962+00 -560 virtualization 0037_protect_child_interfaces 2025-09-25 08:16:56.874059+00 -561 virtualization 0038_virtualdisk 2025-09-25 08:16:56.98252+00 -562 vpn 0001_initial 2025-09-25 08:16:57.722707+00 -563 vpn 0002_move_l2vpn 2025-09-25 08:16:58.01455+00 -564 vpn 0003_ipaddress_multiple_tunnel_terminations 2025-09-25 08:16:58.068034+00 -565 vpn 0004_alter_ikepolicy_mode 2025-09-25 08:16:58.10378+00 -566 vpn 0005_rename_indexes 2025-09-25 08:16:58.113196+00 -567 social_django 0002_add_related_name 2025-09-25 08:16:58.115407+00 -568 social_django 0005_auto_20160727_2333 2025-09-25 08:16:58.115711+00 -569 social_django 0003_alter_email_max_length 2025-09-25 08:16:58.116001+00 -570 social_django 0004_auto_20160423_0400 2025-09-25 08:16:58.116311+00 -571 social_django 0001_initial 2025-09-25 08:16:58.116619+00 -572 core 0001_squashed_0005 2025-09-25 08:16:58.116889+00 -573 circuits 0002_squashed_0029 2025-09-25 08:16:58.117234+00 -574 circuits 0003_squashed_0037 2025-09-25 08:16:58.117498+00 -575 circuits 0038_squashed_0042 2025-09-25 08:16:58.117817+00 -576 circuits 0001_squashed 2025-09-25 08:16:58.11807+00 -577 dcim 0167_squashed_0182 2025-09-25 08:16:58.118335+00 -578 dcim 0003_squashed_0130 2025-09-25 08:16:58.118653+00 -579 dcim 0131_squashed_0159 2025-09-25 08:16:58.118944+00 -580 dcim 0002_squashed 2025-09-25 08:16:58.11919+00 -581 dcim 0001_squashed 2025-09-25 08:16:58.11947+00 -582 dcim 0160_squashed_0166 2025-09-25 08:16:58.11972+00 -583 ipam 0047_squashed_0053 2025-09-25 08:16:58.119984+00 -584 ipam 0054_squashed_0067 2025-09-25 08:16:58.120264+00 -585 ipam 0001_squashed 2025-09-25 08:16:58.12051+00 -586 ipam 0002_squashed_0046 2025-09-25 08:16:58.120833+00 -587 extras 0060_squashed_0086 2025-09-25 08:16:58.121076+00 -588 extras 0002_squashed_0059 2025-09-25 08:16:58.121336+00 -589 extras 0087_squashed_0098 2025-09-25 08:16:58.121591+00 -590 extras 0001_squashed 2025-09-25 08:16:58.121841+00 -591 tenancy 0002_squashed_0011 2025-09-25 08:16:58.12209+00 -592 tenancy 0001_squashed_0012 2025-09-25 08:16:58.122339+00 -593 users 0001_squashed_0011 2025-09-25 08:16:58.12258+00 -594 users 0002_squashed_0004 2025-09-25 08:16:58.122996+00 -595 virtualization 0001_squashed_0022 2025-09-25 08:16:58.123259+00 -596 virtualization 0023_squashed_0036 2025-09-25 08:16:58.123476+00 -597 wireless 0001_squashed_0008 2025-09-25 08:16:58.124129+00 +1 contenttypes 0001_initial 2026-02-06 11:29:17.366411+00 +2 contenttypes 0002_remove_content_type_name 2026-02-06 11:29:17.368988+00 +3 auth 0001_initial 2026-02-06 11:29:17.377078+00 +4 auth 0002_alter_permission_name_max_length 2026-02-06 11:29:17.378914+00 +5 auth 0003_alter_user_email_max_length 2026-02-06 11:29:17.38084+00 +6 auth 0004_alter_user_username_opts 2026-02-06 11:29:17.382493+00 +7 auth 0005_alter_user_last_login_null 2026-02-06 11:29:17.383975+00 +8 auth 0006_require_contenttypes_0002 2026-02-06 11:29:17.384376+00 +9 auth 0007_alter_validators_add_error_messages 2026-02-06 11:29:17.386705+00 +10 auth 0008_alter_user_username_max_length 2026-02-06 11:29:17.388188+00 +11 auth 0009_alter_user_last_name_max_length 2026-02-06 11:29:17.389668+00 +12 auth 0010_alter_group_name_max_length 2026-02-06 11:29:17.391514+00 +13 auth 0011_update_proxy_permissions 2026-02-06 11:29:17.393233+00 +14 auth 0012_alter_user_first_name_max_length 2026-02-06 11:29:17.394786+00 +15 users 0001_api_tokens 2026-02-06 11:29:17.415685+00 +16 users 0002_unicode_literals 2026-02-06 11:29:17.416253+00 +17 users 0003_token_permissions 2026-02-06 11:29:17.41665+00 +18 users 0004_standardize_description 2026-02-06 11:29:17.416946+00 +19 users 0005_userconfig 2026-02-06 11:29:17.417221+00 +20 users 0006_create_userconfigs 2026-02-06 11:29:17.417623+00 +21 users 0007_proxy_group_user 2026-02-06 11:29:17.417848+00 +22 users 0008_objectpermission 2026-02-06 11:29:17.418063+00 +23 users 0009_replicate_permissions 2026-02-06 11:29:17.418264+00 +24 users 0010_update_jsonfield 2026-02-06 11:29:17.418495+00 +25 users 0011_standardize_models 2026-02-06 11:29:17.418749+00 +26 users 0002_standardize_id_fields 2026-02-06 11:29:17.435226+00 +27 users 0003_token_allowed_ips_last_used 2026-02-06 11:29:17.435599+00 +28 users 0004_netboxgroup_netboxuser 2026-02-06 11:29:17.435838+00 +29 account 0001_initial 2026-02-06 11:29:17.437349+00 +30 extras 0001_initial 2026-02-06 11:29:17.515492+00 +31 tenancy 0001_initial 2026-02-06 11:29:17.528477+00 +32 tenancy 0002_tenant_group_optional 2026-02-06 11:29:17.528925+00 +33 tenancy 0003_unicode_literals 2026-02-06 11:29:17.5293+00 +34 tenancy 0004_tags 2026-02-06 11:29:17.529681+00 +35 tenancy 0005_change_logging 2026-02-06 11:29:17.530015+00 +36 tenancy 0006_custom_tag_models 2026-02-06 11:29:17.530552+00 +37 tenancy 0007_nested_tenantgroups 2026-02-06 11:29:17.530861+00 +38 tenancy 0008_nested_tenantgroups_rebuild 2026-02-06 11:29:17.531128+00 +39 tenancy 0009_standardize_description 2026-02-06 11:29:17.531535+00 +40 tenancy 0010_custom_field_data 2026-02-06 11:29:17.531776+00 +41 tenancy 0011_standardize_name_length 2026-02-06 11:29:17.532171+00 +42 tenancy 0012_standardize_models 2026-02-06 11:29:17.532497+00 +43 dcim 0001_initial 2026-02-06 11:29:17.580538+00 +44 dcim 0002_auto_20160622_1821 2026-02-06 11:29:18.540862+00 +45 ipam 0001_initial 2026-02-06 11:29:18.636756+00 +46 virtualization 0001_virtualization 2026-02-06 11:29:18.786325+00 +47 virtualization 0002_virtualmachine_add_status 2026-02-06 11:29:18.786809+00 +48 virtualization 0003_cluster_add_site 2026-02-06 11:29:18.787132+00 +49 virtualization 0004_virtualmachine_add_role 2026-02-06 11:29:18.787394+00 +50 virtualization 0005_django2 2026-02-06 11:29:18.787643+00 +51 virtualization 0006_tags 2026-02-06 11:29:18.787875+00 +52 virtualization 0007_change_logging 2026-02-06 11:29:18.788117+00 +53 virtualization 0008_virtualmachine_local_context_data 2026-02-06 11:29:18.78838+00 +54 virtualization 0009_custom_tag_models 2026-02-06 11:29:18.788661+00 +55 virtualization 0010_cluster_add_tenant 2026-02-06 11:29:18.788913+00 +56 virtualization 0011_3569_virtualmachine_fields 2026-02-06 11:29:18.78913+00 +57 virtualization 0012_vm_name_nonunique 2026-02-06 11:29:18.789386+00 +58 virtualization 0013_deterministic_ordering 2026-02-06 11:29:18.789664+00 +59 virtualization 0014_standardize_description 2026-02-06 11:29:18.789893+00 +60 virtualization 0015_vminterface 2026-02-06 11:29:18.79011+00 +61 virtualization 0016_replicate_interfaces 2026-02-06 11:29:18.790324+00 +62 virtualization 0017_update_jsonfield 2026-02-06 11:29:18.790549+00 +63 virtualization 0018_custom_field_data 2026-02-06 11:29:18.790768+00 +64 virtualization 0019_standardize_name_length 2026-02-06 11:29:18.791003+00 +65 virtualization 0020_standardize_models 2026-02-06 11:29:18.791225+00 +66 virtualization 0021_virtualmachine_vcpus_decimal 2026-02-06 11:29:18.791468+00 +67 virtualization 0022_vminterface_parent 2026-02-06 11:29:18.792146+00 +68 extras 0002_custom_fields 2026-02-06 11:29:19.213895+00 +69 extras 0003_exporttemplate_add_description 2026-02-06 11:29:19.214547+00 +70 extras 0004_topologymap_change_comma_to_semicolon 2026-02-06 11:29:19.215181+00 +71 extras 0005_useraction_add_bulk_create 2026-02-06 11:29:19.215552+00 +72 extras 0006_add_imageattachments 2026-02-06 11:29:19.215886+00 +73 extras 0007_unicode_literals 2026-02-06 11:29:19.216162+00 +74 extras 0008_reports 2026-02-06 11:29:19.21662+00 +75 extras 0009_topologymap_type 2026-02-06 11:29:19.216956+00 +76 extras 0010_customfield_filter_logic 2026-02-06 11:29:19.217336+00 +77 extras 0011_django2 2026-02-06 11:29:19.217546+00 +78 extras 0012_webhooks 2026-02-06 11:29:19.21776+00 +79 extras 0013_objectchange 2026-02-06 11:29:19.218281+00 +80 extras 0014_configcontexts 2026-02-06 11:29:19.218669+00 +81 extras 0015_remove_useraction 2026-02-06 11:29:19.218954+00 +82 extras 0016_exporttemplate_add_cable 2026-02-06 11:29:19.219335+00 +83 extras 0017_exporttemplate_mime_type_length 2026-02-06 11:29:19.219592+00 +84 extras 0018_exporttemplate_add_jinja2 2026-02-06 11:29:19.220089+00 +85 extras 0019_tag_taggeditem 2026-02-06 11:29:19.220332+00 +86 extras 0020_tag_data 2026-02-06 11:29:19.220612+00 +87 extras 0021_add_color_comments_changelog_to_tag 2026-02-06 11:29:19.220858+00 +88 extras 0022_custom_links 2026-02-06 11:29:19.221057+00 +89 extras 0023_fix_tag_sequences 2026-02-06 11:29:19.22124+00 +90 extras 0024_scripts 2026-02-06 11:29:19.221416+00 +91 extras 0025_objectchange_time_index 2026-02-06 11:29:19.2216+00 +92 extras 0026_webhook_ca_file_path 2026-02-06 11:29:19.221788+00 +93 extras 0027_webhook_additional_headers 2026-02-06 11:29:19.222065+00 +94 extras 0028_remove_topology_maps 2026-02-06 11:29:19.222272+00 +95 extras 0029_3569_customfield_fields 2026-02-06 11:29:19.22249+00 +96 extras 0030_3569_objectchange_fields 2026-02-06 11:29:19.222669+00 +97 extras 0031_3569_exporttemplate_fields 2026-02-06 11:29:19.222842+00 +98 extras 0032_3569_webhook_fields 2026-02-06 11:29:19.223049+00 +99 extras 0033_graph_type_template_language 2026-02-06 11:29:19.223263+00 +100 extras 0034_configcontext_tags 2026-02-06 11:29:19.223493+00 +101 extras 0035_deterministic_ordering 2026-02-06 11:29:19.223715+00 +102 extras 0036_contenttype_filters_to_q_objects 2026-02-06 11:29:19.223996+00 +103 extras 0037_configcontexts_clusters 2026-02-06 11:29:19.22422+00 +104 extras 0038_webhook_template_support 2026-02-06 11:29:19.224581+00 +105 extras 0039_update_features_content_types 2026-02-06 11:29:19.224826+00 +106 extras 0040_standardize_description 2026-02-06 11:29:19.225033+00 +107 extras 0041_tag_description 2026-02-06 11:29:19.225251+00 +108 extras 0042_customfield_manager 2026-02-06 11:29:19.225486+00 +109 extras 0043_report 2026-02-06 11:29:19.225745+00 +110 extras 0044_jobresult 2026-02-06 11:29:19.225968+00 +111 extras 0045_configcontext_changelog 2026-02-06 11:29:19.226186+00 +112 extras 0046_update_jsonfield 2026-02-06 11:29:19.226399+00 +113 extras 0047_tag_ordering 2026-02-06 11:29:19.226605+00 +114 extras 0048_exporttemplate_remove_template_language 2026-02-06 11:29:19.226819+00 +115 extras 0049_remove_graph 2026-02-06 11:29:19.227039+00 +116 extras 0050_customfield_changes 2026-02-06 11:29:19.227258+00 +117 extras 0051_migrate_customfields 2026-02-06 11:29:19.227487+00 +118 extras 0052_customfield_cleanup 2026-02-06 11:29:19.227716+00 +119 extras 0053_rename_webhook_obj_type 2026-02-06 11:29:19.227938+00 +120 extras 0054_standardize_models 2026-02-06 11:29:19.228158+00 +121 extras 0055_objectchange_data 2026-02-06 11:29:19.228362+00 +122 extras 0056_extend_configcontext 2026-02-06 11:29:19.228825+00 +123 extras 0057_customlink_rename_fields 2026-02-06 11:29:19.229057+00 +124 extras 0058_journalentry 2026-02-06 11:29:19.229321+00 +125 extras 0059_exporttemplate_as_attachment 2026-02-06 11:29:19.229644+00 +126 tenancy 0002_tenant_ordering 2026-02-06 11:29:19.846181+00 +127 tenancy 0003_contacts 2026-02-06 11:29:19.846955+00 +128 tenancy 0004_extend_tag_support 2026-02-06 11:29:19.847375+00 +129 tenancy 0005_standardize_id_fields 2026-02-06 11:29:19.847919+00 +130 tenancy 0006_created_datetimefield 2026-02-06 11:29:19.848326+00 +131 tenancy 0007_contact_link 2026-02-06 11:29:19.848703+00 +132 tenancy 0008_unique_constraints 2026-02-06 11:29:19.849072+00 +133 tenancy 0009_standardize_description_comments 2026-02-06 11:29:19.849335+00 +134 tenancy 0010_tenant_relax_uniqueness 2026-02-06 11:29:19.84956+00 +135 tenancy 0011_contactassignment_tags 2026-02-06 11:29:19.849761+00 +136 dcim 0003_auto_20160628_1721 2026-02-06 11:29:22.009991+00 +137 dcim 0004_auto_20160701_2049 2026-02-06 11:29:22.010671+00 +138 dcim 0005_auto_20160706_1722 2026-02-06 11:29:22.010995+00 +139 dcim 0006_add_device_primary_ip4_ip6 2026-02-06 11:29:22.011349+00 +140 dcim 0007_device_copy_primary_ip 2026-02-06 11:29:22.011904+00 +141 dcim 0008_device_remove_primary_ip 2026-02-06 11:29:22.012191+00 +142 dcim 0009_site_32bit_asn_support 2026-02-06 11:29:22.012486+00 +143 dcim 0010_devicebay_installed_device_set_null 2026-02-06 11:29:22.012859+00 +144 dcim 0011_devicetype_part_number 2026-02-06 11:29:22.01309+00 +145 dcim 0012_site_rack_device_add_tenant 2026-02-06 11:29:22.013325+00 +146 dcim 0013_add_interface_form_factors 2026-02-06 11:29:22.013564+00 +147 dcim 0014_rack_add_type_width 2026-02-06 11:29:22.014011+00 +148 dcim 0015_rack_add_u_height_validator 2026-02-06 11:29:22.014223+00 +149 dcim 0016_module_add_manufacturer 2026-02-06 11:29:22.014424+00 +150 dcim 0017_rack_add_role 2026-02-06 11:29:22.014638+00 +151 dcim 0018_device_add_asset_tag 2026-02-06 11:29:22.014827+00 +152 dcim 0019_new_iface_form_factors 2026-02-06 11:29:22.015047+00 +153 dcim 0020_rack_desc_units 2026-02-06 11:29:22.015277+00 +154 dcim 0021_add_ff_flexstack 2026-02-06 11:29:22.015485+00 +155 dcim 0022_color_names_to_rgb 2026-02-06 11:29:22.015688+00 +156 dcim 0023_devicetype_comments 2026-02-06 11:29:22.016104+00 +157 dcim 0024_site_add_contact_fields 2026-02-06 11:29:22.016412+00 +158 dcim 0025_devicetype_add_interface_ordering 2026-02-06 11:29:22.016683+00 +159 dcim 0026_add_rack_reservations 2026-02-06 11:29:22.0169+00 +160 dcim 0027_device_add_site 2026-02-06 11:29:22.017128+00 +161 dcim 0028_device_copy_rack_to_site 2026-02-06 11:29:22.017356+00 +162 dcim 0029_allow_rackless_devices 2026-02-06 11:29:22.017588+00 +163 dcim 0030_interface_add_lag 2026-02-06 11:29:22.018051+00 +164 dcim 0031_regions 2026-02-06 11:29:22.018437+00 +165 dcim 0032_device_increase_name_length 2026-02-06 11:29:22.0187+00 +166 dcim 0033_rackreservation_rack_editable 2026-02-06 11:29:22.019006+00 +167 dcim 0034_rename_module_to_inventoryitem 2026-02-06 11:29:22.019234+00 +168 dcim 0035_device_expand_status_choices 2026-02-06 11:29:22.019464+00 +169 dcim 0036_add_ff_juniper_vcp 2026-02-06 11:29:22.019691+00 +170 dcim 0037_unicode_literals 2026-02-06 11:29:22.019909+00 +171 dcim 0038_wireless_interfaces 2026-02-06 11:29:22.020357+00 +172 dcim 0039_interface_add_enabled_mtu 2026-02-06 11:29:22.02062+00 +173 dcim 0040_inventoryitem_add_asset_tag_description 2026-02-06 11:29:22.02083+00 +174 dcim 0041_napalm_integration 2026-02-06 11:29:22.021036+00 +175 dcim 0042_interface_ff_10ge_cx4 2026-02-06 11:29:22.021239+00 +176 dcim 0043_device_component_name_lengths 2026-02-06 11:29:22.021434+00 +177 dcim 0044_virtualization 2026-02-06 11:29:22.021662+00 +178 dcim 0045_devicerole_vm_role 2026-02-06 11:29:22.021855+00 +179 dcim 0046_rack_lengthen_facility_id 2026-02-06 11:29:22.022037+00 +180 dcim 0047_more_100ge_form_factors 2026-02-06 11:29:22.022226+00 +181 dcim 0048_rack_serial 2026-02-06 11:29:22.022596+00 +182 dcim 0049_rackreservation_change_user 2026-02-06 11:29:22.022824+00 +183 dcim 0050_interface_vlan_tagging 2026-02-06 11:29:22.023189+00 +184 dcim 0051_rackreservation_tenant 2026-02-06 11:29:22.023416+00 +185 dcim 0052_virtual_chassis 2026-02-06 11:29:22.023883+00 +186 dcim 0053_platform_manufacturer 2026-02-06 11:29:22.024153+00 +187 dcim 0054_site_status_timezone_description 2026-02-06 11:29:22.024373+00 +188 dcim 0055_virtualchassis_ordering 2026-02-06 11:29:22.024609+00 +189 dcim 0056_django2 2026-02-06 11:29:22.024825+00 +190 dcim 0057_tags 2026-02-06 11:29:22.025032+00 +191 dcim 0058_relax_rack_naming_constraints 2026-02-06 11:29:22.025257+00 +192 dcim 0059_site_latitude_longitude 2026-02-06 11:29:22.025619+00 +193 dcim 0060_change_logging 2026-02-06 11:29:22.025872+00 +194 dcim 0061_platform_napalm_args 2026-02-06 11:29:22.026101+00 +195 dcim 0062_interface_mtu 2026-02-06 11:29:22.026323+00 +196 dcim 0063_device_local_context_data 2026-02-06 11:29:22.026542+00 +197 dcim 0064_remove_platform_rpc_client 2026-02-06 11:29:22.026769+00 +198 dcim 0065_front_rear_ports 2026-02-06 11:29:22.026987+00 +199 dcim 0066_cables 2026-02-06 11:29:22.027236+00 +200 dcim 0067_device_type_remove_qualifiers 2026-02-06 11:29:22.027544+00 +201 dcim 0068_rack_new_fields 2026-02-06 11:29:22.027774+00 +202 dcim 0069_deprecate_nullablecharfield 2026-02-06 11:29:22.027985+00 +203 dcim 0070_custom_tag_models 2026-02-06 11:29:22.028206+00 +204 dcim 0071_device_components_add_description 2026-02-06 11:29:22.028417+00 +205 dcim 0072_powerfeeds 2026-02-06 11:29:22.028645+00 +206 dcim 0073_interface_form_factor_to_type 2026-02-06 11:29:22.028873+00 +207 dcim 0074_increase_field_length_platform_name_slug 2026-02-06 11:29:22.029339+00 +208 dcim 0075_cable_devices 2026-02-06 11:29:22.029634+00 +209 dcim 0076_console_port_types 2026-02-06 11:29:22.029915+00 +210 dcim 0077_power_types 2026-02-06 11:29:22.030182+00 +211 dcim 0078_3569_site_fields 2026-02-06 11:29:22.030445+00 +212 dcim 0079_3569_rack_fields 2026-02-06 11:29:22.03068+00 +213 dcim 0080_3569_devicetype_fields 2026-02-06 11:29:22.03089+00 +214 dcim 0081_3569_device_fields 2026-02-06 11:29:22.031085+00 +215 dcim 0082_3569_interface_fields 2026-02-06 11:29:22.03129+00 +216 dcim 0082_3569_port_fields 2026-02-06 11:29:22.031485+00 +217 dcim 0083_3569_cable_fields 2026-02-06 11:29:22.031667+00 +218 dcim 0084_3569_powerfeed_fields 2026-02-06 11:29:22.031855+00 +219 dcim 0085_3569_poweroutlet_fields 2026-02-06 11:29:22.032402+00 +220 dcim 0086_device_name_nonunique 2026-02-06 11:29:22.032639+00 +221 dcim 0087_role_descriptions 2026-02-06 11:29:22.032856+00 +222 dcim 0088_powerfeed_available_power 2026-02-06 11:29:22.03306+00 +223 dcim 0089_deterministic_ordering 2026-02-06 11:29:22.033278+00 +224 dcim 0090_cable_termination_models 2026-02-06 11:29:22.033513+00 +225 dcim 0091_interface_type_other 2026-02-06 11:29:22.033723+00 +226 dcim 0092_fix_rack_outer_unit 2026-02-06 11:29:22.034172+00 +227 dcim 0093_device_component_ordering 2026-02-06 11:29:22.034414+00 +228 dcim 0094_device_component_template_ordering 2026-02-06 11:29:22.034628+00 +229 dcim 0095_primary_model_ordering 2026-02-06 11:29:22.03484+00 +230 dcim 0096_interface_ordering 2026-02-06 11:29:22.035056+00 +231 dcim 0097_interfacetemplate_type_other 2026-02-06 11:29:22.035277+00 +232 dcim 0098_devicetype_images 2026-02-06 11:29:22.035495+00 +233 dcim 0099_powerfeed_negative_voltage 2026-02-06 11:29:22.035863+00 +234 dcim 0100_mptt_remove_indexes 2026-02-06 11:29:22.036098+00 +235 dcim 0101_nested_rackgroups 2026-02-06 11:29:22.036313+00 +236 dcim 0102_nested_rackgroups_rebuild 2026-02-06 11:29:22.036532+00 +237 dcim 0103_standardize_description 2026-02-06 11:29:22.036728+00 +238 dcim 0104_correct_infiniband_types 2026-02-06 11:29:22.036928+00 +239 dcim 0105_interface_name_collation 2026-02-06 11:29:22.037138+00 +240 dcim 0106_role_default_color 2026-02-06 11:29:22.037348+00 +241 dcim 0107_component_labels 2026-02-06 11:29:22.037562+00 +242 dcim 0108_add_tags 2026-02-06 11:29:22.037772+00 +243 dcim 0109_interface_remove_vm 2026-02-06 11:29:22.037981+00 +244 dcim 0110_virtualchassis_name 2026-02-06 11:29:22.0383+00 +245 dcim 0111_component_template_description 2026-02-06 11:29:22.038585+00 +246 dcim 0112_standardize_components 2026-02-06 11:29:22.038818+00 +247 dcim 0113_nullbooleanfield_to_booleanfield 2026-02-06 11:29:22.039204+00 +248 dcim 0114_update_jsonfield 2026-02-06 11:29:22.039437+00 +249 dcim 0115_rackreservation_order 2026-02-06 11:29:22.039658+00 +250 dcim 0116_rearport_max_positions 2026-02-06 11:29:22.039854+00 +251 dcim 0117_custom_field_data 2026-02-06 11:29:22.04004+00 +252 dcim 0118_inventoryitem_mptt 2026-02-06 11:29:22.04022+00 +253 dcim 0119_inventoryitem_mptt_rebuild 2026-02-06 11:29:22.040562+00 +254 dcim 0120_cache_cable_peer 2026-02-06 11:29:22.040771+00 +255 dcim 0121_cablepath 2026-02-06 11:29:22.040959+00 +256 dcim 0122_standardize_name_length 2026-02-06 11:29:22.041147+00 +257 dcim 0123_standardize_models 2026-02-06 11:29:22.04133+00 +258 dcim 0124_mark_connected 2026-02-06 11:29:22.041515+00 +259 dcim 0125_console_port_speed 2026-02-06 11:29:22.041691+00 +260 dcim 0126_rename_rackgroup_location 2026-02-06 11:29:22.041874+00 +261 dcim 0127_device_location 2026-02-06 11:29:22.042067+00 +262 dcim 0128_device_location_populate 2026-02-06 11:29:22.042261+00 +263 dcim 0129_interface_parent 2026-02-06 11:29:22.042451+00 +264 dcim 0130_sitegroup 2026-02-06 11:29:22.042637+00 +265 ipam 0002_vrf_add_enforce_unique 2026-02-06 11:29:22.860543+00 +266 ipam 0003_ipam_add_vlangroups 2026-02-06 11:29:22.861134+00 +267 ipam 0004_ipam_vlangroup_uniqueness 2026-02-06 11:29:22.861564+00 +268 ipam 0005_auto_20160725_1842 2026-02-06 11:29:22.861986+00 +269 ipam 0006_vrf_vlan_add_tenant 2026-02-06 11:29:22.862348+00 +270 ipam 0007_prefix_ipaddress_add_tenant 2026-02-06 11:29:22.862676+00 +271 ipam 0008_prefix_change_order 2026-02-06 11:29:22.863004+00 +272 ipam 0009_ipaddress_add_status 2026-02-06 11:29:22.863468+00 +273 ipam 0010_ipaddress_help_texts 2026-02-06 11:29:22.863856+00 +274 ipam 0011_rir_add_is_private 2026-02-06 11:29:22.864189+00 +275 ipam 0012_services 2026-02-06 11:29:22.864458+00 +276 ipam 0013_prefix_add_is_pool 2026-02-06 11:29:22.864677+00 +277 ipam 0014_ipaddress_status_add_deprecated 2026-02-06 11:29:22.864888+00 +278 ipam 0015_global_vlans 2026-02-06 11:29:22.865099+00 +279 ipam 0016_unicode_literals 2026-02-06 11:29:22.8653+00 +280 ipam 0017_ipaddress_roles 2026-02-06 11:29:22.865517+00 +281 ipam 0018_remove_service_uniqueness_constraint 2026-02-06 11:29:22.865762+00 +282 ipam 0019_virtualization 2026-02-06 11:29:22.866014+00 +283 ipam 0020_ipaddress_add_role_carp 2026-02-06 11:29:22.866332+00 +284 ipam 0021_vrf_ordering 2026-02-06 11:29:22.866646+00 +285 ipam 0022_tags 2026-02-06 11:29:22.866912+00 +286 ipam 0023_change_logging 2026-02-06 11:29:22.867168+00 +287 ipam 0024_vrf_allow_null_rd 2026-02-06 11:29:22.867421+00 +288 ipam 0025_custom_tag_models 2026-02-06 11:29:22.867713+00 +289 ipam 0026_prefix_ordering_vrf_nulls_first 2026-02-06 11:29:22.86796+00 +290 ipam 0027_ipaddress_add_dns_name 2026-02-06 11:29:22.86821+00 +291 ipam 0028_3569_prefix_fields 2026-02-06 11:29:22.868521+00 +292 ipam 0029_3569_ipaddress_fields 2026-02-06 11:29:22.868742+00 +293 ipam 0030_3569_vlan_fields 2026-02-06 11:29:22.868965+00 +294 ipam 0031_3569_service_fields 2026-02-06 11:29:22.869163+00 +295 ipam 0032_role_description 2026-02-06 11:29:22.869356+00 +296 ipam 0033_deterministic_ordering 2026-02-06 11:29:22.869574+00 +297 ipam 0034_fix_ipaddress_status_dhcp 2026-02-06 11:29:22.869805+00 +298 ipam 0035_drop_ip_family 2026-02-06 11:29:22.870057+00 +299 ipam 0036_standardize_description 2026-02-06 11:29:22.870292+00 +300 ipam 0037_ipaddress_assignment 2026-02-06 11:29:22.870509+00 +301 ipam 0038_custom_field_data 2026-02-06 11:29:22.8709+00 +302 ipam 0039_service_ports_array 2026-02-06 11:29:22.87117+00 +303 ipam 0040_service_drop_port 2026-02-06 11:29:22.871459+00 +304 ipam 0041_routetarget 2026-02-06 11:29:22.871708+00 +305 ipam 0042_standardize_name_length 2026-02-06 11:29:22.871959+00 +306 ipam 0043_add_tenancy_to_aggregates 2026-02-06 11:29:22.872246+00 +307 ipam 0044_standardize_models 2026-02-06 11:29:22.8727+00 +308 ipam 0045_vlangroup_scope 2026-02-06 11:29:22.87295+00 +309 ipam 0046_set_vlangroup_scope_types 2026-02-06 11:29:22.873191+00 +310 wireless 0001_wireless 2026-02-06 11:29:23.06942+00 +311 wireless 0002_standardize_id_fields 2026-02-06 11:29:23.069894+00 +312 wireless 0003_created_datetimefield 2026-02-06 11:29:23.070235+00 +313 wireless 0004_wireless_tenancy 2026-02-06 11:29:23.070647+00 +314 wireless 0005_wirelesslink_interface_types 2026-02-06 11:29:23.070977+00 +315 wireless 0006_unique_constraints 2026-02-06 11:29:23.07127+00 +316 wireless 0007_standardize_description_comments 2026-02-06 11:29:23.071591+00 +317 wireless 0008_wirelesslan_status 2026-02-06 11:29:23.07185+00 +318 ipam 0047_prefix_depth_children 2026-02-06 11:29:23.531692+00 +319 ipam 0048_prefix_populate_depth_children 2026-02-06 11:29:23.532218+00 +320 ipam 0049_prefix_mark_utilized 2026-02-06 11:29:23.532563+00 +321 ipam 0050_iprange 2026-02-06 11:29:23.532865+00 +322 ipam 0051_extend_tag_support 2026-02-06 11:29:23.53319+00 +323 ipam 0052_fhrpgroup 2026-02-06 11:29:23.533494+00 +324 ipam 0053_asn_model 2026-02-06 11:29:23.533759+00 +325 dcim 0131_consoleport_speed 2026-02-06 11:29:32.309618+00 +326 dcim 0132_cable_length 2026-02-06 11:29:32.310941+00 +327 dcim 0133_port_colors 2026-02-06 11:29:32.311582+00 +328 dcim 0134_interface_wwn_bridge 2026-02-06 11:29:32.312136+00 +329 dcim 0135_tenancy_extensions 2026-02-06 11:29:32.312725+00 +330 dcim 0136_device_airflow 2026-02-06 11:29:32.313189+00 +331 dcim 0137_relax_uniqueness_constraints 2026-02-06 11:29:32.313896+00 +332 dcim 0138_extend_tag_support 2026-02-06 11:29:32.314769+00 +333 dcim 0139_rename_cable_peer 2026-02-06 11:29:32.315599+00 +334 dcim 0140_wireless 2026-02-06 11:29:32.316445+00 +335 dcim 0141_asn_model 2026-02-06 11:29:32.317091+00 +336 dcim 0142_rename_128gfc_qsfp28 2026-02-06 11:29:32.317897+00 +337 dcim 0143_remove_primary_for_related_name 2026-02-06 11:29:32.318838+00 +338 dcim 0144_fix_cable_abs_length 2026-02-06 11:29:32.31947+00 +339 dcim 0145_site_remove_deprecated_fields 2026-02-06 11:29:32.320313+00 +340 dcim 0146_modules 2026-02-06 11:29:32.321125+00 +341 dcim 0147_inventoryitemrole 2026-02-06 11:29:32.322225+00 +342 dcim 0148_inventoryitem_component 2026-02-06 11:29:32.322843+00 +343 dcim 0149_inventoryitem_templates 2026-02-06 11:29:32.323996+00 +344 dcim 0150_interface_vrf 2026-02-06 11:29:32.324998+00 +345 dcim 0151_interface_speed_duplex 2026-02-06 11:29:32.325814+00 +346 dcim 0152_standardize_id_fields 2026-02-06 11:29:32.326908+00 +347 dcim 0153_created_datetimefield 2026-02-06 11:29:32.327671+00 +348 dcim 0154_half_height_rack_units 2026-02-06 11:29:32.328663+00 +349 dcim 0155_interface_poe_mode_type 2026-02-06 11:29:32.329554+00 +350 dcim 0156_location_status 2026-02-06 11:29:32.330267+00 +351 dcim 0157_new_cabling_models 2026-02-06 11:29:32.331007+00 +352 dcim 0158_populate_cable_terminations 2026-02-06 11:29:32.332415+00 +353 dcim 0159_populate_cable_paths 2026-02-06 11:29:32.33404+00 +354 circuits 0001_initial 2026-02-06 11:29:32.35655+00 +355 circuits 0002_auto_20160622_1821 2026-02-06 11:29:33.333342+00 +356 circuits 0003_provider_32bit_asn_support 2026-02-06 11:29:33.334119+00 +357 circuits 0004_circuit_add_tenant 2026-02-06 11:29:33.334749+00 +358 circuits 0005_circuit_add_upstream_speed 2026-02-06 11:29:33.335309+00 +359 circuits 0006_terminations 2026-02-06 11:29:33.335776+00 +360 circuits 0007_circuit_add_description 2026-02-06 11:29:33.336208+00 +361 circuits 0008_circuittermination_interface_protect_on_delete 2026-02-06 11:29:33.336582+00 +362 circuits 0009_unicode_literals 2026-02-06 11:29:33.337056+00 +363 circuits 0010_circuit_status 2026-02-06 11:29:33.337599+00 +364 circuits 0011_tags 2026-02-06 11:29:33.338173+00 +365 circuits 0012_change_logging 2026-02-06 11:29:33.338675+00 +366 circuits 0013_cables 2026-02-06 11:29:33.33909+00 +367 circuits 0014_circuittermination_description 2026-02-06 11:29:33.339677+00 +368 circuits 0015_custom_tag_models 2026-02-06 11:29:33.340206+00 +369 circuits 0016_3569_circuit_fields 2026-02-06 11:29:33.340643+00 +370 circuits 0017_circuittype_description 2026-02-06 11:29:33.341344+00 +371 circuits 0018_standardize_description 2026-02-06 11:29:33.341884+00 +372 circuits 0019_nullbooleanfield_to_booleanfield 2026-02-06 11:29:33.342318+00 +373 circuits 0020_custom_field_data 2026-02-06 11:29:33.34283+00 +374 circuits 0021_cache_cable_peer 2026-02-06 11:29:33.343352+00 +375 circuits 0022_cablepath 2026-02-06 11:29:33.343758+00 +376 circuits 0023_circuittermination_port_speed_optional 2026-02-06 11:29:33.344228+00 +377 circuits 0024_standardize_name_length 2026-02-06 11:29:33.344698+00 +378 circuits 0025_standardize_models 2026-02-06 11:29:33.345192+00 +379 circuits 0026_mark_connected 2026-02-06 11:29:33.345544+00 +380 circuits 0027_providernetwork 2026-02-06 11:29:33.345843+00 +381 circuits 0028_cache_circuit_terminations 2026-02-06 11:29:33.346125+00 +382 circuits 0029_circuit_tracing 2026-02-06 11:29:33.346908+00 +383 circuits 0003_extend_tag_support 2026-02-06 11:29:34.449202+00 +384 circuits 0004_rename_cable_peer 2026-02-06 11:29:34.44979+00 +385 circuits 0032_provider_service_id 2026-02-06 11:29:34.450164+00 +386 circuits 0033_standardize_id_fields 2026-02-06 11:29:34.450537+00 +387 circuits 0034_created_datetimefield 2026-02-06 11:29:34.450987+00 +388 circuits 0035_provider_asns 2026-02-06 11:29:34.451272+00 +389 circuits 0036_circuit_termination_date_tags_custom_fields 2026-02-06 11:29:34.451539+00 +390 circuits 0037_new_cabling_models 2026-02-06 11:29:34.451832+00 +391 dcim 0160_populate_cable_ends 2026-02-06 11:29:39.493094+00 +392 dcim 0161_cabling_cleanup 2026-02-06 11:29:39.493526+00 +393 dcim 0162_unique_constraints 2026-02-06 11:29:39.493812+00 +394 dcim 0163_weight_fields 2026-02-06 11:29:39.49409+00 +395 dcim 0164_rack_mounting_depth 2026-02-06 11:29:39.494371+00 +396 dcim 0165_standardize_description_comments 2026-02-06 11:29:39.49463+00 +397 dcim 0166_virtualdevicecontext 2026-02-06 11:29:39.494888+00 +398 core 0001_initial 2026-02-06 11:29:40.141633+00 +399 core 0002_managedfile 2026-02-06 11:29:40.142133+00 +400 core 0003_job 2026-02-06 11:29:40.142471+00 +401 core 0004_replicate_jobresults 2026-02-06 11:29:40.142833+00 +402 core 0005_job_created_auto_now 2026-02-06 11:29:40.143163+00 +403 circuits 0038_cabling_cleanup 2026-02-06 11:29:40.953434+00 +404 circuits 0039_unique_constraints 2026-02-06 11:29:40.954044+00 +405 circuits 0040_provider_remove_deprecated_fields 2026-02-06 11:29:40.954462+00 +406 circuits 0041_standardize_description_comments 2026-02-06 11:29:40.954845+00 +407 circuits 0042_provideraccount 2026-02-06 11:29:40.955275+00 +408 extras 0060_customlink_button_class 2026-02-06 11:29:43.340134+00 +409 extras 0061_extras_change_logging 2026-02-06 11:29:43.340963+00 +410 extras 0062_clear_secrets_changelog 2026-02-06 11:29:43.341418+00 +411 extras 0063_webhook_conditions 2026-02-06 11:29:43.341799+00 +412 extras 0064_configrevision 2026-02-06 11:29:43.342204+00 +413 extras 0065_imageattachment_change_logging 2026-02-06 11:29:43.342515+00 +414 extras 0066_customfield_name_validation 2026-02-06 11:29:43.342814+00 +415 extras 0067_customfield_min_max_values 2026-02-06 11:29:43.343193+00 +416 extras 0068_configcontext_cluster_types 2026-02-06 11:29:43.343495+00 +417 extras 0069_custom_object_field 2026-02-06 11:29:43.343758+00 +418 extras 0070_customlink_enabled 2026-02-06 11:29:43.344061+00 +419 extras 0071_standardize_id_fields 2026-02-06 11:29:43.344349+00 +420 extras 0072_created_datetimefield 2026-02-06 11:29:43.3448+00 +421 extras 0073_journalentry_tags_custom_fields 2026-02-06 11:29:43.345078+00 +422 extras 0074_customfield_extensions 2026-02-06 11:29:43.345375+00 +423 extras 0075_configcontext_locations 2026-02-06 11:29:43.345721+00 +424 extras 0076_tag_slug_unicode 2026-02-06 11:29:43.346001+00 +425 extras 0077_customlink_extend_text_and_url 2026-02-06 11:29:43.34625+00 +426 extras 0078_unique_constraints 2026-02-06 11:29:43.346534+00 +427 extras 0079_scheduled_jobs 2026-02-06 11:29:43.346822+00 +428 extras 0080_customlink_content_types 2026-02-06 11:29:43.347146+00 +429 extras 0081_exporttemplate_content_types 2026-02-06 11:29:43.34742+00 +430 extras 0082_savedfilter 2026-02-06 11:29:43.347771+00 +431 extras 0083_search 2026-02-06 11:29:43.348152+00 +432 extras 0084_staging 2026-02-06 11:29:43.3485+00 +433 extras 0085_synced_data 2026-02-06 11:29:43.348769+00 +434 extras 0086_configtemplate 2026-02-06 11:29:43.349134+00 +435 extras 0087_dashboard 2026-02-06 11:29:43.98112+00 +436 extras 0088_jobresult_webhooks 2026-02-06 11:29:43.982598+00 +437 extras 0089_customfield_is_cloneable 2026-02-06 11:29:43.983626+00 +438 extras 0090_objectchange_index_request_id 2026-02-06 11:29:43.984551+00 +439 extras 0091_create_managedfiles 2026-02-06 11:29:43.985364+00 +440 extras 0092_delete_jobresult 2026-02-06 11:29:43.986243+00 +441 extras 0093_configrevision_ordering 2026-02-06 11:29:43.987355+00 +442 extras 0094_tag_object_types 2026-02-06 11:29:43.988346+00 +443 extras 0095_bookmarks 2026-02-06 11:29:43.989168+00 +444 extras 0096_customfieldchoiceset 2026-02-06 11:29:43.989776+00 +445 extras 0097_customfield_remove_choices 2026-02-06 11:29:43.990369+00 +446 extras 0098_webhook_custom_field_data_webhook_tags 2026-02-06 11:29:43.990813+00 +447 extras 0099_cachedvalue_ordering 2026-02-06 11:29:44.002862+00 +448 extras 0100_customfield_ui_attrs 2026-02-06 11:29:44.082263+00 +449 extras 0101_eventrule 2026-02-06 11:29:45.203181+00 +450 extras 0102_move_configrevision 2026-02-06 11:29:45.27068+00 +451 extras 0103_gfk_indexes 2026-02-06 11:29:45.481126+00 +452 extras 0104_stagedchange_remove_change_logging 2026-02-06 11:29:45.53949+00 +453 extras 0105_customfield_min_max_values 2026-02-06 11:29:45.576318+00 +454 extras 0106_bookmark_user_cascade_deletion 2026-02-06 11:29:45.640313+00 +455 extras 0107_cachedvalue_extras_cachedvalue_object 2026-02-06 11:29:45.658489+00 +456 extras 0108_convert_reports_to_scripts 2026-02-06 11:29:45.713063+00 +457 extras 0109_script_model 2026-02-06 11:29:45.873229+00 +458 extras 0110_remove_eventrule_action_parameters 2026-02-06 11:29:46.136951+00 +459 core 0006_datasource_type_remove_choices 2026-02-06 11:29:46.178427+00 +460 core 0007_job_add_error_field 2026-02-06 11:29:46.193155+00 +461 core 0008_contenttype_proxy 2026-02-06 11:29:46.19479+00 +462 core 0009_configrevision 2026-02-06 11:29:46.196168+00 +463 core 0010_gfk_indexes 2026-02-06 11:29:46.211257+00 +464 extras 0111_rename_content_types 2026-02-06 11:29:46.778914+00 +465 extras 0112_tag_update_object_types 2026-02-06 11:29:46.830325+00 +466 extras 0113_customfield_rename_object_type 2026-02-06 11:29:46.847634+00 +467 users 0005_alter_user_table 2026-02-06 11:29:46.908725+00 +468 users 0006_custom_group_model 2026-02-06 11:29:47.098244+00 +469 users 0007_objectpermission_update_object_types 2026-02-06 11:29:47.143498+00 +470 users 0008_flip_objectpermission_assignments 2026-02-06 11:29:47.484467+00 +471 users 0009_update_group_perms 2026-02-06 11:29:47.573686+00 +472 extras 0114_customfield_add_comments 2026-02-06 11:29:47.585619+00 +473 extras 0115_convert_dashboard_widgets 2026-02-06 11:29:47.628344+00 +474 extras 0116_custom_link_button_color 2026-02-06 11:29:47.681053+00 +475 core 0011_move_objectchange 2026-02-06 11:29:47.72586+00 +476 extras 0117_move_objectchange 2026-02-06 11:29:47.832301+00 +477 extras 0118_customfield_uniqueness 2026-02-06 11:29:47.844019+00 +478 extras 0119_notifications 2026-02-06 11:29:48.188839+00 +479 extras 0120_eventrule_event_types 2026-02-06 11:29:48.656709+00 +480 extras 0121_customfield_related_object_filter 2026-02-06 11:29:48.669534+00 +481 extras 0122_charfield_null_choices 2026-02-06 11:29:48.719569+00 +482 tenancy 0012_contactassignment_custom_fields 2026-02-06 11:29:48.7589+00 +483 tenancy 0013_gfk_indexes 2026-02-06 11:29:48.801754+00 +484 tenancy 0014_contactassignment_ordering 2026-02-06 11:29:48.847016+00 +485 tenancy 0015_contactassignment_rename_content_type 2026-02-06 11:29:49.050358+00 +486 tenancy 0016_charfield_null_choices 2026-02-06 11:29:49.130164+00 +487 ipam 0054_vlangroup_min_max_vids 2026-02-06 11:29:52.244685+00 +488 ipam 0055_servicetemplate 2026-02-06 11:29:52.245365+00 +489 ipam 0056_standardize_id_fields 2026-02-06 11:29:52.245668+00 +490 ipam 0057_created_datetimefield 2026-02-06 11:29:52.245957+00 +491 ipam 0058_ipaddress_nat_inside_nonunique 2026-02-06 11:29:52.246242+00 +492 ipam 0059_l2vpn 2026-02-06 11:29:52.246487+00 +493 ipam 0060_alter_l2vpn_slug 2026-02-06 11:29:52.246703+00 +494 ipam 0061_fhrpgroup_name 2026-02-06 11:29:52.246961+00 +495 ipam 0062_unique_constraints 2026-02-06 11:29:52.247205+00 +496 ipam 0063_standardize_description_comments 2026-02-06 11:29:52.247447+00 +497 ipam 0064_clear_search_cache 2026-02-06 11:29:52.247667+00 +498 ipam 0065_asnrange 2026-02-06 11:29:52.247904+00 +499 ipam 0066_iprange_mark_utilized 2026-02-06 11:29:52.248154+00 +500 ipam 0067_ipaddress_index_host 2026-02-06 11:29:52.248396+00 +501 ipam 0068_move_l2vpn 2026-02-06 11:29:52.717395+00 +502 ipam 0069_gfk_indexes 2026-02-06 11:29:52.803384+00 +503 ipam 0070_vlangroup_vlan_id_ranges 2026-02-06 11:29:53.009403+00 +504 ipam 0071_prefix_scope 2026-02-06 11:29:53.328462+00 +505 dcim 0167_module_status 2026-02-06 11:29:55.371491+00 +506 dcim 0168_interface_template_enabled 2026-02-06 11:29:55.372011+00 +507 dcim 0169_devicetype_default_platform 2026-02-06 11:29:55.37233+00 +508 dcim 0170_configtemplate 2026-02-06 11:29:55.372605+00 +509 dcim 0171_cabletermination_change_logging 2026-02-06 11:29:55.372894+00 +510 dcim 0172_larger_power_draw_values 2026-02-06 11:29:55.373168+00 +511 dcim 0173_remove_napalm_fields 2026-02-06 11:29:55.373399+00 +512 dcim 0174_device_latitude_device_longitude 2026-02-06 11:29:55.37366+00 +513 dcim 0174_rack_starting_unit 2026-02-06 11:29:55.373912+00 +514 dcim 0175_device_oob_ip 2026-02-06 11:29:55.374142+00 +515 dcim 0176_device_component_counters 2026-02-06 11:29:55.374382+00 +516 dcim 0177_devicetype_component_counters 2026-02-06 11:29:55.374631+00 +517 dcim 0178_virtual_chassis_member_counter 2026-02-06 11:29:55.37486+00 +518 dcim 0179_interfacetemplate_rf_role 2026-02-06 11:29:55.375088+00 +519 dcim 0180_powerfeed_tenant 2026-02-06 11:29:55.375316+00 +520 dcim 0181_rename_device_role_device_role 2026-02-06 11:29:55.375562+00 +521 dcim 0182_zero_length_cable_fix 2026-02-06 11:29:55.375917+00 +522 dcim 0183_devicetype_exclude_from_utilization 2026-02-06 11:29:55.414347+00 +523 dcim 0184_protect_child_interfaces 2026-02-06 11:29:55.466857+00 +524 dcim 0185_gfk_indexes 2026-02-06 11:29:55.558006+00 +525 dcim 0186_location_facility 2026-02-06 11:29:55.763916+00 +526 dcim 0187_alter_device_vc_position 2026-02-06 11:29:55.805636+00 +527 dcim 0188_racktype 2026-02-06 11:29:56.008469+00 +528 dcim 0189_moduletype_rack_airflow 2026-02-06 11:29:56.088019+00 +529 dcim 0190_nested_modules 2026-02-06 11:29:56.734253+00 +530 dcim 0191_module_bay_rebuild 2026-02-06 11:29:56.780766+00 +531 dcim 0192_inventoryitem_status 2026-02-06 11:29:56.820508+00 +532 dcim 0193_poweroutlet_color 2026-02-06 11:29:56.853633+00 +533 ipam 0072_prefix_cached_relations 2026-02-06 11:29:57.361246+00 +534 ipam 0073_charfield_null_choices 2026-02-06 11:29:57.487461+00 +535 ipam 0074_vlantranslationpolicy_vlantranslationrule 2026-02-06 11:29:57.844654+00 +536 ipam 0075_vlan_qinq 2026-02-06 11:29:58.000335+00 +537 dcim 0194_charfield_null_choices 2026-02-06 11:30:00.044711+00 +538 dcim 0195_interface_vlan_translation_policy 2026-02-06 11:30:00.101816+00 +539 dcim 0196_qinq_svlan 2026-02-06 11:30:00.264264+00 +540 dcim 0197_natural_sort_collation 2026-02-06 11:30:00.269333+00 +541 circuits 0043_circuittype_color 2026-02-06 11:30:00.305593+00 +542 circuits 0044_circuit_groups 2026-02-06 11:30:00.655248+00 +543 circuits 0045_circuit_distance 2026-02-06 11:30:00.763402+00 +544 circuits 0046_charfield_null_choices 2026-02-06 11:30:00.925567+00 +545 circuits 0047_circuittermination__termination 2026-02-06 11:30:01.245478+00 +546 circuits 0048_circuitterminations_cached_relations 2026-02-06 11:30:01.630864+00 +547 circuits 0049_natural_ordering 2026-02-06 11:30:01.704519+00 +548 circuits 0050_virtual_circuits 2026-02-06 11:30:02.107517+00 +549 circuits 0051_virtualcircuit_group_assignment 2026-02-06 11:30:02.666905+00 +550 circuits 0052_extend_circuit_abs_distance_upper_limit 2026-02-06 11:30:02.703085+00 +551 core 0012_job_object_type_optional 2026-02-06 11:30:02.762475+00 +552 core 0013_job_data_encoder 2026-02-06 11:30:02.781913+00 +553 core 0014_datasource_sync_interval 2026-02-06 11:30:02.821762+00 +554 core 0015_remove_redundant_indexes 2026-02-06 11:30:02.854174+00 +555 core 0016_job_log_entries 2026-02-06 11:30:02.873591+00 +556 core 0017_objectchange_message 2026-02-06 11:30:02.897439+00 +557 core 0018_concrete_objecttype 2026-02-06 11:30:02.956194+00 +558 extras 0123_journalentry_kind_default 2026-02-06 11:30:03.006783+00 +559 extras 0124_remove_staging 2026-02-06 11:30:03.323658+00 +560 extras 0125_alter_tag_options_tag_weight 2026-02-06 11:30:03.422543+00 +561 extras 0126_exporttemplate_file_name 2026-02-06 11:30:03.444491+00 +562 extras 0127_configtemplate_as_attachment_and_more 2026-02-06 11:30:03.614874+00 +563 extras 0128_tableconfig 2026-02-06 11:30:03.67682+00 +564 extras 0129_fix_script_paths 2026-02-06 11:30:03.729089+00 +565 dcim 0198_natural_ordering 2026-02-06 11:30:06.466261+00 +566 dcim 0199_macaddress 2026-02-06 11:30:06.524472+00 +567 dcim 0200_populate_mac_addresses 2026-02-06 11:30:06.67793+00 +568 dcim 0201_add_power_outlet_status 2026-02-06 11:30:06.720769+00 +569 dcim 0202_location_comments_region_comments_sitegroup_comments 2026-02-06 11:30:06.833993+00 +570 dcim 0203_add_rack_outer_height 2026-02-06 11:30:06.91413+00 +571 dcim 0203_device_role_nested 2026-02-06 11:30:07.909826+00 +572 dcim 0204_device_role_rebuild 2026-02-06 11:30:07.968669+00 +573 dcim 0205_moduletypeprofile 2026-02-06 11:30:08.176074+00 +574 dcim 0206_load_module_type_profiles 2026-02-06 11:30:08.416401+00 +575 dcim 0207_remove_redundant_indexes 2026-02-06 11:30:08.451506+00 +576 dcim 0208_devicerole_uniqueness 2026-02-06 11:30:08.599723+00 +577 dcim 0209_device_component_denorm_site_location 2026-02-06 11:30:10.959216+00 +578 dcim 0210_macaddress_ordering 2026-02-06 11:30:11.003405+00 +579 dcim 0211_platform_manufacturer_uniqueness 2026-02-06 11:30:11.271249+00 +580 dcim 0212_interface_tx_power_negative 2026-02-06 11:30:11.313859+00 +581 dcim 0213_platform_parent 2026-02-06 11:30:11.733999+00 +582 dcim 0214_platform_rebuild 2026-02-06 11:30:11.785913+00 +583 dcim 0215_rackreservation_status 2026-02-06 11:30:11.832197+00 +584 django_rq 0001_initial 2026-02-06 11:30:11.834086+00 +585 extras 0130_imageattachment_description 2026-02-06 11:30:11.847027+00 +586 extras 0131_concrete_objecttype 2026-02-06 11:30:12.350861+00 +587 extras 0132_configcontextprofile 2026-02-06 11:30:12.466719+00 +588 extras 0133_make_cf_minmax_decimal 2026-02-06 11:30:12.497267+00 +589 tenancy 0017_natural_ordering 2026-02-06 11:30:12.645224+00 +590 tenancy 0018_contact_groups 2026-02-06 11:30:13.118909+00 +591 tenancy 0019_contactgroup_comments_tenantgroup_comments 2026-02-06 11:30:13.199288+00 +592 tenancy 0020_remove_contactgroupmembership 2026-02-06 11:30:13.320089+00 +593 virtualization 0023_virtualmachine_natural_ordering 2026-02-06 11:30:15.649529+00 +594 virtualization 0024_cluster_relax_uniqueness 2026-02-06 11:30:15.650179+00 +595 virtualization 0025_extend_tag_support 2026-02-06 11:30:15.6505+00 +596 virtualization 0026_vminterface_bridge 2026-02-06 11:30:15.650796+00 +597 virtualization 0027_standardize_id_fields 2026-02-06 11:30:15.651084+00 +598 virtualization 0028_vminterface_vrf 2026-02-06 11:30:15.651377+00 +599 virtualization 0029_created_datetimefield 2026-02-06 11:30:15.651667+00 +600 virtualization 0030_cluster_status 2026-02-06 11:30:15.651927+00 +601 virtualization 0031_virtualmachine_site_device 2026-02-06 11:30:15.652195+00 +602 virtualization 0032_virtualmachine_update_sites 2026-02-06 11:30:15.652447+00 +603 virtualization 0033_unique_constraints 2026-02-06 11:30:15.652713+00 +604 virtualization 0034_standardize_description_comments 2026-02-06 11:30:15.652973+00 +605 virtualization 0035_virtualmachine_interface_count 2026-02-06 11:30:15.653241+00 +606 virtualization 0036_virtualmachine_config_template 2026-02-06 11:30:15.653471+00 +607 virtualization 0037_protect_child_interfaces 2026-02-06 11:30:15.708936+00 +608 virtualization 0038_virtualdisk 2026-02-06 11:30:15.851181+00 +609 virtualization 0039_virtualmachine_serial_number 2026-02-06 11:30:15.891552+00 +610 virtualization 0040_convert_disk_size 2026-02-06 11:30:16.117429+00 +611 virtualization 0041_charfield_null_choices 2026-02-06 11:30:16.205232+00 +612 virtualization 0042_vminterface_vlan_translation_policy 2026-02-06 11:30:16.264288+00 +613 virtualization 0043_qinq_svlan 2026-02-06 11:30:16.424314+00 +614 virtualization 0044_cluster_scope 2026-02-06 11:30:16.772521+00 +615 virtualization 0045_clusters_cached_relations 2026-02-06 11:30:17.197012+00 +616 virtualization 0046_alter_cluster__location_alter_cluster__region_and_more 2026-02-06 11:30:17.574957+00 +617 virtualization 0047_natural_ordering 2026-02-06 11:30:18.040624+00 +618 virtualization 0048_populate_mac_addresses 2026-02-06 11:30:18.186705+00 +619 ipam 0076_natural_ordering 2026-02-06 11:30:18.363753+00 +620 ipam 0077_vlangroup_tenant 2026-02-06 11:30:18.417464+00 +621 ipam 0078_iprange_mark_utilized 2026-02-06 11:30:18.614841+00 +622 ipam 0079_add_service_fhrp_group_parent_gfk 2026-02-06 11:30:18.707589+00 +623 ipam 0080_populate_service_parent 2026-02-06 11:30:18.762081+00 +624 ipam 0081_remove_service_device_virtual_machine_add_parent_gfk_index 2026-02-06 11:30:19.026045+00 +625 ipam 0082_add_prefix_network_containment_indexes 2026-02-06 11:30:19.2365+00 +626 sessions 0001_initial 2026-02-06 11:30:19.240014+00 +627 default 0001_initial 2026-02-06 11:30:19.308867+00 +628 social_auth 0001_initial 2026-02-06 11:30:19.309342+00 +629 default 0002_add_related_name 2026-02-06 11:30:19.361807+00 +630 social_auth 0002_add_related_name 2026-02-06 11:30:19.362307+00 +631 default 0003_alter_email_max_length 2026-02-06 11:30:19.366035+00 +632 social_auth 0003_alter_email_max_length 2026-02-06 11:30:19.366224+00 +633 default 0004_auto_20160423_0400 2026-02-06 11:30:19.375026+00 +634 social_auth 0004_auto_20160423_0400 2026-02-06 11:30:19.375735+00 +635 social_auth 0005_auto_20160727_2333 2026-02-06 11:30:19.380455+00 +636 social_django 0006_partial 2026-02-06 11:30:19.383892+00 +637 social_django 0007_code_timestamp 2026-02-06 11:30:19.387747+00 +638 social_django 0008_partial_timestamp 2026-02-06 11:30:19.390973+00 +639 social_django 0009_auto_20191118_0520 2026-02-06 11:30:19.411557+00 +640 social_django 0010_uid_db_index 2026-02-06 11:30:19.422409+00 +641 social_django 0011_alter_id_fields 2026-02-06 11:30:19.454462+00 +642 social_django 0012_usersocialauth_extra_data_new 2026-02-06 11:30:19.467435+00 +643 social_django 0013_migrate_extra_data 2026-02-06 11:30:19.522722+00 +644 social_django 0014_remove_usersocialauth_extra_data 2026-02-06 11:30:19.536049+00 +645 social_django 0015_rename_extra_data_new_usersocialauth_extra_data 2026-02-06 11:30:19.5478+00 +646 social_django 0016_alter_usersocialauth_extra_data 2026-02-06 11:30:19.557312+00 +647 social_django 0017_usersocialauth_user_social_auth_uid_required 2026-02-06 11:30:19.568639+00 +648 taggit 0001_initial 2026-02-06 11:30:19.627695+00 +649 taggit 0002_auto_20150616_2121 2026-02-06 11:30:19.644909+00 +650 taggit 0003_taggeditem_add_unique_index 2026-02-06 11:30:19.663789+00 +651 taggit 0004_alter_taggeditem_content_type_alter_taggeditem_tag 2026-02-06 11:30:19.77613+00 +652 taggit 0005_auto_20220424_2025 2026-02-06 11:30:19.780538+00 +653 taggit 0006_rename_taggeditem_content_type_object_id_taggit_tagg_content_8fc721_idx 2026-02-06 11:30:19.811825+00 +654 thumbnail 0001_initial 2026-02-06 11:30:19.815511+00 +655 users 0010_add_token_meta_ordering 2026-02-06 11:30:19.824174+00 +656 users 0011_concrete_objecttype 2026-02-06 11:30:20.068953+00 +657 users 0012_drop_django_admin_log_table 2026-02-06 11:30:20.071474+00 +658 vpn 0001_initial 2026-02-06 11:30:21.014042+00 +659 vpn 0002_move_l2vpn 2026-02-06 11:30:21.382328+00 +660 vpn 0003_ipaddress_multiple_tunnel_terminations 2026-02-06 11:30:21.442652+00 +661 vpn 0004_alter_ikepolicy_mode 2026-02-06 11:30:21.486562+00 +662 vpn 0005_rename_indexes 2026-02-06 11:30:21.500692+00 +663 vpn 0006_charfield_null_choices 2026-02-06 11:30:21.970863+00 +664 vpn 0007_natural_ordering 2026-02-06 11:30:22.31118+00 +665 vpn 0008_add_l2vpn_status 2026-02-06 11:30:22.352056+00 +666 vpn 0009_remove_redundant_indexes 2026-02-06 11:30:22.609692+00 +667 wireless 0009_wirelesslink_distance 2026-02-06 11:30:22.747355+00 +668 wireless 0010_charfield_null_choices 2026-02-06 11:30:23.218037+00 +669 wireless 0011_wirelesslan__location_wirelesslan__region_and_more 2026-02-06 11:30:23.562154+00 +670 wireless 0012_alter_wirelesslan__location_and_more 2026-02-06 11:30:23.962199+00 +671 wireless 0013_natural_ordering 2026-02-06 11:30:24.006228+00 +672 wireless 0014_wirelesslangroup_comments 2026-02-06 11:30:24.04857+00 +673 wireless 0015_extend_wireless_link_abs_distance_upper_limit 2026-02-06 11:30:24.09315+00 +674 social_django 0002_add_related_name 2026-02-06 11:30:24.096862+00 +675 social_django 0001_initial 2026-02-06 11:30:24.09743+00 +676 social_django 0004_auto_20160423_0400 2026-02-06 11:30:24.0978+00 +677 social_django 0005_auto_20160727_2333 2026-02-06 11:30:24.098104+00 +678 social_django 0003_alter_email_max_length 2026-02-06 11:30:24.098401+00 +679 core 0001_squashed_0005 2026-02-06 11:30:24.098707+00 +680 circuits 0002_squashed_0029 2026-02-06 11:30:24.099011+00 +681 circuits 0038_squashed_0042 2026-02-06 11:30:24.099243+00 +682 circuits 0001_squashed 2026-02-06 11:30:24.099494+00 +683 circuits 0003_squashed_0037 2026-02-06 11:30:24.099752+00 +684 dcim 0002_squashed 2026-02-06 11:30:24.100002+00 +685 dcim 0001_squashed 2026-02-06 11:30:24.100215+00 +686 dcim 0131_squashed_0159 2026-02-06 11:30:24.100484+00 +687 dcim 0003_squashed_0130 2026-02-06 11:30:24.100743+00 +688 dcim 0160_squashed_0166 2026-02-06 11:30:24.100981+00 +689 dcim 0167_squashed_0182 2026-02-06 11:30:24.101231+00 +690 ipam 0054_squashed_0067 2026-02-06 11:30:24.101472+00 +691 ipam 0002_squashed_0046 2026-02-06 11:30:24.101698+00 +692 ipam 0001_squashed 2026-02-06 11:30:24.101935+00 +693 ipam 0047_squashed_0053 2026-02-06 11:30:24.102191+00 +694 extras 0002_squashed_0059 2026-02-06 11:30:24.102502+00 +695 extras 0087_squashed_0098 2026-02-06 11:30:24.102733+00 +696 extras 0001_squashed 2026-02-06 11:30:24.102962+00 +697 extras 0060_squashed_0086 2026-02-06 11:30:24.103194+00 +698 tenancy 0001_squashed_0012 2026-02-06 11:30:24.103436+00 +699 tenancy 0002_squashed_0011 2026-02-06 11:30:24.103667+00 +700 users 0002_squashed_0004 2026-02-06 11:30:24.103888+00 +701 users 0001_squashed_0011 2026-02-06 11:30:24.104118+00 +702 virtualization 0023_squashed_0036 2026-02-06 11:30:24.104343+00 +703 virtualization 0001_squashed_0022 2026-02-06 11:30:24.104572+00 +704 wireless 0001_squashed_0008 2026-02-06 11:30:24.104801+00 \. @@ -7622,19 +8719,18 @@ COPY public.extras_bookmark (id, created, object_id, object_type_id, user_id) FR \. --- --- Data for Name: extras_branch; Type: TABLE DATA; Schema: public; Owner: nwa --- - -COPY public.extras_branch (id, created, last_updated, name, description, user_id) FROM stdin; -\. - - -- -- Data for Name: extras_cachedvalue; Type: TABLE DATA; Schema: public; Owner: nwa -- COPY public.extras_cachedvalue (id, "timestamp", object_id, field, type, value, weight, object_type_id) FROM stdin; +d6c5b86c-2df0-45aa-ae58-d259adbbaee1 2026-02-06 11:30:08.410637+00 1 name str CPU 100 10 +0f231ee4-0880-4b93-aec0-af69bbdadbde 2026-02-06 11:30:08.411844+00 2 name str Fan 100 10 +5639e08f-788e-4ed2-9b37-74bc7417a3e0 2026-02-06 11:30:08.412802+00 3 name str GPU 100 10 +1bc43b0c-46fc-4c4c-9ab8-ea4d1c092d75 2026-02-06 11:30:08.413771+00 4 name str Hard disk 100 10 +20f7b669-28d6-4e56-8c84-baeda5e8b38a 2026-02-06 11:30:08.41461+00 5 name str Memory 100 10 +d6e98088-079d-401d-a21f-90f947ff4955 2026-02-06 11:30:08.415388+00 6 name str Power supply 100 10 +da27cea8-352a-475b-afc3-c8ee8538eb96 2026-02-06 11:30:08.416178+00 7 name str Expansion card 100 10 \. @@ -7642,7 +8738,7 @@ COPY public.extras_cachedvalue (id, "timestamp", object_id, field, type, value, -- Data for Name: extras_configcontext; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.extras_configcontext (created, last_updated, id, name, weight, description, is_active, data, data_file_id, data_path, data_source_id, auto_sync_enabled, data_synced) FROM stdin; +COPY public.extras_configcontext (created, last_updated, id, name, weight, description, is_active, data, data_file_id, data_path, data_source_id, auto_sync_enabled, data_synced, profile_id) FROM stdin; \. @@ -7750,11 +8846,19 @@ COPY public.extras_configcontext_tenants (id, configcontext_id, tenant_id) FROM \. +-- +-- Data for Name: extras_configcontextprofile; Type: TABLE DATA; Schema: public; Owner: nwa +-- + +COPY public.extras_configcontextprofile (id, created, last_updated, custom_field_data, data_path, auto_sync_enabled, data_synced, comments, name, description, schema, data_file_id, data_source_id) FROM stdin; +\. + + -- -- Data for Name: extras_configtemplate; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.extras_configtemplate (id, created, last_updated, data_path, data_synced, name, description, template_code, environment_params, data_file_id, data_source_id, auto_sync_enabled) FROM stdin; +COPY public.extras_configtemplate (id, created, last_updated, data_path, data_synced, name, description, template_code, environment_params, data_file_id, data_source_id, auto_sync_enabled, as_attachment, file_extension, file_name, mime_type) FROM stdin; \. @@ -7762,7 +8866,7 @@ COPY public.extras_configtemplate (id, created, last_updated, data_path, data_sy -- Data for Name: extras_customfield; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.extras_customfield (id, type, name, label, description, required, filter_logic, "default", weight, validation_minimum, validation_maximum, validation_regex, created, last_updated, related_object_type_id, group_name, search_weight, is_cloneable, choice_set_id, ui_editable, ui_visible, comments) FROM stdin; +COPY public.extras_customfield (id, type, name, label, description, required, filter_logic, "default", weight, validation_minimum, validation_maximum, validation_regex, created, last_updated, related_object_type_id, group_name, search_weight, is_cloneable, choice_set_id, ui_editable, ui_visible, comments, "unique", related_object_filter) FROM stdin; \. @@ -7770,7 +8874,7 @@ COPY public.extras_customfield (id, type, name, label, description, required, fi -- Data for Name: extras_customfield_object_types; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.extras_customfield_object_types (id, customfield_id, objecttype_id) FROM stdin; +COPY public.extras_customfield_object_types (id, customfield_id, contenttype_id) FROM stdin; \. @@ -7794,7 +8898,7 @@ COPY public.extras_customlink (id, name, link_text, link_url, weight, group_name -- Data for Name: extras_customlink_object_types; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.extras_customlink_object_types (id, customlink_id, objecttype_id) FROM stdin; +COPY public.extras_customlink_object_types (id, customlink_id, contenttype_id) FROM stdin; \. @@ -7810,7 +8914,7 @@ COPY public.extras_dashboard (id, layout, config, user_id) FROM stdin; -- Data for Name: extras_eventrule; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.extras_eventrule (id, created, last_updated, custom_field_data, name, description, type_create, type_update, type_delete, type_job_start, type_job_end, enabled, conditions, action_type, action_object_id, action_data, comments, action_object_type_id) FROM stdin; +COPY public.extras_eventrule (id, created, last_updated, custom_field_data, name, description, enabled, conditions, action_type, action_object_id, action_data, comments, action_object_type_id, event_types) FROM stdin; \. @@ -7818,7 +8922,7 @@ COPY public.extras_eventrule (id, created, last_updated, custom_field_data, name -- Data for Name: extras_eventrule_object_types; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.extras_eventrule_object_types (id, eventrule_id, objecttype_id) FROM stdin; +COPY public.extras_eventrule_object_types (id, eventrule_id, contenttype_id) FROM stdin; \. @@ -7826,7 +8930,7 @@ COPY public.extras_eventrule_object_types (id, eventrule_id, objecttype_id) FROM -- Data for Name: extras_exporttemplate; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.extras_exporttemplate (id, name, description, template_code, mime_type, file_extension, as_attachment, created, last_updated, data_file_id, data_path, data_source_id, auto_sync_enabled, data_synced) FROM stdin; +COPY public.extras_exporttemplate (id, name, description, template_code, mime_type, file_extension, as_attachment, created, last_updated, data_file_id, data_path, data_source_id, auto_sync_enabled, data_synced, file_name, environment_params) FROM stdin; \. @@ -7834,7 +8938,7 @@ COPY public.extras_exporttemplate (id, name, description, template_code, mime_ty -- Data for Name: extras_exporttemplate_object_types; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.extras_exporttemplate_object_types (id, exporttemplate_id, objecttype_id) FROM stdin; +COPY public.extras_exporttemplate_object_types (id, exporttemplate_id, contenttype_id) FROM stdin; \. @@ -7842,7 +8946,7 @@ COPY public.extras_exporttemplate_object_types (id, exporttemplate_id, objecttyp -- Data for Name: extras_imageattachment; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.extras_imageattachment (id, object_id, image, image_height, image_width, name, created, object_type_id, last_updated) FROM stdin; +COPY public.extras_imageattachment (id, object_id, image, image_height, image_width, name, created, object_type_id, last_updated, description) FROM stdin; \. @@ -7855,10 +8959,34 @@ COPY public.extras_journalentry (last_updated, id, assigned_object_id, created, -- --- Data for Name: extras_objectchange; Type: TABLE DATA; Schema: public; Owner: nwa +-- Data for Name: extras_notification; Type: TABLE DATA; Schema: public; Owner: nwa +-- + +COPY public.extras_notification (id, created, read, object_id, event_type, object_type_id, object_repr, user_id) FROM stdin; +\. + + +-- +-- Data for Name: extras_notificationgroup; Type: TABLE DATA; Schema: public; Owner: nwa +-- + +COPY public.extras_notificationgroup (id, created, last_updated, name, description) FROM stdin; +\. + + +-- +-- Data for Name: extras_notificationgroup_groups; Type: TABLE DATA; Schema: public; Owner: nwa +-- + +COPY public.extras_notificationgroup_groups (id, notificationgroup_id, group_id) FROM stdin; +\. + + +-- +-- Data for Name: extras_notificationgroup_users; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.extras_objectchange (id, "time", user_name, request_id, action, changed_object_id, related_object_id, object_repr, prechange_data, postchange_data, changed_object_type_id, related_object_type_id, user_id) FROM stdin; +COPY public.extras_notificationgroup_users (id, notificationgroup_id, user_id) FROM stdin; \. @@ -7874,7 +9002,7 @@ COPY public.extras_savedfilter (id, created, last_updated, name, slug, descripti -- Data for Name: extras_savedfilter_object_types; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.extras_savedfilter_object_types (id, savedfilter_id, objecttype_id) FROM stdin; +COPY public.extras_savedfilter_object_types (id, savedfilter_id, contenttype_id) FROM stdin; \. @@ -7887,10 +9015,18 @@ COPY public.extras_script (id, name, module_id, is_executable) FROM stdin; -- --- Data for Name: extras_stagedchange; Type: TABLE DATA; Schema: public; Owner: nwa +-- Data for Name: extras_subscription; Type: TABLE DATA; Schema: public; Owner: nwa +-- + +COPY public.extras_subscription (id, created, object_id, object_type_id, user_id) FROM stdin; +\. + + +-- +-- Data for Name: extras_tableconfig; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.extras_stagedchange (id, action, object_id, data, branch_id, object_type_id) FROM stdin; +COPY public.extras_tableconfig (id, created, last_updated, "table", name, description, weight, enabled, shared, columns, ordering, object_type_id, user_id) FROM stdin; \. @@ -7898,7 +9034,7 @@ COPY public.extras_stagedchange (id, action, object_id, data, branch_id, object_ -- Data for Name: extras_tag; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.extras_tag (name, slug, created, last_updated, id, color, description) FROM stdin; +COPY public.extras_tag (name, slug, created, last_updated, id, color, description, weight) FROM stdin; \. @@ -7906,7 +9042,7 @@ COPY public.extras_tag (name, slug, created, last_updated, id, color, descriptio -- Data for Name: extras_tag_object_types; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.extras_tag_object_types (id, tag_id, objecttype_id) FROM stdin; +COPY public.extras_tag_object_types (id, tag_id, contenttype_id) FROM stdin; \. @@ -7978,7 +9114,7 @@ COPY public.ipam_ipaddress (created, last_updated, custom_field_data, id, addres -- Data for Name: ipam_iprange; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.ipam_iprange (created, last_updated, custom_field_data, id, start_address, end_address, size, status, description, role_id, tenant_id, vrf_id, comments, mark_utilized) FROM stdin; +COPY public.ipam_iprange (created, last_updated, custom_field_data, id, start_address, end_address, size, status, description, role_id, tenant_id, vrf_id, comments, mark_utilized, mark_populated) FROM stdin; \. @@ -7986,7 +9122,7 @@ COPY public.ipam_iprange (created, last_updated, custom_field_data, id, start_ad -- Data for Name: ipam_prefix; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.ipam_prefix (created, last_updated, custom_field_data, id, prefix, status, is_pool, description, role_id, site_id, tenant_id, vlan_id, vrf_id, _children, _depth, mark_utilized, comments) FROM stdin; +COPY public.ipam_prefix (created, last_updated, custom_field_data, id, prefix, status, is_pool, description, role_id, tenant_id, vlan_id, vrf_id, _children, _depth, mark_utilized, comments, scope_id, scope_type_id, _location_id, _region_id, _site_id, _site_group_id) FROM stdin; \. @@ -8018,7 +9154,7 @@ COPY public.ipam_routetarget (created, last_updated, custom_field_data, id, name -- Data for Name: ipam_service; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.ipam_service (created, last_updated, custom_field_data, id, name, protocol, ports, description, device_id, virtual_machine_id, comments) FROM stdin; +COPY public.ipam_service (created, last_updated, custom_field_data, id, name, protocol, ports, description, comments, parent_object_id, parent_object_type_id) FROM stdin; \. @@ -8042,7 +9178,7 @@ COPY public.ipam_servicetemplate (id, created, last_updated, custom_field_data, -- Data for Name: ipam_vlan; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.ipam_vlan (created, last_updated, custom_field_data, id, vid, name, status, description, group_id, role_id, site_id, tenant_id, comments) FROM stdin; +COPY public.ipam_vlan (created, last_updated, custom_field_data, id, vid, name, status, description, group_id, role_id, site_id, tenant_id, comments, qinq_role, qinq_svlan_id) FROM stdin; \. @@ -8050,7 +9186,23 @@ COPY public.ipam_vlan (created, last_updated, custom_field_data, id, vid, name, -- Data for Name: ipam_vlangroup; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.ipam_vlangroup (created, last_updated, custom_field_data, id, name, slug, scope_id, description, scope_type_id, max_vid, min_vid) FROM stdin; +COPY public.ipam_vlangroup (created, last_updated, custom_field_data, id, name, slug, scope_id, description, scope_type_id, vid_ranges, _total_vlan_ids, tenant_id) FROM stdin; +\. + + +-- +-- Data for Name: ipam_vlantranslationpolicy; Type: TABLE DATA; Schema: public; Owner: nwa +-- + +COPY public.ipam_vlantranslationpolicy (id, created, last_updated, custom_field_data, comments, name, description) FROM stdin; +\. + + +-- +-- Data for Name: ipam_vlantranslationrule; Type: TABLE DATA; Schema: public; Owner: nwa +-- + +COPY public.ipam_vlantranslationrule (id, created, last_updated, custom_field_data, local_vid, remote_vid, policy_id, description) FROM stdin; \. @@ -8138,7 +9290,15 @@ COPY public.taggit_taggeditem (id, object_id, content_type_id, tag_id) FROM stdi -- Data for Name: tenancy_contact; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.tenancy_contact (id, created, last_updated, custom_field_data, name, title, phone, email, address, comments, group_id, link, description) FROM stdin; +COPY public.tenancy_contact (id, created, last_updated, custom_field_data, name, title, phone, email, address, comments, link, description) FROM stdin; +\. + + +-- +-- Data for Name: tenancy_contact_groups; Type: TABLE DATA; Schema: public; Owner: nwa +-- + +COPY public.tenancy_contact_groups (id, contact_id, contactgroup_id) FROM stdin; \. @@ -8154,7 +9314,7 @@ COPY public.tenancy_contactassignment (id, created, last_updated, object_id, pri -- Data for Name: tenancy_contactgroup; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.tenancy_contactgroup (id, created, last_updated, custom_field_data, name, slug, description, lft, rght, tree_id, level, parent_id) FROM stdin; +COPY public.tenancy_contactgroup (id, created, last_updated, custom_field_data, name, slug, description, lft, rght, tree_id, level, parent_id, comments) FROM stdin; \. @@ -8178,7 +9338,15 @@ COPY public.tenancy_tenant (created, last_updated, custom_field_data, id, name, -- Data for Name: tenancy_tenantgroup; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.tenancy_tenantgroup (created, last_updated, custom_field_data, id, name, slug, description, lft, rght, tree_id, level, parent_id) FROM stdin; +COPY public.tenancy_tenantgroup (created, last_updated, custom_field_data, id, name, slug, description, lft, rght, tree_id, level, parent_id, comments) FROM stdin; +\. + + +-- +-- Data for Name: thumbnail_kvstore; Type: TABLE DATA; Schema: public; Owner: nwa +-- + +COPY public.thumbnail_kvstore (key, value) FROM stdin; \. @@ -8218,7 +9386,7 @@ COPY public.users_objectpermission (id, name, description, enabled, actions, con -- Data for Name: users_objectpermission_object_types; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.users_objectpermission_object_types (id, objectpermission_id, objecttype_id) FROM stdin; +COPY public.users_objectpermission_object_types (id, objectpermission_id, contenttype_id) FROM stdin; \. @@ -8277,7 +9445,7 @@ COPY public.users_userconfig (id, data, user_id) FROM stdin; -- Data for Name: virtualization_cluster; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.virtualization_cluster (created, last_updated, custom_field_data, id, name, comments, group_id, site_id, tenant_id, type_id, status, description) FROM stdin; +COPY public.virtualization_cluster (created, last_updated, custom_field_data, id, name, comments, group_id, tenant_id, type_id, status, description, scope_id, scope_type_id, _location_id, _region_id, _site_id, _site_group_id) FROM stdin; \. @@ -8301,7 +9469,7 @@ COPY public.virtualization_clustertype (created, last_updated, custom_field_data -- Data for Name: virtualization_virtualdisk; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.virtualization_virtualdisk (id, created, last_updated, custom_field_data, name, _name, description, size, virtual_machine_id) FROM stdin; +COPY public.virtualization_virtualdisk (id, created, last_updated, custom_field_data, name, description, size, virtual_machine_id) FROM stdin; \. @@ -8309,7 +9477,7 @@ COPY public.virtualization_virtualdisk (id, created, last_updated, custom_field_ -- Data for Name: virtualization_virtualmachine; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.virtualization_virtualmachine (created, last_updated, custom_field_data, id, local_context_data, name, status, vcpus, memory, disk, comments, cluster_id, platform_id, primary_ip4_id, primary_ip6_id, role_id, tenant_id, _name, site_id, device_id, description, interface_count, config_template_id, virtual_disk_count) FROM stdin; +COPY public.virtualization_virtualmachine (created, last_updated, custom_field_data, id, local_context_data, name, status, vcpus, memory, disk, comments, cluster_id, platform_id, primary_ip4_id, primary_ip6_id, role_id, tenant_id, site_id, device_id, description, interface_count, config_template_id, virtual_disk_count, serial) FROM stdin; \. @@ -8317,7 +9485,7 @@ COPY public.virtualization_virtualmachine (created, last_updated, custom_field_d -- Data for Name: virtualization_vminterface; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.virtualization_vminterface (created, last_updated, custom_field_data, id, enabled, mac_address, mtu, mode, name, _name, description, parent_id, untagged_vlan_id, virtual_machine_id, bridge_id, vrf_id) FROM stdin; +COPY public.virtualization_vminterface (created, last_updated, custom_field_data, id, enabled, mtu, mode, name, _name, description, parent_id, untagged_vlan_id, virtual_machine_id, bridge_id, vrf_id, vlan_translation_policy_id, qinq_svlan_id, primary_mac_address_id) FROM stdin; \. @@ -8389,7 +9557,7 @@ COPY public.vpn_ipsecproposal (id, created, last_updated, custom_field_data, des -- Data for Name: vpn_l2vpn; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.vpn_l2vpn (id, created, last_updated, custom_field_data, name, slug, type, identifier, description, tenant_id, comments) FROM stdin; +COPY public.vpn_l2vpn (id, created, last_updated, custom_field_data, name, slug, type, identifier, description, tenant_id, comments, status) FROM stdin; \. @@ -8445,7 +9613,7 @@ COPY public.vpn_tunneltermination (id, created, last_updated, custom_field_data, -- Data for Name: wireless_wirelesslan; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.wireless_wirelesslan (id, created, last_updated, custom_field_data, ssid, group_id, description, auth_cipher, auth_psk, auth_type, vlan_id, tenant_id, comments, status) FROM stdin; +COPY public.wireless_wirelesslan (id, created, last_updated, custom_field_data, ssid, group_id, description, auth_cipher, auth_psk, auth_type, vlan_id, tenant_id, comments, status, _location_id, _region_id, _site_id, _site_group_id, scope_id, scope_type_id) FROM stdin; \. @@ -8453,7 +9621,7 @@ COPY public.wireless_wirelesslan (id, created, last_updated, custom_field_data, -- Data for Name: wireless_wirelesslangroup; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.wireless_wirelesslangroup (id, created, last_updated, custom_field_data, name, slug, description, lft, rght, tree_id, level, parent_id) FROM stdin; +COPY public.wireless_wirelesslangroup (id, created, last_updated, custom_field_data, name, slug, description, lft, rght, tree_id, level, parent_id, comments) FROM stdin; \. @@ -8461,7 +9629,7 @@ COPY public.wireless_wirelesslangroup (id, created, last_updated, custom_field_d -- Data for Name: wireless_wirelesslink; Type: TABLE DATA; Schema: public; Owner: nwa -- -COPY public.wireless_wirelesslink (id, created, last_updated, custom_field_data, ssid, status, description, auth_cipher, auth_psk, auth_type, _interface_a_device_id, _interface_b_device_id, interface_a_id, interface_b_id, tenant_id, comments) FROM stdin; +COPY public.wireless_wirelesslink (id, created, last_updated, custom_field_data, ssid, status, description, auth_cipher, auth_psk, auth_type, _interface_a_device_id, _interface_b_device_id, interface_a_id, interface_b_id, tenant_id, comments, _abs_distance, distance, distance_unit) FROM stdin; \. @@ -8483,7 +9651,7 @@ SELECT pg_catalog.setval('public.auth_group_permissions_id_seq', 1, false); -- Name: auth_permission_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa -- -SELECT pg_catalog.setval('public.auth_permission_id_seq', 537, true); +SELECT pg_catalog.setval('public.auth_permission_id_seq', 593, true); -- @@ -8493,6 +9661,20 @@ SELECT pg_catalog.setval('public.auth_permission_id_seq', 537, true); SELECT pg_catalog.setval('public.circuits_circuit_id_seq', 1, false); +-- +-- Name: circuits_circuitgroup_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa +-- + +SELECT pg_catalog.setval('public.circuits_circuitgroup_id_seq', 1, false); + + +-- +-- Name: circuits_circuitgroupassignment_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa +-- + +SELECT pg_catalog.setval('public.circuits_circuitgroupassignment_id_seq', 1, false); + + -- -- Name: circuits_circuittermination_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa -- @@ -8535,6 +9717,27 @@ SELECT pg_catalog.setval('public.circuits_provideraccount_id_seq', 1, false); SELECT pg_catalog.setval('public.circuits_providernetwork_id_seq', 1, false); +-- +-- Name: circuits_virtualcircuit_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa +-- + +SELECT pg_catalog.setval('public.circuits_virtualcircuit_id_seq', 1, false); + + +-- +-- Name: circuits_virtualcircuittermination_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa +-- + +SELECT pg_catalog.setval('public.circuits_virtualcircuittermination_id_seq', 1, false); + + +-- +-- Name: circuits_virtualcircuittype_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa +-- + +SELECT pg_catalog.setval('public.circuits_virtualcircuittype_id_seq', 1, false); + + -- -- Name: core_autosyncrecord_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa -- @@ -8560,7 +9763,7 @@ SELECT pg_catalog.setval('public.core_datasource_id_seq', 1, false); -- Name: core_job_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa -- -SELECT pg_catalog.setval('public.core_job_id_seq', 1, false); +SELECT pg_catalog.setval('public.core_job_id_seq', 2, true); -- @@ -8570,6 +9773,13 @@ SELECT pg_catalog.setval('public.core_job_id_seq', 1, false); SELECT pg_catalog.setval('public.core_managedfile_id_seq', 1, false); +-- +-- Name: core_objectchange_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa +-- + +SELECT pg_catalog.setval('public.core_objectchange_id_seq', 1, false); + + -- -- Name: dcim_cable_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa -- @@ -8731,6 +9941,13 @@ SELECT pg_catalog.setval('public.dcim_inventoryitemtemplate_id_seq', 1, false); SELECT pg_catalog.setval('public.dcim_location_id_seq', 1, false); +-- +-- Name: dcim_macaddress_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa +-- + +SELECT pg_catalog.setval('public.dcim_macaddress_id_seq', 1, false); + + -- -- Name: dcim_manufacturer_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa -- @@ -8766,6 +9983,13 @@ SELECT pg_catalog.setval('public.dcim_modulebaytemplate_id_seq', 1, false); SELECT pg_catalog.setval('public.dcim_moduletype_id_seq', 1, false); +-- +-- Name: dcim_moduletypeprofile_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa +-- + +SELECT pg_catalog.setval('public.dcim_moduletypeprofile_id_seq', 7, true); + + -- -- Name: dcim_platform_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa -- @@ -8836,6 +10060,13 @@ SELECT pg_catalog.setval('public.dcim_rackreservation_id_seq', 1, false); SELECT pg_catalog.setval('public.dcim_rackrole_id_seq', 1, false); +-- +-- Name: dcim_racktype_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa +-- + +SELECT pg_catalog.setval('public.dcim_racktype_id_seq', 1, false); + + -- -- Name: dcim_rearport_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa -- @@ -8896,14 +10127,14 @@ SELECT pg_catalog.setval('public.dcim_virtualdevicecontext_id_seq', 1, false); -- Name: django_content_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa -- -SELECT pg_catalog.setval('public.django_content_type_id_seq', 136, true); +SELECT pg_catalog.setval('public.django_content_type_id_seq', 150, true); -- -- Name: django_migrations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa -- -SELECT pg_catalog.setval('public.django_migrations_id_seq', 597, true); +SELECT pg_catalog.setval('public.django_migrations_id_seq', 704, true); -- @@ -8913,13 +10144,6 @@ SELECT pg_catalog.setval('public.django_migrations_id_seq', 597, true); SELECT pg_catalog.setval('public.extras_bookmark_id_seq', 1, false); --- --- Name: extras_branch_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa --- - -SELECT pg_catalog.setval('public.extras_branch_id_seq', 1, false); - - -- -- Name: extras_configcontext_cluster_groups_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa -- @@ -9018,6 +10242,13 @@ SELECT pg_catalog.setval('public.extras_configcontext_tenant_groups_id_seq', 1, SELECT pg_catalog.setval('public.extras_configcontext_tenants_id_seq', 1, false); +-- +-- Name: extras_configcontextprofile_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa +-- + +SELECT pg_catalog.setval('public.extras_configcontextprofile_id_seq', 1, false); + + -- -- Name: extras_configrevision_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa -- @@ -9117,10 +10348,31 @@ SELECT pg_catalog.setval('public.extras_journalentry_id_seq', 1, false); -- --- Name: extras_objectchange_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa +-- Name: extras_notification_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa +-- + +SELECT pg_catalog.setval('public.extras_notification_id_seq', 1, false); + + +-- +-- Name: extras_notificationgroup_groups_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa +-- + +SELECT pg_catalog.setval('public.extras_notificationgroup_groups_id_seq', 1, false); + + +-- +-- Name: extras_notificationgroup_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa -- -SELECT pg_catalog.setval('public.extras_objectchange_id_seq', 1, false); +SELECT pg_catalog.setval('public.extras_notificationgroup_id_seq', 1, false); + + +-- +-- Name: extras_notificationgroup_users_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa +-- + +SELECT pg_catalog.setval('public.extras_notificationgroup_users_id_seq', 1, false); -- @@ -9145,10 +10397,17 @@ SELECT pg_catalog.setval('public.extras_script_id_seq', 1, false); -- --- Name: extras_stagedchange_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa +-- Name: extras_subscription_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa +-- + +SELECT pg_catalog.setval('public.extras_subscription_id_seq', 1, false); + + +-- +-- Name: extras_tableconfig_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa -- -SELECT pg_catalog.setval('public.extras_stagedchange_id_seq', 1, false); +SELECT pg_catalog.setval('public.extras_tableconfig_id_seq', 1, false); -- @@ -9291,6 +10550,20 @@ SELECT pg_catalog.setval('public.ipam_vlan_id_seq', 1, false); SELECT pg_catalog.setval('public.ipam_vlangroup_id_seq', 1, false); +-- +-- Name: ipam_vlantranslationpolicy_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa +-- + +SELECT pg_catalog.setval('public.ipam_vlantranslationpolicy_id_seq', 1, false); + + +-- +-- Name: ipam_vlantranslationrule_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa +-- + +SELECT pg_catalog.setval('public.ipam_vlantranslationrule_id_seq', 1, false); + + -- -- Name: ipam_vrf_export_targets_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa -- @@ -9361,6 +10634,13 @@ SELECT pg_catalog.setval('public.taggit_tag_id_seq', 1, false); SELECT pg_catalog.setval('public.taggit_taggeditem_id_seq', 1, false); +-- +-- Name: tenancy_contact_groups_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa +-- + +SELECT pg_catalog.setval('public.tenancy_contact_groups_id_seq', 1, false); + + -- -- Name: tenancy_contact_id_seq; Type: SEQUENCE SET; Schema: public; Owner: nwa -- @@ -9752,6 +11032,46 @@ ALTER TABLE ONLY public.circuits_circuit ADD CONSTRAINT circuits_circuit_unique_provideraccount_cid UNIQUE (provider_account_id, cid); +-- +-- Name: circuits_circuitgroup circuits_circuitgroup_name_key; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.circuits_circuitgroup + ADD CONSTRAINT circuits_circuitgroup_name_key UNIQUE (name); + + +-- +-- Name: circuits_circuitgroup circuits_circuitgroup_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.circuits_circuitgroup + ADD CONSTRAINT circuits_circuitgroup_pkey PRIMARY KEY (id); + + +-- +-- Name: circuits_circuitgroup circuits_circuitgroup_slug_key; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.circuits_circuitgroup + ADD CONSTRAINT circuits_circuitgroup_slug_key UNIQUE (slug); + + +-- +-- Name: circuits_circuitgroupassignment circuits_circuitgroupassignment_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.circuits_circuitgroupassignment + ADD CONSTRAINT circuits_circuitgroupassignment_pkey PRIMARY KEY (id); + + +-- +-- Name: circuits_circuitgroupassignment circuits_circuitgroupassignment_unique_member_group; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.circuits_circuitgroupassignment + ADD CONSTRAINT circuits_circuitgroupassignment_unique_member_group UNIQUE (member_type_id, member_id, group_id); + + -- -- Name: circuits_circuittermination circuits_circuittermination_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa -- @@ -9865,42 +11185,106 @@ ALTER TABLE ONLY public.circuits_providernetwork -- --- Name: core_autosyncrecord core_autosyncrecord_object; Type: CONSTRAINT; Schema: public; Owner: nwa +-- Name: circuits_virtualcircuit circuits_virtualcircuit_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa -- -ALTER TABLE ONLY public.core_autosyncrecord - ADD CONSTRAINT core_autosyncrecord_object UNIQUE (object_type_id, object_id); +ALTER TABLE ONLY public.circuits_virtualcircuit + ADD CONSTRAINT circuits_virtualcircuit_pkey PRIMARY KEY (id); -- --- Name: core_autosyncrecord core_autosyncrecord_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa +-- Name: circuits_virtualcircuit circuits_virtualcircuit_unique_provider_network_cid; Type: CONSTRAINT; Schema: public; Owner: nwa -- -ALTER TABLE ONLY public.core_autosyncrecord - ADD CONSTRAINT core_autosyncrecord_pkey PRIMARY KEY (id); +ALTER TABLE ONLY public.circuits_virtualcircuit + ADD CONSTRAINT circuits_virtualcircuit_unique_provider_network_cid UNIQUE (provider_network_id, cid); -- --- Name: core_datafile core_datafile_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa +-- Name: circuits_virtualcircuit circuits_virtualcircuit_unique_provideraccount_cid; Type: CONSTRAINT; Schema: public; Owner: nwa -- -ALTER TABLE ONLY public.core_datafile - ADD CONSTRAINT core_datafile_pkey PRIMARY KEY (id); +ALTER TABLE ONLY public.circuits_virtualcircuit + ADD CONSTRAINT circuits_virtualcircuit_unique_provideraccount_cid UNIQUE (provider_account_id, cid); -- --- Name: core_datafile core_datafile_unique_source_path; Type: CONSTRAINT; Schema: public; Owner: nwa +-- Name: circuits_virtualcircuittermination circuits_virtualcircuittermination_interface_id_key; Type: CONSTRAINT; Schema: public; Owner: nwa -- -ALTER TABLE ONLY public.core_datafile - ADD CONSTRAINT core_datafile_unique_source_path UNIQUE (source_id, path); +ALTER TABLE ONLY public.circuits_virtualcircuittermination + ADD CONSTRAINT circuits_virtualcircuittermination_interface_id_key UNIQUE (interface_id); -- --- Name: core_datasource core_datasource_name_key; Type: CONSTRAINT; Schema: public; Owner: nwa +-- Name: circuits_virtualcircuittermination circuits_virtualcircuittermination_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa -- -ALTER TABLE ONLY public.core_datasource +ALTER TABLE ONLY public.circuits_virtualcircuittermination + ADD CONSTRAINT circuits_virtualcircuittermination_pkey PRIMARY KEY (id); + + +-- +-- Name: circuits_virtualcircuittype circuits_virtualcircuittype_name_key; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.circuits_virtualcircuittype + ADD CONSTRAINT circuits_virtualcircuittype_name_key UNIQUE (name); + + +-- +-- Name: circuits_virtualcircuittype circuits_virtualcircuittype_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.circuits_virtualcircuittype + ADD CONSTRAINT circuits_virtualcircuittype_pkey PRIMARY KEY (id); + + +-- +-- Name: circuits_virtualcircuittype circuits_virtualcircuittype_slug_key; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.circuits_virtualcircuittype + ADD CONSTRAINT circuits_virtualcircuittype_slug_key UNIQUE (slug); + + +-- +-- Name: core_autosyncrecord core_autosyncrecord_object; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.core_autosyncrecord + ADD CONSTRAINT core_autosyncrecord_object UNIQUE (object_type_id, object_id); + + +-- +-- Name: core_autosyncrecord core_autosyncrecord_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.core_autosyncrecord + ADD CONSTRAINT core_autosyncrecord_pkey PRIMARY KEY (id); + + +-- +-- Name: core_datafile core_datafile_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.core_datafile + ADD CONSTRAINT core_datafile_pkey PRIMARY KEY (id); + + +-- +-- Name: core_datafile core_datafile_unique_source_path; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.core_datafile + ADD CONSTRAINT core_datafile_unique_source_path UNIQUE (source_id, path); + + +-- +-- Name: core_datasource core_datasource_name_key; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.core_datasource ADD CONSTRAINT core_datasource_name_key UNIQUE (name); @@ -9944,6 +11328,22 @@ ALTER TABLE ONLY public.core_managedfile ADD CONSTRAINT core_managedfile_unique_root_path UNIQUE (file_root, file_path); +-- +-- Name: core_objectchange core_objectchange_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.core_objectchange + ADD CONSTRAINT core_objectchange_pkey PRIMARY KEY (id); + + +-- +-- Name: core_objecttype core_objecttype_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.core_objecttype + ADD CONSTRAINT core_objecttype_pkey PRIMARY KEY (contenttype_ptr_id); + + -- -- Name: dcim_cable dcim_cable_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa -- @@ -10153,27 +11553,27 @@ ALTER TABLE ONLY public.dcim_devicebaytemplate -- --- Name: dcim_devicerole dcim_devicerole_name_key; Type: CONSTRAINT; Schema: public; Owner: nwa +-- Name: dcim_devicerole dcim_devicerole_parent_name; Type: CONSTRAINT; Schema: public; Owner: nwa -- ALTER TABLE ONLY public.dcim_devicerole - ADD CONSTRAINT dcim_devicerole_name_key UNIQUE (name); + ADD CONSTRAINT dcim_devicerole_parent_name UNIQUE (parent_id, name); -- --- Name: dcim_devicerole dcim_devicerole_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa +-- Name: dcim_devicerole dcim_devicerole_parent_slug; Type: CONSTRAINT; Schema: public; Owner: nwa -- ALTER TABLE ONLY public.dcim_devicerole - ADD CONSTRAINT dcim_devicerole_pkey PRIMARY KEY (id); + ADD CONSTRAINT dcim_devicerole_parent_slug UNIQUE (parent_id, slug); -- --- Name: dcim_devicerole dcim_devicerole_slug_key; Type: CONSTRAINT; Schema: public; Owner: nwa +-- Name: dcim_devicerole dcim_devicerole_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa -- ALTER TABLE ONLY public.dcim_devicerole - ADD CONSTRAINT dcim_devicerole_slug_key UNIQUE (slug); + ADD CONSTRAINT dcim_devicerole_pkey PRIMARY KEY (id); -- @@ -10264,6 +11664,14 @@ ALTER TABLE ONLY public.dcim_interface ADD CONSTRAINT dcim_interface_pkey PRIMARY KEY (id); +-- +-- Name: dcim_interface dcim_interface_primary_mac_address_id_key; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_interface + ADD CONSTRAINT dcim_interface_primary_mac_address_id_key UNIQUE (primary_mac_address_id); + + -- -- Name: dcim_interface_tagged_vlans dcim_interface_tagged_vlans_interface_id_vlan_id_0d55c576_uniq; Type: CONSTRAINT; Schema: public; Owner: nwa -- @@ -10432,6 +11840,14 @@ ALTER TABLE ONLY public.dcim_location ADD CONSTRAINT dcim_location_pkey PRIMARY KEY (id); +-- +-- Name: dcim_macaddress dcim_macaddress_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_macaddress + ADD CONSTRAINT dcim_macaddress_pkey PRIMARY KEY (id); + + -- -- Name: dcim_manufacturer dcim_manufacturer_name_key; Type: CONSTRAINT; Schema: public; Owner: nwa -- @@ -10489,11 +11905,11 @@ ALTER TABLE ONLY public.dcim_modulebay -- --- Name: dcim_modulebay dcim_modulebay_unique_device_name; Type: CONSTRAINT; Schema: public; Owner: nwa +-- Name: dcim_modulebay dcim_modulebay_unique_device_module_name; Type: CONSTRAINT; Schema: public; Owner: nwa -- ALTER TABLE ONLY public.dcim_modulebay - ADD CONSTRAINT dcim_modulebay_unique_device_name UNIQUE (device_id, name); + ADD CONSTRAINT dcim_modulebay_unique_device_module_name UNIQUE (device_id, module_id, name); -- @@ -10512,6 +11928,14 @@ ALTER TABLE ONLY public.dcim_modulebaytemplate ADD CONSTRAINT dcim_modulebaytemplate_unique_device_type_name UNIQUE (device_type_id, name); +-- +-- Name: dcim_modulebaytemplate dcim_modulebaytemplate_unique_module_type_name; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_modulebaytemplate + ADD CONSTRAINT dcim_modulebaytemplate_unique_module_type_name UNIQUE (module_type_id, name); + + -- -- Name: dcim_moduletype dcim_moduletype_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa -- @@ -10529,27 +11953,43 @@ ALTER TABLE ONLY public.dcim_moduletype -- --- Name: dcim_platform dcim_platform_name_key; Type: CONSTRAINT; Schema: public; Owner: nwa +-- Name: dcim_moduletypeprofile dcim_moduletypeprofile_name_key; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_moduletypeprofile + ADD CONSTRAINT dcim_moduletypeprofile_name_key UNIQUE (name); + + +-- +-- Name: dcim_moduletypeprofile dcim_moduletypeprofile_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_moduletypeprofile + ADD CONSTRAINT dcim_moduletypeprofile_pkey PRIMARY KEY (id); + + +-- +-- Name: dcim_platform dcim_platform_manufacturer_name; Type: CONSTRAINT; Schema: public; Owner: nwa -- ALTER TABLE ONLY public.dcim_platform - ADD CONSTRAINT dcim_platform_name_key UNIQUE (name); + ADD CONSTRAINT dcim_platform_manufacturer_name UNIQUE (manufacturer_id, name); -- --- Name: dcim_platform dcim_platform_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa +-- Name: dcim_platform dcim_platform_manufacturer_slug; Type: CONSTRAINT; Schema: public; Owner: nwa -- ALTER TABLE ONLY public.dcim_platform - ADD CONSTRAINT dcim_platform_pkey PRIMARY KEY (id); + ADD CONSTRAINT dcim_platform_manufacturer_slug UNIQUE (manufacturer_id, slug); -- --- Name: dcim_platform dcim_platform_slug_key; Type: CONSTRAINT; Schema: public; Owner: nwa +-- Name: dcim_platform dcim_platform_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa -- ALTER TABLE ONLY public.dcim_platform - ADD CONSTRAINT dcim_platform_slug_key UNIQUE (slug); + ADD CONSTRAINT dcim_platform_pkey PRIMARY KEY (id); -- @@ -10728,6 +12168,38 @@ ALTER TABLE ONLY public.dcim_rackrole ADD CONSTRAINT dcim_rackrole_slug_key UNIQUE (slug); +-- +-- Name: dcim_racktype dcim_racktype_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_racktype + ADD CONSTRAINT dcim_racktype_pkey PRIMARY KEY (id); + + +-- +-- Name: dcim_racktype dcim_racktype_slug_key; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_racktype + ADD CONSTRAINT dcim_racktype_slug_key UNIQUE (slug); + + +-- +-- Name: dcim_racktype dcim_racktype_unique_manufacturer_model; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_racktype + ADD CONSTRAINT dcim_racktype_unique_manufacturer_model UNIQUE (manufacturer_id, model); + + +-- +-- Name: dcim_racktype dcim_racktype_unique_manufacturer_slug; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_racktype + ADD CONSTRAINT dcim_racktype_unique_manufacturer_slug UNIQUE (manufacturer_id, slug); + + -- -- Name: dcim_rearport dcim_rearport_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa -- @@ -10960,22 +12432,6 @@ ALTER TABLE ONLY public.extras_bookmark ADD CONSTRAINT extras_bookmark_unique_per_object_and_user UNIQUE (object_type_id, object_id, user_id); --- --- Name: extras_branch extras_branch_name_key; Type: CONSTRAINT; Schema: public; Owner: nwa --- - -ALTER TABLE ONLY public.extras_branch - ADD CONSTRAINT extras_branch_name_key UNIQUE (name); - - --- --- Name: extras_branch extras_branch_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa --- - -ALTER TABLE ONLY public.extras_branch - ADD CONSTRAINT extras_branch_pkey PRIMARY KEY (id); - - -- -- Name: extras_cachedvalue extras_cachedvalue_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa -- @@ -11208,6 +12664,22 @@ ALTER TABLE ONLY public.extras_configcontext_tenants ADD CONSTRAINT extras_configcontext_tenants_pkey PRIMARY KEY (id); +-- +-- Name: extras_configcontextprofile extras_configcontextprofile_name_key; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.extras_configcontextprofile + ADD CONSTRAINT extras_configcontextprofile_name_key UNIQUE (name); + + +-- +-- Name: extras_configcontextprofile extras_configcontextprofile_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.extras_configcontextprofile + ADD CONSTRAINT extras_configcontextprofile_pkey PRIMARY KEY (id); + + -- -- Name: core_configrevision extras_configrevision_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa -- @@ -11229,7 +12701,7 @@ ALTER TABLE ONLY public.extras_configtemplate -- ALTER TABLE ONLY public.extras_customfield_object_types - ADD CONSTRAINT extras_customfield_conte_customfield_id_contentty_51136c2b_uniq UNIQUE (customfield_id, objecttype_id); + ADD CONSTRAINT extras_customfield_conte_customfield_id_contentty_51136c2b_uniq UNIQUE (customfield_id, contenttype_id); -- @@ -11277,7 +12749,7 @@ ALTER TABLE ONLY public.extras_customfieldchoiceset -- ALTER TABLE ONLY public.extras_customlink_object_types - ADD CONSTRAINT extras_customlink_conten_customlink_id_contenttyp_518ef1b8_uniq UNIQUE (customlink_id, objecttype_id); + ADD CONSTRAINT extras_customlink_conten_customlink_id_contenttyp_518ef1b8_uniq UNIQUE (customlink_id, contenttype_id); -- @@ -11325,7 +12797,7 @@ ALTER TABLE ONLY public.extras_dashboard -- ALTER TABLE ONLY public.extras_eventrule_object_types - ADD CONSTRAINT extras_eventrule_content_eventrule_id_contenttype_4da93239_uniq UNIQUE (eventrule_id, objecttype_id); + ADD CONSTRAINT extras_eventrule_content_eventrule_id_contenttype_4da93239_uniq UNIQUE (eventrule_id, contenttype_id); -- @@ -11357,7 +12829,7 @@ ALTER TABLE ONLY public.extras_eventrule -- ALTER TABLE ONLY public.extras_exporttemplate_object_types - ADD CONSTRAINT extras_exporttemplate_co_exporttemplate_id_conten_b4645653_uniq UNIQUE (exporttemplate_id, objecttype_id); + ADD CONSTRAINT extras_exporttemplate_co_exporttemplate_id_conten_b4645653_uniq UNIQUE (exporttemplate_id, contenttype_id); -- @@ -11393,11 +12865,67 @@ ALTER TABLE ONLY public.extras_journalentry -- --- Name: extras_objectchange extras_objectchange_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa +-- Name: extras_notification extras_notification_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.extras_notification + ADD CONSTRAINT extras_notification_pkey PRIMARY KEY (id); + + +-- +-- Name: extras_notification extras_notification_unique_per_object_and_user; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.extras_notification + ADD CONSTRAINT extras_notification_unique_per_object_and_user UNIQUE (object_type_id, object_id, user_id); + + +-- +-- Name: extras_notificationgroup_groups extras_notificationgroup_groups_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.extras_notificationgroup_groups + ADD CONSTRAINT extras_notificationgroup_groups_pkey PRIMARY KEY (id); + + +-- +-- Name: extras_notificationgroup extras_notificationgroup_name_key; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.extras_notificationgroup + ADD CONSTRAINT extras_notificationgroup_name_key UNIQUE (name); + + +-- +-- Name: extras_notificationgroup_groups extras_notificationgroup_notificationgroup_id_gro_46702115_uniq; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.extras_notificationgroup_groups + ADD CONSTRAINT extras_notificationgroup_notificationgroup_id_gro_46702115_uniq UNIQUE (notificationgroup_id, group_id); + + +-- +-- Name: extras_notificationgroup_users extras_notificationgroup_notificationgroup_id_use_9a79b7f8_uniq; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.extras_notificationgroup_users + ADD CONSTRAINT extras_notificationgroup_notificationgroup_id_use_9a79b7f8_uniq UNIQUE (notificationgroup_id, user_id); + + +-- +-- Name: extras_notificationgroup extras_notificationgroup_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.extras_notificationgroup + ADD CONSTRAINT extras_notificationgroup_pkey PRIMARY KEY (id); + + +-- +-- Name: extras_notificationgroup_users extras_notificationgroup_users_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa -- -ALTER TABLE ONLY public.extras_objectchange - ADD CONSTRAINT extras_objectchange_pkey PRIMARY KEY (id); +ALTER TABLE ONLY public.extras_notificationgroup_users + ADD CONSTRAINT extras_notificationgroup_users_pkey PRIMARY KEY (id); -- @@ -11405,7 +12933,7 @@ ALTER TABLE ONLY public.extras_objectchange -- ALTER TABLE ONLY public.extras_savedfilter_object_types - ADD CONSTRAINT extras_savedfilter_conte_savedfilter_id_contentty_133ba781_uniq UNIQUE (savedfilter_id, objecttype_id); + ADD CONSTRAINT extras_savedfilter_conte_savedfilter_id_contentty_133ba781_uniq UNIQUE (savedfilter_id, contenttype_id); -- @@ -11457,11 +12985,27 @@ ALTER TABLE ONLY public.extras_script -- --- Name: extras_stagedchange extras_stagedchange_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa +-- Name: extras_subscription extras_subscription_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.extras_subscription + ADD CONSTRAINT extras_subscription_pkey PRIMARY KEY (id); + + +-- +-- Name: extras_subscription extras_subscription_unique_per_object_and_user; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.extras_subscription + ADD CONSTRAINT extras_subscription_unique_per_object_and_user UNIQUE (object_type_id, object_id, user_id); + + +-- +-- Name: extras_tableconfig extras_tableconfig_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa -- -ALTER TABLE ONLY public.extras_stagedchange - ADD CONSTRAINT extras_stagedchange_pkey PRIMARY KEY (id); +ALTER TABLE ONLY public.extras_tableconfig + ADD CONSTRAINT extras_tableconfig_pkey PRIMARY KEY (id); -- @@ -11485,7 +13029,7 @@ ALTER TABLE ONLY public.extras_tag_object_types -- ALTER TABLE ONLY public.extras_tag_object_types - ADD CONSTRAINT extras_tag_object_types_tag_id_contenttype_id_2ff9910c_uniq UNIQUE (tag_id, objecttype_id); + ADD CONSTRAINT extras_tag_object_types_tag_id_contenttype_id_2ff9910c_uniq UNIQUE (tag_id, contenttype_id); -- @@ -11784,6 +13328,22 @@ ALTER TABLE ONLY public.ipam_vlan ADD CONSTRAINT ipam_vlan_unique_group_vid UNIQUE (group_id, vid); +-- +-- Name: ipam_vlan ipam_vlan_unique_qinq_svlan_name; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.ipam_vlan + ADD CONSTRAINT ipam_vlan_unique_qinq_svlan_name UNIQUE (qinq_svlan_id, name); + + +-- +-- Name: ipam_vlan ipam_vlan_unique_qinq_svlan_vid; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.ipam_vlan + ADD CONSTRAINT ipam_vlan_unique_qinq_svlan_vid UNIQUE (qinq_svlan_id, vid); + + -- -- Name: ipam_vlangroup ipam_vlangroup_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa -- @@ -11808,6 +13368,46 @@ ALTER TABLE ONLY public.ipam_vlangroup ADD CONSTRAINT ipam_vlangroup_unique_scope_slug UNIQUE (scope_type_id, scope_id, slug); +-- +-- Name: ipam_vlantranslationpolicy ipam_vlantranslationpolicy_name_key; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.ipam_vlantranslationpolicy + ADD CONSTRAINT ipam_vlantranslationpolicy_name_key UNIQUE (name); + + +-- +-- Name: ipam_vlantranslationpolicy ipam_vlantranslationpolicy_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.ipam_vlantranslationpolicy + ADD CONSTRAINT ipam_vlantranslationpolicy_pkey PRIMARY KEY (id); + + +-- +-- Name: ipam_vlantranslationrule ipam_vlantranslationrule_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.ipam_vlantranslationrule + ADD CONSTRAINT ipam_vlantranslationrule_pkey PRIMARY KEY (id); + + +-- +-- Name: ipam_vlantranslationrule ipam_vlantranslationrule_unique_policy_local_vid; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.ipam_vlantranslationrule + ADD CONSTRAINT ipam_vlantranslationrule_unique_policy_local_vid UNIQUE (policy_id, local_vid); + + +-- +-- Name: ipam_vlantranslationrule ipam_vlantranslationrule_unique_policy_remote_vid; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.ipam_vlantranslationrule + ADD CONSTRAINT ipam_vlantranslationrule_unique_policy_remote_vid UNIQUE (policy_id, remote_vid); + + -- -- Name: ipam_vrf_export_targets ipam_vrf_export_targets_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa -- @@ -11969,19 +13569,27 @@ ALTER TABLE ONLY public.taggit_taggeditem -- --- Name: tenancy_contact tenancy_contact_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa +-- Name: tenancy_contact_groups tenancy_contact_groups_contact_id_contactgroup_id_f4434f2c_uniq; Type: CONSTRAINT; Schema: public; Owner: nwa -- -ALTER TABLE ONLY public.tenancy_contact - ADD CONSTRAINT tenancy_contact_pkey PRIMARY KEY (id); +ALTER TABLE ONLY public.tenancy_contact_groups + ADD CONSTRAINT tenancy_contact_groups_contact_id_contactgroup_id_f4434f2c_uniq UNIQUE (contactgroup_id, contact_id); -- --- Name: tenancy_contact tenancy_contact_unique_group_name; Type: CONSTRAINT; Schema: public; Owner: nwa +-- Name: tenancy_contact_groups tenancy_contact_groups_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.tenancy_contact_groups + ADD CONSTRAINT tenancy_contact_groups_pkey PRIMARY KEY (id); + + +-- +-- Name: tenancy_contact tenancy_contact_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa -- ALTER TABLE ONLY public.tenancy_contact - ADD CONSTRAINT tenancy_contact_unique_group_name UNIQUE (group_id, name); + ADD CONSTRAINT tenancy_contact_pkey PRIMARY KEY (id); -- @@ -12088,6 +13696,14 @@ ALTER TABLE ONLY public.tenancy_tenantgroup ADD CONSTRAINT tenancy_tenantgroup_slug_key UNIQUE (slug); +-- +-- Name: thumbnail_kvstore thumbnail_kvstore_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.thumbnail_kvstore + ADD CONSTRAINT thumbnail_kvstore_pkey PRIMARY KEY (key); + + -- -- Name: users_group users_group_name_key; Type: CONSTRAINT; Schema: public; Owner: nwa -- @@ -12141,7 +13757,7 @@ ALTER TABLE ONLY public.users_group -- ALTER TABLE ONLY public.users_objectpermission_object_types - ADD CONSTRAINT users_objectpermission_o_objectpermission_id_cont_7c40d31a_uniq UNIQUE (objectpermission_id, objecttype_id); + ADD CONSTRAINT users_objectpermission_o_objectpermission_id_cont_7c40d31a_uniq UNIQUE (objectpermission_id, contenttype_id); -- @@ -12233,19 +13849,19 @@ ALTER TABLE ONLY public.virtualization_cluster -- --- Name: virtualization_cluster virtualization_cluster_unique_group_name; Type: CONSTRAINT; Schema: public; Owner: nwa +-- Name: virtualization_cluster virtualization_cluster_unique__site_name; Type: CONSTRAINT; Schema: public; Owner: nwa -- ALTER TABLE ONLY public.virtualization_cluster - ADD CONSTRAINT virtualization_cluster_unique_group_name UNIQUE (group_id, name); + ADD CONSTRAINT virtualization_cluster_unique__site_name UNIQUE (_site_id, name); -- --- Name: virtualization_cluster virtualization_cluster_unique_site_name; Type: CONSTRAINT; Schema: public; Owner: nwa +-- Name: virtualization_cluster virtualization_cluster_unique_group_name; Type: CONSTRAINT; Schema: public; Owner: nwa -- ALTER TABLE ONLY public.virtualization_cluster - ADD CONSTRAINT virtualization_cluster_unique_site_name UNIQUE (site_id, name); + ADD CONSTRAINT virtualization_cluster_unique_group_name UNIQUE (group_id, name); -- @@ -12352,6 +13968,14 @@ ALTER TABLE ONLY public.virtualization_vminterface ADD CONSTRAINT virtualization_vminterface_pkey PRIMARY KEY (id); +-- +-- Name: virtualization_vminterface virtualization_vminterface_primary_mac_address_id_key; Type: CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.virtualization_vminterface + ADD CONSTRAINT virtualization_vminterface_primary_mac_address_id_key UNIQUE (primary_mac_address_id); + + -- -- Name: virtualization_vminterface_tagged_vlans virtualization_vminterface_tagged_vlans_pkey; Type: CONSTRAINT; Schema: public; Owner: nwa -- @@ -12739,49 +14363,112 @@ CREATE INDEX circuits_circuit_type_id_1b9f485a ON public.circuits_circuit USING -- --- Name: circuits_circuittermination_cable_id_35e9f703; Type: INDEX; Schema: public; Owner: nwa +-- Name: circuits_circuitgroup_name_ec8ac1e5_like; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX circuits_circuittermination_cable_id_35e9f703 ON public.circuits_circuittermination USING btree (cable_id); +CREATE INDEX circuits_circuitgroup_name_ec8ac1e5_like ON public.circuits_circuitgroup USING btree (name varchar_pattern_ops); -- --- Name: circuits_circuittermination_circuit_id_257e87e7; Type: INDEX; Schema: public; Owner: nwa +-- Name: circuits_circuitgroup_slug_61ca866b_like; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX circuits_circuittermination_circuit_id_257e87e7 ON public.circuits_circuittermination USING btree (circuit_id); +CREATE INDEX circuits_circuitgroup_slug_61ca866b_like ON public.circuits_circuitgroup USING btree (slug varchar_pattern_ops); -- --- Name: circuits_circuittermination_provider_network_id_b0c660f1; Type: INDEX; Schema: public; Owner: nwa +-- Name: circuits_circuitgroup_tenant_id_5bafdc3f; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX circuits_circuittermination_provider_network_id_b0c660f1 ON public.circuits_circuittermination USING btree (provider_network_id); +CREATE INDEX circuits_circuitgroup_tenant_id_5bafdc3f ON public.circuits_circuitgroup USING btree (tenant_id); -- --- Name: circuits_circuittermination_site_id_e6fe5652; Type: INDEX; Schema: public; Owner: nwa +-- Name: circuits_circuitgroupassignment_group_id_1a7b6580; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX circuits_circuittermination_site_id_e6fe5652 ON public.circuits_circuittermination USING btree (site_id); +CREATE INDEX circuits_circuitgroupassignment_group_id_1a7b6580 ON public.circuits_circuitgroupassignment USING btree (group_id); -- --- Name: circuits_circuittype_name_8256ea9a_like; Type: INDEX; Schema: public; Owner: nwa +-- Name: circuits_circuitgroupassignment_member_type_id_779d1a13; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX circuits_circuittype_name_8256ea9a_like ON public.circuits_circuittype USING btree (name varchar_pattern_ops); +CREATE INDEX circuits_circuitgroupassignment_member_type_id_779d1a13 ON public.circuits_circuitgroupassignment USING btree (member_type_id); -- --- Name: circuits_circuittype_slug_9b4b3cf9_like; Type: INDEX; Schema: public; Owner: nwa +-- Name: circuits_circuittermination__location_id_4a578dca; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX circuits_circuittype_slug_9b4b3cf9_like ON public.circuits_circuittype USING btree (slug varchar_pattern_ops); +CREATE INDEX circuits_circuittermination__location_id_4a578dca ON public.circuits_circuittermination USING btree (_location_id); -- --- Name: circuits_provider_asns_asn_id_0a6c53b3; Type: INDEX; Schema: public; Owner: nwa +-- Name: circuits_circuittermination__region_id_1fa03379; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX circuits_circuittermination__region_id_1fa03379 ON public.circuits_circuittermination USING btree (_region_id); + + +-- +-- Name: circuits_circuittermination__site_group_id_ec0c1998; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX circuits_circuittermination__site_group_id_ec0c1998 ON public.circuits_circuittermination USING btree (_site_group_id); + + +-- +-- Name: circuits_circuittermination__site_id_84942491; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX circuits_circuittermination__site_id_84942491 ON public.circuits_circuittermination USING btree (_site_id); + + +-- +-- Name: circuits_circuittermination_cable_id_35e9f703; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX circuits_circuittermination_cable_id_35e9f703 ON public.circuits_circuittermination USING btree (cable_id); + + +-- +-- Name: circuits_circuittermination_circuit_id_257e87e7; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX circuits_circuittermination_circuit_id_257e87e7 ON public.circuits_circuittermination USING btree (circuit_id); + + +-- +-- Name: circuits_circuittermination_provider_network_id_b0c660f1; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX circuits_circuittermination_provider_network_id_b0c660f1 ON public.circuits_circuittermination USING btree (_provider_network_id); + + +-- +-- Name: circuits_circuittermination_termination_type_id_c9262c91; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX circuits_circuittermination_termination_type_id_c9262c91 ON public.circuits_circuittermination USING btree (termination_type_id); + + +-- +-- Name: circuits_circuittype_name_8256ea9a_like; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX circuits_circuittype_name_8256ea9a_like ON public.circuits_circuittype USING btree (name varchar_pattern_ops); + + +-- +-- Name: circuits_circuittype_slug_9b4b3cf9_like; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX circuits_circuittype_slug_9b4b3cf9_like ON public.circuits_circuittype USING btree (slug varchar_pattern_ops); + + +-- +-- Name: circuits_provider_asns_asn_id_0a6c53b3; Type: INDEX; Schema: public; Owner: nwa -- CREATE INDEX circuits_provider_asns_asn_id_0a6c53b3 ON public.circuits_provider_asns USING btree (asn_id); @@ -12830,10 +14517,52 @@ CREATE INDEX circuits_providernetwork_provider_id_7992236c ON public.circuits_pr -- --- Name: core_autosy_object__c17bac_idx; Type: INDEX; Schema: public; Owner: nwa +-- Name: circuits_virtualcircuit_provider_account_id_d942f455; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX circuits_virtualcircuit_provider_account_id_d942f455 ON public.circuits_virtualcircuit USING btree (provider_account_id); + + +-- +-- Name: circuits_virtualcircuit_provider_network_id_a902f409; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX circuits_virtualcircuit_provider_network_id_a902f409 ON public.circuits_virtualcircuit USING btree (provider_network_id); + + +-- +-- Name: circuits_virtualcircuit_tenant_id_4458eca7; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX circuits_virtualcircuit_tenant_id_4458eca7 ON public.circuits_virtualcircuit USING btree (tenant_id); + + +-- +-- Name: circuits_virtualcircuit_type_id_8527d682; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX circuits_virtualcircuit_type_id_8527d682 ON public.circuits_virtualcircuit USING btree (type_id); + + +-- +-- Name: circuits_virtualcircuittermination_virtual_circuit_id_ca588886; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX circuits_virtualcircuittermination_virtual_circuit_id_ca588886 ON public.circuits_virtualcircuittermination USING btree (virtual_circuit_id); + + +-- +-- Name: circuits_virtualcircuittype_name_5184db16_like; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX core_autosy_object__c17bac_idx ON public.core_autosyncrecord USING btree (object_type_id, object_id); +CREATE INDEX circuits_virtualcircuittype_name_5184db16_like ON public.circuits_virtualcircuittype USING btree (name varchar_pattern_ops); + + +-- +-- Name: circuits_virtualcircuittype_slug_75d5c661_like; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX circuits_virtualcircuittype_slug_75d5c661_like ON public.circuits_virtualcircuittype USING btree (slug varchar_pattern_ops); -- @@ -12857,13 +14586,6 @@ CREATE INDEX core_autosyncrecord_object_type_id_62506cf6 ON public.core_autosync CREATE INDEX core_datafile_source_id_8d675be2 ON public.core_datafile USING btree (source_id); --- --- Name: core_datafile_source_path; Type: INDEX; Schema: public; Owner: nwa --- - -CREATE INDEX core_datafile_source_path ON public.core_datafile USING btree (source_id, path); - - -- -- Name: core_datasource_name_17788499_like; Type: INDEX; Schema: public; Owner: nwa -- @@ -12907,24 +14629,66 @@ CREATE INDEX core_managedfile_data_source_id_647d5dbe ON public.core_managedfile -- --- Name: core_managedfile_root_path; Type: INDEX; Schema: public; Owner: nwa +-- Name: core_object_feature_aec4de_gin; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX core_managedfile_root_path ON public.core_managedfile USING btree (file_root, file_path); +CREATE INDEX core_object_feature_aec4de_gin ON public.core_objecttype USING gin (features); -- --- Name: dcim_cable_tenant_id_3a7fdbb8; Type: INDEX; Schema: public; Owner: nwa +-- Name: core_objectchange_changed_object_type_id_2070ade6; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX dcim_cable_tenant_id_3a7fdbb8 ON public.dcim_cable USING btree (tenant_id); +CREATE INDEX core_objectchange_changed_object_type_id_2070ade6 ON public.core_objectchange USING btree (changed_object_type_id); + + +-- +-- Name: core_objectchange_changed_object_type_id_cha_79a9ed1e; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX core_objectchange_changed_object_type_id_cha_79a9ed1e ON public.core_objectchange USING btree (changed_object_type_id, changed_object_id); + + +-- +-- Name: core_objectchange_related_object_type_id_b80958af; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX core_objectchange_related_object_type_id_b80958af ON public.core_objectchange USING btree (related_object_type_id); + + +-- +-- Name: core_objectchange_related_object_type_id_rel_a71d604a; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX core_objectchange_related_object_type_id_rel_a71d604a ON public.core_objectchange USING btree (related_object_type_id, related_object_id); + + +-- +-- Name: core_objectchange_request_id_d9d160ac; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX core_objectchange_request_id_d9d160ac ON public.core_objectchange USING btree (request_id); -- --- Name: dcim_cablet_termina_884752_idx; Type: INDEX; Schema: public; Owner: nwa +-- Name: core_objectchange_time_800f60a5; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX dcim_cablet_termina_884752_idx ON public.dcim_cabletermination USING btree (termination_type_id, termination_id); +CREATE INDEX core_objectchange_time_800f60a5 ON public.core_objectchange USING btree ("time"); + + +-- +-- Name: core_objectchange_user_id_2b2142be; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX core_objectchange_user_id_2b2142be ON public.core_objectchange USING btree (user_id); + + +-- +-- Name: dcim_cable_tenant_id_3a7fdbb8; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_cable_tenant_id_3a7fdbb8 ON public.dcim_cable USING btree (tenant_id); -- @@ -12969,6 +14733,13 @@ CREATE INDEX dcim_cabletermination_cable_id_b50010d1 ON public.dcim_cabletermina CREATE INDEX dcim_cabletermination_termination_type_id_20da439e ON public.dcim_cabletermination USING btree (termination_type_id); +-- +-- Name: dcim_consoleport__location_id_d0e7437b; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_consoleport__location_id_d0e7437b ON public.dcim_consoleport USING btree (_location_id); + + -- -- Name: dcim_consoleport__path_id_e40a4436; Type: INDEX; Schema: public; Owner: nwa -- @@ -12976,6 +14747,20 @@ CREATE INDEX dcim_cabletermination_termination_type_id_20da439e ON public.dcim_c CREATE INDEX dcim_consoleport__path_id_e40a4436 ON public.dcim_consoleport USING btree (_path_id); +-- +-- Name: dcim_consoleport__rack_id_71f16827; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_consoleport__rack_id_71f16827 ON public.dcim_consoleport USING btree (_rack_id); + + +-- +-- Name: dcim_consoleport__site_id_9652df9c; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_consoleport__site_id_9652df9c ON public.dcim_consoleport USING btree (_site_id); + + -- -- Name: dcim_consoleport_cable_id_a9ae5465; Type: INDEX; Schema: public; Owner: nwa -- @@ -13011,6 +14796,13 @@ CREATE INDEX dcim_consoleporttemplate_device_type_id_075d4015 ON public.dcim_con CREATE INDEX dcim_consoleporttemplate_module_type_id_c0f35d97 ON public.dcim_consoleporttemplate USING btree (module_type_id); +-- +-- Name: dcim_consoleserverport__location_id_7525ec0e; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_consoleserverport__location_id_7525ec0e ON public.dcim_consoleserverport USING btree (_location_id); + + -- -- Name: dcim_consoleserverport__path_id_dc5abe09; Type: INDEX; Schema: public; Owner: nwa -- @@ -13018,6 +14810,20 @@ CREATE INDEX dcim_consoleporttemplate_module_type_id_c0f35d97 ON public.dcim_con CREATE INDEX dcim_consoleserverport__path_id_dc5abe09 ON public.dcim_consoleserverport USING btree (_path_id); +-- +-- Name: dcim_consoleserverport__rack_id_3eea9f1b; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_consoleserverport__rack_id_3eea9f1b ON public.dcim_consoleserverport USING btree (_rack_id); + + +-- +-- Name: dcim_consoleserverport__site_id_c500ac62; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_consoleserverport__site_id_c500ac62 ON public.dcim_consoleserverport USING btree (_site_id); + + -- -- Name: dcim_consoleserverport_cable_id_f2940dfd; Type: INDEX; Schema: public; Owner: nwa -- @@ -13144,6 +14950,27 @@ CREATE UNIQUE INDEX dcim_device_unique_name_site_tenant ON public.dcim_device US CREATE INDEX dcim_device_virtual_chassis_id_aed51693 ON public.dcim_device USING btree (virtual_chassis_id); +-- +-- Name: dcim_devicebay__location_id_6c869a87; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_devicebay__location_id_6c869a87 ON public.dcim_devicebay USING btree (_location_id); + + +-- +-- Name: dcim_devicebay__rack_id_75672431; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_devicebay__rack_id_75672431 ON public.dcim_devicebay USING btree (_rack_id); + + +-- +-- Name: dcim_devicebay__site_id_8ddc30f4; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_devicebay__site_id_8ddc30f4 ON public.dcim_devicebay USING btree (_site_id); + + -- -- Name: dcim_devicebay_device_id_0c8a1218; Type: INDEX; Schema: public; Owner: nwa -- @@ -13166,10 +14993,31 @@ CREATE INDEX dcim_devicerole_config_template_id_5874002c ON public.dcim_devicero -- --- Name: dcim_devicerole_name_1c813306_like; Type: INDEX; Schema: public; Owner: nwa +-- Name: dcim_devicerole_name; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE UNIQUE INDEX dcim_devicerole_name ON public.dcim_devicerole USING btree (name) WHERE (parent_id IS NULL); + + +-- +-- Name: dcim_devicerole_parent_id_7f9ccf87; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_devicerole_parent_id_7f9ccf87 ON public.dcim_devicerole USING btree (parent_id); + + +-- +-- Name: dcim_devicerole_slug; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE UNIQUE INDEX dcim_devicerole_slug ON public.dcim_devicerole USING btree (slug) WHERE (parent_id IS NULL); + + +-- +-- Name: dcim_devicerole_slug_7952643b; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX dcim_devicerole_name_1c813306_like ON public.dcim_devicerole USING btree (name varchar_pattern_ops); +CREATE INDEX dcim_devicerole_slug_7952643b ON public.dcim_devicerole USING btree (slug); -- @@ -13179,6 +15027,13 @@ CREATE INDEX dcim_devicerole_name_1c813306_like ON public.dcim_devicerole USING CREATE INDEX dcim_devicerole_slug_7952643b_like ON public.dcim_devicerole USING btree (slug varchar_pattern_ops); +-- +-- Name: dcim_devicerole_tree_id_196b114c; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_devicerole_tree_id_196b114c ON public.dcim_devicerole USING btree (tree_id); + + -- -- Name: dcim_devicetype_default_platform_id_1f6ff6ac; Type: INDEX; Schema: public; Owner: nwa -- @@ -13207,6 +15062,27 @@ CREATE INDEX dcim_devicetype_slug_448745bd ON public.dcim_devicetype USING btree CREATE INDEX dcim_devicetype_slug_448745bd_like ON public.dcim_devicetype USING btree (slug varchar_pattern_ops); +-- +-- Name: dcim_frontport__location_id_dc0402e7; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_frontport__location_id_dc0402e7 ON public.dcim_frontport USING btree (_location_id); + + +-- +-- Name: dcim_frontport__rack_id_1ba6d11c; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_frontport__rack_id_1ba6d11c ON public.dcim_frontport USING btree (_rack_id); + + +-- +-- Name: dcim_frontport__site_id_51efdefe; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_frontport__site_id_51efdefe ON public.dcim_frontport USING btree (_site_id); + + -- -- Name: dcim_frontport_cable_id_04ff8aab; Type: INDEX; Schema: public; Owner: nwa -- @@ -13256,6 +15132,13 @@ CREATE INDEX dcim_frontporttemplate_module_type_id_66851ff9 ON public.dcim_front CREATE INDEX dcim_frontporttemplate_rear_port_id_9775411b ON public.dcim_frontporttemplate USING btree (rear_port_id); +-- +-- Name: dcim_interface__location_id_72d5e107; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_interface__location_id_72d5e107 ON public.dcim_interface USING btree (_location_id); + + -- -- Name: dcim_interface__path_id_f8f4f7f0; Type: INDEX; Schema: public; Owner: nwa -- @@ -13263,6 +15146,20 @@ CREATE INDEX dcim_frontporttemplate_rear_port_id_9775411b ON public.dcim_frontpo CREATE INDEX dcim_interface__path_id_f8f4f7f0 ON public.dcim_interface USING btree (_path_id); +-- +-- Name: dcim_interface__rack_id_0d3f84a6; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_interface__rack_id_0d3f84a6 ON public.dcim_interface USING btree (_rack_id); + + +-- +-- Name: dcim_interface__site_id_0fffd4ef; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_interface__site_id_0fffd4ef ON public.dcim_interface USING btree (_site_id); + + -- -- Name: dcim_interface_bridge_id_f2a8df85; Type: INDEX; Schema: public; Owner: nwa -- @@ -13305,6 +15202,13 @@ CREATE INDEX dcim_interface_module_id_05ca2da5 ON public.dcim_interface USING bt CREATE INDEX dcim_interface_parent_id_3e2b159b ON public.dcim_interface USING btree (parent_id); +-- +-- Name: dcim_interface_qinq_svlan_id_21189a58; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_interface_qinq_svlan_id_21189a58 ON public.dcim_interface USING btree (qinq_svlan_id); + + -- -- Name: dcim_interface_tagged_vlans_interface_id_5870c9e9; Type: INDEX; Schema: public; Owner: nwa -- @@ -13340,6 +15244,13 @@ CREATE INDEX dcim_interface_vdcs_interface_id_6d58dbaf ON public.dcim_interface_ CREATE INDEX dcim_interface_vdcs_virtualdevicecontext_id_af0bfd4b ON public.dcim_interface_vdcs USING btree (virtualdevicecontext_id); +-- +-- Name: dcim_interface_vlan_translation_policy_id_91060031; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_interface_vlan_translation_policy_id_91060031 ON public.dcim_interface USING btree (vlan_translation_policy_id); + + -- -- Name: dcim_interface_vrf_id_a92e59b2; Type: INDEX; Schema: public; Owner: nwa -- @@ -13403,6 +15314,27 @@ CREATE INDEX dcim_invent_compone_0560bb_idx ON public.dcim_inventoryitem USING b CREATE INDEX dcim_invent_compone_77b5f8_idx ON public.dcim_inventoryitemtemplate USING btree (component_type_id, component_id); +-- +-- Name: dcim_inventoryitem__location_id_05a23b33; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_inventoryitem__location_id_05a23b33 ON public.dcim_inventoryitem USING btree (_location_id); + + +-- +-- Name: dcim_inventoryitem__rack_id_25b80d23; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_inventoryitem__rack_id_25b80d23 ON public.dcim_inventoryitem USING btree (_rack_id); + + +-- +-- Name: dcim_inventoryitem__site_id_cd94573b; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_inventoryitem__site_id_cd94573b ON public.dcim_inventoryitem USING btree (_site_id); + + -- -- Name: dcim_inventoryitem_asset_tag_d3289273_like; Type: INDEX; Schema: public; Owner: nwa -- @@ -13564,6 +15496,13 @@ CREATE INDEX dcim_location_tenant_id_2c4df974 ON public.dcim_location USING btre CREATE INDEX dcim_location_tree_id_5089ef14 ON public.dcim_location USING btree (tree_id); +-- +-- Name: dcim_macaddress_assigned_object_type_id_28814a20; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_macaddress_assigned_object_type_id_28814a20 ON public.dcim_macaddress USING btree (assigned_object_type_id); + + -- -- Name: dcim_manufacturer_name_841fcd92_like; Type: INDEX; Schema: public; Owner: nwa -- @@ -13600,28 +15539,91 @@ CREATE INDEX dcim_module_module_type_id_a50b39fc ON public.dcim_module USING btr -- --- Name: dcim_modulebay_device_id_3526abc2; Type: INDEX; Schema: public; Owner: nwa +-- Name: dcim_modulebay__location_id_17290069; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX dcim_modulebay_device_id_3526abc2 ON public.dcim_modulebay USING btree (device_id); +CREATE INDEX dcim_modulebay__location_id_17290069 ON public.dcim_modulebay USING btree (_location_id); -- --- Name: dcim_modulebaytemplate_device_type_id_9eaf9bd3; Type: INDEX; Schema: public; Owner: nwa +-- Name: dcim_modulebay__rack_id_673d8fb5; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX dcim_modulebaytemplate_device_type_id_9eaf9bd3 ON public.dcim_modulebaytemplate USING btree (device_type_id); +CREATE INDEX dcim_modulebay__rack_id_673d8fb5 ON public.dcim_modulebay USING btree (_rack_id); -- --- Name: dcim_moduletype_manufacturer_id_7347392e; Type: INDEX; Schema: public; Owner: nwa +-- Name: dcim_modulebay__site_id_cedd61bc; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX dcim_moduletype_manufacturer_id_7347392e ON public.dcim_moduletype USING btree (manufacturer_id); +CREATE INDEX dcim_modulebay__site_id_cedd61bc ON public.dcim_modulebay USING btree (_site_id); -- --- Name: dcim_platform_config_template_id_013a4d3c; Type: INDEX; Schema: public; Owner: nwa +-- Name: dcim_modulebay_device_id_3526abc2; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_modulebay_device_id_3526abc2 ON public.dcim_modulebay USING btree (device_id); + + +-- +-- Name: dcim_modulebay_module_id_a21ddd9a; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_modulebay_module_id_a21ddd9a ON public.dcim_modulebay USING btree (module_id); + + +-- +-- Name: dcim_modulebay_parent_id_e483f9b7; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_modulebay_parent_id_e483f9b7 ON public.dcim_modulebay USING btree (parent_id); + + +-- +-- Name: dcim_modulebay_tree_id_223db581; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_modulebay_tree_id_223db581 ON public.dcim_modulebay USING btree (tree_id); + + +-- +-- Name: dcim_modulebaytemplate_device_type_id_9eaf9bd3; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_modulebaytemplate_device_type_id_9eaf9bd3 ON public.dcim_modulebaytemplate USING btree (device_type_id); + + +-- +-- Name: dcim_modulebaytemplate_module_type_id_2fdfb491; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_modulebaytemplate_module_type_id_2fdfb491 ON public.dcim_modulebaytemplate USING btree (module_type_id); + + +-- +-- Name: dcim_moduletype_manufacturer_id_7347392e; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_moduletype_manufacturer_id_7347392e ON public.dcim_moduletype USING btree (manufacturer_id); + + +-- +-- Name: dcim_moduletype_profile_id_62b5d02d; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_moduletype_profile_id_62b5d02d ON public.dcim_moduletype USING btree (profile_id); + + +-- +-- Name: dcim_moduletypeprofile_name_1709c36e_like; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_moduletypeprofile_name_1709c36e_like ON public.dcim_moduletypeprofile USING btree (name varchar_pattern_ops); + + +-- +-- Name: dcim_platform_config_template_id_013a4d3c; Type: INDEX; Schema: public; Owner: nwa -- CREATE INDEX dcim_platform_config_template_id_013a4d3c ON public.dcim_platform USING btree (config_template_id); @@ -13635,10 +15637,31 @@ CREATE INDEX dcim_platform_manufacturer_id_83f72d3d ON public.dcim_platform USIN -- --- Name: dcim_platform_name_c2f04255_like; Type: INDEX; Schema: public; Owner: nwa +-- Name: dcim_platform_name; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE UNIQUE INDEX dcim_platform_name ON public.dcim_platform USING btree (name) WHERE (manufacturer_id IS NULL); + + +-- +-- Name: dcim_platform_parent_id_795c7101; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_platform_parent_id_795c7101 ON public.dcim_platform USING btree (parent_id); + + +-- +-- Name: dcim_platform_slug; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE UNIQUE INDEX dcim_platform_slug ON public.dcim_platform USING btree (slug) WHERE (manufacturer_id IS NULL); + + +-- +-- Name: dcim_platform_slug_b0908ae4; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX dcim_platform_name_c2f04255_like ON public.dcim_platform USING btree (name varchar_pattern_ops); +CREATE INDEX dcim_platform_slug_b0908ae4 ON public.dcim_platform USING btree (slug); -- @@ -13648,6 +15671,13 @@ CREATE INDEX dcim_platform_name_c2f04255_like ON public.dcim_platform USING btre CREATE INDEX dcim_platform_slug_b0908ae4_like ON public.dcim_platform USING btree (slug varchar_pattern_ops); +-- +-- Name: dcim_platform_tree_id_ca32aeb8; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_platform_tree_id_ca32aeb8 ON public.dcim_platform USING btree (tree_id); + + -- -- Name: dcim_powerfeed__path_id_a1ea1f28; Type: INDEX; Schema: public; Owner: nwa -- @@ -13683,6 +15713,13 @@ CREATE INDEX dcim_powerfeed_rack_id_7abba090 ON public.dcim_powerfeed USING btre CREATE INDEX dcim_powerfeed_tenant_id_947bee85 ON public.dcim_powerfeed USING btree (tenant_id); +-- +-- Name: dcim_poweroutlet__location_id_49563316; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_poweroutlet__location_id_49563316 ON public.dcim_poweroutlet USING btree (_location_id); + + -- -- Name: dcim_poweroutlet__path_id_cbb47bb9; Type: INDEX; Schema: public; Owner: nwa -- @@ -13690,6 +15727,20 @@ CREATE INDEX dcim_powerfeed_tenant_id_947bee85 ON public.dcim_powerfeed USING bt CREATE INDEX dcim_poweroutlet__path_id_cbb47bb9 ON public.dcim_poweroutlet USING btree (_path_id); +-- +-- Name: dcim_poweroutlet__rack_id_aca89672; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_poweroutlet__rack_id_aca89672 ON public.dcim_poweroutlet USING btree (_rack_id); + + +-- +-- Name: dcim_poweroutlet__site_id_a956755e; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_poweroutlet__site_id_a956755e ON public.dcim_poweroutlet USING btree (_site_id); + + -- -- Name: dcim_poweroutlet_cable_id_8dbea1ec; Type: INDEX; Schema: public; Owner: nwa -- @@ -13753,6 +15804,13 @@ CREATE INDEX dcim_powerpanel_location_id_474b60f8 ON public.dcim_powerpanel USIN CREATE INDEX dcim_powerpanel_site_id_c430bc89 ON public.dcim_powerpanel USING btree (site_id); +-- +-- Name: dcim_powerport__location_id_ccf995e7; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_powerport__location_id_ccf995e7 ON public.dcim_powerport USING btree (_location_id); + + -- -- Name: dcim_powerport__path_id_9fe4af8f; Type: INDEX; Schema: public; Owner: nwa -- @@ -13760,6 +15818,20 @@ CREATE INDEX dcim_powerpanel_site_id_c430bc89 ON public.dcim_powerpanel USING bt CREATE INDEX dcim_powerport__path_id_9fe4af8f ON public.dcim_powerport USING btree (_path_id); +-- +-- Name: dcim_powerport__rack_id_4c1c316d; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_powerport__rack_id_4c1c316d ON public.dcim_powerport USING btree (_rack_id); + + +-- +-- Name: dcim_powerport__site_id_87bfa142; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_powerport__site_id_87bfa142 ON public.dcim_powerport USING btree (_site_id); + + -- -- Name: dcim_powerport_cable_id_c9682ba2; Type: INDEX; Schema: public; Owner: nwa -- @@ -13809,6 +15881,13 @@ CREATE INDEX dcim_rack_asset_tag_f88408e5_like ON public.dcim_rack USING btree ( CREATE INDEX dcim_rack_location_id_5f63ec31 ON public.dcim_rack USING btree (location_id); +-- +-- Name: dcim_rack_rack_type_id_39433a22; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_rack_rack_type_id_39433a22 ON public.dcim_rack USING btree (rack_type_id); + + -- -- Name: dcim_rack_role_id_62d6919e; Type: INDEX; Schema: public; Owner: nwa -- @@ -13865,6 +15944,41 @@ CREATE INDEX dcim_rackrole_name_9077cfcc_like ON public.dcim_rackrole USING btre CREATE INDEX dcim_rackrole_slug_40bbcd3a_like ON public.dcim_rackrole USING btree (slug varchar_pattern_ops); +-- +-- Name: dcim_racktype_manufacturer_id_d46a05c6; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_racktype_manufacturer_id_d46a05c6 ON public.dcim_racktype USING btree (manufacturer_id); + + +-- +-- Name: dcim_racktype_slug_6bbb384a_like; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_racktype_slug_6bbb384a_like ON public.dcim_racktype USING btree (slug varchar_pattern_ops); + + +-- +-- Name: dcim_rearport__location_id_72554006; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_rearport__location_id_72554006 ON public.dcim_rearport USING btree (_location_id); + + +-- +-- Name: dcim_rearport__rack_id_9af9a402; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_rearport__rack_id_9af9a402 ON public.dcim_rearport USING btree (_rack_id); + + +-- +-- Name: dcim_rearport__site_id_35e05ccf; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX dcim_rearport__site_id_35e05ccf ON public.dcim_rearport USING btree (_site_id); + + -- -- Name: dcim_rearport_cable_id_42c0e4e7; Type: INDEX; Schema: public; Owner: nwa -- @@ -14082,20 +16196,6 @@ CREATE INDEX extras_bookmark_object_type_id_18c4bb44 ON public.extras_bookmark U CREATE INDEX extras_bookmark_user_id_cb6c6677 ON public.extras_bookmark USING btree (user_id); --- --- Name: extras_branch_name_1d13739f_like; Type: INDEX; Schema: public; Owner: nwa --- - -CREATE INDEX extras_branch_name_1d13739f_like ON public.extras_branch USING btree (name varchar_pattern_ops); - - --- --- Name: extras_branch_user_id_a6cfd338; Type: INDEX; Schema: public; Owner: nwa --- - -CREATE INDEX extras_branch_user_id_a6cfd338 ON public.extras_branch USING btree (user_id); - - -- -- Name: extras_cachedvalue_object; Type: INDEX; Schema: public; Owner: nwa -- @@ -14215,6 +16315,13 @@ CREATE INDEX extras_configcontext_platforms_configcontext_id_2a516699 ON public. CREATE INDEX extras_configcontext_platforms_platform_id_3fdfedc0 ON public.extras_configcontext_platforms USING btree (platform_id); +-- +-- Name: extras_configcontext_profile_id_48c7bc6a; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX extras_configcontext_profile_id_48c7bc6a ON public.extras_configcontext USING btree (profile_id); + + -- -- Name: extras_configcontext_regions_configcontext_id_73003dbc; Type: INDEX; Schema: public; Owner: nwa -- @@ -14313,6 +16420,27 @@ CREATE INDEX extras_configcontext_tenants_configcontext_id_b53552a6 ON public.ex CREATE INDEX extras_configcontext_tenants_tenant_id_8d0aa28e ON public.extras_configcontext_tenants USING btree (tenant_id); +-- +-- Name: extras_configcontextprofile_data_file_id_e0caf376; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX extras_configcontextprofile_data_file_id_e0caf376 ON public.extras_configcontextprofile USING btree (data_file_id); + + +-- +-- Name: extras_configcontextprofile_data_source_id_b88dd849; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX extras_configcontextprofile_data_source_id_b88dd849 ON public.extras_configcontextprofile USING btree (data_source_id); + + +-- +-- Name: extras_configcontextprofile_name_070de83b_like; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX extras_configcontextprofile_name_070de83b_like ON public.extras_configcontextprofile USING btree (name varchar_pattern_ops); + + -- -- Name: extras_configtemplate_data_file_id_20c7cff4; Type: INDEX; Schema: public; Owner: nwa -- @@ -14338,7 +16466,7 @@ CREATE INDEX extras_customfield_choice_set_id_5590efc2 ON public.extras_customfi -- Name: extras_customfield_content_types_contenttype_id_2997ba90; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX extras_customfield_content_types_contenttype_id_2997ba90 ON public.extras_customfield_object_types USING btree (objecttype_id); +CREATE INDEX extras_customfield_content_types_contenttype_id_2997ba90 ON public.extras_customfield_object_types USING btree (contenttype_id); -- @@ -14373,7 +16501,7 @@ CREATE INDEX extras_customfieldchoiceset_name_963e63ea_like ON public.extras_cus -- Name: extras_customlink_content_types_contenttype_id_df5f34c2; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX extras_customlink_content_types_contenttype_id_df5f34c2 ON public.extras_customlink_object_types USING btree (objecttype_id); +CREATE INDEX extras_customlink_content_types_contenttype_id_df5f34c2 ON public.extras_customlink_object_types USING btree (contenttype_id); -- @@ -14408,7 +16536,7 @@ CREATE INDEX extras_eventrule_action_object_type_id_1fe8a82e ON public.extras_ev -- Name: extras_eventrule_content_types_contenttype_id_a704fd34; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX extras_eventrule_content_types_contenttype_id_a704fd34 ON public.extras_eventrule_object_types USING btree (objecttype_id); +CREATE INDEX extras_eventrule_content_types_contenttype_id_a704fd34 ON public.extras_eventrule_object_types USING btree (contenttype_id); -- @@ -14429,7 +16557,7 @@ CREATE INDEX extras_eventrule_name_899453c6_like ON public.extras_eventrule USIN -- Name: extras_exporttemplate_content_types_contenttype_id_d80a5164; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX extras_exporttemplate_content_types_contenttype_id_d80a5164 ON public.extras_exporttemplate_object_types USING btree (objecttype_id); +CREATE INDEX extras_exporttemplate_content_types_contenttype_id_d80a5164 ON public.extras_exporttemplate_object_types USING btree (contenttype_id); -- @@ -14489,59 +16617,66 @@ CREATE INDEX extras_journalentry_created_by_id_8d4e4329 ON public.extras_journal -- --- Name: extras_obje_changed_927fe5_idx; Type: INDEX; Schema: public; Owner: nwa +-- Name: extras_noti_object__be74d5_idx; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX extras_noti_object__be74d5_idx ON public.extras_notification USING btree (object_type_id, object_id); + + +-- +-- Name: extras_notification_object_type_id_2efeb525; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX extras_obje_changed_927fe5_idx ON public.extras_objectchange USING btree (changed_object_type_id, changed_object_id); +CREATE INDEX extras_notification_object_type_id_2efeb525 ON public.extras_notification USING btree (object_type_id); -- --- Name: extras_obje_related_bfcdef_idx; Type: INDEX; Schema: public; Owner: nwa +-- Name: extras_notification_user_id_4d8c96f5; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX extras_obje_related_bfcdef_idx ON public.extras_objectchange USING btree (related_object_type_id, related_object_id); +CREATE INDEX extras_notification_user_id_4d8c96f5 ON public.extras_notification USING btree (user_id); -- --- Name: extras_objectchange_changed_object_type_id_b755bb60; Type: INDEX; Schema: public; Owner: nwa +-- Name: extras_notificationgroup_groups_group_id_af4b7b6c; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX extras_objectchange_changed_object_type_id_b755bb60 ON public.extras_objectchange USING btree (changed_object_type_id); +CREATE INDEX extras_notificationgroup_groups_group_id_af4b7b6c ON public.extras_notificationgroup_groups USING btree (group_id); -- --- Name: extras_objectchange_related_object_type_id_fe6e521f; Type: INDEX; Schema: public; Owner: nwa +-- Name: extras_notificationgroup_groups_notificationgroup_id_a41469f7; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX extras_objectchange_related_object_type_id_fe6e521f ON public.extras_objectchange USING btree (related_object_type_id); +CREATE INDEX extras_notificationgroup_groups_notificationgroup_id_a41469f7 ON public.extras_notificationgroup_groups USING btree (notificationgroup_id); -- --- Name: extras_objectchange_request_id_4ae21e90; Type: INDEX; Schema: public; Owner: nwa +-- Name: extras_notificationgroup_name_70b0a3f9_like; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX extras_objectchange_request_id_4ae21e90 ON public.extras_objectchange USING btree (request_id); +CREATE INDEX extras_notificationgroup_name_70b0a3f9_like ON public.extras_notificationgroup USING btree (name varchar_pattern_ops); -- --- Name: extras_objectchange_time_224380ea; Type: INDEX; Schema: public; Owner: nwa +-- Name: extras_notificationgroup_users_notificationgroup_id_0a8ec85c; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX extras_objectchange_time_224380ea ON public.extras_objectchange USING btree ("time"); +CREATE INDEX extras_notificationgroup_users_notificationgroup_id_0a8ec85c ON public.extras_notificationgroup_users USING btree (notificationgroup_id); -- --- Name: extras_objectchange_user_id_7fdf8186; Type: INDEX; Schema: public; Owner: nwa +-- Name: extras_notificationgroup_users_user_id_2c30da19; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX extras_objectchange_user_id_7fdf8186 ON public.extras_objectchange USING btree (user_id); +CREATE INDEX extras_notificationgroup_users_user_id_2c30da19 ON public.extras_notificationgroup_users USING btree (user_id); -- -- Name: extras_savedfilter_content_types_contenttype_id_929cea22; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX extras_savedfilter_content_types_contenttype_id_929cea22 ON public.extras_savedfilter_object_types USING btree (objecttype_id); +CREATE INDEX extras_savedfilter_content_types_contenttype_id_929cea22 ON public.extras_savedfilter_object_types USING btree (contenttype_id); -- @@ -14580,24 +16715,38 @@ CREATE INDEX extras_script_module_id_af9cffaa ON public.extras_script USING btre -- --- Name: extras_stag_object__4734d5_idx; Type: INDEX; Schema: public; Owner: nwa +-- Name: extras_subs_object__37ef68_idx; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX extras_subs_object__37ef68_idx ON public.extras_subscription USING btree (object_type_id, object_id); + + +-- +-- Name: extras_subscription_object_type_id_e53297d2; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX extras_subscription_object_type_id_e53297d2 ON public.extras_subscription USING btree (object_type_id); + + +-- +-- Name: extras_subscription_user_id_37472a14; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX extras_stag_object__4734d5_idx ON public.extras_stagedchange USING btree (object_type_id, object_id); +CREATE INDEX extras_subscription_user_id_37472a14 ON public.extras_subscription USING btree (user_id); -- --- Name: extras_stagedchange_branch_id_44893052; Type: INDEX; Schema: public; Owner: nwa +-- Name: extras_tableconfig_object_type_id_e43ad6ad; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX extras_stagedchange_branch_id_44893052 ON public.extras_stagedchange USING btree (branch_id); +CREATE INDEX extras_tableconfig_object_type_id_e43ad6ad ON public.extras_tableconfig USING btree (object_type_id); -- --- Name: extras_stagedchange_object_type_id_de76b05b; Type: INDEX; Schema: public; Owner: nwa +-- Name: extras_tableconfig_user_id_0b525dff; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX extras_stagedchange_object_type_id_de76b05b ON public.extras_stagedchange USING btree (object_type_id); +CREATE INDEX extras_tableconfig_user_id_0b525dff ON public.extras_tableconfig USING btree (user_id); -- @@ -14611,7 +16760,7 @@ CREATE INDEX extras_tag_name_9550b3d9_like ON public.extras_tag USING btree (nam -- Name: extras_tag_object_types_contenttype_id_c1b220c3; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX extras_tag_object_types_contenttype_id_c1b220c3 ON public.extras_tag_object_types USING btree (objecttype_id); +CREATE INDEX extras_tag_object_types_contenttype_id_c1b220c3 ON public.extras_tag_object_types USING btree (contenttype_id); -- @@ -14831,6 +16980,41 @@ CREATE INDEX ipam_l2vpn_import_targets_l2vpn_id_731f5bb4 ON public.vpn_l2vpn_imp CREATE INDEX ipam_l2vpn_import_targets_routetarget_id_58a188b2 ON public.vpn_l2vpn_import_targets USING btree (routetarget_id); +-- +-- Name: ipam_prefix__location_id_f5925c42; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX ipam_prefix__location_id_f5925c42 ON public.ipam_prefix USING btree (_location_id); + + +-- +-- Name: ipam_prefix__region_id_54aedc72; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX ipam_prefix__region_id_54aedc72 ON public.ipam_prefix USING btree (_region_id); + + +-- +-- Name: ipam_prefix__site_group_id_8277120b; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX ipam_prefix__site_group_id_8277120b ON public.ipam_prefix USING btree (_site_group_id); + + +-- +-- Name: ipam_prefix__site_id_b479fb05; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX ipam_prefix__site_id_b479fb05 ON public.ipam_prefix USING btree (_site_id); + + +-- +-- Name: ipam_prefix_gist_idx; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX ipam_prefix_gist_idx ON public.ipam_prefix USING gist (prefix inet_ops); + + -- -- Name: ipam_prefix_role_id_0a98d415; Type: INDEX; Schema: public; Owner: nwa -- @@ -14839,10 +17023,10 @@ CREATE INDEX ipam_prefix_role_id_0a98d415 ON public.ipam_prefix USING btree (rol -- --- Name: ipam_prefix_site_id_0b20df05; Type: INDEX; Schema: public; Owner: nwa +-- Name: ipam_prefix_scope_type_id_413319e2; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX ipam_prefix_site_id_0b20df05 ON public.ipam_prefix USING btree (site_id); +CREATE INDEX ipam_prefix_scope_type_id_413319e2 ON public.ipam_prefix USING btree (scope_type_id); -- @@ -14909,10 +17093,10 @@ CREATE INDEX ipam_routetarget_tenant_id_5a0b35e8 ON public.ipam_routetarget USIN -- --- Name: ipam_service_device_id_b4d2bb9c; Type: INDEX; Schema: public; Owner: nwa +-- Name: ipam_servic_parent__563d2b_idx; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX ipam_service_device_id_b4d2bb9c ON public.ipam_service USING btree (device_id); +CREATE INDEX ipam_servic_parent__563d2b_idx ON public.ipam_service USING btree (parent_object_type_id, parent_object_id); -- @@ -14930,10 +17114,10 @@ CREATE INDEX ipam_service_ipaddresses_service_id_ae26b9ab ON public.ipam_service -- --- Name: ipam_service_virtual_machine_id_e8b53562; Type: INDEX; Schema: public; Owner: nwa +-- Name: ipam_service_parent_object_type_id_8e76bfb3; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX ipam_service_virtual_machine_id_e8b53562 ON public.ipam_service USING btree (virtual_machine_id); +CREATE INDEX ipam_service_parent_object_type_id_8e76bfb3 ON public.ipam_service USING btree (parent_object_type_id); -- @@ -14950,6 +17134,13 @@ CREATE INDEX ipam_servicetemplate_name_1a2f3410_like ON public.ipam_servicetempl CREATE INDEX ipam_vlan_group_id_88cbfa62 ON public.ipam_vlan USING btree (group_id); +-- +-- Name: ipam_vlan_qinq_svlan_id_acbd7a5d; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX ipam_vlan_qinq_svlan_id_acbd7a5d ON public.ipam_vlan USING btree (qinq_svlan_id); + + -- -- Name: ipam_vlan_role_id_f5015962; Type: INDEX; Schema: public; Owner: nwa -- @@ -14999,6 +17190,27 @@ CREATE INDEX ipam_vlangroup_slug_40abcf6b ON public.ipam_vlangroup USING btree ( CREATE INDEX ipam_vlangroup_slug_40abcf6b_like ON public.ipam_vlangroup USING btree (slug varchar_pattern_ops); +-- +-- Name: ipam_vlangroup_tenant_id_29197fca; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX ipam_vlangroup_tenant_id_29197fca ON public.ipam_vlangroup USING btree (tenant_id); + + +-- +-- Name: ipam_vlantranslationpolicy_name_17e0a007_like; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX ipam_vlantranslationpolicy_name_17e0a007_like ON public.ipam_vlantranslationpolicy USING btree (name varchar_pattern_ops); + + +-- +-- Name: ipam_vlantranslationrule_policy_id_09157735; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX ipam_vlantranslationrule_policy_id_09157735 ON public.ipam_vlantranslationrule USING btree (policy_id); + + -- -- Name: ipam_vrf_export_targets_routetarget_id_8d9319f7; Type: INDEX; Schema: public; Owner: nwa -- @@ -15154,10 +17366,17 @@ CREATE INDEX tenancy_con_object__6f20f7_idx ON public.tenancy_contactassignment -- --- Name: tenancy_contact_group_id_76e0267c; Type: INDEX; Schema: public; Owner: nwa +-- Name: tenancy_contact_groups_contact_id_84c9d84f; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX tenancy_contact_groups_contact_id_84c9d84f ON public.tenancy_contact_groups USING btree (contact_id); + + +-- +-- Name: tenancy_contact_groups_contactgroup_id_5c8d6c5a; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX tenancy_contact_group_id_76e0267c ON public.tenancy_contact USING btree (group_id); +CREATE INDEX tenancy_contact_groups_contactgroup_id_5c8d6c5a ON public.tenancy_contact_groups USING btree (contactgroup_id); -- @@ -15286,6 +17505,13 @@ CREATE INDEX tenancy_tenantgroup_slug_e2af1cb6_like ON public.tenancy_tenantgrou CREATE INDEX tenancy_tenantgroup_tree_id_769a98bf ON public.tenancy_tenantgroup USING btree (tree_id); +-- +-- Name: thumbnail_kvstore_key_3f850178_like; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX thumbnail_kvstore_key_3f850178_like ON public.thumbnail_kvstore USING btree (key varchar_pattern_ops); + + -- -- Name: users_group_name_5f613b12_like; Type: INDEX; Schema: public; Owner: nwa -- @@ -15332,7 +17558,7 @@ CREATE INDEX users_objectpermission_obj_objectpermission_id_38c7d8f5 ON public.u -- Name: users_objectpermission_object_types_contenttype_id_594b1cc7; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX users_objectpermission_object_types_contenttype_id_594b1cc7 ON public.users_objectpermission_object_types USING btree (objecttype_id); +CREATE INDEX users_objectpermission_object_types_contenttype_id_594b1cc7 ON public.users_objectpermission_object_types USING btree (contenttype_id); -- @@ -15370,6 +17596,34 @@ CREATE INDEX users_user_object_permissions_user_id_9d647aac ON public.users_user CREATE INDEX users_user_username_06e46fe6_like ON public.users_user USING btree (username varchar_pattern_ops); +-- +-- Name: virtualization_cluster__location_id_f553e386; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX virtualization_cluster__location_id_f553e386 ON public.virtualization_cluster USING btree (_location_id); + + +-- +-- Name: virtualization_cluster__region_id_9244325e; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX virtualization_cluster__region_id_9244325e ON public.virtualization_cluster USING btree (_region_id); + + +-- +-- Name: virtualization_cluster__site_group_id_7d9bff8f; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX virtualization_cluster__site_group_id_7d9bff8f ON public.virtualization_cluster USING btree (_site_group_id); + + +-- +-- Name: virtualization_cluster__site_id_883df848; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX virtualization_cluster__site_id_883df848 ON public.virtualization_cluster USING btree (_site_id); + + -- -- Name: virtualization_cluster_group_id_de379828; Type: INDEX; Schema: public; Owner: nwa -- @@ -15378,10 +17632,10 @@ CREATE INDEX virtualization_cluster_group_id_de379828 ON public.virtualization_c -- --- Name: virtualization_cluster_site_id_4d5af282; Type: INDEX; Schema: public; Owner: nwa +-- Name: virtualization_cluster_scope_type_id_c49d797a; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX virtualization_cluster_site_id_4d5af282 ON public.virtualization_cluster USING btree (site_id); +CREATE INDEX virtualization_cluster_scope_type_id_c49d797a ON public.virtualization_cluster USING btree (scope_type_id); -- @@ -15511,14 +17765,21 @@ CREATE INDEX virtualization_vminterface_parent_id_f86958e1 ON public.virtualizat -- --- Name: virtualization_vminterface_tagged_vlans_vlan_id_4e77411e; Type: INDEX; Schema: public; Owner: nwa +-- Name: virtualization_vminterface_qinq_svlan_id_afacb024; Type: INDEX; Schema: public; Owner: nwa -- -CREATE INDEX virtualization_vminterface_tagged_vlans_vlan_id_4e77411e ON public.virtualization_vminterface_tagged_vlans USING btree (vlan_id); +CREATE INDEX virtualization_vminterface_qinq_svlan_id_afacb024 ON public.virtualization_vminterface USING btree (qinq_svlan_id); -- --- Name: virtualization_vminterface_tagged_vlans_vminterface_id_904b12de; Type: INDEX; Schema: public; Owner: nwa +-- Name: virtualization_vminterface_tagged_vlans_vlan_id_4e77411e; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX virtualization_vminterface_tagged_vlans_vlan_id_4e77411e ON public.virtualization_vminterface_tagged_vlans USING btree (vlan_id); + + +-- +-- Name: virtualization_vminterface_tagged_vlans_vminterface_id_904b12de; Type: INDEX; Schema: public; Owner: nwa -- CREATE INDEX virtualization_vminterface_tagged_vlans_vminterface_id_904b12de ON public.virtualization_vminterface_tagged_vlans USING btree (vminterface_id); @@ -15538,6 +17799,13 @@ CREATE INDEX virtualization_vminterface_untagged_vlan_id_aea4fc69 ON public.virt CREATE INDEX virtualization_vminterface_virtual_machine_id_e9f89829 ON public.virtualization_vminterface USING btree (virtual_machine_id); +-- +-- Name: virtualization_vminterface_vlan_translation_policy_id_938e6637; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX virtualization_vminterface_vlan_translation_policy_id_938e6637 ON public.virtualization_vminterface USING btree (vlan_translation_policy_id); + + -- -- Name: virtualization_vminterface_vrf_id_4b570a8c; Type: INDEX; Schema: public; Owner: nwa -- @@ -15643,13 +17911,6 @@ CREATE INDEX vpn_l2vpn_slug_76b5a174_like ON public.vpn_l2vpn USING btree (slug CREATE INDEX vpn_l2vpn_tenant_id_57ec8f92 ON public.vpn_l2vpn USING btree (tenant_id); --- --- Name: vpn_l2vpnte_assigne_9c55f8_idx; Type: INDEX; Schema: public; Owner: nwa --- - -CREATE INDEX vpn_l2vpnte_assigne_9c55f8_idx ON public.vpn_l2vpntermination USING btree (assigned_object_type_id, assigned_object_id); - - -- -- Name: vpn_l2vpntermination_assigned_object_type_id_f063b865; Type: INDEX; Schema: public; Owner: nwa -- @@ -15713,13 +17974,6 @@ CREATE INDEX vpn_tunnelgroup_name_9f6ebf92_like ON public.vpn_tunnelgroup USING CREATE INDEX vpn_tunnelgroup_slug_9e614d62_like ON public.vpn_tunnelgroup USING btree (slug varchar_pattern_ops); --- --- Name: vpn_tunnelt_termina_c1f04b_idx; Type: INDEX; Schema: public; Owner: nwa --- - -CREATE INDEX vpn_tunnelt_termina_c1f04b_idx ON public.vpn_tunneltermination USING btree (termination_type_id, termination_id); - - -- -- Name: vpn_tunneltermination_outside_ip_id_2c6f3a7c; Type: INDEX; Schema: public; Owner: nwa -- @@ -15741,6 +17995,34 @@ CREATE INDEX vpn_tunneltermination_termination_type_id_e546f7a1 ON public.vpn_tu CREATE INDEX vpn_tunneltermination_tunnel_id_962efa25 ON public.vpn_tunneltermination USING btree (tunnel_id); +-- +-- Name: wireless_wirelesslan__location_id_c742912f; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX wireless_wirelesslan__location_id_c742912f ON public.wireless_wirelesslan USING btree (_location_id); + + +-- +-- Name: wireless_wirelesslan__region_id_fd2a93ee; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX wireless_wirelesslan__region_id_fd2a93ee ON public.wireless_wirelesslan USING btree (_region_id); + + +-- +-- Name: wireless_wirelesslan__site_group_id_d61285cc; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX wireless_wirelesslan__site_group_id_d61285cc ON public.wireless_wirelesslan USING btree (_site_group_id); + + +-- +-- Name: wireless_wirelesslan__site_id_5dce5f6f; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX wireless_wirelesslan__site_id_5dce5f6f ON public.wireless_wirelesslan USING btree (_site_id); + + -- -- Name: wireless_wirelesslan_group_id_d9e3d67f; Type: INDEX; Schema: public; Owner: nwa -- @@ -15748,6 +18030,13 @@ CREATE INDEX vpn_tunneltermination_tunnel_id_962efa25 ON public.vpn_tunneltermin CREATE INDEX wireless_wirelesslan_group_id_d9e3d67f ON public.wireless_wirelesslan USING btree (group_id); +-- +-- Name: wireless_wirelesslan_scope_type_id_c3e37d35; Type: INDEX; Schema: public; Owner: nwa +-- + +CREATE INDEX wireless_wirelesslan_scope_type_id_c3e37d35 ON public.wireless_wirelesslan USING btree (scope_type_id); + + -- -- Name: wireless_wirelesslan_tenant_id_5dfee941; Type: INDEX; Schema: public; Owner: nwa -- @@ -15921,6 +18210,62 @@ ALTER TABLE ONLY public.circuits_circuit ADD CONSTRAINT circuits_circuit_type_id_1b9f485a_fk_circuits_circuittype_id FOREIGN KEY (type_id) REFERENCES public.circuits_circuittype(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: circuits_circuitgroupassignment circuits_circuitgrou_group_id_1a7b6580_fk_circuits_; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.circuits_circuitgroupassignment + ADD CONSTRAINT circuits_circuitgrou_group_id_1a7b6580_fk_circuits_ FOREIGN KEY (group_id) REFERENCES public.circuits_circuitgroup(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: circuits_circuitgroupassignment circuits_circuitgrou_member_type_id_779d1a13_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.circuits_circuitgroupassignment + ADD CONSTRAINT circuits_circuitgrou_member_type_id_779d1a13_fk_django_co FOREIGN KEY (member_type_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: circuits_circuitgroup circuits_circuitgroup_tenant_id_5bafdc3f_fk_tenancy_tenant_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.circuits_circuitgroup + ADD CONSTRAINT circuits_circuitgroup_tenant_id_5bafdc3f_fk_tenancy_tenant_id FOREIGN KEY (tenant_id) REFERENCES public.tenancy_tenant(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: circuits_circuittermination circuits_circuitterm__location_id_4a578dca_fk_dcim_loca; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.circuits_circuittermination + ADD CONSTRAINT circuits_circuitterm__location_id_4a578dca_fk_dcim_loca FOREIGN KEY (_location_id) REFERENCES public.dcim_location(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: circuits_circuittermination circuits_circuitterm__provider_network_id_85ca661e_fk_circuits_; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.circuits_circuittermination + ADD CONSTRAINT circuits_circuitterm__provider_network_id_85ca661e_fk_circuits_ FOREIGN KEY (_provider_network_id) REFERENCES public.circuits_providernetwork(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: circuits_circuittermination circuits_circuitterm__region_id_1fa03379_fk_dcim_regi; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.circuits_circuittermination + ADD CONSTRAINT circuits_circuitterm__region_id_1fa03379_fk_dcim_regi FOREIGN KEY (_region_id) REFERENCES public.dcim_region(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: circuits_circuittermination circuits_circuitterm__site_group_id_ec0c1998_fk_dcim_site; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.circuits_circuittermination + ADD CONSTRAINT circuits_circuitterm__site_group_id_ec0c1998_fk_dcim_site FOREIGN KEY (_site_group_id) REFERENCES public.dcim_sitegroup(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: circuits_circuittermination circuits_circuitterm_circuit_id_257e87e7_fk_circuits_; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -15930,27 +18275,27 @@ ALTER TABLE ONLY public.circuits_circuittermination -- --- Name: circuits_circuittermination circuits_circuitterm_provider_network_id_b0c660f1_fk_circuits_; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- Name: circuits_circuittermination circuits_circuitterm_termination_type_id_c9262c91_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- ALTER TABLE ONLY public.circuits_circuittermination - ADD CONSTRAINT circuits_circuitterm_provider_network_id_b0c660f1_fk_circuits_ FOREIGN KEY (provider_network_id) REFERENCES public.circuits_providernetwork(id) DEFERRABLE INITIALLY DEFERRED; + ADD CONSTRAINT circuits_circuitterm_termination_type_id_c9262c91_fk_django_co FOREIGN KEY (termination_type_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED; -- --- Name: circuits_circuittermination circuits_circuittermination_cable_id_35e9f703_fk_dcim_cable_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- Name: circuits_circuittermination circuits_circuittermination__site_id_84942491_fk_dcim_site_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- ALTER TABLE ONLY public.circuits_circuittermination - ADD CONSTRAINT circuits_circuittermination_cable_id_35e9f703_fk_dcim_cable_id FOREIGN KEY (cable_id) REFERENCES public.dcim_cable(id) DEFERRABLE INITIALLY DEFERRED; + ADD CONSTRAINT circuits_circuittermination__site_id_84942491_fk_dcim_site_id FOREIGN KEY (_site_id) REFERENCES public.dcim_site(id) DEFERRABLE INITIALLY DEFERRED; -- --- Name: circuits_circuittermination circuits_circuittermination_site_id_e6fe5652_fk_dcim_site_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- Name: circuits_circuittermination circuits_circuittermination_cable_id_35e9f703_fk_dcim_cable_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- ALTER TABLE ONLY public.circuits_circuittermination - ADD CONSTRAINT circuits_circuittermination_site_id_e6fe5652_fk_dcim_site_id FOREIGN KEY (site_id) REFERENCES public.dcim_site(id) DEFERRABLE INITIALLY DEFERRED; + ADD CONSTRAINT circuits_circuittermination_cable_id_35e9f703_fk_dcim_cable_id FOREIGN KEY (cable_id) REFERENCES public.dcim_cable(id) DEFERRABLE INITIALLY DEFERRED; -- @@ -15985,6 +18330,54 @@ ALTER TABLE ONLY public.circuits_providernetwork ADD CONSTRAINT circuits_providernet_provider_id_7992236c_fk_circuits_ FOREIGN KEY (provider_id) REFERENCES public.circuits_provider(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: circuits_virtualcircuittermination circuits_virtualcirc_interface_id_d764b232_fk_dcim_inte; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.circuits_virtualcircuittermination + ADD CONSTRAINT circuits_virtualcirc_interface_id_d764b232_fk_dcim_inte FOREIGN KEY (interface_id) REFERENCES public.dcim_interface(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: circuits_virtualcircuit circuits_virtualcirc_provider_account_id_d942f455_fk_circuits_; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.circuits_virtualcircuit + ADD CONSTRAINT circuits_virtualcirc_provider_account_id_d942f455_fk_circuits_ FOREIGN KEY (provider_account_id) REFERENCES public.circuits_provideraccount(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: circuits_virtualcircuit circuits_virtualcirc_provider_network_id_a902f409_fk_circuits_; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.circuits_virtualcircuit + ADD CONSTRAINT circuits_virtualcirc_provider_network_id_a902f409_fk_circuits_ FOREIGN KEY (provider_network_id) REFERENCES public.circuits_providernetwork(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: circuits_virtualcircuit circuits_virtualcirc_type_id_8527d682_fk_circuits_; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.circuits_virtualcircuit + ADD CONSTRAINT circuits_virtualcirc_type_id_8527d682_fk_circuits_ FOREIGN KEY (type_id) REFERENCES public.circuits_virtualcircuittype(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: circuits_virtualcircuittermination circuits_virtualcirc_virtual_circuit_id_ca588886_fk_circuits_; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.circuits_virtualcircuittermination + ADD CONSTRAINT circuits_virtualcirc_virtual_circuit_id_ca588886_fk_circuits_ FOREIGN KEY (virtual_circuit_id) REFERENCES public.circuits_virtualcircuit(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: circuits_virtualcircuit circuits_virtualcircuit_tenant_id_4458eca7_fk_tenancy_tenant_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.circuits_virtualcircuit + ADD CONSTRAINT circuits_virtualcircuit_tenant_id_4458eca7_fk_tenancy_tenant_id FOREIGN KEY (tenant_id) REFERENCES public.tenancy_tenant(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: core_autosyncrecord core_autosyncrecord_datafile_id_f2aad29e_fk_core_datafile_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -16041,6 +18434,38 @@ ALTER TABLE ONLY public.core_managedfile ADD CONSTRAINT core_managedfile_data_source_id_647d5dbe_fk_core_datasource_id FOREIGN KEY (data_source_id) REFERENCES public.core_datasource(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: core_objectchange core_objectchange_changed_object_type_id_2070ade6; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.core_objectchange + ADD CONSTRAINT core_objectchange_changed_object_type_id_2070ade6 FOREIGN KEY (changed_object_type_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: core_objectchange core_objectchange_related_object_type_id_b80958af; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.core_objectchange + ADD CONSTRAINT core_objectchange_related_object_type_id_b80958af FOREIGN KEY (related_object_type_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: core_objectchange core_objectchange_user_id_2b2142be; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.core_objectchange + ADD CONSTRAINT core_objectchange_user_id_2b2142be FOREIGN KEY (user_id) REFERENCES public.users_user(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: core_objecttype core_objecttype_contenttype_ptr_id_d92548f5_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.core_objecttype + ADD CONSTRAINT core_objecttype_contenttype_ptr_id_d92548f5_fk_django_co FOREIGN KEY (contenttype_ptr_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: dcim_cable dcim_cable_tenant_id_3a7fdbb8_fk_tenancy_tenant_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -16097,6 +18522,14 @@ ALTER TABLE ONLY public.dcim_cabletermination ADD CONSTRAINT dcim_cabletermination_cable_id_b50010d1_fk_dcim_cable_id FOREIGN KEY (cable_id) REFERENCES public.dcim_cable(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: dcim_consoleport dcim_consoleport__location_id_d0e7437b_fk_dcim_location_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_consoleport + ADD CONSTRAINT dcim_consoleport__location_id_d0e7437b_fk_dcim_location_id FOREIGN KEY (_location_id) REFERENCES public.dcim_location(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: dcim_consoleport dcim_consoleport__path_id_e40a4436_fk_dcim_cablepath_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -16105,6 +18538,22 @@ ALTER TABLE ONLY public.dcim_consoleport ADD CONSTRAINT dcim_consoleport__path_id_e40a4436_fk_dcim_cablepath_id FOREIGN KEY (_path_id) REFERENCES public.dcim_cablepath(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: dcim_consoleport dcim_consoleport__rack_id_71f16827_fk_dcim_rack_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_consoleport + ADD CONSTRAINT dcim_consoleport__rack_id_71f16827_fk_dcim_rack_id FOREIGN KEY (_rack_id) REFERENCES public.dcim_rack(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: dcim_consoleport dcim_consoleport__site_id_9652df9c_fk_dcim_site_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_consoleport + ADD CONSTRAINT dcim_consoleport__site_id_9652df9c_fk_dcim_site_id FOREIGN KEY (_site_id) REFERENCES public.dcim_site(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: dcim_consoleport dcim_consoleport_cable_id_a9ae5465_fk_dcim_cable_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -16145,6 +18594,14 @@ ALTER TABLE ONLY public.dcim_consoleporttemplate ADD CONSTRAINT dcim_consoleporttemp_module_type_id_c0f35d97_fk_dcim_modu FOREIGN KEY (module_type_id) REFERENCES public.dcim_moduletype(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: dcim_consoleserverport dcim_consoleserverpo__location_id_7525ec0e_fk_dcim_loca; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_consoleserverport + ADD CONSTRAINT dcim_consoleserverpo__location_id_7525ec0e_fk_dcim_loca FOREIGN KEY (_location_id) REFERENCES public.dcim_location(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: dcim_consoleserverporttemplate dcim_consoleserverpo_device_type_id_579bdc86_fk_dcim_devi; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -16169,6 +18626,22 @@ ALTER TABLE ONLY public.dcim_consoleserverport ADD CONSTRAINT dcim_consoleserverport__path_id_dc5abe09_fk_dcim_cablepath_id FOREIGN KEY (_path_id) REFERENCES public.dcim_cablepath(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: dcim_consoleserverport dcim_consoleserverport__rack_id_3eea9f1b_fk_dcim_rack_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_consoleserverport + ADD CONSTRAINT dcim_consoleserverport__rack_id_3eea9f1b_fk_dcim_rack_id FOREIGN KEY (_rack_id) REFERENCES public.dcim_rack(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: dcim_consoleserverport dcim_consoleserverport__site_id_c500ac62_fk_dcim_site_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_consoleserverport + ADD CONSTRAINT dcim_consoleserverport__site_id_c500ac62_fk_dcim_site_id FOREIGN KEY (_site_id) REFERENCES public.dcim_site(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: dcim_consoleserverport dcim_consoleserverport_cable_id_f2940dfd_fk_dcim_cable_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -16297,6 +18770,30 @@ ALTER TABLE ONLY public.dcim_device ADD CONSTRAINT dcim_device_virtual_chassis_id_aed51693_fk_dcim_virt FOREIGN KEY (virtual_chassis_id) REFERENCES public.dcim_virtualchassis(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: dcim_devicebay dcim_devicebay__location_id_6c869a87_fk_dcim_location_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_devicebay + ADD CONSTRAINT dcim_devicebay__location_id_6c869a87_fk_dcim_location_id FOREIGN KEY (_location_id) REFERENCES public.dcim_location(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: dcim_devicebay dcim_devicebay__rack_id_75672431_fk_dcim_rack_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_devicebay + ADD CONSTRAINT dcim_devicebay__rack_id_75672431_fk_dcim_rack_id FOREIGN KEY (_rack_id) REFERENCES public.dcim_rack(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: dcim_devicebay dcim_devicebay__site_id_8ddc30f4_fk_dcim_site_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_devicebay + ADD CONSTRAINT dcim_devicebay__site_id_8ddc30f4_fk_dcim_site_id FOREIGN KEY (_site_id) REFERENCES public.dcim_site(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: dcim_devicebay dcim_devicebay_device_id_0c8a1218_fk_dcim_device_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -16329,6 +18826,14 @@ ALTER TABLE ONLY public.dcim_devicerole ADD CONSTRAINT dcim_devicerole_config_template_id_5874002c_fk_extras_co FOREIGN KEY (config_template_id) REFERENCES public.extras_configtemplate(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: dcim_devicerole dcim_devicerole_parent_id_7f9ccf87_fk_dcim_devicerole_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_devicerole + ADD CONSTRAINT dcim_devicerole_parent_id_7f9ccf87_fk_dcim_devicerole_id FOREIGN KEY (parent_id) REFERENCES public.dcim_devicerole(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: dcim_devicetype dcim_devicetype_default_platform_id_1f6ff6ac_fk_dcim_plat; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -16345,6 +18850,30 @@ ALTER TABLE ONLY public.dcim_devicetype ADD CONSTRAINT dcim_devicetype_manufacturer_id_a3e8029e_fk_dcim_manu FOREIGN KEY (manufacturer_id) REFERENCES public.dcim_manufacturer(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: dcim_frontport dcim_frontport__location_id_dc0402e7_fk_dcim_location_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_frontport + ADD CONSTRAINT dcim_frontport__location_id_dc0402e7_fk_dcim_location_id FOREIGN KEY (_location_id) REFERENCES public.dcim_location(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: dcim_frontport dcim_frontport__rack_id_1ba6d11c_fk_dcim_rack_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_frontport + ADD CONSTRAINT dcim_frontport__rack_id_1ba6d11c_fk_dcim_rack_id FOREIGN KEY (_rack_id) REFERENCES public.dcim_rack(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: dcim_frontport dcim_frontport__site_id_51efdefe_fk_dcim_site_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_frontport + ADD CONSTRAINT dcim_frontport__site_id_51efdefe_fk_dcim_site_id FOREIGN KEY (_site_id) REFERENCES public.dcim_site(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: dcim_frontport dcim_frontport_cable_id_04ff8aab_fk_dcim_cable_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -16401,6 +18930,14 @@ ALTER TABLE ONLY public.dcim_frontporttemplate ADD CONSTRAINT dcim_frontporttempla_rear_port_id_9775411b_fk_dcim_rear FOREIGN KEY (rear_port_id) REFERENCES public.dcim_rearporttemplate(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: dcim_interface dcim_interface__location_id_72d5e107_fk_dcim_location_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_interface + ADD CONSTRAINT dcim_interface__location_id_72d5e107_fk_dcim_location_id FOREIGN KEY (_location_id) REFERENCES public.dcim_location(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: dcim_interface dcim_interface__path_id_f8f4f7f0_fk_dcim_cablepath_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -16409,6 +18946,22 @@ ALTER TABLE ONLY public.dcim_interface ADD CONSTRAINT dcim_interface__path_id_f8f4f7f0_fk_dcim_cablepath_id FOREIGN KEY (_path_id) REFERENCES public.dcim_cablepath(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: dcim_interface dcim_interface__rack_id_0d3f84a6_fk_dcim_rack_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_interface + ADD CONSTRAINT dcim_interface__rack_id_0d3f84a6_fk_dcim_rack_id FOREIGN KEY (_rack_id) REFERENCES public.dcim_rack(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: dcim_interface dcim_interface__site_id_0fffd4ef_fk_dcim_site_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_interface + ADD CONSTRAINT dcim_interface__site_id_0fffd4ef_fk_dcim_site_id FOREIGN KEY (_site_id) REFERENCES public.dcim_site(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: dcim_interface dcim_interface_bridge_id_f2a8df85_fk_dcim_interface_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -16457,6 +19010,22 @@ ALTER TABLE ONLY public.dcim_interface ADD CONSTRAINT dcim_interface_parent_id_3e2b159b_fk_dcim_interface_id FOREIGN KEY (parent_id) REFERENCES public.dcim_interface(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: dcim_interface dcim_interface_primary_mac_address__a0bb90ca_fk_dcim_maca; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_interface + ADD CONSTRAINT dcim_interface_primary_mac_address__a0bb90ca_fk_dcim_maca FOREIGN KEY (primary_mac_address_id) REFERENCES public.dcim_macaddress(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: dcim_interface dcim_interface_qinq_svlan_id_21189a58_fk_ipam_vlan_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_interface + ADD CONSTRAINT dcim_interface_qinq_svlan_id_21189a58_fk_ipam_vlan_id FOREIGN KEY (qinq_svlan_id) REFERENCES public.ipam_vlan(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: dcim_interface_tagged_vlans dcim_interface_tagge_interface_id_5870c9e9_fk_dcim_inte; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -16497,6 +19066,14 @@ ALTER TABLE ONLY public.dcim_interface_vdcs ADD CONSTRAINT dcim_interface_vdcs_virtualdevicecontext_af0bfd4b_fk_dcim_virt FOREIGN KEY (virtualdevicecontext_id) REFERENCES public.dcim_virtualdevicecontext(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: dcim_interface dcim_interface_vlan_translation_pol_91060031_fk_ipam_vlan; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_interface + ADD CONSTRAINT dcim_interface_vlan_translation_pol_91060031_fk_ipam_vlan FOREIGN KEY (vlan_translation_policy_id) REFERENCES public.ipam_vlantranslationpolicy(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: dcim_interface dcim_interface_vrf_id_a92e59b2_fk_ipam_vrf_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -16553,6 +19130,30 @@ ALTER TABLE ONLY public.dcim_interfacetemplate ADD CONSTRAINT dcim_interfacetempla_module_type_id_f941f180_fk_dcim_modu FOREIGN KEY (module_type_id) REFERENCES public.dcim_moduletype(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: dcim_inventoryitem dcim_inventoryitem__location_id_05a23b33_fk_dcim_location_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_inventoryitem + ADD CONSTRAINT dcim_inventoryitem__location_id_05a23b33_fk_dcim_location_id FOREIGN KEY (_location_id) REFERENCES public.dcim_location(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: dcim_inventoryitem dcim_inventoryitem__rack_id_25b80d23_fk_dcim_rack_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_inventoryitem + ADD CONSTRAINT dcim_inventoryitem__rack_id_25b80d23_fk_dcim_rack_id FOREIGN KEY (_rack_id) REFERENCES public.dcim_rack(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: dcim_inventoryitem dcim_inventoryitem__site_id_cd94573b_fk_dcim_site_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_inventoryitem + ADD CONSTRAINT dcim_inventoryitem__site_id_cd94573b_fk_dcim_site_id FOREIGN KEY (_site_id) REFERENCES public.dcim_site(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: dcim_inventoryitem dcim_inventoryitem_component_type_id_f0e4d83a_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -16657,6 +19258,14 @@ ALTER TABLE ONLY public.dcim_location ADD CONSTRAINT dcim_location_tenant_id_2c4df974_fk_tenancy_tenant_id FOREIGN KEY (tenant_id) REFERENCES public.tenancy_tenant(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: dcim_macaddress dcim_macaddress_assigned_object_type_28814a20_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_macaddress + ADD CONSTRAINT dcim_macaddress_assigned_object_type_28814a20_fk_django_co FOREIGN KEY (assigned_object_type_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: dcim_module dcim_module_device_id_53cfd5be_fk_dcim_device_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -16681,6 +19290,30 @@ ALTER TABLE ONLY public.dcim_module ADD CONSTRAINT dcim_module_module_type_id_a50b39fc_fk_dcim_moduletype_id FOREIGN KEY (module_type_id) REFERENCES public.dcim_moduletype(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: dcim_modulebay dcim_modulebay__location_id_17290069_fk_dcim_location_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_modulebay + ADD CONSTRAINT dcim_modulebay__location_id_17290069_fk_dcim_location_id FOREIGN KEY (_location_id) REFERENCES public.dcim_location(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: dcim_modulebay dcim_modulebay__rack_id_673d8fb5_fk_dcim_rack_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_modulebay + ADD CONSTRAINT dcim_modulebay__rack_id_673d8fb5_fk_dcim_rack_id FOREIGN KEY (_rack_id) REFERENCES public.dcim_rack(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: dcim_modulebay dcim_modulebay__site_id_cedd61bc_fk_dcim_site_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_modulebay + ADD CONSTRAINT dcim_modulebay__site_id_cedd61bc_fk_dcim_site_id FOREIGN KEY (_site_id) REFERENCES public.dcim_site(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: dcim_modulebay dcim_modulebay_device_id_3526abc2_fk_dcim_device_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -16689,6 +19322,22 @@ ALTER TABLE ONLY public.dcim_modulebay ADD CONSTRAINT dcim_modulebay_device_id_3526abc2_fk_dcim_device_id FOREIGN KEY (device_id) REFERENCES public.dcim_device(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: dcim_modulebay dcim_modulebay_module_id_a21ddd9a_fk_dcim_module_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_modulebay + ADD CONSTRAINT dcim_modulebay_module_id_a21ddd9a_fk_dcim_module_id FOREIGN KEY (module_id) REFERENCES public.dcim_module(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: dcim_modulebay dcim_modulebay_parent_id_e483f9b7_fk_dcim_modulebay_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_modulebay + ADD CONSTRAINT dcim_modulebay_parent_id_e483f9b7_fk_dcim_modulebay_id FOREIGN KEY (parent_id) REFERENCES public.dcim_modulebay(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: dcim_modulebaytemplate dcim_modulebaytempla_device_type_id_9eaf9bd3_fk_dcim_devi; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -16697,6 +19346,14 @@ ALTER TABLE ONLY public.dcim_modulebaytemplate ADD CONSTRAINT dcim_modulebaytempla_device_type_id_9eaf9bd3_fk_dcim_devi FOREIGN KEY (device_type_id) REFERENCES public.dcim_devicetype(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: dcim_modulebaytemplate dcim_modulebaytempla_module_type_id_2fdfb491_fk_dcim_modu; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_modulebaytemplate + ADD CONSTRAINT dcim_modulebaytempla_module_type_id_2fdfb491_fk_dcim_modu FOREIGN KEY (module_type_id) REFERENCES public.dcim_moduletype(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: dcim_moduletype dcim_moduletype_manufacturer_id_7347392e_fk_dcim_manu; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -16705,20 +19362,36 @@ ALTER TABLE ONLY public.dcim_moduletype ADD CONSTRAINT dcim_moduletype_manufacturer_id_7347392e_fk_dcim_manu FOREIGN KEY (manufacturer_id) REFERENCES public.dcim_manufacturer(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: dcim_moduletype dcim_moduletype_profile_id_62b5d02d_fk_dcim_modu; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_moduletype + ADD CONSTRAINT dcim_moduletype_profile_id_62b5d02d_fk_dcim_modu FOREIGN KEY (profile_id) REFERENCES public.dcim_moduletypeprofile(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: dcim_platform dcim_platform_config_template_id_013a4d3c_fk_extras_co; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- ALTER TABLE ONLY public.dcim_platform - ADD CONSTRAINT dcim_platform_config_template_id_013a4d3c_fk_extras_co FOREIGN KEY (config_template_id) REFERENCES public.extras_configtemplate(id) DEFERRABLE INITIALLY DEFERRED; + ADD CONSTRAINT dcim_platform_config_template_id_013a4d3c_fk_extras_co FOREIGN KEY (config_template_id) REFERENCES public.extras_configtemplate(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: dcim_platform dcim_platform_manufacturer_id_83f72d3d_fk_dcim_manufacturer_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_platform + ADD CONSTRAINT dcim_platform_manufacturer_id_83f72d3d_fk_dcim_manufacturer_id FOREIGN KEY (manufacturer_id) REFERENCES public.dcim_manufacturer(id) DEFERRABLE INITIALLY DEFERRED; -- --- Name: dcim_platform dcim_platform_manufacturer_id_83f72d3d_fk_dcim_manufacturer_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- Name: dcim_platform dcim_platform_parent_id_795c7101_fk_dcim_platform_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- ALTER TABLE ONLY public.dcim_platform - ADD CONSTRAINT dcim_platform_manufacturer_id_83f72d3d_fk_dcim_manufacturer_id FOREIGN KEY (manufacturer_id) REFERENCES public.dcim_manufacturer(id) DEFERRABLE INITIALLY DEFERRED; + ADD CONSTRAINT dcim_platform_parent_id_795c7101_fk_dcim_platform_id FOREIGN KEY (parent_id) REFERENCES public.dcim_platform(id) DEFERRABLE INITIALLY DEFERRED; -- @@ -16761,6 +19434,14 @@ ALTER TABLE ONLY public.dcim_powerfeed ADD CONSTRAINT dcim_powerfeed_tenant_id_947bee85_fk_tenancy_tenant_id FOREIGN KEY (tenant_id) REFERENCES public.tenancy_tenant(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: dcim_poweroutlet dcim_poweroutlet__location_id_49563316_fk_dcim_location_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_poweroutlet + ADD CONSTRAINT dcim_poweroutlet__location_id_49563316_fk_dcim_location_id FOREIGN KEY (_location_id) REFERENCES public.dcim_location(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: dcim_poweroutlet dcim_poweroutlet__path_id_cbb47bb9_fk_dcim_cablepath_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -16769,6 +19450,22 @@ ALTER TABLE ONLY public.dcim_poweroutlet ADD CONSTRAINT dcim_poweroutlet__path_id_cbb47bb9_fk_dcim_cablepath_id FOREIGN KEY (_path_id) REFERENCES public.dcim_cablepath(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: dcim_poweroutlet dcim_poweroutlet__rack_id_aca89672_fk_dcim_rack_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_poweroutlet + ADD CONSTRAINT dcim_poweroutlet__rack_id_aca89672_fk_dcim_rack_id FOREIGN KEY (_rack_id) REFERENCES public.dcim_rack(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: dcim_poweroutlet dcim_poweroutlet__site_id_a956755e_fk_dcim_site_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_poweroutlet + ADD CONSTRAINT dcim_poweroutlet__site_id_a956755e_fk_dcim_site_id FOREIGN KEY (_site_id) REFERENCES public.dcim_site(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: dcim_poweroutlet dcim_poweroutlet_cable_id_8dbea1ec_fk_dcim_cable_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -16841,6 +19538,14 @@ ALTER TABLE ONLY public.dcim_powerpanel ADD CONSTRAINT dcim_powerpanel_site_id_c430bc89_fk_dcim_site_id FOREIGN KEY (site_id) REFERENCES public.dcim_site(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: dcim_powerport dcim_powerport__location_id_ccf995e7_fk_dcim_location_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_powerport + ADD CONSTRAINT dcim_powerport__location_id_ccf995e7_fk_dcim_location_id FOREIGN KEY (_location_id) REFERENCES public.dcim_location(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: dcim_powerport dcim_powerport__path_id_9fe4af8f_fk_dcim_cablepath_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -16849,6 +19554,22 @@ ALTER TABLE ONLY public.dcim_powerport ADD CONSTRAINT dcim_powerport__path_id_9fe4af8f_fk_dcim_cablepath_id FOREIGN KEY (_path_id) REFERENCES public.dcim_cablepath(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: dcim_powerport dcim_powerport__rack_id_4c1c316d_fk_dcim_rack_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_powerport + ADD CONSTRAINT dcim_powerport__rack_id_4c1c316d_fk_dcim_rack_id FOREIGN KEY (_rack_id) REFERENCES public.dcim_rack(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: dcim_powerport dcim_powerport__site_id_87bfa142_fk_dcim_site_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_powerport + ADD CONSTRAINT dcim_powerport__site_id_87bfa142_fk_dcim_site_id FOREIGN KEY (_site_id) REFERENCES public.dcim_site(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: dcim_powerport dcim_powerport_cable_id_c9682ba2_fk_dcim_cable_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -16897,6 +19618,14 @@ ALTER TABLE ONLY public.dcim_rack ADD CONSTRAINT dcim_rack_location_id_5f63ec31_fk_dcim_location_id FOREIGN KEY (location_id) REFERENCES public.dcim_location(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: dcim_rack dcim_rack_rack_type_id_39433a22_fk_dcim_racktype_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_rack + ADD CONSTRAINT dcim_rack_rack_type_id_39433a22_fk_dcim_racktype_id FOREIGN KEY (rack_type_id) REFERENCES public.dcim_racktype(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: dcim_rack dcim_rack_role_id_62d6919e_fk_dcim_rackrole_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -16945,6 +19674,38 @@ ALTER TABLE ONLY public.dcim_rackreservation ADD CONSTRAINT dcim_rackreservation_user_id_0785a527_fk_auth_user_id FOREIGN KEY (user_id) REFERENCES public.users_user(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: dcim_racktype dcim_racktype_manufacturer_id_d46a05c6_fk_dcim_manufacturer_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_racktype + ADD CONSTRAINT dcim_racktype_manufacturer_id_d46a05c6_fk_dcim_manufacturer_id FOREIGN KEY (manufacturer_id) REFERENCES public.dcim_manufacturer(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: dcim_rearport dcim_rearport__location_id_72554006_fk_dcim_location_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_rearport + ADD CONSTRAINT dcim_rearport__location_id_72554006_fk_dcim_location_id FOREIGN KEY (_location_id) REFERENCES public.dcim_location(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: dcim_rearport dcim_rearport__rack_id_9af9a402_fk_dcim_rack_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_rearport + ADD CONSTRAINT dcim_rearport__rack_id_9af9a402_fk_dcim_rack_id FOREIGN KEY (_rack_id) REFERENCES public.dcim_rack(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: dcim_rearport dcim_rearport__site_id_35e05ccf_fk_dcim_site_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.dcim_rearport + ADD CONSTRAINT dcim_rearport__site_id_35e05ccf_fk_dcim_site_id FOREIGN KEY (_site_id) REFERENCES public.dcim_site(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: dcim_rearport dcim_rearport_cable_id_42c0e4e7_fk_dcim_cable_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -17097,14 +19858,6 @@ ALTER TABLE ONLY public.extras_bookmark ADD CONSTRAINT extras_bookmark_user_id_cb6c6677_fk_auth_user_id FOREIGN KEY (user_id) REFERENCES public.users_user(id) DEFERRABLE INITIALLY DEFERRED; --- --- Name: extras_branch extras_branch_user_id_a6cfd338_fk_auth_user_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa --- - -ALTER TABLE ONLY public.extras_branch - ADD CONSTRAINT extras_branch_user_id_a6cfd338_fk_auth_user_id FOREIGN KEY (user_id) REFERENCES public.users_user(id) DEFERRABLE INITIALLY DEFERRED; - - -- -- Name: extras_cachedvalue extras_cachedvalue_object_type_id_6f47d444_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -17249,6 +20002,14 @@ ALTER TABLE ONLY public.extras_configcontext ADD CONSTRAINT extras_configcontext_data_file_id_8fdd620b_fk_core_datafile_id FOREIGN KEY (data_file_id) REFERENCES public.core_datafile(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: extras_configcontextprofile extras_configcontext_data_file_id_e0caf376_fk_core_data; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.extras_configcontextprofile + ADD CONSTRAINT extras_configcontext_data_file_id_e0caf376_fk_core_data FOREIGN KEY (data_file_id) REFERENCES public.core_datafile(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: extras_configcontext extras_configcontext_data_source_id_1b2eb8af_fk_core_data; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -17257,6 +20018,14 @@ ALTER TABLE ONLY public.extras_configcontext ADD CONSTRAINT extras_configcontext_data_source_id_1b2eb8af_fk_core_data FOREIGN KEY (data_source_id) REFERENCES public.core_datasource(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: extras_configcontextprofile extras_configcontext_data_source_id_b88dd849_fk_core_data; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.extras_configcontextprofile + ADD CONSTRAINT extras_configcontext_data_source_id_b88dd849_fk_core_data FOREIGN KEY (data_source_id) REFERENCES public.core_datasource(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: extras_configcontext_roles extras_configcontext_devicerole_id_d3a84813_fk_dcim_devi; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -17289,6 +20058,14 @@ ALTER TABLE ONLY public.extras_configcontext_platforms ADD CONSTRAINT extras_configcontext_platform_id_3fdfedc0_fk_dcim_plat FOREIGN KEY (platform_id) REFERENCES public.dcim_platform(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: extras_configcontext extras_configcontext_profile_id_48c7bc6a_fk_extras_co; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.extras_configcontext + ADD CONSTRAINT extras_configcontext_profile_id_48c7bc6a_fk_extras_co FOREIGN KEY (profile_id) REFERENCES public.extras_configcontextprofile(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: extras_configcontext_regions extras_configcontext_region_id_35c6ba9d_fk_dcim_regi; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -17370,11 +20147,11 @@ ALTER TABLE ONLY public.extras_customfield -- --- Name: extras_customfield_object_types extras_customfield_o_objecttype_id_5a98fa98_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- Name: extras_customfield_object_types extras_customfield_o_contenttype_id_d9167062_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- ALTER TABLE ONLY public.extras_customfield_object_types - ADD CONSTRAINT extras_customfield_o_objecttype_id_5a98fa98_fk_django_co FOREIGN KEY (objecttype_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED; + ADD CONSTRAINT extras_customfield_o_contenttype_id_d9167062_fk_django_co FOREIGN KEY (contenttype_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED; -- @@ -17394,11 +20171,11 @@ ALTER TABLE ONLY public.extras_customlink_object_types -- --- Name: extras_customlink_object_types extras_customlink_ob_objecttype_id_3ede2b99_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- Name: extras_customlink_object_types extras_customlink_ob_contenttype_id_600977f4_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- ALTER TABLE ONLY public.extras_customlink_object_types - ADD CONSTRAINT extras_customlink_ob_objecttype_id_3ede2b99_fk_django_co FOREIGN KEY (objecttype_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED; + ADD CONSTRAINT extras_customlink_ob_contenttype_id_600977f4_fk_django_co FOREIGN KEY (contenttype_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED; -- @@ -17426,35 +20203,35 @@ ALTER TABLE ONLY public.extras_eventrule_object_types -- --- Name: extras_eventrule_object_types extras_eventrule_obj_objecttype_id_7be10cf1_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- Name: extras_eventrule_object_types extras_eventrule_obj_contenttype_id_1ec4bbcc_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- ALTER TABLE ONLY public.extras_eventrule_object_types - ADD CONSTRAINT extras_eventrule_obj_objecttype_id_7be10cf1_fk_django_co FOREIGN KEY (objecttype_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED; + ADD CONSTRAINT extras_eventrule_obj_contenttype_id_1ec4bbcc_fk_django_co FOREIGN KEY (contenttype_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED; -- --- Name: extras_exporttemplate extras_exporttemplat_data_source_id_d61d0feb_fk_core_data; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- Name: extras_exporttemplate_object_types extras_exporttemplat_contenttype_id_0f034708_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- -ALTER TABLE ONLY public.extras_exporttemplate - ADD CONSTRAINT extras_exporttemplat_data_source_id_d61d0feb_fk_core_data FOREIGN KEY (data_source_id) REFERENCES public.core_datasource(id) DEFERRABLE INITIALLY DEFERRED; +ALTER TABLE ONLY public.extras_exporttemplate_object_types + ADD CONSTRAINT extras_exporttemplat_contenttype_id_0f034708_fk_django_co FOREIGN KEY (contenttype_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED; -- --- Name: extras_exporttemplate_object_types extras_exporttemplat_exporttemplate_id_7645f081_fk_extras_ex; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- Name: extras_exporttemplate extras_exporttemplat_data_source_id_d61d0feb_fk_core_data; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- -ALTER TABLE ONLY public.extras_exporttemplate_object_types - ADD CONSTRAINT extras_exporttemplat_exporttemplate_id_7645f081_fk_extras_ex FOREIGN KEY (exporttemplate_id) REFERENCES public.extras_exporttemplate(id) DEFERRABLE INITIALLY DEFERRED; +ALTER TABLE ONLY public.extras_exporttemplate + ADD CONSTRAINT extras_exporttemplat_data_source_id_d61d0feb_fk_core_data FOREIGN KEY (data_source_id) REFERENCES public.core_datasource(id) DEFERRABLE INITIALLY DEFERRED; -- --- Name: extras_exporttemplate_object_types extras_exporttemplat_objecttype_id_f19a9d52_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- Name: extras_exporttemplate_object_types extras_exporttemplat_exporttemplate_id_7645f081_fk_extras_ex; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- ALTER TABLE ONLY public.extras_exporttemplate_object_types - ADD CONSTRAINT extras_exporttemplat_objecttype_id_f19a9d52_fk_django_co FOREIGN KEY (objecttype_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED; + ADD CONSTRAINT extras_exporttemplat_exporttemplate_id_7645f081_fk_extras_ex FOREIGN KEY (exporttemplate_id) REFERENCES public.extras_exporttemplate(id) DEFERRABLE INITIALLY DEFERRED; -- @@ -17490,27 +20267,51 @@ ALTER TABLE ONLY public.extras_journalentry -- --- Name: extras_objectchange extras_objectchange_changed_object_type__b755bb60_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- Name: extras_notification extras_notification_object_type_id_2efeb525_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.extras_notification + ADD CONSTRAINT extras_notification_object_type_id_2efeb525_fk_django_co FOREIGN KEY (object_type_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: extras_notification extras_notification_user_id_4d8c96f5_fk_users_user_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.extras_notification + ADD CONSTRAINT extras_notification_user_id_4d8c96f5_fk_users_user_id FOREIGN KEY (user_id) REFERENCES public.users_user(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: extras_notificationgroup_groups extras_notificationg_group_id_af4b7b6c_fk_users_gro; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- -ALTER TABLE ONLY public.extras_objectchange - ADD CONSTRAINT extras_objectchange_changed_object_type__b755bb60_fk_django_co FOREIGN KEY (changed_object_type_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED; +ALTER TABLE ONLY public.extras_notificationgroup_groups + ADD CONSTRAINT extras_notificationg_group_id_af4b7b6c_fk_users_gro FOREIGN KEY (group_id) REFERENCES public.users_group(id) DEFERRABLE INITIALLY DEFERRED; -- --- Name: extras_objectchange extras_objectchange_related_object_type__fe6e521f_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- Name: extras_notificationgroup_users extras_notificationg_notificationgroup_id_0a8ec85c_fk_extras_no; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- -ALTER TABLE ONLY public.extras_objectchange - ADD CONSTRAINT extras_objectchange_related_object_type__fe6e521f_fk_django_co FOREIGN KEY (related_object_type_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED; +ALTER TABLE ONLY public.extras_notificationgroup_users + ADD CONSTRAINT extras_notificationg_notificationgroup_id_0a8ec85c_fk_extras_no FOREIGN KEY (notificationgroup_id) REFERENCES public.extras_notificationgroup(id) DEFERRABLE INITIALLY DEFERRED; -- --- Name: extras_objectchange extras_objectchange_user_id_7fdf8186_fk_auth_user_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- Name: extras_notificationgroup_groups extras_notificationg_notificationgroup_id_a41469f7_fk_extras_no; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- -ALTER TABLE ONLY public.extras_objectchange - ADD CONSTRAINT extras_objectchange_user_id_7fdf8186_fk_auth_user_id FOREIGN KEY (user_id) REFERENCES public.users_user(id) DEFERRABLE INITIALLY DEFERRED; +ALTER TABLE ONLY public.extras_notificationgroup_groups + ADD CONSTRAINT extras_notificationg_notificationgroup_id_a41469f7_fk_extras_no FOREIGN KEY (notificationgroup_id) REFERENCES public.extras_notificationgroup(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: extras_notificationgroup_users extras_notificationg_user_id_2c30da19_fk_users_use; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.extras_notificationgroup_users + ADD CONSTRAINT extras_notificationg_user_id_2c30da19_fk_users_use FOREIGN KEY (user_id) REFERENCES public.users_user(id) DEFERRABLE INITIALLY DEFERRED; -- @@ -17522,11 +20323,11 @@ ALTER TABLE ONLY public.extras_savedfilter_object_types -- --- Name: extras_savedfilter_object_types extras_savedfilter_o_objecttype_id_c3e201b1_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- Name: extras_savedfilter_object_types extras_savedfilter_o_contenttype_id_bbf68799_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- ALTER TABLE ONLY public.extras_savedfilter_object_types - ADD CONSTRAINT extras_savedfilter_o_objecttype_id_c3e201b1_fk_django_co FOREIGN KEY (objecttype_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED; + ADD CONSTRAINT extras_savedfilter_o_contenttype_id_bbf68799_fk_django_co FOREIGN KEY (contenttype_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED; -- @@ -17546,27 +20347,43 @@ ALTER TABLE ONLY public.extras_script -- --- Name: extras_stagedchange extras_stagedchange_branch_id_44893052_fk_extras_branch_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- Name: extras_subscription extras_subscription_object_type_id_e53297d2_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.extras_subscription + ADD CONSTRAINT extras_subscription_object_type_id_e53297d2_fk_django_co FOREIGN KEY (object_type_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: extras_subscription extras_subscription_user_id_37472a14_fk_users_user_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.extras_subscription + ADD CONSTRAINT extras_subscription_user_id_37472a14_fk_users_user_id FOREIGN KEY (user_id) REFERENCES public.users_user(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: extras_tableconfig extras_tableconfig_object_type_id_e43ad6ad_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- -ALTER TABLE ONLY public.extras_stagedchange - ADD CONSTRAINT extras_stagedchange_branch_id_44893052_fk_extras_branch_id FOREIGN KEY (branch_id) REFERENCES public.extras_branch(id) DEFERRABLE INITIALLY DEFERRED; +ALTER TABLE ONLY public.extras_tableconfig + ADD CONSTRAINT extras_tableconfig_object_type_id_e43ad6ad_fk_django_co FOREIGN KEY (object_type_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED; -- --- Name: extras_stagedchange extras_stagedchange_object_type_id_de76b05b_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- Name: extras_tableconfig extras_tableconfig_user_id_0b525dff_fk_users_user_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- -ALTER TABLE ONLY public.extras_stagedchange - ADD CONSTRAINT extras_stagedchange_object_type_id_de76b05b_fk_django_co FOREIGN KEY (object_type_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED; +ALTER TABLE ONLY public.extras_tableconfig + ADD CONSTRAINT extras_tableconfig_user_id_0b525dff_fk_users_user_id FOREIGN KEY (user_id) REFERENCES public.users_user(id) DEFERRABLE INITIALLY DEFERRED; -- --- Name: extras_tag_object_types extras_tag_object_ty_objecttype_id_ea559d06_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- Name: extras_tag_object_types extras_tag_object_ty_contenttype_id_c1b220c3_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- ALTER TABLE ONLY public.extras_tag_object_types - ADD CONSTRAINT extras_tag_object_ty_objecttype_id_ea559d06_fk_django_co FOREIGN KEY (objecttype_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED; + ADD CONSTRAINT extras_tag_object_ty_contenttype_id_c1b220c3_fk_django_co FOREIGN KEY (contenttype_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED; -- @@ -17745,6 +20562,38 @@ ALTER TABLE ONLY public.vpn_l2vpn_import_targets ADD CONSTRAINT ipam_l2vpn_import_targets_l2vpn_id_731f5bb4_fk_ipam_l2vpn_id FOREIGN KEY (l2vpn_id) REFERENCES public.vpn_l2vpn(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: ipam_prefix ipam_prefix__location_id_f5925c42_fk_dcim_location_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.ipam_prefix + ADD CONSTRAINT ipam_prefix__location_id_f5925c42_fk_dcim_location_id FOREIGN KEY (_location_id) REFERENCES public.dcim_location(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: ipam_prefix ipam_prefix__region_id_54aedc72_fk_dcim_region_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.ipam_prefix + ADD CONSTRAINT ipam_prefix__region_id_54aedc72_fk_dcim_region_id FOREIGN KEY (_region_id) REFERENCES public.dcim_region(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: ipam_prefix ipam_prefix__site_group_id_8277120b_fk_dcim_sitegroup_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.ipam_prefix + ADD CONSTRAINT ipam_prefix__site_group_id_8277120b_fk_dcim_sitegroup_id FOREIGN KEY (_site_group_id) REFERENCES public.dcim_sitegroup(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: ipam_prefix ipam_prefix__site_id_b479fb05_fk_dcim_site_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.ipam_prefix + ADD CONSTRAINT ipam_prefix__site_id_b479fb05_fk_dcim_site_id FOREIGN KEY (_site_id) REFERENCES public.dcim_site(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: ipam_prefix ipam_prefix_role_id_0a98d415_fk_ipam_role_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -17754,11 +20603,11 @@ ALTER TABLE ONLY public.ipam_prefix -- --- Name: ipam_prefix ipam_prefix_site_id_0b20df05_fk_dcim_site_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- Name: ipam_prefix ipam_prefix_scope_type_id_413319e2_fk_django_content_type_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- ALTER TABLE ONLY public.ipam_prefix - ADD CONSTRAINT ipam_prefix_site_id_0b20df05_fk_dcim_site_id FOREIGN KEY (site_id) REFERENCES public.dcim_site(id) DEFERRABLE INITIALLY DEFERRED; + ADD CONSTRAINT ipam_prefix_scope_type_id_413319e2_fk_django_content_type_id FOREIGN KEY (scope_type_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED; -- @@ -17793,14 +20642,6 @@ ALTER TABLE ONLY public.ipam_routetarget ADD CONSTRAINT ipam_routetarget_tenant_id_5a0b35e8_fk_tenancy_tenant_id FOREIGN KEY (tenant_id) REFERENCES public.tenancy_tenant(id) DEFERRABLE INITIALLY DEFERRED; --- --- Name: ipam_service ipam_service_device_id_b4d2bb9c_fk_dcim_device_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa --- - -ALTER TABLE ONLY public.ipam_service - ADD CONSTRAINT ipam_service_device_id_b4d2bb9c_fk_dcim_device_id FOREIGN KEY (device_id) REFERENCES public.dcim_device(id) DEFERRABLE INITIALLY DEFERRED; - - -- -- Name: ipam_service_ipaddresses ipam_service_ipaddre_ipaddress_id_b4138c6d_fk_ipam_ipad; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -17818,11 +20659,11 @@ ALTER TABLE ONLY public.ipam_service_ipaddresses -- --- Name: ipam_service ipam_service_virtual_machine_id_e8b53562_fk_virtualiz; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- Name: ipam_service ipam_service_parent_object_type_i_8e76bfb3_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- ALTER TABLE ONLY public.ipam_service - ADD CONSTRAINT ipam_service_virtual_machine_id_e8b53562_fk_virtualiz FOREIGN KEY (virtual_machine_id) REFERENCES public.virtualization_virtualmachine(id) DEFERRABLE INITIALLY DEFERRED; + ADD CONSTRAINT ipam_service_parent_object_type_i_8e76bfb3_fk_django_co FOREIGN KEY (parent_object_type_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED; -- @@ -17833,6 +20674,14 @@ ALTER TABLE ONLY public.ipam_vlan ADD CONSTRAINT ipam_vlan_group_id_88cbfa62_fk_ipam_vlangroup_id FOREIGN KEY (group_id) REFERENCES public.ipam_vlangroup(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: ipam_vlan ipam_vlan_qinq_svlan_id_acbd7a5d_fk_ipam_vlan_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.ipam_vlan + ADD CONSTRAINT ipam_vlan_qinq_svlan_id_acbd7a5d_fk_ipam_vlan_id FOREIGN KEY (qinq_svlan_id) REFERENCES public.ipam_vlan(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: ipam_vlan ipam_vlan_role_id_f5015962_fk_ipam_role_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -17865,6 +20714,22 @@ ALTER TABLE ONLY public.ipam_vlangroup ADD CONSTRAINT ipam_vlangroup_scope_type_id_6606a755_fk_django_content_type_id FOREIGN KEY (scope_type_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: ipam_vlangroup ipam_vlangroup_tenant_id_29197fca_fk_tenancy_tenant_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.ipam_vlangroup + ADD CONSTRAINT ipam_vlangroup_tenant_id_29197fca_fk_tenancy_tenant_id FOREIGN KEY (tenant_id) REFERENCES public.tenancy_tenant(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: ipam_vlantranslationrule ipam_vlantranslation_policy_id_09157735_fk_ipam_vlan; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.ipam_vlantranslationrule + ADD CONSTRAINT ipam_vlantranslation_policy_id_09157735_fk_ipam_vlan FOREIGN KEY (policy_id) REFERENCES public.ipam_vlantranslationpolicy(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: ipam_vrf_export_targets ipam_vrf_export_targ_routetarget_id_8d9319f7_fk_ipam_rout; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -17906,11 +20771,11 @@ ALTER TABLE ONLY public.ipam_vrf -- --- Name: social_auth_usersocialauth social_auth_usersocialauth_user_id_17d28448_fk_auth_user_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- Name: social_auth_usersocialauth social_auth_usersocialauth_user_id_17d28448_fk_users_user_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- ALTER TABLE ONLY public.social_auth_usersocialauth - ADD CONSTRAINT social_auth_usersocialauth_user_id_17d28448_fk_auth_user_id FOREIGN KEY (user_id) REFERENCES public.users_user(id) DEFERRABLE INITIALLY DEFERRED; + ADD CONSTRAINT social_auth_usersocialauth_user_id_17d28448_fk_users_user_id FOREIGN KEY (user_id) REFERENCES public.users_user(id) DEFERRABLE INITIALLY DEFERRED; -- @@ -17930,11 +20795,19 @@ ALTER TABLE ONLY public.taggit_taggeditem -- --- Name: tenancy_contact tenancy_contact_group_id_76e0267c_fk_tenancy_contactgroup_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- Name: tenancy_contact_groups tenancy_contact_grou_contact_id_84c9d84f_fk_tenancy_c; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- -ALTER TABLE ONLY public.tenancy_contact - ADD CONSTRAINT tenancy_contact_group_id_76e0267c_fk_tenancy_contactgroup_id FOREIGN KEY (group_id) REFERENCES public.tenancy_contactgroup(id) DEFERRABLE INITIALLY DEFERRED; +ALTER TABLE ONLY public.tenancy_contact_groups + ADD CONSTRAINT tenancy_contact_grou_contact_id_84c9d84f_fk_tenancy_c FOREIGN KEY (contact_id) REFERENCES public.tenancy_contact(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: tenancy_contact_groups tenancy_contact_grou_contactgroup_id_5c8d6c5a_fk_tenancy_c; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.tenancy_contact_groups + ADD CONSTRAINT tenancy_contact_grou_contactgroup_id_5c8d6c5a_fk_tenancy_c FOREIGN KEY (contactgroup_id) REFERENCES public.tenancy_contactgroup(id) DEFERRABLE INITIALLY DEFERRED; -- @@ -18018,19 +20891,19 @@ ALTER TABLE ONLY public.users_group_permissions -- --- Name: users_objectpermission_object_types users_objectpermissi_objectpermission_id_38c7d8f5_fk_users_obj; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- Name: users_objectpermission_object_types users_objectpermissi_contenttype_id_594b1cc7_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- ALTER TABLE ONLY public.users_objectpermission_object_types - ADD CONSTRAINT users_objectpermissi_objectpermission_id_38c7d8f5_fk_users_obj FOREIGN KEY (objectpermission_id) REFERENCES public.users_objectpermission(id) DEFERRABLE INITIALLY DEFERRED; + ADD CONSTRAINT users_objectpermissi_contenttype_id_594b1cc7_fk_django_co FOREIGN KEY (contenttype_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED; -- --- Name: users_objectpermission_object_types users_objectpermissi_objecttype_id_335c084d_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- Name: users_objectpermission_object_types users_objectpermissi_objectpermission_id_38c7d8f5_fk_users_obj; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- ALTER TABLE ONLY public.users_objectpermission_object_types - ADD CONSTRAINT users_objectpermissi_objecttype_id_335c084d_fk_django_co FOREIGN KEY (objecttype_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED; + ADD CONSTRAINT users_objectpermissi_objectpermission_id_38c7d8f5_fk_users_obj FOREIGN KEY (objectpermission_id) REFERENCES public.users_objectpermission(id) DEFERRABLE INITIALLY DEFERRED; -- @@ -18073,6 +20946,22 @@ ALTER TABLE ONLY public.users_userconfig ADD CONSTRAINT users_userconfig_user_id_afd44184_fk_auth_user_id FOREIGN KEY (user_id) REFERENCES public.users_user(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: virtualization_cluster virtualization_clust__location_id_f553e386_fk_dcim_loca; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.virtualization_cluster + ADD CONSTRAINT virtualization_clust__location_id_f553e386_fk_dcim_loca FOREIGN KEY (_location_id) REFERENCES public.dcim_location(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: virtualization_cluster virtualization_clust__site_group_id_7d9bff8f_fk_dcim_site; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.virtualization_cluster + ADD CONSTRAINT virtualization_clust__site_group_id_7d9bff8f_fk_dcim_site FOREIGN KEY (_site_group_id) REFERENCES public.dcim_sitegroup(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: virtualization_cluster virtualization_clust_group_id_de379828_fk_virtualiz; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -18081,6 +20970,14 @@ ALTER TABLE ONLY public.virtualization_cluster ADD CONSTRAINT virtualization_clust_group_id_de379828_fk_virtualiz FOREIGN KEY (group_id) REFERENCES public.virtualization_clustergroup(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: virtualization_cluster virtualization_clust_scope_type_id_c49d797a_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.virtualization_cluster + ADD CONSTRAINT virtualization_clust_scope_type_id_c49d797a_fk_django_co FOREIGN KEY (scope_type_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: virtualization_cluster virtualization_clust_type_id_4efafb0a_fk_virtualiz; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -18090,11 +20987,19 @@ ALTER TABLE ONLY public.virtualization_cluster -- --- Name: virtualization_cluster virtualization_cluster_site_id_4d5af282_fk_dcim_site_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- Name: virtualization_cluster virtualization_cluster__region_id_9244325e_fk_dcim_region_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.virtualization_cluster + ADD CONSTRAINT virtualization_cluster__region_id_9244325e_fk_dcim_region_id FOREIGN KEY (_region_id) REFERENCES public.dcim_region(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: virtualization_cluster virtualization_cluster__site_id_883df848_fk_dcim_site_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- ALTER TABLE ONLY public.virtualization_cluster - ADD CONSTRAINT virtualization_cluster_site_id_4d5af282_fk_dcim_site_id FOREIGN KEY (site_id) REFERENCES public.dcim_site(id) DEFERRABLE INITIALLY DEFERRED; + ADD CONSTRAINT virtualization_cluster__site_id_883df848_fk_dcim_site_id FOREIGN KEY (_site_id) REFERENCES public.dcim_site(id) DEFERRABLE INITIALLY DEFERRED; -- @@ -18201,6 +21106,22 @@ ALTER TABLE ONLY public.virtualization_vminterface ADD CONSTRAINT virtualization_vmint_parent_id_f86958e1_fk_virtualiz FOREIGN KEY (parent_id) REFERENCES public.virtualization_vminterface(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: virtualization_vminterface virtualization_vmint_primary_mac_address__7a6c9b66_fk_dcim_maca; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.virtualization_vminterface + ADD CONSTRAINT virtualization_vmint_primary_mac_address__7a6c9b66_fk_dcim_maca FOREIGN KEY (primary_mac_address_id) REFERENCES public.dcim_macaddress(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: virtualization_vminterface virtualization_vmint_qinq_svlan_id_afacb024_fk_ipam_vlan; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.virtualization_vminterface + ADD CONSTRAINT virtualization_vmint_qinq_svlan_id_afacb024_fk_ipam_vlan FOREIGN KEY (qinq_svlan_id) REFERENCES public.ipam_vlan(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: virtualization_vminterface virtualization_vmint_untagged_vlan_id_aea4fc69_fk_ipam_vlan; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -18225,6 +21146,14 @@ ALTER TABLE ONLY public.virtualization_vminterface_tagged_vlans ADD CONSTRAINT virtualization_vmint_vlan_id_4e77411e_fk_ipam_vlan FOREIGN KEY (vlan_id) REFERENCES public.ipam_vlan(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: virtualization_vminterface virtualization_vmint_vlan_translation_pol_938e6637_fk_ipam_vlan; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.virtualization_vminterface + ADD CONSTRAINT virtualization_vmint_vlan_translation_pol_938e6637_fk_ipam_vlan FOREIGN KEY (vlan_translation_policy_id) REFERENCES public.ipam_vlantranslationpolicy(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: virtualization_vminterface_tagged_vlans virtualization_vmint_vminterface_id_904b12de_fk_virtualiz; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -18361,6 +21290,38 @@ ALTER TABLE ONLY public.vpn_tunneltermination ADD CONSTRAINT vpn_tunneltermination_tunnel_id_962efa25_fk_vpn_tunnel_id FOREIGN KEY (tunnel_id) REFERENCES public.vpn_tunnel(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: wireless_wirelesslan wireless_wirelesslan__location_id_c742912f_fk_dcim_location_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.wireless_wirelesslan + ADD CONSTRAINT wireless_wirelesslan__location_id_c742912f_fk_dcim_location_id FOREIGN KEY (_location_id) REFERENCES public.dcim_location(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: wireless_wirelesslan wireless_wirelesslan__region_id_fd2a93ee_fk_dcim_region_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.wireless_wirelesslan + ADD CONSTRAINT wireless_wirelesslan__region_id_fd2a93ee_fk_dcim_region_id FOREIGN KEY (_region_id) REFERENCES public.dcim_region(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: wireless_wirelesslan wireless_wirelesslan__site_group_id_d61285cc_fk_dcim_site; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.wireless_wirelesslan + ADD CONSTRAINT wireless_wirelesslan__site_group_id_d61285cc_fk_dcim_site FOREIGN KEY (_site_group_id) REFERENCES public.dcim_sitegroup(id) DEFERRABLE INITIALLY DEFERRED; + + +-- +-- Name: wireless_wirelesslan wireless_wirelesslan__site_id_5dce5f6f_fk_dcim_site_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.wireless_wirelesslan + ADD CONSTRAINT wireless_wirelesslan__site_id_5dce5f6f_fk_dcim_site_id FOREIGN KEY (_site_id) REFERENCES public.dcim_site(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: wireless_wirelesslan wireless_wirelesslan_group_id_d9e3d67f_fk_wireless_; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- @@ -18377,6 +21338,14 @@ ALTER TABLE ONLY public.wireless_wirelesslangroup ADD CONSTRAINT wireless_wirelesslan_parent_id_37ca8b87_fk_wireless_ FOREIGN KEY (parent_id) REFERENCES public.wireless_wirelesslangroup(id) DEFERRABLE INITIALLY DEFERRED; +-- +-- Name: wireless_wirelesslan wireless_wirelesslan_scope_type_id_c3e37d35_fk_django_co; Type: FK CONSTRAINT; Schema: public; Owner: nwa +-- + +ALTER TABLE ONLY public.wireless_wirelesslan + ADD CONSTRAINT wireless_wirelesslan_scope_type_id_c3e37d35_fk_django_co FOREIGN KEY (scope_type_id) REFERENCES public.django_content_type(id) DEFERRABLE INITIALLY DEFERRED; + + -- -- Name: wireless_wirelesslan wireless_wirelesslan_tenant_id_5dfee941_fk_tenancy_tenant_id; Type: FK CONSTRAINT; Schema: public; Owner: nwa -- From 6119415e56cba9f3bd8cd4600f3b577e0072e67f Mon Sep 17 00:00:00 2001 From: Mark90 Date: Fri, 6 Feb 2026 12:37:10 +0100 Subject: [PATCH 2/7] Add pre-commit hooks --- .pre-commit-config.yaml | 12 ++++++ pyproject.toml | 26 +++++++----- uv.lock | 90 ++++++++++++++++++++++++++++++++++++++++- 3 files changed, 117 insertions(+), 11 deletions(-) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..1cd4ef9 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,12 @@ +# .pre-commit-config.yaml +repos: + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.15.0 # pin to a specific Ruff version + hooks: + # Ruff linting (includes some type-related rules if enabled in your config) + - id: ruff-check + args: + - --fix + + # Ruff formatting + - id: ruff-format diff --git a/pyproject.toml b/pyproject.toml index 8e05b1c..d9b681a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,13 +9,6 @@ dependencies = [ "rich==13.9.4", ] -[tool.black] -line-length = 120 - -[tool.isort] -profile = "black" -line_length = 120 - [tool.ruff] # Exclude a variety of commonly ignored directories. exclude = [ @@ -47,14 +40,27 @@ exclude = [ "venv", ] -# Same as Black. line-length = 120 indent-width = 4 - -# Assume Python 3.9 target-version = "py313" + +[tool.ruff.lint.flake8-tidy-imports] +ban-relative-imports = "all" + +[tool.ruff.lint.pydocstyle] +convention = "google" + +[tool.ruff.lint.isort] +known-third-party = ["pynso", "pydantic"] +known-first-party = [ + "nwastdlib", + "oauth2_lib", + "pydantic_forms", +] + [dependency-groups] dev = [ + "pre-commit>=4.5.1", "ruff>=0.15.0", ] diff --git a/uv.lock b/uv.lock index 4867602..2ee2472 100644 --- a/uv.lock +++ b/uv.lock @@ -123,6 +123,15 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/7c/fc/6a8cb64e5f0324877d503c854da15d76c1e50eb722e320b15345c4d0c6de/cffi-1.17.1-cp313-cp313-win_amd64.whl", hash = "sha256:f6a16c31041f09ead72d69f583767292f750d24913dadacf5756b966aacb3f1a", size = 182009, upload-time = "2024-09-04T20:44:45.309Z" }, ] +[[package]] +name = "cfgv" +version = "3.5.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/4e/b5/721b8799b04bf9afe054a3899c6cf4e880fcf8563cc71c15610242490a0c/cfgv-3.5.0.tar.gz", hash = "sha256:d5b1034354820651caa73ede66a6294d6e95c1b00acc5e9b098e917404669132", size = 7334, upload-time = "2025-11-19T20:55:51.612Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/db/3c/33bac158f8ab7f89b2e59426d5fe2e4f63f7ed25df84c036890172b412b5/cfgv-3.5.0-py2.py3-none-any.whl", hash = "sha256:a8dc6b26ad22ff227d2634a65cb388215ce6cc96bbcc5cfde7641ae87e8dacc0", size = 7445, upload-time = "2025-11-19T20:55:50.744Z" }, +] + [[package]] name = "charset-normalizer" version = "3.4.3" @@ -243,6 +252,15 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/6e/c6/ac0b6c1e2d138f1002bcf799d330bd6d85084fece321e662a14223794041/Deprecated-1.2.18-py2.py3-none-any.whl", hash = "sha256:bd5011788200372a32418f888e326a09ff80d0214bd961147cfed01b5c018eec", size = 9998, upload-time = "2025-01-27T10:46:09.186Z" }, ] +[[package]] +name = "distlib" +version = "0.4.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/96/8e/709914eb2b5749865801041647dc7f4e6d00b549cfe88b65ca192995f07c/distlib-0.4.0.tar.gz", hash = "sha256:feec40075be03a04501a973d81f633735b4b69f98b05450592310c0f401a4e0d", size = 614605, upload-time = "2025-07-17T16:52:00.465Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/33/6b/e0547afaf41bf2c42e52430072fa5658766e3d65bd4b03a563d1b6336f57/distlib-0.4.0-py2.py3-none-any.whl", hash = "sha256:9659f7d87e46584a30b5780e43ac7a2143098441670ff0a49d5f9034c54a6c16", size = 469047, upload-time = "2025-07-17T16:51:58.613Z" }, +] + [[package]] name = "dnspython" version = "2.7.0" @@ -278,6 +296,7 @@ dependencies = [ [package.dev-dependencies] dev = [ + { name = "pre-commit" }, { name = "ruff" }, ] @@ -290,7 +309,10 @@ requires-dist = [ ] [package.metadata.requires-dev] -dev = [{ name = "ruff", specifier = ">=0.15.0" }] +dev = [ + { name = "pre-commit", specifier = ">=4.5.1" }, + { name = "ruff", specifier = ">=0.15.0" }, +] [[package]] name = "fastapi" @@ -316,6 +338,15 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/4c/c6/b7623533c1ae6e55f23792218c1ad692924f2d4c666053e5c433978aa7c6/fastapi_etag-0.4.0-py3-none-any.whl", hash = "sha256:9d9ad27ccb63dc9d615f499bcdcf898f95d9c1ce4aebe6f7bbe3575030f2fd97", size = 4625, upload-time = "2021-06-23T14:11:22.505Z" }, ] +[[package]] +name = "filelock" +version = "3.20.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/1d/65/ce7f1b70157833bf3cb851b556a37d4547ceafc158aa9b34b36782f23696/filelock-3.20.3.tar.gz", hash = "sha256:18c57ee915c7ec61cff0ecf7f0f869936c7c30191bb0cf406f1341778d0834e1", size = 19485, upload-time = "2026-01-09T17:55:05.421Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b5/36/7fb70f04bf00bc646cd5bb45aa9eddb15e19437a28b8fb2b4a5249fac770/filelock-3.20.3-py3-none-any.whl", hash = "sha256:4b0dda527ee31078689fc205ec4f1c1bf7d56cf88b6dc9426c4f230e46c2dce1", size = 16701, upload-time = "2026-01-09T17:55:04.334Z" }, +] + [[package]] name = "graphql-core" version = "3.2.6" @@ -449,6 +480,15 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/48/30/47d0bf6072f7252e6521f3447ccfa40b421b6824517f82854703d0f5a98b/hyperframe-6.1.0-py3-none-any.whl", hash = "sha256:b03380493a519fce58ea5af42e4a42317bf9bd425596f7a0835ffce80f1a42e5", size = 13007, upload-time = "2025-01-22T21:41:47.295Z" }, ] +[[package]] +name = "identify" +version = "2.6.16" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/5b/8d/e8b97e6bd3fb6fb271346f7981362f1e04d6a7463abd0de79e1fda17c067/identify-2.6.16.tar.gz", hash = "sha256:846857203b5511bbe94d5a352a48ef2359532bc8f6727b5544077a0dcfb24980", size = 99360, upload-time = "2026-01-12T18:58:58.201Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b8/58/40fbbcefeda82364720eba5cf2270f98496bdfa19ea75b4cccae79c698e6/identify-2.6.16-py2.py3-none-any.whl", hash = "sha256:391ee4d77741d994189522896270b787aed8670389bfd60f326d677d64a6dfb0", size = 99202, upload-time = "2026-01-12T18:58:56.627Z" }, +] + [[package]] name = "idna" version = "3.10" @@ -571,6 +611,15 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/a4/8e/469e5a4a2f5855992e425f3cb33804cc07bf18d48f2db061aec61ce50270/more_itertools-10.8.0-py3-none-any.whl", hash = "sha256:52d4362373dcf7c52546bc4af9a86ee7c4579df9a8dc268be0a2f949d376cc9b", size = 69667, upload-time = "2025-09-02T15:23:09.635Z" }, ] +[[package]] +name = "nodeenv" +version = "1.10.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/24/bf/d1bda4f6168e0b2e9e5958945e01910052158313224ada5ce1fb2e1113b8/nodeenv-1.10.0.tar.gz", hash = "sha256:996c191ad80897d076bdfba80a41994c2b47c68e224c542b48feba42ba00f8bb", size = 55611, upload-time = "2025-12-20T14:08:54.006Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/88/b2/d0896bdcdc8d28a7fc5717c305f1a861c26e18c05047949fb371034d98bd/nodeenv-1.10.0-py2.py3-none-any.whl", hash = "sha256:5bb13e3eed2923615535339b3c620e76779af4cb4c6a90deccc9e36b274d3827", size = 23438, upload-time = "2025-12-20T14:08:52.782Z" }, +] + [[package]] name = "numpy" version = "2.3.4" @@ -762,6 +811,31 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/bf/21/b5735d5982892c878ff3d01bb06e018c43fc204428361ee9fc25a1b2125c/pgvector-0.4.1-py3-none-any.whl", hash = "sha256:34bb4e99e1b13d08a2fe82dda9f860f15ddcd0166fbb25bffe15821cbfeb7362", size = 27086, upload-time = "2025-04-26T18:56:35.956Z" }, ] +[[package]] +name = "platformdirs" +version = "4.5.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/cf/86/0248f086a84f01b37aaec0fa567b397df1a119f73c16f6c7a9aac73ea309/platformdirs-4.5.1.tar.gz", hash = "sha256:61d5cdcc6065745cdd94f0f878977f8de9437be93de97c1c12f853c9c0cdcbda", size = 21715, upload-time = "2025-12-05T13:52:58.638Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/cb/28/3bfe2fa5a7b9c46fe7e13c97bda14c895fb10fa2ebf1d0abb90e0cea7ee1/platformdirs-4.5.1-py3-none-any.whl", hash = "sha256:d03afa3963c806a9bed9d5125c8f4cb2fdaf74a55ab60e5d59b3fde758104d31", size = 18731, upload-time = "2025-12-05T13:52:56.823Z" }, +] + +[[package]] +name = "pre-commit" +version = "4.5.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "cfgv" }, + { name = "identify" }, + { name = "nodeenv" }, + { name = "pyyaml" }, + { name = "virtualenv" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/40/f1/6d86a29246dfd2e9b6237f0b5823717f60cad94d47ddc26afa916d21f525/pre_commit-4.5.1.tar.gz", hash = "sha256:eb545fcff725875197837263e977ea257a402056661f09dae08e4b149b030a61", size = 198232, upload-time = "2025-12-16T21:14:33.552Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/5d/19/fd3ef348460c80af7bb4669ea7926651d1f95c23ff2df18b9d24bab4f3fa/pre_commit-4.5.1-py2.py3-none-any.whl", hash = "sha256:3b3afd891e97337708c1674210f8eba659b52a38ea5f822ff142d10786221f77", size = 226437, upload-time = "2025-12-16T21:14:32.409Z" }, +] + [[package]] name = "prometheus-client" version = "0.24.1" @@ -1330,6 +1404,20 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/63/9a/0962b05b308494e3202d3f794a6e85abe471fe3cafdbcf95c2e8c713aabd/uvloop-0.21.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:a5c39f217ab3c663dc699c04cbd50c13813e31d917642d459fdcec07555cc553", size = 4660018, upload-time = "2024-10-14T23:38:10.888Z" }, ] +[[package]] +name = "virtualenv" +version = "20.36.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "distlib" }, + { name = "filelock" }, + { name = "platformdirs" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/aa/a3/4d310fa5f00863544e1d0f4de93bddec248499ccf97d4791bc3122c9d4f3/virtualenv-20.36.1.tar.gz", hash = "sha256:8befb5c81842c641f8ee658481e42641c68b5eab3521d8e092d18320902466ba", size = 6032239, upload-time = "2026-01-09T18:21:01.296Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6a/2a/dc2228b2888f51192c7dc766106cd475f1b768c10caaf9727659726f7391/virtualenv-20.36.1-py3-none-any.whl", hash = "sha256:575a8d6b124ef88f6f51d56d656132389f961062a9177016a50e4f507bbcc19f", size = 6008258, upload-time = "2026-01-09T18:20:59.425Z" }, +] + [[package]] name = "watchfiles" version = "1.1.0" From 5809b73d4aec68f180d25d2451288250fd6d25ef Mon Sep 17 00:00:00 2001 From: Mark90 Date: Fri, 6 Feb 2026 12:52:16 +0100 Subject: [PATCH 3/7] Run ruff check on all files --- docker/netbox/patch_federation.py | 2 +- graphql_federation.py | 2 +- main.py | 3 ++- migrations/env.py | 3 +-- ..._0e8d17ce0f06_reconcile_workflows_l2vpn.py | 2 +- products/__init__.py | 2 +- products/product_blocks/port.py | 2 +- products/product_blocks/sap.py | 2 +- products/product_types/node.py | 2 +- products/product_types/nsip2p.py | 1 - products/product_types/nsistp.py | 2 +- pyproject.toml | 7 ++++++ services/lso_client.py | 1 + workflows/core_link/create_core_link.py | 6 ++--- workflows/core_link/modify_core_link.py | 4 ++-- workflows/core_link/terminate_core_link.py | 6 ++--- workflows/core_link/validate_core_link.py | 2 +- workflows/l2vpn/create_l2vpn.py | 24 ++++++++++++------- workflows/l2vpn/modify_l2vpn.py | 4 ++-- workflows/l2vpn/shared/forms.py | 2 +- workflows/l2vpn/terminate_l2vpn.py | 6 ++--- workflows/l2vpn/validate_l2vpn.py | 2 +- workflows/node/create_node.py | 6 ++--- workflows/node/modify_node.py | 6 ++--- workflows/node/modify_sync_ports.py | 2 +- workflows/node/shared/forms.py | 3 +-- workflows/node/shared/steps.py | 2 +- workflows/node/terminate_node.py | 4 ++-- workflows/node/validate_node.py | 2 +- workflows/nsip2p/create_nsip2p.py | 23 +++++++++++------- workflows/nsip2p/modify_nsip2p.py | 4 ++-- workflows/nsip2p/terminate_nsip2p.py | 4 ++-- workflows/nsip2p/validate_nsip2p.py | 2 +- workflows/nsistp/create_nsistp.py | 9 ++++--- workflows/nsistp/modify_nsistp.py | 4 ++-- workflows/nsistp/shared/forms.py | 6 ++--- workflows/nsistp/terminate_nsistp.py | 2 +- workflows/nsistp/validate_nsistp.py | 2 +- workflows/port/create_port.py | 6 ++--- workflows/port/modify_port.py | 6 ++--- workflows/port/shared/forms.py | 3 +-- workflows/port/shared/steps.py | 2 +- workflows/port/terminate_port.py | 4 ++-- workflows/port/validate_port.py | 2 +- workflows/shared.py | 14 +++++------ workflows/tasks/bootstrap_netbox.py | 2 +- workflows/tasks/wipe_netbox.py | 2 +- wsgi.py | 2 +- 48 files changed, 113 insertions(+), 98 deletions(-) diff --git a/docker/netbox/patch_federation.py b/docker/netbox/patch_federation.py index c27bf4a..ebe30da 100644 --- a/docker/netbox/patch_federation.py +++ b/docker/netbox/patch_federation.py @@ -10,7 +10,7 @@ def resolve_reference(cls, id: strawberry.ID) -> '{type_name}': return models.{model_name}.objects.get(pk=id) ''' -type_directives = f"directives=[Key(fields=key, resolvable=UNSET) for key in ['id']]," +type_directives = "directives=[Key(fields=key, resolvable=UNSET) for key in ['id']]," def insert_import(text: str, import_stmt: str) -> str: diff --git a/graphql_federation.py b/graphql_federation.py index 869bf9e..5f25a6b 100644 --- a/graphql_federation.py +++ b/graphql_federation.py @@ -11,8 +11,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -from orchestrator.graphql.schemas import DEFAULT_GRAPHQL_MODELS import strawberry +from orchestrator.graphql.schemas import DEFAULT_GRAPHQL_MODELS from products.product_blocks.node import NodeBlockInactive as _NodeBlockInactive diff --git a/main.py b/main.py index d9f1d13..98a9a51 100644 --- a/main.py +++ b/main.py @@ -12,12 +12,13 @@ # limitations under the License. import typer -from nwastdlib.logging import initialise_logging from orchestrator import app_settings from orchestrator.cli.main import app as core_cli from orchestrator.db import init_database from orchestrator.log_config import LOGGER_OVERRIDES +from nwastdlib.logging import initialise_logging + def init_cli_app() -> typer.Typer: initialise_logging(LOGGER_OVERRIDES) diff --git a/migrations/env.py b/migrations/env.py index 122e678..6f36a3a 100644 --- a/migrations/env.py +++ b/migrations/env.py @@ -1,9 +1,8 @@ import structlog from alembic import context -from sqlalchemy import engine_from_config, pool - from orchestrator.db.database import BaseModel from orchestrator.settings import app_settings +from sqlalchemy import engine_from_config, pool # this is the Alembic Config object, which provides # access to the values within the .ini file in use. diff --git a/migrations/versions/schema/2025-08-28_0e8d17ce0f06_reconcile_workflows_l2vpn.py b/migrations/versions/schema/2025-08-28_0e8d17ce0f06_reconcile_workflows_l2vpn.py index 08a919c..2650824 100644 --- a/migrations/versions/schema/2025-08-28_0e8d17ce0f06_reconcile_workflows_l2vpn.py +++ b/migrations/versions/schema/2025-08-28_0e8d17ce0f06_reconcile_workflows_l2vpn.py @@ -7,6 +7,7 @@ """ from alembic import op +from orchestrator.migrations.helpers import create_workflow, delete_workflow # revision identifiers, used by Alembic. revision = "0e8d17ce0f06" @@ -15,7 +16,6 @@ depends_on = None -from orchestrator.migrations.helpers import create_workflow, delete_workflow new_workflows = [ { diff --git a/products/__init__.py b/products/__init__.py index acce567..322caf1 100644 --- a/products/__init__.py +++ b/products/__init__.py @@ -17,8 +17,8 @@ from products.product_types.core_link import CoreLink from products.product_types.l2vpn import L2vpn from products.product_types.node import Node -from products.product_types.nsistp import Nsistp from products.product_types.nsip2p import Nsip2p +from products.product_types.nsistp import Nsistp from products.product_types.port import Port SUBSCRIPTION_MODEL_REGISTRY.update( diff --git a/products/product_blocks/port.py b/products/product_blocks/port.py index 23e1a67..7c49de9 100644 --- a/products/product_blocks/port.py +++ b/products/product_blocks/port.py @@ -17,9 +17,9 @@ from orchestrator.domain.base import ProductBlockModel from orchestrator.types import SubscriptionLifecycle from pydantic import computed_field -from pydantic_forms.types import strEnum from products.product_blocks.node import NodeBlock, NodeBlockInactive, NodeBlockProvisioning +from pydantic_forms.types import strEnum class PortMode(strEnum): diff --git a/products/product_blocks/sap.py b/products/product_blocks/sap.py index 398c573..f55197f 100644 --- a/products/product_blocks/sap.py +++ b/products/product_blocks/sap.py @@ -12,11 +12,11 @@ # limitations under the License. -from nwastdlib.vlans import VlanRanges from orchestrator.domain.base import ProductBlockModel from orchestrator.types import SubscriptionLifecycle from pydantic import computed_field +from nwastdlib.vlans import VlanRanges from products.product_blocks.port import PortBlock, PortBlockInactive, PortBlockProvisioning diff --git a/products/product_types/node.py b/products/product_types/node.py index bd7875f..935dabc 100644 --- a/products/product_types/node.py +++ b/products/product_types/node.py @@ -14,9 +14,9 @@ from orchestrator.domain.base import SubscriptionModel from orchestrator.types import SubscriptionLifecycle -from pydantic_forms.types import strEnum from products.product_blocks.node import NodeBlock, NodeBlockInactive, NodeBlockProvisioning +from pydantic_forms.types import strEnum class Node_Type(strEnum): diff --git a/products/product_types/nsip2p.py b/products/product_types/nsip2p.py index e16f88e..e59a1a7 100644 --- a/products/product_types/nsip2p.py +++ b/products/product_types/nsip2p.py @@ -15,7 +15,6 @@ from orchestrator.types import SubscriptionLifecycle from pydantic import model_validator -from products.product_blocks.sap import SAPBlockInactive, SAPBlockProvisioning from products.product_blocks.virtual_circuit import ( VirtualCircuitBlock, VirtualCircuitBlockInactive, diff --git a/products/product_types/nsistp.py b/products/product_types/nsistp.py index 2a73e9f..97c0562 100644 --- a/products/product_types/nsistp.py +++ b/products/product_types/nsistp.py @@ -12,10 +12,10 @@ # limitations under the License. -from nwastdlib.vlans import VlanRanges from orchestrator.domain.base import SubscriptionModel from orchestrator.types import SubscriptionLifecycle +from nwastdlib.vlans import VlanRanges from products.product_blocks.nsistp import NsistpBlock, NsistpBlockInactive, NsistpBlockProvisioning diff --git a/pyproject.toml b/pyproject.toml index d9b681a..f655dc3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,6 +44,13 @@ line-length = 120 indent-width = 4 target-version = "py313" +[tool.ruff.lint] +exclude = [ + "docker/netbox/configuration/**", +] +select = [ + "I", +] [tool.ruff.lint.flake8-tidy-imports] ban-relative-imports = "all" diff --git a/services/lso_client.py b/services/lso_client.py index 39ad957..98dfc88 100644 --- a/services/lso_client.py +++ b/services/lso_client.py @@ -25,6 +25,7 @@ from orchestrator.config.assignee import Assignee from orchestrator.utils.errors import ProcessFailureError from orchestrator.workflow import Step, StepList, begin, callback_step, conditional, inputstep + from pydantic_forms.core import FormPage from pydantic_forms.types import FormGenerator, State from pydantic_forms.validators import LongText diff --git a/workflows/core_link/create_core_link.py b/workflows/core_link/create_core_link.py index 21fd1a3..807265c 100644 --- a/workflows/core_link/create_core_link.py +++ b/workflows/core_link/create_core_link.py @@ -25,14 +25,14 @@ from orchestrator.workflows.steps import store_process_subscription from orchestrator.workflows.utils import create_workflow from pydantic import ConfigDict, model_validator -from pydantic_forms.core import FormPage -from pydantic_forms.types import FormGenerator, State, UUIDstr -from pydantic_forms.validators import Choice from products.product_types.core_link import CoreLinkInactive, CoreLinkProvisioning from products.product_types.node import Node from products.services.description import description from products.services.netbox.netbox import build_payload +from pydantic_forms.core import FormPage +from pydantic_forms.types import FormGenerator, State, UUIDstr +from pydantic_forms.validators import Choice from services import netbox from services.lso_client import execute_playbook, lso_interaction from settings import settings diff --git a/workflows/core_link/modify_core_link.py b/workflows/core_link/modify_core_link.py index 3c4e4f8..3a71d59 100644 --- a/workflows/core_link/modify_core_link.py +++ b/workflows/core_link/modify_core_link.py @@ -14,11 +14,11 @@ from orchestrator.workflow import StepList, begin, step from orchestrator.workflows.utils import ensure_provisioning_status, modify_workflow -from pydantic_forms.core import FormPage -from pydantic_forms.types import FormGenerator, State, UUIDstr from products.product_types.core_link import CoreLink, CoreLinkProvisioning from products.services.description import description +from pydantic_forms.core import FormPage +from pydantic_forms.types import FormGenerator, State, UUIDstr from workflows.shared import modify_summary_form diff --git a/workflows/core_link/terminate_core_link.py b/workflows/core_link/terminate_core_link.py index 6a61ad4..b7a509a 100644 --- a/workflows/core_link/terminate_core_link.py +++ b/workflows/core_link/terminate_core_link.py @@ -16,12 +16,12 @@ from orchestrator.utils.json import json_dumps from orchestrator.workflow import StepList, begin, step from orchestrator.workflows.utils import terminate_workflow -from pydantic_forms.core import FormPage -from pydantic_forms.types import InputForm, State, UUIDstr -from pydantic_forms.validators import DisplaySubscription from products.product_types.core_link import CoreLink from products.services.netbox.netbox import build_payload +from pydantic_forms.core import FormPage +from pydantic_forms.types import InputForm, State, UUIDstr +from pydantic_forms.validators import DisplaySubscription from services import netbox from services.lso_client import execute_playbook, lso_interaction diff --git a/workflows/core_link/validate_core_link.py b/workflows/core_link/validate_core_link.py index 22cffda..9fc98a5 100644 --- a/workflows/core_link/validate_core_link.py +++ b/workflows/core_link/validate_core_link.py @@ -14,9 +14,9 @@ from orchestrator.workflow import StepList, begin, step from orchestrator.workflows.utils import validate_workflow -from pydantic_forms.types import State from products.product_types.core_link import CoreLink +from pydantic_forms.types import State @step("validate core link in IMS") diff --git a/workflows/l2vpn/create_l2vpn.py b/workflows/l2vpn/create_l2vpn.py index 5f3142c..444741e 100644 --- a/workflows/l2vpn/create_l2vpn.py +++ b/workflows/l2vpn/create_l2vpn.py @@ -14,29 +14,35 @@ import uuid from functools import partial +from random import randrange +from typing import Annotated, TypeAlias, cast from more_itertools.more import unzip -from nwastdlib.vlans import VlanRanges from orchestrator.targets import Target from orchestrator.types import SubscriptionLifecycle from orchestrator.workflow import StepList, begin, step from orchestrator.workflows.steps import store_process_subscription from orchestrator.workflows.utils import create_workflow from pydantic import AfterValidator, ConfigDict -from pydantic_forms.core import FormPage -from pydantic_forms.types import FormGenerator, State, UUIDstr -from pydantic_forms.validators import Choice -from random import randrange -from typing import Annotated, TypeAlias, cast +from nwastdlib.vlans import VlanRanges from products.product_blocks.sap import SAPBlockInactive from products.product_types.l2vpn import L2vpnInactive, L2vpnProvisioning from products.product_types.port import Port from products.services.description import description +from pydantic_forms.core import FormPage +from pydantic_forms.types import FormGenerator, State, UUIDstr +from pydantic_forms.validators import Choice from workflows.l2vpn.shared.forms import ports_selector -from workflows.shared import AllowedNumberOfL2vpnPorts, validate_vlan, \ - validate_vlan_not_in_use, update_ports_in_netbox, create_saps_in_netbox, create_l2vpn_in_netbox, \ - create_l2vpn_terminations_in_netbox +from workflows.shared import ( + AllowedNumberOfL2vpnPorts, + create_l2vpn_in_netbox, + create_l2vpn_terminations_in_netbox, + create_saps_in_netbox, + update_ports_in_netbox, + validate_vlan, + validate_vlan_not_in_use, +) def initial_input_form_generator(product_name: str) -> FormGenerator: diff --git a/workflows/l2vpn/modify_l2vpn.py b/workflows/l2vpn/modify_l2vpn.py index 271115f..14c718d 100644 --- a/workflows/l2vpn/modify_l2vpn.py +++ b/workflows/l2vpn/modify_l2vpn.py @@ -14,11 +14,11 @@ from orchestrator.workflow import StepList, begin, step from orchestrator.workflows.utils import ensure_provisioning_status, modify_workflow, reconcile_workflow -from pydantic_forms.core import FormPage -from pydantic_forms.types import FormGenerator, State, UUIDstr from products.product_types.l2vpn import L2vpn, L2vpnProvisioning from products.services.description import description +from pydantic_forms.core import FormPage +from pydantic_forms.types import FormGenerator, State, UUIDstr from workflows.shared import modify_summary_form diff --git a/workflows/l2vpn/shared/forms.py b/workflows/l2vpn/shared/forms.py index 54645fc..51cafe7 100644 --- a/workflows/l2vpn/shared/forms.py +++ b/workflows/l2vpn/shared/forms.py @@ -13,9 +13,9 @@ from orchestrator.types import SubscriptionLifecycle -from pydantic_forms.validators import Choice, choice_list from products.product_blocks.port import PortMode +from pydantic_forms.validators import Choice, choice_list from workflows.shared import AllowedNumberOfL2vpnPorts, subscriptions_by_product_type_and_instance_value diff --git a/workflows/l2vpn/terminate_l2vpn.py b/workflows/l2vpn/terminate_l2vpn.py index d207e9a..a0b10d1 100644 --- a/workflows/l2vpn/terminate_l2vpn.py +++ b/workflows/l2vpn/terminate_l2vpn.py @@ -14,12 +14,12 @@ from orchestrator.workflow import StepList, begin, step from orchestrator.workflows.utils import terminate_workflow + +from products.product_types.l2vpn import L2vpn from pydantic_forms.core import FormPage from pydantic_forms.types import InputForm, UUIDstr from pydantic_forms.validators import DisplaySubscription - -from products.product_types.l2vpn import L2vpn -from workflows.shared import remove_saps_in_netbox, remove_l2vpn_in_netbox +from workflows.shared import remove_l2vpn_in_netbox, remove_saps_in_netbox def terminate_initial_input_form_generator(subscription_id: UUIDstr) -> InputForm: diff --git a/workflows/l2vpn/validate_l2vpn.py b/workflows/l2vpn/validate_l2vpn.py index cdfa0ff..d57fbb0 100644 --- a/workflows/l2vpn/validate_l2vpn.py +++ b/workflows/l2vpn/validate_l2vpn.py @@ -13,9 +13,9 @@ from orchestrator.workflow import StepList, begin, step from orchestrator.workflows.utils import validate_workflow -from pydantic_forms.types import State from products.product_types.l2vpn import L2vpn +from pydantic_forms.types import State @step("validate L2VPN in IMS") diff --git a/workflows/node/create_node.py b/workflows/node/create_node.py index 9e28946..b1130a2 100644 --- a/workflows/node/create_node.py +++ b/workflows/node/create_node.py @@ -25,14 +25,14 @@ from orchestrator.workflows.steps import store_process_subscription from orchestrator.workflows.utils import create_workflow from pydantic import ConfigDict -from pydantic_forms.core import FormPage -from pydantic_forms.types import FormGenerator, State, UUIDstr -from pydantic_forms.validators import Choice, Label from products.product_blocks.shared.types import NodeStatus from products.product_types.node import NodeInactive, NodeProvisioning from products.services.description import description from products.services.netbox.netbox import build_payload +from pydantic_forms.core import FormPage +from pydantic_forms.types import FormGenerator, State, UUIDstr +from pydantic_forms.validators import Choice, Label from services import netbox from services.lso_client import execute_playbook, lso_interaction from workflows.node.shared.forms import NodeStatusChoice, node_role_selector, node_type_selector, site_selector diff --git a/workflows/node/modify_node.py b/workflows/node/modify_node.py index 24d0868..82848e0 100644 --- a/workflows/node/modify_node.py +++ b/workflows/node/modify_node.py @@ -16,13 +16,13 @@ from orchestrator.services.products import get_product_by_id from orchestrator.workflow import StepList, begin, step from orchestrator.workflows.utils import ensure_provisioning_status, modify_workflow -from pydantic_forms.core import FormPage -from pydantic_forms.types import FormGenerator, State, UUIDstr -from pydantic_forms.validators import Choice, Label from products.product_blocks.shared.types import NodeStatus from products.product_types.node import Node, NodeProvisioning from products.services.description import description +from pydantic_forms.core import FormPage +from pydantic_forms.types import FormGenerator, State, UUIDstr +from pydantic_forms.validators import Choice, Label from workflows.node.shared.forms import NodeStatusChoice, node_role_selector, node_type_selector, site_selector from workflows.node.shared.steps import update_node_in_ims from workflows.shared import modify_summary_form diff --git a/workflows/node/modify_sync_ports.py b/workflows/node/modify_sync_ports.py index 7477fd2..d149922 100644 --- a/workflows/node/modify_sync_ports.py +++ b/workflows/node/modify_sync_ports.py @@ -19,9 +19,9 @@ from orchestrator.workflow import StepList, begin, step from orchestrator.workflows.steps import set_status from orchestrator.workflows.utils import modify_initial_input_form_generator, modify_workflow -from pydantic_forms.types import State from products.product_types.node import Node +from pydantic_forms.types import State from services import netbox logger = structlog.get_logger(__name__) diff --git a/workflows/node/shared/forms.py b/workflows/node/shared/forms.py index 678c653..63000e6 100644 --- a/workflows/node/shared/forms.py +++ b/workflows/node/shared/forms.py @@ -12,9 +12,8 @@ # limitations under the License. from typing import TypeAlias, cast -from pydantic_forms.validators import Choice - from products.product_blocks.shared.types import NodeStatus +from pydantic_forms.validators import Choice from services import netbox diff --git a/workflows/node/shared/steps.py b/workflows/node/shared/steps.py index 18ef8b9..a823970 100644 --- a/workflows/node/shared/steps.py +++ b/workflows/node/shared/steps.py @@ -13,10 +13,10 @@ from orchestrator.workflow import step -from pydantic_forms.types import State from products.product_types.node import Node from products.services.netbox.netbox import build_payload +from pydantic_forms.types import State from services import netbox diff --git a/workflows/node/terminate_node.py b/workflows/node/terminate_node.py index 46ec6bf..d97fdf4 100644 --- a/workflows/node/terminate_node.py +++ b/workflows/node/terminate_node.py @@ -14,11 +14,11 @@ from orchestrator.workflow import StepList, begin, step from orchestrator.workflows.utils import terminate_workflow + +from products.product_types.node import Node from pydantic_forms.core import FormPage from pydantic_forms.types import InputForm, State, UUIDstr from pydantic_forms.validators import DisplaySubscription - -from products.product_types.node import Node from services import netbox diff --git a/workflows/node/validate_node.py b/workflows/node/validate_node.py index 631fef4..75dd10c 100644 --- a/workflows/node/validate_node.py +++ b/workflows/node/validate_node.py @@ -15,10 +15,10 @@ from deepdiff import DeepDiff from orchestrator.workflow import StepList, begin, step from orchestrator.workflows.utils import validate_workflow -from pydantic_forms.types import State from products.product_types.node import Node from products.services.netbox.netbox import build_payload +from pydantic_forms.types import State from services import netbox from workflows.shared import pretty_print_deepdiff diff --git a/workflows/nsip2p/create_nsip2p.py b/workflows/nsip2p/create_nsip2p.py index 0c8006c..7d5c735 100644 --- a/workflows/nsip2p/create_nsip2p.py +++ b/workflows/nsip2p/create_nsip2p.py @@ -14,9 +14,9 @@ import uuid from functools import partial from random import randrange +from typing import Annotated, TypeAlias, cast from more_itertools import unzip -from nwastdlib.vlans import VlanRanges from orchestrator.targets import Target from orchestrator.types import SubscriptionLifecycle from orchestrator.workflow import StepList, begin, step @@ -24,23 +24,30 @@ from orchestrator.workflows.utils import create_workflow from pydantic import AfterValidator, ConfigDict from pydantic_core.core_schema import ValidationInfo -from pydantic_forms.core import FormPage -from pydantic_forms.types import FormGenerator, State, UUIDstr -from pydantic_forms.validators import Choice -from typing import Annotated, TypeAlias, cast +from nwastdlib.vlans import VlanRanges from products.product_blocks.sap import SAPBlockInactive from products.product_types.nsip2p import Nsip2pInactive, Nsip2pProvisioning from products.product_types.port import Port from products.services.description import description +from pydantic_forms.core import FormPage +from pydantic_forms.types import FormGenerator, State, UUIDstr +from pydantic_forms.validators import Choice from workflows.l2vpn.shared.forms import ports_selector -from workflows.shared import validate_vlan, validate_vlan_reserved_by_product, validate_vlan_not_used_by_product, \ - update_ports_in_netbox, create_saps_in_netbox, create_l2vpn_in_netbox, create_l2vpn_terminations_in_netbox +from workflows.shared import ( + create_l2vpn_in_netbox, + create_l2vpn_terminations_in_netbox, + create_saps_in_netbox, + update_ports_in_netbox, + validate_vlan, + validate_vlan_not_used_by_product, + validate_vlan_reserved_by_product, +) def validate_single_vlan(vlan: VlanRanges, info: ValidationInfo) -> VlanRanges: if not vlan.is_single_vlan: - raise ValueError(f"Only one VLAN may be selected per port for NSIP2P") + raise ValueError("Only one VLAN may be selected per port for NSIP2P") return vlan diff --git a/workflows/nsip2p/modify_nsip2p.py b/workflows/nsip2p/modify_nsip2p.py index 8ec8e80..8cc7560 100644 --- a/workflows/nsip2p/modify_nsip2p.py +++ b/workflows/nsip2p/modify_nsip2p.py @@ -13,11 +13,11 @@ from orchestrator.workflow import StepList, begin, step from orchestrator.workflows.utils import ensure_provisioning_status, modify_workflow, reconcile_workflow -from pydantic_forms.core import FormPage -from pydantic_forms.types import FormGenerator, State, UUIDstr from products.product_types.nsip2p import Nsip2p, Nsip2pProvisioning from products.services.description import description +from pydantic_forms.core import FormPage +from pydantic_forms.types import FormGenerator, State, UUIDstr from workflows.shared import modify_summary_form diff --git a/workflows/nsip2p/terminate_nsip2p.py b/workflows/nsip2p/terminate_nsip2p.py index a9c9a93..f63651c 100644 --- a/workflows/nsip2p/terminate_nsip2p.py +++ b/workflows/nsip2p/terminate_nsip2p.py @@ -15,10 +15,10 @@ from orchestrator.forms.validators import DisplaySubscription from orchestrator.workflow import StepList, begin, step from orchestrator.workflows.utils import terminate_workflow -from pydantic_forms.types import InputForm, UUIDstr from products import Nsip2p -from workflows.shared import remove_saps_in_netbox, remove_l2vpn_in_netbox +from pydantic_forms.types import InputForm, UUIDstr +from workflows.shared import remove_l2vpn_in_netbox, remove_saps_in_netbox def terminate_initial_input_form_generator(subscription_id: UUIDstr, customer_id: UUIDstr) -> InputForm: diff --git a/workflows/nsip2p/validate_nsip2p.py b/workflows/nsip2p/validate_nsip2p.py index 98a93c0..a44a3de 100644 --- a/workflows/nsip2p/validate_nsip2p.py +++ b/workflows/nsip2p/validate_nsip2p.py @@ -13,9 +13,9 @@ from orchestrator.workflow import StepList, begin, step from orchestrator.workflows.utils import validate_workflow -from pydantic_forms.types import State from products.product_types.nsip2p import Nsip2p +from pydantic_forms.types import State @step("Validate NSIP2P in IMS") diff --git a/workflows/nsistp/create_nsistp.py b/workflows/nsistp/create_nsistp.py index 4b80c25..0c73b94 100644 --- a/workflows/nsistp/create_nsistp.py +++ b/workflows/nsistp/create_nsistp.py @@ -17,7 +17,6 @@ from typing import Annotated, TypeAlias, cast import structlog -from nwastdlib.vlans import VlanRanges from orchestrator.forms import FormPage from orchestrator.forms.validators import Divider, Label from orchestrator.targets import Target @@ -26,11 +25,12 @@ from orchestrator.workflows.steps import store_process_subscription from orchestrator.workflows.utils import create_workflow from pydantic import AfterValidator, ConfigDict, model_validator -from pydantic_forms.types import FormGenerator, State, UUIDstr -from pydantic_forms.validators import Choice +from nwastdlib.vlans import VlanRanges from products.product_types.nsistp import NsistpInactive, NsistpProvisioning from products.services.description import description +from pydantic_forms.types import FormGenerator, State, UUIDstr +from pydantic_forms.validators import Choice from workflows.nsistp.shared.forms import ( IsAlias, ServiceSpeed, @@ -41,8 +41,7 @@ port_selector, validate_both_aliases_empty_or_not, ) -from workflows.shared import validate_vlan, validate_vlan_not_in_use -from workflows.shared import create_summary_form +from workflows.shared import create_summary_form, validate_vlan, validate_vlan_not_in_use logger = structlog.get_logger(__name__) diff --git a/workflows/nsistp/modify_nsistp.py b/workflows/nsistp/modify_nsistp.py index 56d1290..1470599 100644 --- a/workflows/nsistp/modify_nsistp.py +++ b/workflows/nsistp/modify_nsistp.py @@ -17,11 +17,11 @@ from orchestrator.forms.validators import Divider from orchestrator.workflow import StepList, begin, step from orchestrator.workflows.utils import ensure_provisioning_status, modify_workflow -from pydantic_forms.types import FormGenerator, State, UUIDstr -from pydantic_forms.validators import read_only_field from products.product_types.nsistp import Nsistp, NsistpProvisioning from products.services.description import description +from pydantic_forms.types import FormGenerator, State, UUIDstr +from pydantic_forms.validators import read_only_field from workflows.nsistp.shared.forms import IsAlias, ServiceSpeed, StpDescription, Topology from workflows.shared import modify_summary_form diff --git a/workflows/nsistp/shared/forms.py b/workflows/nsistp/shared/forms.py index 44e3daf..dfa0703 100644 --- a/workflows/nsistp/shared/forms.py +++ b/workflows/nsistp/shared/forms.py @@ -20,19 +20,19 @@ from uuid import UUID from annotated_types import BaseMetadata, Ge, Le -from nwastdlib.vlans import VlanRanges from orchestrator.db import ProductTable, db from orchestrator.db.models import SubscriptionTable from orchestrator.domain.base import SubscriptionModel from orchestrator.types import SubscriptionLifecycle from pydantic import AfterValidator, Field, ValidationInfo -from pydantic_forms.types import UUIDstr -from pydantic_forms.validators import Choice from sqlalchemy import select from typing_extensions import Doc +from nwastdlib.vlans import VlanRanges from products.product_blocks.port import PortMode from products.product_types.nsistp import Nsistp, NsistpInactive +from pydantic_forms.types import UUIDstr +from pydantic_forms.validators import Choice from workflows.nsistp.shared.shared import MAX_SPEED_POSSIBLE from workflows.shared import subscriptions_by_product_type_and_instance_value diff --git a/workflows/nsistp/terminate_nsistp.py b/workflows/nsistp/terminate_nsistp.py index 58be227..0a436c5 100644 --- a/workflows/nsistp/terminate_nsistp.py +++ b/workflows/nsistp/terminate_nsistp.py @@ -17,8 +17,8 @@ from orchestrator.forms.validators import DisplaySubscription from orchestrator.workflow import StepList, begin from orchestrator.workflows.utils import terminate_workflow -from pydantic_forms.types import InputForm, UUIDstr +from pydantic_forms.types import InputForm, UUIDstr logger = structlog.get_logger(__name__) diff --git a/workflows/nsistp/validate_nsistp.py b/workflows/nsistp/validate_nsistp.py index 451aa5d..6ced222 100644 --- a/workflows/nsistp/validate_nsistp.py +++ b/workflows/nsistp/validate_nsistp.py @@ -15,9 +15,9 @@ import structlog from orchestrator.workflow import StepList, begin, step from orchestrator.workflows.utils import validate_workflow -from pydantic_forms.types import State from products.product_types.nsistp import Nsistp +from pydantic_forms.types import State logger = structlog.get_logger(__name__) diff --git a/workflows/port/create_port.py b/workflows/port/create_port.py index 6d08b86..53ee5e5 100644 --- a/workflows/port/create_port.py +++ b/workflows/port/create_port.py @@ -25,14 +25,14 @@ from orchestrator.workflows.steps import store_process_subscription from orchestrator.workflows.utils import create_workflow from pydantic import ConfigDict -from pydantic_forms.core import FormPage -from pydantic_forms.types import FormGenerator, State, UUIDstr -from pydantic_forms.validators import Choice, Label from products.product_blocks.port import PortMode from products.product_types.node import Node from products.product_types.port import PortInactive, PortProvisioning from products.services.description import description +from pydantic_forms.core import FormPage +from pydantic_forms.types import FormGenerator, State, UUIDstr +from pydantic_forms.validators import Choice, Label from services import netbox from services.lso_client import execute_playbook, lso_interaction from workflows.port.shared.forms import PortModeChoice diff --git a/workflows/port/modify_port.py b/workflows/port/modify_port.py index cf3adec..547d3dc 100644 --- a/workflows/port/modify_port.py +++ b/workflows/port/modify_port.py @@ -14,12 +14,12 @@ from orchestrator.workflow import StepList, begin, step from orchestrator.workflows.utils import ensure_provisioning_status, modify_workflow -from pydantic_forms.core import FormPage -from pydantic_forms.types import FormGenerator, State, UUIDstr -from pydantic_forms.validators import Label, read_only_field from products.product_types.port import Port, PortProvisioning from products.services.description import description +from pydantic_forms.core import FormPage +from pydantic_forms.types import FormGenerator, State, UUIDstr +from pydantic_forms.validators import Label, read_only_field from workflows.port.shared.steps import update_port_in_ims from workflows.shared import modify_summary_form diff --git a/workflows/port/shared/forms.py b/workflows/port/shared/forms.py index 3660f62..10cd63e 100644 --- a/workflows/port/shared/forms.py +++ b/workflows/port/shared/forms.py @@ -12,9 +12,8 @@ # limitations under the License. from typing import TypeAlias, cast -from pydantic_forms.validators import Choice - from products.product_blocks.port import PortMode +from pydantic_forms.validators import Choice def port_mode_selector() -> Choice: diff --git a/workflows/port/shared/steps.py b/workflows/port/shared/steps.py index a30fd32..403109b 100644 --- a/workflows/port/shared/steps.py +++ b/workflows/port/shared/steps.py @@ -13,10 +13,10 @@ from orchestrator.workflow import step -from pydantic_forms.types import State from products.product_types.port import Port from products.services.netbox.netbox import build_payload +from pydantic_forms.types import State from services import netbox diff --git a/workflows/port/terminate_port.py b/workflows/port/terminate_port.py index 2e552fa..7c0044a 100644 --- a/workflows/port/terminate_port.py +++ b/workflows/port/terminate_port.py @@ -16,11 +16,11 @@ from orchestrator.workflow import StepList, begin, step from orchestrator.workflows.steps import set_status from orchestrator.workflows.utils import terminate_workflow + +from products.product_types.port import PortProvisioning from pydantic_forms.core import FormPage from pydantic_forms.types import InputForm, State, UUIDstr from pydantic_forms.validators import DisplaySubscription - -from products.product_types.port import PortProvisioning from workflows.port.shared.steps import update_port_in_ims diff --git a/workflows/port/validate_port.py b/workflows/port/validate_port.py index 3626caf..bb699e9 100644 --- a/workflows/port/validate_port.py +++ b/workflows/port/validate_port.py @@ -15,10 +15,10 @@ from deepdiff import DeepDiff from orchestrator.workflow import StepList, begin, step from orchestrator.workflows.utils import validate_workflow -from pydantic_forms.types import State from products.product_types.port import Port from products.services.netbox.netbox import build_payload +from pydantic_forms.types import State from services import netbox from workflows.shared import pretty_print_deepdiff diff --git a/workflows/shared.py b/workflows/shared.py index 81232bd..ae847c6 100644 --- a/workflows/shared.py +++ b/workflows/shared.py @@ -19,8 +19,6 @@ import structlog from annotated_types import Ge, Le, doc from deepdiff import DeepDiff -from more_itertools import flatten -from nwastdlib.vlans import VlanRanges from orchestrator.db import ( ProductTable, ResourceTypeTable, @@ -36,19 +34,19 @@ from orchestrator.types import SubscriptionLifecycle from pydantic import ConfigDict from pydantic_core.core_schema import ValidationInfo -from pydantic_forms.core import FormPage -from pydantic_forms.types import SummaryData, UUIDstr, State -from pydantic_forms.validators import Choice, MigrationSummary, migration_summary from sqlalchemy import select from sqlalchemy.orm import aliased +from nwastdlib.vlans import VlanRanges from products import Port -from products.product_blocks.sap import SAPBlockProvisioning, SAPBlock -from products.product_blocks.virtual_circuit import VirtualCircuitBlockProvisioning, VirtualCircuitBlock - +from products.product_blocks.sap import SAPBlock, SAPBlockProvisioning +from products.product_blocks.virtual_circuit import VirtualCircuitBlock, VirtualCircuitBlockProvisioning from products.product_types.node import Node from products.services.netbox.netbox import build_payload from products.services.netbox.payload.sap import build_sap_vlan_group_payload +from pydantic_forms.core import FormPage +from pydantic_forms.types import State, SummaryData, UUIDstr +from pydantic_forms.validators import Choice, MigrationSummary, migration_summary from services import netbox from services.netbox import L2vpnTerminationPayload diff --git a/workflows/tasks/bootstrap_netbox.py b/workflows/tasks/bootstrap_netbox.py index 77283df..f866d49 100644 --- a/workflows/tasks/bootstrap_netbox.py +++ b/workflows/tasks/bootstrap_netbox.py @@ -16,8 +16,8 @@ from orchestrator import workflow from orchestrator.targets import Target from orchestrator.workflow import StepList, done, init, step -from pydantic_forms.types import State +from pydantic_forms.types import State from services import netbox from settings import settings diff --git a/workflows/tasks/wipe_netbox.py b/workflows/tasks/wipe_netbox.py index 97407d6..c9d9fbb 100644 --- a/workflows/tasks/wipe_netbox.py +++ b/workflows/tasks/wipe_netbox.py @@ -17,9 +17,9 @@ from orchestrator.targets import Target from orchestrator.workflow import StepList, done, init, step from pydantic import AfterValidator, ConfigDict + from pydantic_forms.core import FormPage from pydantic_forms.types import FormGenerator, State - from services import netbox logger = structlog.get_logger(__name__) diff --git a/wsgi.py b/wsgi.py index b654f95..765c1e9 100644 --- a/wsgi.py +++ b/wsgi.py @@ -15,9 +15,9 @@ from orchestrator import OrchestratorCore from orchestrator.settings import AppSettings -from graphql_federation import CUSTOM_GRAPHQL_MODELS import products # noqa: F401 Side-effects import workflows # noqa: F401 Side-effects +from graphql_federation import CUSTOM_GRAPHQL_MODELS app = OrchestratorCore(base_settings=AppSettings()) app.register_graphql(graphql_models=CUSTOM_GRAPHQL_MODELS) From 94cfb2723f453c0cd7bffba112d1ee2a89fba996 Mon Sep 17 00:00:00 2001 From: Mark90 Date: Fri, 6 Feb 2026 12:55:20 +0100 Subject: [PATCH 4/7] Run ruff format on all files --- docker/netbox/patch_federation.py | 14 +++---- graphql_federation.py | 4 +- .../2023-10-27_a84ca2e5e4db_add_node.py | 1 + .../2023-11-02_c044b0da4126_add_port.py | 1 + .../2023-11-16_1faddadd7aae_add_core_link.py | 1 + .../2023-11-17_e2a0fed2a4c7_add_l2vpn.py | 1 + ...023-12-04_d946c20663d3_add_netbox_tasks.py | 1 + ..._0e8d17ce0f06_reconcile_workflows_l2vpn.py | 1 - products/product_types/nsip2p.py | 1 - products/services/description.py | 17 ++------- pyproject.toml | 1 + workflows/l2vpn/create_l2vpn.py | 22 +++++------ workflows/node/modify_sync_ports.py | 2 +- workflows/nsip2p/create_nsip2p.py | 6 +-- workflows/nsip2p/modify_nsip2p.py | 1 - workflows/nsip2p/validate_nsip2p.py | 1 - workflows/shared.py | 37 +++++++------------ 17 files changed, 48 insertions(+), 64 deletions(-) diff --git a/docker/netbox/patch_federation.py b/docker/netbox/patch_federation.py index ebe30da..aded787 100644 --- a/docker/netbox/patch_federation.py +++ b/docker/netbox/patch_federation.py @@ -1,7 +1,7 @@ import re from pathlib import Path -NETBOX_ROOT = Path('/opt/netbox/netbox') +NETBOX_ROOT = Path("/opt/netbox/netbox") resolve_reference = '''\ @classmethod @@ -19,7 +19,7 @@ def insert_import(text: str, import_stmt: str) -> str: def patch_types(): - file = NETBOX_ROOT / 'dcim/graphql/types.py' + file = NETBOX_ROOT / "dcim/graphql/types.py" text = file.open().read() text = insert_import(text, "from strawberry.federation.schema_directives import Key") @@ -34,21 +34,21 @@ def patch_types(): text = re.sub(regex_find_class, rf"\1{method}\n", text, count=1, flags=re.DOTALL) # Add directives to the class decorator - regex_find_decorator = rf"(@strawberry_django.type\(\n\s+models\.{model_name},)" + regex_find_decorator = rf"(@strawberry_django.type\(\n\s+models\.{model_name},)" text = re.sub(regex_find_decorator, rf"\1 {type_directives}", text, count=1) - with file.open(mode='w') as f: + with file.open(mode="w") as f: f.write(text) def patch_subscription_query(): - file = NETBOX_ROOT / 'extras/graphql/schema.py' + file = NETBOX_ROOT / "extras/graphql/schema.py" text = file.open().read() text = re.sub("subscription:", "nb_subscription:", text, count=1) text = re.sub("subscription_list:", "nb_subscription_list:", text, count=1) - with file.open(mode='w') as f: + with file.open(mode="w") as f: f.write(text) @@ -60,5 +60,5 @@ def main(): patch_subscription_query() -if __name__ == '__main__': +if __name__ == "__main__": main() diff --git a/graphql_federation.py b/graphql_federation.py index 5f25a6b..8a48267 100644 --- a/graphql_federation.py +++ b/graphql_federation.py @@ -18,14 +18,14 @@ @strawberry.federation.type(keys=["id"]) -class DeviceType(): +class DeviceType: """The name of this class matches that in Netbox.""" + id: strawberry.ID @strawberry.experimental.pydantic.type(model=_NodeBlockInactive, all_fields=True) class NodeBlockInactive: - @strawberry.field(description="Get netbox device by IMS ID") def netbox_device(self) -> DeviceType | None: """Add a field which contains an object with nothing but an ID. diff --git a/migrations/versions/schema/2023-10-27_a84ca2e5e4db_add_node.py b/migrations/versions/schema/2023-10-27_a84ca2e5e4db_add_node.py index b295e9d..a2b185a 100644 --- a/migrations/versions/schema/2023-10-27_a84ca2e5e4db_add_node.py +++ b/migrations/versions/schema/2023-10-27_a84ca2e5e4db_add_node.py @@ -5,6 +5,7 @@ Create Date: 2023-10-27 11:25:40.994878 """ + from uuid import uuid4 from alembic import op diff --git a/migrations/versions/schema/2023-11-02_c044b0da4126_add_port.py b/migrations/versions/schema/2023-11-02_c044b0da4126_add_port.py index 428d333..def26c5 100644 --- a/migrations/versions/schema/2023-11-02_c044b0da4126_add_port.py +++ b/migrations/versions/schema/2023-11-02_c044b0da4126_add_port.py @@ -5,6 +5,7 @@ Create Date: 2023-11-02 10:46:33.372496 """ + from uuid import uuid4 from alembic import op diff --git a/migrations/versions/schema/2023-11-16_1faddadd7aae_add_core_link.py b/migrations/versions/schema/2023-11-16_1faddadd7aae_add_core_link.py index 38b0164..a36334b 100644 --- a/migrations/versions/schema/2023-11-16_1faddadd7aae_add_core_link.py +++ b/migrations/versions/schema/2023-11-16_1faddadd7aae_add_core_link.py @@ -5,6 +5,7 @@ Create Date: 2023-11-16 16:40:52.193565 """ + from uuid import uuid4 from alembic import op diff --git a/migrations/versions/schema/2023-11-17_e2a0fed2a4c7_add_l2vpn.py b/migrations/versions/schema/2023-11-17_e2a0fed2a4c7_add_l2vpn.py index fa7bb33..c94e0d3 100644 --- a/migrations/versions/schema/2023-11-17_e2a0fed2a4c7_add_l2vpn.py +++ b/migrations/versions/schema/2023-11-17_e2a0fed2a4c7_add_l2vpn.py @@ -5,6 +5,7 @@ Create Date: 2023-11-17 10:59:41.544653 """ + from uuid import uuid4 from alembic import op diff --git a/migrations/versions/schema/2023-12-04_d946c20663d3_add_netbox_tasks.py b/migrations/versions/schema/2023-12-04_d946c20663d3_add_netbox_tasks.py index 75aa100..283b424 100644 --- a/migrations/versions/schema/2023-12-04_d946c20663d3_add_netbox_tasks.py +++ b/migrations/versions/schema/2023-12-04_d946c20663d3_add_netbox_tasks.py @@ -5,6 +5,7 @@ Create Date: 2023-12-04 17:30:42.545271 """ + import sqlalchemy as sa from alembic import op from orchestrator.migrations.helpers import delete_workflow diff --git a/migrations/versions/schema/2025-08-28_0e8d17ce0f06_reconcile_workflows_l2vpn.py b/migrations/versions/schema/2025-08-28_0e8d17ce0f06_reconcile_workflows_l2vpn.py index 2650824..c903839 100644 --- a/migrations/versions/schema/2025-08-28_0e8d17ce0f06_reconcile_workflows_l2vpn.py +++ b/migrations/versions/schema/2025-08-28_0e8d17ce0f06_reconcile_workflows_l2vpn.py @@ -16,7 +16,6 @@ depends_on = None - new_workflows = [ { "name": "reconcile_l2vpn", diff --git a/products/product_types/nsip2p.py b/products/product_types/nsip2p.py index e59a1a7..7cfefe1 100644 --- a/products/product_types/nsip2p.py +++ b/products/product_types/nsip2p.py @@ -42,4 +42,3 @@ class Nsip2pProvisioning(Nsip2pInactive, lifecycle=[SubscriptionLifecycle.PROVIS class Nsip2p(Nsip2pProvisioning, lifecycle=[SubscriptionLifecycle.ACTIVE]): virtual_circuit: VirtualCircuitBlock - diff --git a/products/services/description.py b/products/services/description.py index 90643f9..f74d064 100644 --- a/products/services/description.py +++ b/products/services/description.py @@ -81,18 +81,13 @@ def _vc_policer_status(vc: VirtualCircuitBlockProvisioning) -> str: def _saps_to_nodes(saps: list[SAPBlockProvisioning]) -> str: - return '-'.join(sorted(list(set([sap.port.node.node_name for sap in saps])))) + return "-".join(sorted(list(set([sap.port.node.node_name for sap in saps])))) @description.register def _(l2vpn: L2vpnProvisioning) -> str: vc = l2vpn.virtual_circuit - return ( - f"{l2vpn.product.tag} " - f"{vc.speed} Mbit/s " - f"({_saps_to_nodes(vc.saps)})" - f"{_vc_policer_status(vc)}" - ) + return f"{l2vpn.product.tag} {vc.speed} Mbit/s ({_saps_to_nodes(vc.saps)}){_vc_policer_status(vc)}" @description.register @@ -105,12 +100,8 @@ def _(nsistp: NsistpProvisioning) -> str: f"{nsistp.nsistp.bandwidth} Mbit/s" ) + @description.register def _(nsip2p: Nsip2pProvisioning) -> str: vc = nsip2p.virtual_circuit - return ( - f"{nsip2p.product.tag} " - f"{vc.speed} Mbit/s" - f"({_saps_to_nodes(vc.saps)})" - f"{_vc_policer_status(vc)}" - ) + return f"{nsip2p.product.tag} {vc.speed} Mbit/s({_saps_to_nodes(vc.saps)}){_vc_policer_status(vc)}" diff --git a/pyproject.toml b/pyproject.toml index f655dc3..e2e77f5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,6 +38,7 @@ exclude = [ "node_modules", "site-packages", "venv", + "docker/netbox/configuration/**", ] line-length = 120 diff --git a/workflows/l2vpn/create_l2vpn.py b/workflows/l2vpn/create_l2vpn.py index 444741e..cb9682f 100644 --- a/workflows/l2vpn/create_l2vpn.py +++ b/workflows/l2vpn/create_l2vpn.py @@ -56,11 +56,11 @@ class CreateL2vpnForm(FormPage): user_input = yield CreateL2vpnForm user_input_dict = user_input.model_dump() PortsChoiceList: TypeAlias = cast( - type[Choice], ports_selector(AllowedNumberOfL2vpnPorts(user_input_dict["number_of_ports"])) # noqa: F821 + type[Choice], + ports_selector(AllowedNumberOfL2vpnPorts(user_input_dict["number_of_ports"])), # noqa: F821 ) - _validate_vlan_not_in_use = partial(validate_vlan_not_in_use, - port_field_name="ports") + _validate_vlan_not_in_use = partial(validate_vlan_not_in_use, port_field_name="ports") class SelectPortsForm(FormPage): model_config = ConfigDict(title=product_name) @@ -166,12 +166,12 @@ def provision_l2vpn_in_nrm(subscription: L2vpnProvisioning) -> State: @create_workflow("Create l2vpn", initial_input_form=initial_input_form_generator) def create_l2vpn() -> StepList: return ( - begin - >> construct_l2vpn_model - >> store_process_subscription(Target.CREATE) - >> ims_create_vlans - >> ims_create_l2vpn - >> ims_create_l2vpn_terminations - >> provision_l2vpn_in_nrm - >> update_vlans_on_ports + begin + >> construct_l2vpn_model + >> store_process_subscription(Target.CREATE) + >> ims_create_vlans + >> ims_create_l2vpn + >> ims_create_l2vpn_terminations + >> provision_l2vpn_in_nrm + >> update_vlans_on_ports ) diff --git a/workflows/node/modify_sync_ports.py b/workflows/node/modify_sync_ports.py index d149922..0497286 100644 --- a/workflows/node/modify_sync_ports.py +++ b/workflows/node/modify_sync_ports.py @@ -37,7 +37,7 @@ def get_node_interface_list(node_name: str) -> List[Tuple[str, str, int]]: :return: list of interface tuples with name, type, and speed (kbps) details """ ten_gig_interfaces = [(f"ethernet-1/{i}", "10gbase-x-xfp", 10000000) for i in range(10)] - hundred_gig_interfaces = [(f"ethernet-1/{i+10}", "100gbase-x-cfp", 100000000) for i in range(4)] + hundred_gig_interfaces = [(f"ethernet-1/{i + 10}", "100gbase-x-cfp", 100000000) for i in range(4)] return ten_gig_interfaces + hundred_gig_interfaces diff --git a/workflows/nsip2p/create_nsip2p.py b/workflows/nsip2p/create_nsip2p.py index 7d5c735..af73f4e 100644 --- a/workflows/nsip2p/create_nsip2p.py +++ b/workflows/nsip2p/create_nsip2p.py @@ -60,9 +60,7 @@ class CreateNsip2pForm(FormPage): user_input = yield CreateNsip2pForm user_input_dict = user_input.model_dump() - PortsChoiceList: TypeAlias = cast( - type[Choice], ports_selector(2) - ) + PortsChoiceList: TypeAlias = cast(type[Choice], ports_selector(2)) # Validation: VLAN must be reserved by NSISTP and not used by another NSIP2P _validate_vlan_reserved_by_nsistp = partial( @@ -173,9 +171,11 @@ def update_vlans_on_ports(subscription: Nsip2pProvisioning) -> State: payloads = update_ports_in_netbox(saps) return {"payloads": payloads} + # Provisioning steps: reuse/adapt L2VPN steps, but only for 2 SAPs and single VLAN per port # If further customization is needed for NSIP2P, add/override steps here + @create_workflow("Create NSIP2P", initial_input_form=initial_input_form_generator) def create_nsip2p() -> StepList: return ( diff --git a/workflows/nsip2p/modify_nsip2p.py b/workflows/nsip2p/modify_nsip2p.py index 8cc7560..aea0c92 100644 --- a/workflows/nsip2p/modify_nsip2p.py +++ b/workflows/nsip2p/modify_nsip2p.py @@ -69,4 +69,3 @@ def modify_nsip2p() -> StepList: @reconcile_workflow("Reconcile NSIP2P") def reconcile_nsip2p() -> StepList: return begin >> update_nsip2p_in_external_systems - diff --git a/workflows/nsip2p/validate_nsip2p.py b/workflows/nsip2p/validate_nsip2p.py index a44a3de..fed29b4 100644 --- a/workflows/nsip2p/validate_nsip2p.py +++ b/workflows/nsip2p/validate_nsip2p.py @@ -27,4 +27,3 @@ def validate_nsip2p_in_ims(subscription: Nsip2p) -> State: @validate_workflow("Validate NSIP2P") def validate_nsip2p() -> StepList: return begin >> validate_nsip2p_in_ims - diff --git a/workflows/shared.py b/workflows/shared.py index ae847c6..6182420 100644 --- a/workflows/shared.py +++ b/workflows/shared.py @@ -223,9 +223,7 @@ def validate_vlan_not_in_use( if current: for subscription_id in subscription_ids: - current_selected_service_port = filter( - lambda c: str(c[port_field_name]) == str(subscription_id), current - ) + current_selected_service_port = filter(lambda c: str(c[port_field_name]) == str(subscription_id), current) current_selected_vlans = list(map(operator.itemgetter("vlan"), current_selected_service_port)) for current_selected_vlan in current_selected_vlans: if not current_selected_vlan: @@ -252,8 +250,7 @@ def find_allocated_vlans(subscription_id: UUID | UUIDstr) -> VlanRanges: ) .join( SubscriptionInstanceRelationTable, - SubscriptionInstanceValueTable.subscription_instance_id - == SubscriptionInstanceRelationTable.in_use_by_id, + SubscriptionInstanceValueTable.subscription_instance_id == SubscriptionInstanceRelationTable.in_use_by_id, ) .join( SubscriptionInstanceTable, @@ -290,15 +287,12 @@ def find_allocated_vlans_for_product(subscription_id: UUID | UUIDstr, product_ty ResourceTypeTable, SubscriptionInstanceValueTable.resource_type_id == ResourceTypeTable.resource_type_id, ) - .join( - sap_si, - SubscriptionInstanceValueTable.subscription_instance_id == sap_si.subscription_instance_id - ) + .join(sap_si, SubscriptionInstanceValueTable.subscription_instance_id == sap_si.subscription_instance_id) .join(sap_sub, sap_si.subscription_id == sap_sub.subscription_id) .join(sap_prod, sap_sub.product_id == sap_prod.product_id) .join( SubscriptionInstanceRelationTable, - sap_si.subscription_instance_id == SubscriptionInstanceRelationTable.in_use_by_id + sap_si.subscription_instance_id == SubscriptionInstanceRelationTable.in_use_by_id, ) .join( port_si, @@ -308,9 +302,7 @@ def find_allocated_vlans_for_product(subscription_id: UUID | UUIDstr, product_ty port_si.subscription_id == subscription_id, ResourceTypeTable.resource_type == "vlan", sap_prod.product_type == product_type, - sap_sub.status.in_( - [SubscriptionLifecycle.PROVISIONING, SubscriptionLifecycle.ACTIVE] - ), + sap_sub.status.in_([SubscriptionLifecycle.PROVISIONING, SubscriptionLifecycle.ACTIVE]), ) ) @@ -322,6 +314,7 @@ def find_allocated_vlans_for_product(subscription_id: UUID | UUIDstr, product_ty logger.debug("Found VLAN values for product", values=values, product_type=product_type) return VlanRanges(",".join(values)) + def _get_subscription(subscription_id: UUID | UUIDstr) -> SubscriptionTable: return db.session.scalar(select(SubscriptionTable).where(SubscriptionTable.subscription_id == subscription_id)) @@ -337,15 +330,13 @@ def validate_vlan_reserved_by_product( if not (subscription_ids := _get_subscription_ids_from_info(info, port_field_name)): return vlan - logger.info("validation info data", data=info.data) for subscription_id in subscription_ids: reserved_vlans = find_allocated_vlans_for_product(subscription_id, product_type) if not _vlan_completely_in_vlan_range(vlan, reserved_vlans): sub = _get_subscription(subscription_id) raise ValueError( - f"VLAN(s) {vlan} not reserved by {product_type} on {sub.description}. " - f"Available vlans: {reserved_vlans}" + f"VLAN(s) {vlan} not reserved by {product_type} on {sub.description}. Available vlans: {reserved_vlans}" ) return vlan @@ -369,9 +360,7 @@ def validate_vlan_not_used_by_product( if current: for subscription_id in subscription_ids: - current_selected_service_port = filter( - lambda c: str(c[port_field_name]) == str(subscription_id), current - ) + current_selected_service_port = filter(lambda c: str(c[port_field_name]) == str(subscription_id), current) current_selected_vlans = list(map(operator.itemgetter("vlan"), current_selected_service_port)) for current_selected_vlan in current_selected_vlans: if not current_selected_vlan: @@ -401,9 +390,9 @@ def update_port(port: Port) -> netbox.InterfacePayload: return [update_port(i) for i in port_subscriptions] -def create_saps_in_netbox(saps: list[SAPBlockProvisioning], subscription: SubscriptionModel) -> list[ - tuple[netbox.VlanGroupPayload, netbox.VlansPayload] -]: +def create_saps_in_netbox( + saps: list[SAPBlockProvisioning], subscription: SubscriptionModel +) -> list[tuple[netbox.VlanGroupPayload, netbox.VlansPayload]]: """Provision the SAPs in Netbox and return the VlanGroup and Vlan payloads. Side Effects: @@ -420,7 +409,9 @@ def create_sap(sap: SAPBlockProvisioning) -> tuple[netbox.VlanGroupPayload, netb return [create_sap(i) for i in saps] -def create_l2vpn_in_netbox(vc: VirtualCircuitBlockProvisioning, subscription: SubscriptionModel) -> tuple[int, netbox.L2vpnPayload]: +def create_l2vpn_in_netbox( + vc: VirtualCircuitBlockProvisioning, subscription: SubscriptionModel +) -> tuple[int, netbox.L2vpnPayload]: """Provision the Virtual Circuit in Netbox and return the L2vpn payload.""" payload: netbox.L2vpnPayload = build_payload(vc, subscription) From 109abcd035eaaac8d6a7b4830b3375a4772e382a Mon Sep 17 00:00:00 2001 From: Mark90 Date: Fri, 6 Feb 2026 13:04:32 +0100 Subject: [PATCH 5/7] Add run-pre-commit.yml workflow, change docker-compose-test.yml to only run if pre-commit checks pass --- .github/workflows/docker-compose-test.yml | 9 +++--- .github/workflows/run-pre-commit.yml | 37 +++++++++++++++++++++++ 2 files changed, 42 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/run-pre-commit.yml diff --git a/.github/workflows/docker-compose-test.yml b/.github/workflows/docker-compose-test.yml index fb0e3d1..c5ed376 100644 --- a/.github/workflows/docker-compose-test.yml +++ b/.github/workflows/docker-compose-test.yml @@ -1,12 +1,13 @@ name: Docker Compose Validation on: - pull_request: - push: - branches: [ main ] + workflow_run: + workflows: [Run pre-commit hooks] + types: [completed] jobs: validate-compose: + if: ${{ github.event.workflow_run.conclusion == 'success' }} name: Spin up and test health of services runs-on: ubuntu-latest @@ -75,4 +76,4 @@ jobs: - name: Tear down Docker Compose if: always() - run: docker compose down -v \ No newline at end of file + run: docker compose down -v diff --git a/.github/workflows/run-pre-commit.yml b/.github/workflows/run-pre-commit.yml new file mode 100644 index 0000000..8446da6 --- /dev/null +++ b/.github/workflows/run-pre-commit.yml @@ -0,0 +1,37 @@ +name: Run pre-commit hooks + +on: + push: + branches: [ main ] + workflow_call: + pull_request: + +env: + UV_LOCKED: true # Assert that the `uv.lock` will remain unchanged + +jobs: + precommit: + name: Run pre-commit + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v6 + + - name: Install uv and set the python version + uses: astral-sh/setup-uv@v7 + with: + # It is considered best practice to pin to a specific uv version. + version: "0.9.29" + python-version: '3.13' + + - name: Install the project + run: uv sync + + - name: Cache pre-commit hooks and environments + uses: actions/cache@v5 + with: + path: ~/.cache/pre-commit + key: ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }} + + - name: Run remaining pre-commit hooks + run: uv run pre-commit run --all-files From 045a9ccb5b01cea157f134dcb6355e03a163693c Mon Sep 17 00:00:00 2001 From: Mark90 Date: Fri, 6 Feb 2026 13:10:17 +0100 Subject: [PATCH 6/7] Combine precommit checks and docker compose validation in 1 workflow --- .../{docker-compose-test.yml => ci.yml} | 39 ++++++++++++++++--- .github/workflows/run-pre-commit.yml | 37 ------------------ 2 files changed, 34 insertions(+), 42 deletions(-) rename .github/workflows/{docker-compose-test.yml => ci.yml} (74%) delete mode 100644 .github/workflows/run-pre-commit.yml diff --git a/.github/workflows/docker-compose-test.yml b/.github/workflows/ci.yml similarity index 74% rename from .github/workflows/docker-compose-test.yml rename to .github/workflows/ci.yml index c5ed376..e6f5619 100644 --- a/.github/workflows/docker-compose-test.yml +++ b/.github/workflows/ci.yml @@ -1,15 +1,44 @@ -name: Docker Compose Validation +name: CI on: - workflow_run: - workflows: [Run pre-commit hooks] - types: [completed] + push: + branches: [ main ] + pull_request: + +env: + UV_LOCKED: true # Assert that the `uv.lock` will remain unchanged jobs: + precommit: + name: Run pre-commit + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v6 + + - name: Install uv and set the python version + uses: astral-sh/setup-uv@v7 + with: + # It is considered best practice to pin to a specific uv version. + version: "0.9.29" + python-version: '3.13' + + - name: Install the project + run: uv sync + + - name: Cache pre-commit hooks and environments + uses: actions/cache@v5 + with: + path: ~/.cache/pre-commit + key: ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }} + + - name: Run remaining pre-commit hooks + run: uv run pre-commit run --all-files + validate-compose: - if: ${{ github.event.workflow_run.conclusion == 'success' }} name: Spin up and test health of services runs-on: ubuntu-latest + needs: precommit # Only run if precommit checks pass steps: - name: Checkout repository diff --git a/.github/workflows/run-pre-commit.yml b/.github/workflows/run-pre-commit.yml deleted file mode 100644 index 8446da6..0000000 --- a/.github/workflows/run-pre-commit.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Run pre-commit hooks - -on: - push: - branches: [ main ] - workflow_call: - pull_request: - -env: - UV_LOCKED: true # Assert that the `uv.lock` will remain unchanged - -jobs: - precommit: - name: Run pre-commit - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v6 - - - name: Install uv and set the python version - uses: astral-sh/setup-uv@v7 - with: - # It is considered best practice to pin to a specific uv version. - version: "0.9.29" - python-version: '3.13' - - - name: Install the project - run: uv sync - - - name: Cache pre-commit hooks and environments - uses: actions/cache@v5 - with: - path: ~/.cache/pre-commit - key: ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }} - - - name: Run remaining pre-commit hooks - run: uv run pre-commit run --all-files From 0ae0f5027dbaef8c87e0e545c428bb68a6c5dae9 Mon Sep 17 00:00:00 2001 From: Mark90 Date: Fri, 6 Feb 2026 13:11:08 +0100 Subject: [PATCH 7/7] Add .git-blame-ignore-revs --- .git-blame-ignore-revs | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .git-blame-ignore-revs diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs new file mode 100644 index 0000000..4106451 --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,2 @@ +94cfb2723f453c0cd7bffba112d1ee2a89fba996 # Run ruff format on all files +5809b73d4aec68f180d25d2451288250fd6d25ef # Run ruff check on all files