Commit 7212caa3 authored by allwang's avatar allwang Committed by pingj
Browse files

Update comDefs.yaml

parent 9c98f3f3
Loading
Loading
Loading
Loading
+2 −15
Original line number Diff line number Diff line
@@ -43,18 +43,11 @@ components:
      required:
        - mcc
        - mnc
    Tac:
      type: string
      pattern: '(^[A-Fa-f0-9]{4}$)|(^[A-Fa-f0-9]{6}$)'
    EutraCellId:
      type: string
      pattern: '^[A-Fa-f0-9]{7}$'
    NrCellId:
      type: string
      pattern: '^[A-Fa-f0-9]{9}$'

    Fqdn:
      type: string
    Uri:
      type: string

    Ipv4Addr:
      type: string
@@ -72,12 +65,6 @@ components:
        - pattern: '^((:|(0?|([1-9a-f][0-9a-f]{0,3}))):)((0?|([1-9a-f][0-9a-f]{0,3})):){0,6}(:|(0?|([1-9a-f][0-9a-f]{0,3})))(\/(([0-9])|([0-9]{2})|(1[0-1][0-9])|(12[0-8])))$'
        - pattern: '^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))(\/.+)$'
      example: '2001:db8:abcd:12::0/64'
    IpAddr:
      oneOf:
        - $ref: '#/components/schemas/Ipv4Addr'
        - $ref: '#/components/schemas/Ipv6Addr'
    Uri:
      type: string

    AdministrativeState:
      type: string