Added copyright in yang files
[openflowjava.git] / openflow-protocol-api / src / main / yang / openflow-augments.yang
index 866acfe26f8971ec8997d71e39af599380ef192b..1ba234bfcbea742463e22a759fbad9a0b0dfd8d4 100644 (file)
@@ -1,4 +1,12 @@
-module openflow-augments {\r
+/*\r
+ * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.\r
+ *\r
+ * This program and the accompanying materials are made available under the\r
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
+ * and is available at http://www.eclipse.org/legal/epl-v10.html\r
+ */\r
\r
+ module openflow-augments {\r
     namespace "urn:opendaylight:openflow:augments";\r
     prefix "aug";\r
     \r
@@ -161,44 +169,7 @@ module openflow-augments {
      augment "/oxm:oxm-container/oxm:match-entries" {\r
          ext:augment-identifier "pseudo-field-match-entry";\r
          leaf pseudo-field {\r
-             type bits {\r
-                 bit nonext {\r
-                     description "<No next header> encountered.";\r
-                     position 0;\r
-                 }\r
-                 bit esp {\r
-                     description "Encrypted Sec Payload header present.";\r
-                     position 1;\r
-                 }\r
-                 bit auth {\r
-                     description "Authentication header present.";\r
-                     position 2;\r
-                 }\r
-                 bit dest {\r
-                     description "1 or 2 dest headers present.";\r
-                     position 3;\r
-                 }\r
-                 bit frag {\r
-                     description "Fragment header present.";\r
-                     position 4;\r
-                 }\r
-                 bit router {\r
-                     description "Router header present.";\r
-                     position 5;\r
-                 }\r
-                 bit hop {\r
-                     description "Hop-by-hop header present.";\r
-                     position 6;\r
-                 }\r
-                 bit unrep {\r
-                     description "Unexpected repeats encountered.";\r
-                     position 7;\r
-                 }\r
-                 bit unseq {\r
-                     description "Unexpected sequencing encountered.";\r
-                     position 8;\r
-                 }\r
-             }\r
+             type oft:ipv6-exthdr-flags;\r
          }\r
      }\r
 \r
@@ -295,6 +266,7 @@ module openflow-augments {
      augment "/ofproto:table-features-properties-container/ofproto:table-feature-properties" {\r
          ext:augment-identifier "next-table-related-table-feature-property";\r
          list next-table-ids {\r
+             key "table-id";\r
              leaf table-id {\r
                  type uint8;\r
              }\r