github.com/jbking/gohan@v0.0.0-20151217002006-b41ccf1c2a96/extension/framework/runner/test_data/schema.yaml (about)

     1  extensions:
     2  - id: extension1
     3    path: /v1.0/network.*
     4    url: file://./extension1.js
     5  - id: extension2
     6    path: /v1.0/subnet.*
     7    url: file://./extension2.js
     8  namespaces:
     9  - description: Neutron API
    10    id: neutron
    11    name: Neutron
    12    prefix: neutron
    13  - description: Version 2.0 of Neutron API
    14    id: neutronV2
    15    name: Neutron 2.0
    16    parent: neutron
    17    prefix: v2.0
    18    version: "2.0"
    19  networks: []
    20  schemas:
    21  - description: Network
    22    id: network
    23    namespace: neutronV2
    24    parent: ""
    25    plural: networks
    26    schema:
    27      properties:
    28        admin_state_up:
    29          default: false
    30          permission:
    31          - create
    32          - update
    33          title: Admin state up
    34          type: boolean
    35          unique: false
    36        id:
    37          format: uuid
    38          permission:
    39          - create
    40          title: ID
    41          type: string
    42          unique: true
    43        name:
    44          default: ""
    45          permission:
    46          - create
    47          - update
    48          title: Name
    49          type: string
    50          unique: false
    51        shared:
    52          default: false
    53          permission:
    54          - create
    55          - update
    56          title: Shared
    57          type: boolean
    58          unique: false
    59        status:
    60          title: Status
    61          type: string
    62          unique: false
    63        tenant_id:
    64          format: uuid
    65          permission:
    66          - create
    67          title: Tenant id
    68          type: string
    69          unique: false
    70      propertiesOrder:
    71      - name
    72      - id
    73      - tenant_id
    74      - status
    75      - shared
    76      - admin_state_up
    77      - subnets
    78    singular: network
    79    title: Network
    80  - description: Subnet
    81    id: subnet
    82    namespace: neutronV2
    83    parent: ""
    84    plural: subnets
    85    schema:
    86      properties:
    87        allocation_pools:
    88          default: []
    89          items:
    90            properties:
    91              end:
    92                permission:
    93                - create
    94                - update
    95                title: End
    96                type: string
    97                unique: false
    98              start:
    99                permission:
   100                - create
   101                - update
   102                title: Start
   103                type: string
   104                unique: false
   105            propertiesOrder:
   106            - start
   107            - end
   108            type: object
   109          permission:
   110          - create
   111          - update
   112          title: Allocation pools
   113          type: array
   114          unique: false
   115        cidr:
   116          permission:
   117          - create
   118          title: CIDR
   119          type: string
   120          unique: false
   121        dns_nameservers:
   122          default: []
   123          items:
   124            type: string
   125          permission:
   126          - create
   127          - update
   128          title: DNS nameservers
   129          type: array
   130          unique: false
   131        enable_dhcp:
   132          default: false
   133          permission:
   134          - create
   135          - update
   136          title: Enable DHCP
   137          type: boolean
   138          unique: false
   139        gateway_ip:
   140          default: ""
   141          permission:
   142          - create
   143          - update
   144          title: Gateway IP
   145          type: string
   146          unique: false
   147        host_routes:
   148          default: []
   149          items:
   150            properties:
   151              destination:
   152                title: Destination
   153                type: string
   154              nexthop:
   155                title: Nexthop
   156                type: string
   157            type: object
   158          permission:
   159          - create
   160          - update
   161          title: Host routes
   162          type: array
   163          unique: false
   164        id:
   165          format: uuid
   166          permission:
   167          - create
   168          title: ID
   169          type: string
   170          unique: true
   171        ip_version:
   172          enum:
   173          - 4
   174          - 6
   175          permission:
   176          - create
   177          title: IP version
   178          type: integer
   179          unique: false
   180        ipv6_address_mode:
   181          default: static
   182          enum:
   183          - dhcpv6-stateful
   184          - dhcpv6-stateless
   185          - static
   186          permission:
   187          - create
   188          title: IPv6 address mode
   189          type: string
   190          unique: false
   191        ipv6_ra_mode:
   192          default: static
   193          enum:
   194          - dhcpv6-stateful
   195          - dhcpv6-stateless
   196          - static
   197          permission:
   198          - create
   199          title: IPv6 ra mode
   200          type: string
   201          unique: false
   202        name:
   203          default: ""
   204          permission:
   205          - create
   206          - update
   207          title: Name
   208          type: string
   209          unique: false
   210        network_id:
   211          format: uuid
   212          permission:
   213          - create
   214          relation: network
   215          title: Network id
   216          type: string
   217          unique: false
   218        tenant_id:
   219          format: uuid
   220          permission:
   221          - create
   222          title: Tenant id
   223          type: string
   224          unique: false
   225      propertiesOrder:
   226      - name
   227      - id
   228      - tenant_id
   229      - network_id
   230      - cidr
   231      - ip_version
   232      - ipv6_address_mode
   233      - ipv6_ra_mode
   234      - gateway_ip
   235      - enable_dhcp
   236      - allocation_pools
   237      - dns_nameservers
   238      - host_routes
   239      type: object
   240    singular: subnet
   241    title: Subnet
   242  subnets: []