namespace "urn:opendaylight:groupbasedpolicy:common";
prefix "gbp-common";
- description
+ description
"Common types and definitions for group-based policy models";
revision "2014-04-21" {
}
typedef name {
- description
- "A generic string name type.
+ description
+ "A generic string name type.
Must start with a letter";
type string {
pattern '[a-zA-Z]([a-zA-Z0-9\-_.])*';
+ '[0-9a-fA-F]{4}-[0-9a-fA-F]{12}';
}
description
- "A Universally Unique IDentifier in the string representation
+ "A Universally Unique IDentifier in the string representation
defined in RFC 4122. The canonical representation uses
lowercase characters.
description "A globally unique identifier";
}
+ typedef unique-id-string {
+ type string {
+ length "1..256";
+ }
+ description "A globally unique identifier (based on String)";
+ }
+
// *************
// Relator names
// *************
type unique-id;
description "A unique ID for a network domain";
}
-
+
typedef subnet-id {
type network-domain-id;
description "A unique ID for a subnet";
// ****************
typedef subject-feature-id {
- type unique-id;
+ type unique-id-string;
description "A unique ID for a parameterized object";
}
type name;
description "A name for a parameter.";
}
-}
\ No newline at end of file
+}