github.com/mmatczuk/gohan@v0.0.0-20170206152520-30e45d9bdb69/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    actions:
    81      custom_action:
    82        path: /:id/custom_action
    83        method: POST
    84        output:
    85          type: object
    86  - description: Subnet
    87    id: subnet
    88    namespace: neutronV2
    89    parent: ""
    90    plural: subnets
    91    schema:
    92      properties:
    93        allocation_pools:
    94          default: []
    95          items:
    96            properties:
    97              end:
    98                permission:
    99                - create
   100                - update
   101                title: End
   102                type: string
   103                unique: false
   104              start:
   105                permission:
   106                - create
   107                - update
   108                title: Start
   109                type: string
   110                unique: false
   111            propertiesOrder:
   112            - start
   113            - end
   114            type: object
   115          permission:
   116          - create
   117          - update
   118          title: Allocation pools
   119          type: array
   120          unique: false
   121        cidr:
   122          permission:
   123          - create
   124          title: CIDR
   125          type: string
   126          unique: false
   127        dns_nameservers:
   128          default: []
   129          items:
   130            type: string
   131          permission:
   132          - create
   133          - update
   134          title: DNS nameservers
   135          type: array
   136          unique: false
   137        enable_dhcp:
   138          default: false
   139          permission:
   140          - create
   141          - update
   142          title: Enable DHCP
   143          type: boolean
   144          unique: false
   145        gateway_ip:
   146          default: ""
   147          permission:
   148          - create
   149          - update
   150          title: Gateway IP
   151          type: string
   152          unique: false
   153        host_routes:
   154          default: []
   155          items:
   156            properties:
   157              destination:
   158                title: Destination
   159                type: string
   160              nexthop:
   161                title: Nexthop
   162                type: string
   163            type: object
   164          permission:
   165          - create
   166          - update
   167          title: Host routes
   168          type: array
   169          unique: false
   170        id:
   171          format: uuid
   172          permission:
   173          - create
   174          title: ID
   175          type: string
   176          unique: true
   177        ip_version:
   178          enum:
   179          - 4
   180          - 6
   181          permission:
   182          - create
   183          title: IP version
   184          type: integer
   185          unique: false
   186        ipv6_address_mode:
   187          default: static
   188          enum:
   189          - dhcpv6-stateful
   190          - dhcpv6-stateless
   191          - static
   192          permission:
   193          - create
   194          title: IPv6 address mode
   195          type: string
   196          unique: false
   197        ipv6_ra_mode:
   198          default: static
   199          enum:
   200          - dhcpv6-stateful
   201          - dhcpv6-stateless
   202          - static
   203          permission:
   204          - create
   205          title: IPv6 ra mode
   206          type: string
   207          unique: false
   208        name:
   209          default: ""
   210          permission:
   211          - create
   212          - update
   213          title: Name
   214          type: string
   215          unique: false
   216        network_id:
   217          format: uuid
   218          permission:
   219          - create
   220          relation: network
   221          title: Network id
   222          type: string
   223          unique: false
   224        tenant_id:
   225          format: uuid
   226          permission:
   227          - create
   228          title: Tenant id
   229          type: string
   230          unique: false
   231      propertiesOrder:
   232      - name
   233      - id
   234      - tenant_id
   235      - network_id
   236      - cidr
   237      - ip_version
   238      - ipv6_address_mode
   239      - ipv6_ra_mode
   240      - gateway_ip
   241      - enable_dhcp
   242      - allocation_pools
   243      - dns_nameservers
   244      - host_routes
   245      type: object
   246    singular: subnet
   247    title: Subnet
   248  subnets: []