Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DC-yang
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Matias Richart
DC-yang
Commits
3f570691
Commit
3f570691
authored
2 years ago
by
Matias Richart
Browse files
Options
Downloads
Patches
Plain Diff
Agrego hypervisor al modelo
parent
53252081
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ietf-dcpop-dc@2022-07-11.yang
+115
-6
115 additions, 6 deletions
ietf-dcpop-dc@2022-07-11.yang
with
115 additions
and
6 deletions
ietf-dcpop-dc@2022-07-11.yang
+
115
−
6
View file @
3f570691
...
...
@@ -50,7 +50,7 @@ module ietf-dcpop-dc {
"Draft-ietf-teas-actn-vn-yang-16: YANG module for the VN"
;
}
organization
organization
"IETF Traffic Engineering Architecture and Signaling (TEAS)
Working Group"
;
contact
...
...
@@ -80,7 +80,7 @@ module ietf-dcpop-dc {
described in BCP 14 (RFC 2119) (RFC 8174) when, and only when,
they appear in all capitals, as shown here."
;
revision
2022-
11
-1
6
{
revision
2022-
07
-1
1
{
description
"initial version."
;
reference
...
...
@@ -98,7 +98,19 @@ module ietf-dcpop-dc {
/* Typedef */
typedef
dc-id
{
typedef
dc-id
{
type
string
;
description
"Defines a type of datacenter (dc) identifier."
;
}
typedef
hyp-id
{
type
string
;
description
"Defines a type of datacenter (dc) identifier."
;
}
typedef
instance-id
{
type
string
;
description
"Defines a type of datacenter (dc) identifier."
;
...
...
@@ -107,7 +119,7 @@ module ietf-dcpop-dc {
/* Groupings */
grouping
datacenter
{
grouping
datacenter
{
description
"Datacenter related information"
;
leaf
dc-id
{
...
...
@@ -116,16 +128,113 @@ module ietf-dcpop-dc {
"A unique identifier for the referred datacenter"
;
}
leaf-list
ap
{
list
hypervisor
{
key
"hyp-id"
;
description
"access-point identifier"
;
uses
hypervisor
{
description
"The access-point information"
;
}
}
leaf-list
ap
{
type
leafref
{
path
"/actn-vn:access-point/actn-vn:ap/actn-vn:ap-id"
;
}
description
"A reference to the PE node in the native TE Topology"
;
}
}
//datacenter
grouping
hypervisor
{
description
"Hypervisor related information"
;
container
ram
{
description
"The RAM characteristics of the DC"
;
leaf
total
{
type
uint32
;
description
"A unique identifier for the referred hypervisor"
;
}
leaf
used
{
type
uint32
;
description
"A unique identifier for the referred hypervisor"
;
}
leaf
free
{
type
uint32
;
description
"A unique identifier for the referred hypervisor"
;
}
}
container
disk
{
description
"The RAM characteristics of the DC"
;
leaf
total
{
type
uint32
;
description
"A unique identifier for the referred hypervisor"
;
}
leaf
used
{
type
uint32
;
description
"A unique identifier for the referred hypervisor"
;
}
leaf
free
{
type
uint32
;
description
"A unique identifier for the referred hypervisor"
;
}
}
container
vcpu
{
description
"The RAM characteristics of the DC"
;
leaf
total
{
type
uint32
;
description
"A unique identifier for the referred hypervisor"
;
}
leaf
used
{
type
uint32
;
description
"A unique identifier for the referred hypervisor"
;
}
leaf
free
{
type
uint32
;
description
"A unique identifier for the referred hypervisor"
;
}
}
leaf-list
instance
{
type
leafref
{
path
"/dcpop/dc/instance/id"
;
}
description
"A reference to the PE node in the native TE Topology"
;
}
leaf
hyp-id
{
type
hyp-id
;
description
"A unique identifier for the referred hypervisor"
;
}
leaf
name
{
type
string
;
description
"A unique identifier for the referred hypervisor"
;
}
}
//hypervisor
}
//datacenter
grouping
instance
{
description
"Instance related information"
;
leaf
instance-id
{
type
instance-id
;
description
"A unique identifier for the referred hypervisor"
;
}
}
//instance
/* Configuration data nodes */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment