Skip to main content

Geolocation Policy

Location in GUI: Fabric » Fabric Policies » Policies » Geolocation

Diagram

Classes

fabric_policies (apic)

NameTypeConstraintMandatoryDefault Value
geolocationClass[geolocation]No

geolocation (apic.fabric_policies)

NameTypeConstraintMandatoryDefault Value
sitesList[sites]No

sites (apic.fabric_policies.geolocation)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
descriptionStringRegex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$No
buildingsList[buildings]No

buildings (apic.fabric_policies.geolocation.sites)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
descriptionStringRegex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$No
floorsList[floors]No

floors (apic.fabric_policies.geolocation.sites.buildings)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
descriptionStringRegex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$No
roomsList[rooms]No

rooms (apic.fabric_policies.geolocation.sites.buildings.floors)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
descriptionStringRegex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$No
rowsList[rows]No

rows (apic.fabric_policies.geolocation.sites.buildings.floors.rooms)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
descriptionStringRegex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$No
racksList[racks]No

racks (apic.fabric_policies.geolocation.sites.buildings.floors.rooms.rows)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
descriptionStringRegex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$No
nodesListInteger[min: 1, max: 4000]No

Examples

apic:
fabric_policies:
geolocation:
sites:
- name: site1
buildings:
- name: building1
floors:
- name: floor1
rooms:
- name: room1
rows:
- name: row1
racks:
- name: rack1
nodes:
- 101
- 102