diff --git a/yang-models/_3gpp-common-managementdatacollection.yang b/yang-models/_3gpp-common-managementdatacollection.yang index 11448f08c91f59d40fd1cbffcc1aa0b6ac0a04be..5f5f49555b4d1e453102413457cd1a73c1cf801d 100644 --- a/yang-models/_3gpp-common-managementdatacollection.yang +++ b/yang-models/_3gpp-common-managementdatacollection.yang @@ -25,51 +25,11 @@ module _3gpp-common-managementdatacollection { Integration Reference Point (IRP); Information Service (IS)"; + revision 2023-11-06 { reference "CR-0305"; } revision 2023-02-14 { reference "CR-0234"; } revision 2022-11-04 { reference "CR-0194"; } - grouping GeoCoordinateGrp { - description "Geographical location on earth"; - - leaf latitude { - type decimal64 { - fraction-digits 4; - range -90..90 ; - } - mandatory true; - description "Latitude based on World Geodetic System (1984 version) - global reference frame (WGS 84). Positive values correspond to the - northern hemisphere."; - } - - leaf longitude { - type decimal64 { - fraction-digits 4; - range -180..180 ; - } - mandatory true; - description "Longitude based on World Geodetic System (1984 version) - global reference frame (WGS 84). Positive values correspond to - degrees east of 0 degrees longitude."; - } - } - - grouping GeoAreaGrp { - description "This data type defines a geographical area. - The geo-area is defined using a convex polygon in the attribute - 'convexGeoPolygon'."; - - list convexGeoPolygon { - description "Specifies the geographical area with a convex polygon. - The convex polygon is specified by its corners."; - key "latitude longitude"; - min-elements 3; - ordered-by user; - - uses GeoCoordinateGrp; - } - } - + grouping GeoAreaToCellMappingGrp { description "Represents the GeoAreaToCellMapping data type. @@ -84,7 +44,7 @@ module _3gpp-common-managementdatacollection { leaf idx { type string; } - uses GeoAreaGrp; + uses types3gpp:GeoAreaGrp; } leaf associationThreshold { @@ -372,4 +332,4 @@ module _3gpp-common-managementdatacollection { } } -} \ No newline at end of file +} diff --git a/yang-models/_3gpp-common-yang-types.yang b/yang-models/_3gpp-common-yang-types.yang index 2e9eb85a977d2798ab2c6d73cce1e435dd1c3e63..f238819c4132722032e86e75c4187f948ce7aff6 100755 --- a/yang-models/_3gpp-common-yang-types.yang +++ b/yang-models/_3gpp-common-yang-types.yang @@ -14,6 +14,7 @@ module _3gpp-common-yang-types { network slicing."; reference "3GPP TS 28.623"; + revision 2023-11-06 { reference CR-0305; } revision 2023-08-09 { reference CR-0266; } revision 2023-05-10 { reference CR-0250; } revision 2023-02-14 { reference CR-0234; } @@ -539,6 +540,47 @@ module _3gpp-common-yang-types { leaf tac { type Tac; } } + + grouping GeoCoordinateGrp { + description "Geographical location on earth"; + leaf latitude { + type decimal64 { + fraction-digits 4; + range -90..90 ; + } + mandatory true; + description "Latitude based on World Geodetic System (1984 version) + global reference frame (WGS 84). Positive values correspond to the + northern hemisphere."; + } + + leaf longitude { + type decimal64 { + fraction-digits 4; + range -180..180 ; + } + mandatory true; + description "Longitude based on World Geodetic System (1984 version) + global reference frame (WGS 84). Positive values correspond to + degrees east of 0 degrees longitude."; + } + } + + grouping GeoAreaGrp { + description "This data type defines a geographical area. + The geo-area is defined using a convex polygon in the attribute + 'convexGeoPolygon'."; + + list convexGeoPolygon { + description "Specifies the geographical area with a convex polygon. + The convex polygon is specified by its corners."; + key "latitude longitude"; + min-elements 3; + ordered-by user; + + uses GeoCoordinateGrp; + } + } typedef AmfRegionId { type union { @@ -916,7 +958,6 @@ module _3gpp-common-yang-types { supported."; } } - } } -} \ No newline at end of file +}