You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when creating a device from a device_type manufactured by juniper, junos is the default platform value
when creating a device from device_type = C9300L-24P-4X, default platform = ios.
Achieving no.2 looks straightforward, add a default_platform property of device_type objects, & then I edit the C9300L-24P-4X object to the ios default platform.
To achieve no.1 most elegantly, maybe we could have an inheritance model. Set default platform for a manufacturer, optionally overridden by device_type.
So manufacturer cisco could have default_platform = ios, which shows up when creating a new device_type with manufacturer = cisco. We can then leave at ios, or select nxos, as appropriate. then any devices created from that device_type get that default_platform when created.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
examples:
device_type
manufactured byjuniper
,junos
is the defaultplatform
valuedevice_type
=C9300L-24P-4X
, defaultplatform
=ios
.Achieving no.2 looks straightforward, add a
default_platform
property ofdevice_type
objects, & then I edit theC9300L-24P-4X
object to theios
default platform.To achieve no.1 most elegantly, maybe we could have an inheritance model. Set default platform for a manufacturer, optionally overridden by device_type.
So manufacturer
cisco
could havedefault_platform
=ios
, which shows up when creating a newdevice_type
withmanufacturer
=cisco
. We can then leave atios
, or selectnxos
, as appropriate. then any devices created from thatdevice_type
get thatdefault_platform
when created.Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions