ipsg
AsterNOS YANG Model for IPSG.
YANG Tree Diagram
module: asternos-ipsg
+--rw ipsg
+--rw interfaces
+--rw interface* [name ip-type]
+--rw name union
+--rw ip-type enumeration
+--rw enable? boolean
+--rw trust-enable? boolean
+--rw trusted-interfaces* cmn:ethernet-port-nameResources
Resource List
Path | Access |
|---|---|
/ipsg | Read-Write |
/ipsg/interfaces | Read-Write |
/ipsg/interfaces/interface | Read-Write |
/ipsg/interfaces/interface/name | Read-Write |
/ipsg/interfaces/interface/ip-type | Read-Write |
/ipsg/interfaces/interface/enable | Read-Write |
/ipsg/interfaces/interface/trust-enable | Read-Write |
/ipsg/interfaces/interface/trusted-interfaces | Read-Write |
Detailed Nodes
/ipsg
Path
/ipsg
Node Type
container
Description
Container for IPSG configurations.
Access
Read-Write
/ipsg/interfaces
Path
/ipsg/interfaces
Node Type
container
Access
Read-Write
/ipsg/interfaces/interface
Path
/ipsg/interfaces/interface
Node Type
list
Description
Configure IPSG interfaces based on VLAN or PORT.
Note: 'enable' and 'trust-enable' cannot be configured as true at the same time
Access
Read-Write
/ipsg/interfaces/interface/name
Path
/ipsg/interfaces/interface/name
Node Type
leaf
Description
Name of the interface.
Access
Read-Write
Data Type
<YANG type union>
/ipsg/interfaces/interface/ip-type
Path
/ipsg/interfaces/interface/ip-type
Node Type
leaf
Access
Read-Write
Data Type
<YANG type enumeration>
Constraints
Enumeration with options:
- v4
- v6
/ipsg/interfaces/interface/enable
Path
/ipsg/interfaces/interface/enable
Node Type
leaf
Description
Enable or disable the configuration for interface.
Access
Read-Write
Data Type
<YANG type boolean>
Constraints
Valid in [true, false]
/ipsg/interfaces/interface/trust-enable
Path
/ipsg/interfaces/interface/trust-enable
Node Type
leaf
Description
Enable or disable the trust for ethernet interface.
Only valid for ethernet interface, not VLAN interface.
Suitable for configuration scenarios with multiple VLANs on the interface.
When configured as true, trust any VLAN on the interface
Access
Read-Write
Data Type
<YANG type boolean>
Constraints
Valid in [true, false]
/ipsg/interfaces/interface/trusted-interfaces
Path
/ipsg/interfaces/interface/trusted-interfaces
Node Type
leaf-list
Description
List of trusted ethernet port or sub-ethernet interfaces for VLAN.
Only valid for VLAN interface.
Access
Read-Write
Data Type
<YANG type ethernet-port-name>