diff options
author | Numan Siddique <nusiddiq@redhat.com> | 2017-04-25 19:59:54 +0530 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2017-05-02 16:07:01 -0700 |
commit | 302eda27210abfb0c56ead8ee470e5329c77e795 (patch) | |
tree | 505554b0c0a5544a20cd48df40a621e1a12c3f5a /ovn/ovn-nb.ovsschema | |
parent | ea991ad220e494812093a71f17ef51e2a7b6324c (diff) | |
download | openvswitch-302eda27210abfb0c56ead8ee470e5329c77e795.tar.gz |
ovn-northd: Add logical flows to support native DNS
OVN implements native DNS resolution which can be used to resolve the
internal DNS names belonging to a logical datapath.
To support this, a new table 'DNS' is added in the NB DB. A new column
'dns_records' is added in 'Logical_Switch' table which references to the
'DNS' table.
Following flows are added for each logical switch if configured with
DNS records in the 'dns_records' column
- A logical flow in DNS_LOOKUP stage which uses the action 'dns_lookup'
to transform the DNS query to DNS reply packet and advances
to the next stage - DNS_RESPONSE.
- A logical flow in DNS_RESPONSE stage which implements the DNS responder
by sending the DNS reply from previous stage back to the inport.
Signed-off-by: Numan Siddique <nusiddiq@redhat.com>
Acked-by: Gurucharan Shetty <guru@ovn.org>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'ovn/ovn-nb.ovsschema')
-rw-r--r-- | ovn/ovn-nb.ovsschema | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/ovn/ovn-nb.ovsschema b/ovn/ovn-nb.ovsschema index 5033d170a..86efe8642 100644 --- a/ovn/ovn-nb.ovsschema +++ b/ovn/ovn-nb.ovsschema @@ -1,7 +1,7 @@ { "name": "OVN_Northbound", - "version": "5.5.1", - "cksum": "1924970369 14236", + "version": "5.6.0", + "cksum": "1358108512 15019", "tables": { "NB_Global": { "columns": { @@ -45,6 +45,11 @@ "refType": "strong"}, "min": 0, "max": "unlimited"}}, + "dns_records": {"type": {"key": {"type": "uuid", + "refTable": "DNS", + "refType": "weak"}, + "min": 0, + "max": "unlimited"}}, "other_config": { "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}}, @@ -265,6 +270,17 @@ "max": "unlimited"}, "ephemeral": true}}, "indexes": [["target"]]}, + "DNS": { + "columns": { + "records": {"type": {"key": "string", + "value": "string", + "min": 0, + "max": "unlimited"}}, + "external_ids": {"type": {"key": "string", + "value": "string", + "min": 0, + "max": "unlimited"}}}, + "isRoot": true}, "SSL": { "columns": { "private_key": {"type": "string"}, |