In the branch I have proposed, you can now specify queries to locate these objects. For example:
=== Fabrics === fabric := < <fabric-id> | <fabric-name> | name:<fabric-name> | class:<fabric-class> >
=== Interfaces === interface := < <interface-id> | <ip-address[/prefixlen]> | <interface-name> fabric:<fabric> | fabric_class:<fabric.class> | ip:<ip-address> | mode:<unconfigured> | name:<interface-name> | hostname:<attached-node-hostname> | subnet:<subnet> | subnet_cidr:<subnet.cidr> | type:<physical|bond|vlan|alias|unknown> | vlan:<vlan> | vid:<vlan.vid> >
=== Spaces === space := < <space-id> | <space-name> | name:<space-name> | subnet:<subnet> >
=== Subnets === subnet := < <subnet-id> | <subnet-cidr> | <subnet-name> | cidr:<subnet-cidr> | fabric:<fabric> | id:<subnet-id> | interface: <interface> | ip:<ip-address> | name:<subnet-name> | space:<space> | vid:<vlan.vid> | vlan:<vlan> >
=== VLANs === vlan := < <vlan-id> | <vlan-name> | fabric:<fabric> | subnet:<subnet> | vid:<vlan-vid> | >
Specifiers can be chained: space=vlan:vid:5
Specifiers can be comma-delimited, in which case they will be ANDed together: space=vlan:vid:5,subnet:fabric:class:10Gbps
In the branch I have proposed, you can now specify queries to locate these objects. For example:
=== Fabrics === <fabric- name> | <fabric- class>
fabric := <
<fabric-id> | <fabric-name> |
name:
class:
>
=== Interfaces === /prefixlen] > | <interface-name> class:< fabric. class> | <unconfigured> | <interface- name> | <attached- node-hostname> | cidr:<subnet. cidr> | <physical| bond|vlan| alias|unknown> |
interface := <
<interface-id> | <ip-address[
fabric:<fabric> |
fabric_
ip:<ip-address> |
mode:
name:
hostname:
subnet:<subnet> |
subnet_
type:
vlan:<vlan> |
vid:<vlan.vid>
>
=== Spaces === <space- name> |
space := <
<space-id> | <space-name> |
name:
subnet:<subnet>
>
=== Subnets === <subnet- cidr> | <subnet- name> |
subnet := <
<subnet-id> | <subnet-cidr> | <subnet-name> |
cidr:
fabric:<fabric> |
id:<subnet-id> |
interface: <interface> |
ip:<ip-address> |
name:
space:<space> |
vid:<vlan.vid> |
vlan:<vlan>
>
=== VLANs ===
vlan := <
<vlan-id> | <vlan-name> |
fabric:<fabric> |
subnet:<subnet> |
vid:<vlan-vid> |
>
Specifiers can be chained: vlan:vid: 5
space=
Specifiers can be comma-delimited, in which case they will be ANDed together: vlan:vid: 5,subnet: fabric: class:10Gbps
space=